Releases: smarie/python-decopatch
1.4.10 - Type hints step 1
@function_decorator
now has proper type hints. This is a first step towards fixing #22. PR #23 by last-partizan.
See documentation page for details.
1.4.9 - New layout and CI + Compatibility fixes.
-
Enabling the "stack introspection" beta feature with
enable_stack_introspection=True
now raises an explicitNotImplementedError
on python 3.8+. Fixed #26. -
Migrated to the new project layout with nox, github-actions and separation of
src
andtests
. Fixed test suite withpytest-cases>=3
. Fixed #24 and #20.
See documentation page for details.
1.4.8 - better packaging
- packaging improvements: set the "universal wheel" flag to 1, and cleaned up the
setup.py
. In particular removed dependency tosix
for setup and addedpy.typed
file, as well as set thezip_safe
flag to False. Removed tests folder from package. Fixes #19
See documentation page for details.
1.4.7 - pyproject.toml
raddessi added a pyproject.toml
- thanks! Fixed pytest-cases#65.
See documentation page for details.
1.4.6 - Bug fix
Fixed decorated object injection issue when var-positional arguments are located before it in the signature. Fixed #14.
Added __version__
attribute to comply with PEP396, following this guide. Fixes #15.
PyPI supports markdown via long_description_content_type
: pypandoc is not required anymore. Thanks minrk!
See documentation page for details.
1.4.5 - Performance improvement
- Huge performance improvement for the
enable_stack_introspection=True
mode. It also now supports classes correctly.
See documentation page for details.
1.4.4 - Reverted varpositional bugfixes now that they are handled in makefun
1.4.3 - Bugfix in nested mode under python 2
In python 2, when nested mode was used in a context where the signature contains a var-positional argument, a TypeError
was raised ; this is now fixed. Fixes #13.
See documentation page for details.
1.4.2 - Bugfix in flat mode
When flat mode was used in a context where the signature contains a var-positional argument, the arguments were not correctly injected. Fixes #12.
See documentation page for details.
1.4.1 - Minor default symbols improvement
Removed the clunky Enum
for symbols. Back to a normal class, with a custom __repr__
.
See documentation page for details.