Skip to content

1.9.3 - Minor compatibility fixes with functools.partial

Compare
Choose a tag to compare
@smarie smarie released this 19 Aug 11:11
· 232 commits to main since this release
  • @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.