v1.1.0-beta.1
Pre-release
Pre-release
New Features
- Converting JS functions to Python callables
- Expiring of function objects
- Converting of
bytes
andbytearray
toBuffer
andBuffer
tobytearray
- Converting between
TypedArray
andarray
- Basic tracking of the memory held by Python objects referenced in JS by the V8 GC
proxify
ed object do not intercept and redirect calls toPyObject
methods if the Python object has a method with the same name - ie. callingitem()
on a non-proxified PyObject invokesPyObject.item()
but if the underlying Python object of a proxified object also has anitem()
function, callingitem()
on the proxified object will invoke the Python methodprofixy
always return the same reference if called with a previously seenPyObject
reference- Support
BigInt
- Return the Python traceback in
pythonTrace
and add aPythonError
TypeScript type - Do not allow
PYTHONPATH
to overridePYTHONHOME
when using the builtin - Ignore the last argument of a Python function call if it is
undefined
- this allows to pass a last argument as a dictionary by callingfn(obj, undefined)
instead offn(obj)
which will transformobj
into named kw arguments - Support
PyObject.keys
andPyObject.values
onprofixy
ed objects - (internals) New automatic reference counting
Bug Fixes
- Fix [#6], proxified objects are wrongly caching values returned by getters