Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/python/src/util.ts>postSetup

🐍 Python interpreter bindings for Deno.
Go to Latest
function postSetup
import { postSetup } from "https://deno.land/x/python@0.2.3/src/util.ts";

On Unix based systems, we need to supply dlopen with RTLD_GLOBAL but Deno.dlopen does not support passing that flag. So we'll open libc and use its dlopen to open with RTLD_LAZY | RTLD_GLOBAL to allow subsequently loaded shared libraries to be able to use symbols from Python C API.

Parameters

lib: string