Makefun

Latest version: v1.15.1

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

Scan your dependencies

Page 2 of 8

1.11.3

- When a default value `v` in a signature is representable but its `eval(repr(v))` raises an exception, created signatures would raise an exception instead of automatically protecting the symbol. PR [67](https://github.com/smarie/python-makefun/pull/67) by [gcalmettes](https://github.com/gcalmettes).

1.11.2

- Fixed issue where `wraps` does not remove the `__wrapped__` attribute when it wraps an already-wrapped function, and modifies its signature. Fixes [66](https://github.com/smarie/python-makefun/issues/66)

1.11.1

- Fixed a bug happening when trying to generate a function where `float('inf')` is used as a default value. Fixes [63](https://github.com/smarie/python-makefun/issues/63).

1.11.0

- `wraps` now has new arguments `prepend_arg` and `append_arg` to quickly prepend or append a new parameter to a function signature. Fixes [65](https://github.com/smarie/python-makefun/issues/65)

- `add_signature_parameters` can now receive string parameter names in its `first` and `last` arguments.

- Improved generated docstring for `partial` with better support for preset positional args.

- `partial`'s behaviour is now aligned with the one in `functools.partial` in terms of arguments order and kind. Fixes [64](https://github.com/smarie/python-makefun/issues/64)

- Bug fix: passing preset positional arguments to `partial` does not wipe out the rest of the signature any more. Fixes [62](https://github.com/smarie/python-makefun/issues/62)

1.10.2

- Technical release: validation of the new github actions workflow.

1.10.1

- Technical release: validation of the new github actions workflow for PyPi deployment.

Page 2 of 8

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.