github smarie/python-makefun 1.0.0
1.0.0 - New parameters, new goodie, and bugfix

latest releases: 1.15.2, 1.15.1, 1.15.0...
5 years ago

@with_signature :

  • now exposes all options of create_function. Fixed #12.
  • now correctly sets the module name by default. Fixes #13
  • now accepts None as the new func_signature to declare that the signature is identical to the decorated function. This can be handy to just change the docstring or module name of a function for example. Fixes #15

create_function and @with_signature:

  • New modulename parameter to override the module name. Fixes #14
  • the handler is now available as a field of the generated function (under __call_handler__). New addhandler parameter (default: True) controls this behaviour. Fixes #16

Misc:

  • New goodie to manipulate signatures: add_signature_parameters.
  • Fixed dependencies for documentation auto-build.

See documentation page for details.

Don't miss a new python-makefun release

NewReleases is sending notifications on new releases.