* Fixed issue with legacy python 2.7 and 3.5.
* Python 3.13 is now supported.
* Fixed `SyntaxError: invalid syntax` happening when the
default value of one argument of the created function is a
* subclass of a basic primitive.
`_` or contains a double `__`
- Update to Version 1.13.0
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-makefun?expand=0&rev=14
- Update to Version 1.15.0
More PEP-compliant `wraps` Latest
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.
- Update to Version 1.14.0
Support for lambda functions
create_wrapper, create_function, wraps and with_signature now support lambda functions. They also accept a new parameter
co_name to define the name to be used in the compiled code. PR #80 by andrewcleveland.
- Update to Version 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 a SyntaxError. Fixed#79
- Update to Version 1.13.0
- Support for async generator functions
async generator functions are now supported (See PEP525). Fixed#77. PR#78 by broglep-work.
OBS-URL: https://build.opensuse.org/request/show/1007011
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-makefun?expand=0&rev=4
- version update to 1.12.1
### 1.12.1 - Bugfix
- Fixed `TypeError` when a `func` attribute is present on the function provided to `create_function`. Fixed [#76]
### 1.12.0 - Refactoring and consistency improvement
- Fixed `partial` so that :
- when no argument is provided, it is equivalent to `wraps(f)(f)`. That is, the `__wrapped__` attribute is set. Fixed [#73]
- it sets the `func` attribute just as `functools.partial` does. Fixed [#75]
- Removed `pytest-cases` dependency as it was a circular one. Fixed [#68]
- Now using `flake8` for qualimetry and `genbadge` for badges. Fixed [#71]
- Restructured project so that tests are truly independent, to ease rpm/apt/etc. packaging. Fixed [#69]
- test the package
OBS-URL: https://build.opensuse.org/request/show/940461
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-makefun?expand=0&rev=3