Releases: smarie/python-makefun
Releases · smarie/python-makefun
1.15.6 - compatibility fix
- Fixed issue with legacy python 2.7 and 3.5. Fixes #110
See documentation page for details.
1.15.4 - Python 3.13 official support
See documentation page for details.
1.15.3 - bugfix
- Fixed
SyntaxError: invalid syntax
happening when the default value of one argument of the created function is a
subclass of a basic primitive. Fixes #98. PR
#99 by moskupols.
See documentation page for details.
1.15.2 - bugfix
- Fixed
SyntaxError
happening when the name of a native coroutine function to create contains'return'
.
Fixes #96.
See documentation page for details.
1.15.1 - bugfixes
- Fixed
ValueError: Invalid co_name
happening on python 2 when the name of a function to create starts or ends with
_
or contains a double__
. Fixes #91
See documentation page for details.
1.15.0 - More PEP-compliant `wraps`
wraps
now always sets the__wrapped__
attribute, and also sets the__signature__
attribute when the signature changes, as specified by PEP 362. PR by #86 by lucaswiman.
See documentation page for details.
1.14.0 - Support for lambda functions
create_wrapper
,create_function
,wraps
andwith_signature
now support lambda functions. They also accept a new parameterco_name
to define the name to be used in the compiled code. PR #80 by andrewcleveland.
See documentation page for details.
1.13.1 - Fixed regression with generators in python 3.5
- Fixed an issue where using
partial
on a generator function in python 3.5 was raising aSyntaxError
. Fixed #79
See documentation page for details.
1.13.0 - Support for async generator functions
- async generator functions are now supported (See PEP525). Fixed #77. PR#78 by broglep-work.
See documentation page for details.
1.12.1 - Bugfix
- Fixed
TypeError
when afunc
attribute is present on the function provided tocreate_function
. Fixed #76
See documentation page for details.