Lupa

Latest version: v2.2

Safety actively analyzes 638763 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 5 of 7

0.16

-----------------

* dropped ``python.as_function()`` helper function for Lua as all
Python objects are callable from Lua now (potentially raising a
``TypeError`` at call time if they are not callable)

* fix regression in 0.13 and later where ordinary Lua functions failed
to print due to an accidentally used meta table

* fix crash when calling ``str()`` on wrapped Lua objects without
metatable

0.15

-----------------

* support for loading binary Lua modules on systems that support it

0.14

-----------------

* relicensed to the MIT license used by LuaJIT2 to simplify licensing
considerations

0.13.1

-------------------

* fix Cython generated C file using Cython 0.13

0.13

-----------------

* fixed undefined behaviour on ``str(lua_object)`` when the object's
``__tostring()`` meta method fails

* removed redundant "error:" prefix from ``LuaError`` messages

* access to Python's ``python.builtins`` from Lua code

* more generic wrapping rules for Python objects based on supported
protocols (callable, getitem, getattr)

* new helper functions ``as_attrgetter()`` and ``as_itemgetter()`` to
specify the Python object protocol used by Lua indexing when
wrapping Python objects in Python code

* new helper functions ``python.as_attrgetter()``,
``python.as_itemgetter()`` and ``python.as_function()`` to specify
the Python object protocol used by Lua indexing of Python objects in
Lua code

* item and attribute access for Python objects from Lua code

0.12

-----------------

* fix Lua stack leak during table iteration

* fix lost Lua object reference after iteration

Page 5 of 7

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.