Skip to content

Releases: smarie/python-makefun

1.9.3 - Minor compatibility fixes with functools.partial

19 Aug 11:11
Compare
Choose a tag to compare
  • @wraps can now be used to wrap a functools.partial. Fixed #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

See documentation page for details.

1.9.2 - packaging improvements

25 Apr 13:23
Compare
Choose a tag to compare
  • 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

See documentation page for details.

1.9.1 - `@compile_fun` bugfix

23 Mar 11:03
Compare
Choose a tag to compare

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

See documentation page for details.

1.9.0 - `@compile_fun` improvements, bugfix and better exception

23 Mar 10:30
Compare
Choose a tag to compare

@compile_fun: added capability to disable recursive compilation (recurse arg) , and to exclude some names from compilation (except_names arg). Fixed #49 and #50

Fixed issue ValueError: Cell is empty with @compile_fun. Fixed #48

Now raising an UndefinedSymbolError when a symbol is not known at compilation time. One step towards #47

See documentation page for details.

1.8.0 - new `@compile_fun` goodie

22 Mar 15:15
Compare
Choose a tag to compare

New goodie @compile_fun decorator to compile a function so that it can not be navigated to using the debugger. Fixes #46

See documentation page for details.

1.7.0 - minor goodies update

05 Nov 11:35
Compare
Choose a tag to compare

add_signature_parameters now accepts that one specifies a custom index where to insert the new parameters.

See documentation page for details.

1.6.11 - Added __version__ attribute

04 Sep 08:24
Compare
Choose a tag to compare

Added __version__ attribute to comply with PEP396, following this guide. Fixes #45.

See documentation page for details.

1.6.10 - Fixed dependencies 2

02 Aug 09:53
Compare
Choose a tag to compare

Fixed six dependency: also declared as a setup dependency.

See documentation page for details.

1.6.9 - Fixed dependencies

01 Aug 20:15
Compare
Choose a tag to compare

Added missing six dependency explicitly.

See documentation page for details.

1.6.8 - Improved performance

18 Apr 15:07
Compare
Choose a tag to compare
  • Improved performance of inner method get_signature_string (used by all entry points) after profiling.

See documentation page for details.