Releases: denosaurs/deno_python
Releases · denosaurs/deno_python
v0.1.2
v0.1.1
This release fixes importing Python modules that make use of native libraries on Linux/macOS, such as NumPy.
For those modules to work, we need to open Python C library with RTLD_GLOBAL flag (passed to dlopen) to allow subsequently loaded libraries to be able to use symbols from the Python library. But Deno.dlopen does not support those additional flags and always loads with RTLD_LOCAL.
As a workaround, I have added an FFI call to libc's dlopen with required flags.
v0.1.0
Changelog
- fix: type of
PythonConvertible. Now its Array, Map, Set, etc. types reference to itself instead of only primitives. - feat: support
Sets - feat: support accessing/setting
listindexes using JSlist[index] - feat: support setting object attributes
- feat: support
inoperator by implementinghasproxy accessor - feat: support accessing/setting
dictitems using JSdict[key] - feat: support importing module from code string using
runModule - feat: add
isInstanceonPyObject - feat: support Named Arguments in function calls (via
NamedArgumentclass) - feat: support
tuples - feat: support accessing
tupleindexes using JStuple[index] - docs: explain advanced usage of the module.
v0.0.1
Initial release 🎉