Makefun

Latest version: v1.15.6

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

Scan your dependencies

Page 3 of 9

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.

1.10.0

- `wraps` now offers a `remove_params` argument allowing one to remove an argument from the exposed signature, typically to create and inject it in the wrapper. Fixes [60](https://github.com/smarie/python-makefun/issues/60)

1.9.5

- `partial` can now be used to create a copy of a function with no args. Fixed `ValueError: Cannot preset 0 positional args, function case_second has only 0 args.`. Fixed [59](https://github.com/smarie/python-makefun/issues/59)

Page 3 of 9

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.