Skip to content

Releases: smarie/python-decopatch

1.4.10 - Type hints step 1

01 Mar 08:57
Compare
Choose a tag to compare
  • @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.

09 Feb 10:31
Compare
Choose a tag to compare
  • Enabling the "stack introspection" beta feature with enable_stack_introspection=True now raises an explicit NotImplementedError on python 3.8+. Fixed #26.

  • Migrated to the new project layout with nox, github-actions and separation of src and tests. Fixed test suite with pytest-cases>=3. Fixed #24 and #20.

See documentation page for details.

1.4.8 - better packaging

25 Apr 13:35
Compare
Choose a tag to compare
  • packaging improvements: set the "universal wheel" flag to 1, and cleaned up the setup.py. In particular removed dependency to six for setup and added py.typed file, as well as set the zip_safe flag to False. Removed tests folder from package. Fixes #19

See documentation page for details.

1.4.7 - pyproject.toml

17 Nov 15:59
Compare
Choose a tag to compare

raddessi added a pyproject.toml - thanks! Fixed pytest-cases#65.

See documentation page for details.

1.4.6 - Bug fix

04 Sep 16:32
Compare
Choose a tag to compare

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

18 Apr 15:03
Compare
Choose a tag to compare
  • 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

16 Apr 16:36
Compare
Choose a tag to compare

1.4.3 - Bugfix in nested mode under python 2

16 Apr 16:13
Compare
Choose a tag to compare

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

16 Apr 12:16
Compare
Choose a tag to compare

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

14 Mar 12:29
Compare
Choose a tag to compare

Removed the clunky Enum for symbols. Back to a normal class, with a custom __repr__.

See documentation page for details.