Makefun

Latest version: v1.15.6

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

Scan your dependencies

Page 4 of 9

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)

1.9.0

`compile_fun`: added capability to disable recursive compilation (`recurse` arg) , and to exclude some names from compilation (`except_names` arg). Fixed [49](https://github.com/smarie/python-makefun/issues/49) and [#50](https://github.com/smarie/python-makefun/issues/50)

Fixed issue `ValueError: Cell is empty` with `compile_fun`. Fixed [48](https://github.com/smarie/python-makefun/issues/48)

Now raising an `UndefinedSymbolError` when a symbol is not known at compilation time. One step towards [47](https://github.com/smarie/python-makefun/issues/47)

1.8.0

New goodie `compile_fun` decorator to `compile` a function so that it can not be navigated to using the debugger. Fixes [46](https://github.com/smarie/python-makefun/issues/46)

Page 4 of 9

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.