Releases: mmomtchev/pymport
Releases · mmomtchev/pymport
v1.1.0-rc.1
New Features
- Converting JS functions to Python callables
- Expiring of function objects
- Converting of
bytes
andbytearray
toBuffer
andBuffer
tobytearray
- Converting between
TypedArray
andarray
- Convert Python iterators and generators to JavaScript
Symbol.iterator
- 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
PyObject.slice
accepts named arguments- 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 - Support building against a prebuilt Python tree in a non-standard location
- (internals) New automatic reference counting
Bug Fixes
v1.1.0-rc.0
New Features
- Converting JS functions to Python callables
- Expiring of function objects
- Converting of
bytes
andbytearray
toBuffer
andBuffer
tobytearray
- Converting between
TypedArray
andarray
- Convert Python iterators and generators to JavaScript
Symbol.iterator
- 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
PyObject.slice
accepts named arguments- 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
v1.1.0-beta.2
New Features
- Converting JS functions to Python callables
- Expiring of function objects
- Converting of
bytes
andbytearray
toBuffer
andBuffer
tobytearray
- Converting between
TypedArray
andarray
- Convert Python iterators and generators to JavaScript
Symbol.iterator
- 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
PyObject.slice
accepts named arguments- 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
v1.1.0-beta.1
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
v1.1.0-beta.0
- 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 - (internals) New automatic reference counting
v1.0.1
v1.0.0
v1.0.0-rc.4
- [macOS] Fix
pympip3
not loading the Python shared library from the correct path when using the built-in environment
v1.0.0-rc.3
- Various fixes on al OS related to the built-in Python interpreter
v1.0.0-rc.2
- Fix path of the built-in Python environment
- [macOS] fix linking path