Makefun

Latest version: v1.15.1

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

Scan your dependencies

Page 3 of 8

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)

1.9.4

- Removed unused `six` dependency. Note: this version will ship in conda forge.

1.9.3

- `wraps` can now be used to wrap a `functools.partial`. Fixed [57](https://github.com/smarie/python-makefun/issues/57)

- `create_function` now correctly reuses information from the partialized function if a `functools.partial` is used as the implementation.

- `create_function` now raises a more explicit error when no `func_name` can be found.

- `makefun.partial` now generates a signature that is more consistent with `functools.partial`. Fixes [58](https://github.com/smarie/python-makefun/issues/58)

1.9.2

- 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 [54](https://github.com/smarie/python-makefun/issues/54)

1.9.1

Fixed `OSError: could not get source code` or `IOError: could not get source code` when `compile_fun` is used on a function that depends on an already-compiled function. Fixed [51](https://github.com/smarie/python-makefun/issues/51)

Page 3 of 8

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.