Lupa

Latest version: v2.2

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

Scan your dependencies

Page 3 of 7

1.5

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

* GH93: New method ``LuaRuntime.compile()`` to compile Lua code
without executing it.
(patch by TitanSnow)

* GH91: Lua 5.3 is bundled in the source distribution to simplify
one-shot installs.
(patch by TitanSnow)

* GH87: Lua stack trace is included in output in debug mode.
(patch by aaiyer)

* GH78: Allow Lua code to intercept Python exceptions.
(patch by Sergey Dobrov)

* Built with Cython 0.26.1.

1.4

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

* GH82: Lua coroutines were using the wrong runtime state
(patch by Sergey Dobrov)

* GH81: copy locally provided Lua DLL into installed package on Windows
(patch by Gareth Coles)

* built with Cython 0.25.2

1.3

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

* GH70: ``eval()`` and ``execute()`` accept optional positional arguments
(patch by John Vandenberg)

* GH65: calling ``str()`` on a Python object from Lua could fail if the
``LuaRuntime`` is set up without auto-encoding (patch by Mikhail Korobov)

* GH63: attribute/keyword names were not properly encoded if the
``LuaRuntime`` is set up without auto-encoding (patch by Mikhail Korobov)

* built with Cython 0.24

1.2

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

* callbacks returned from Lua coroutines were incorrectly mixing
coroutine state with global Lua state (patch by Mikhail Korobov)

* availability of ``python.builtins`` in Lua can be disabled via
``LuaRuntime`` option.

* built with Cython 0.23.4

1.1

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

* new module function ``lupa.lua_type()`` that returns the Lua type of
a wrapped object as string, or ``None`` for normal Python objects

* new helper method ``LuaRuntime.table_from(...)`` that creates a Lua
table from one or more Python mappings and/or sequences

* new ``lupa.unpacks_lua_table`` and ``lupa.unpacks_lua_table_method``
decorators to allow calling Python functions from Lua using named
arguments

* fix a hang on shutdown where the LuaRuntime failed to deallocate due
to reference cycles

* Lupa now plays more nicely with other Lua extensions that create
userdata objects

1.0.1

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

* fix a crash when requesting attributes of wrapped Lua coroutine objects

* looking up attributes on Lua objects that do not support it now always
raises an AttributeError instead of sometimes raising a TypeError depending
on the attribute name

Page 3 of 7

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.