Skip to content

Releases: smarie/python-makefun

1.15.6 - compatibility fix

26 Sep 12:48
Compare
Choose a tag to compare
  • Fixed issue with legacy python 2.7 and 3.5. Fixes #110

See documentation page for details.

1.15.4 - Python 3.13 official support

12 Jul 12:08
d59b842
Compare
Choose a tag to compare

See documentation page for details.

1.15.3 - bugfix

05 Jul 09:28
Compare
Choose a tag to compare
  • Fixed SyntaxError: invalid syntax happening when the default value of one argument of the created function is a
    subclass of a basic primitive. Fixes #98. PR
    #99 by moskupols.

See documentation page for details.

1.15.2 - bugfix

09 Nov 21:52
Compare
Choose a tag to compare
  • Fixed SyntaxError happening when the name of a native coroutine function to create contains 'return'.
    Fixes #96.

See documentation page for details.

1.15.1 - bugfixes

23 Feb 10:43
3407739
Compare
Choose a tag to compare
  • Fixed ValueError: Invalid co_name happening on python 2 when the name of a function to create starts or ends with
    _ or contains a double __ . Fixes #91

See documentation page for details.

1.15.0 - More PEP-compliant `wraps`

08 Sep 09:19
Compare
Choose a tag to compare
  • wraps now always sets the __wrapped__ attribute, and also sets the __signature__ attribute when the signature changes, as specified by PEP 362. PR by #86 by lucaswiman.

See documentation page for details.

1.14.0 - Support for lambda functions

21 Jun 21:27
Compare
Choose a tag to compare
  • create_wrapper, create_function, wraps and with_signature now support lambda functions. They also accept a new parameter co_name to define the name to be used in the compiled code. PR #80 by andrewcleveland.

See documentation page for details.

1.13.1 - Fixed regression with generators in python 3.5

07 Jan 14:37
Compare
Choose a tag to compare
  • Fixed an issue where using partial on a generator function in python 3.5 was raising a SyntaxError. Fixed #79

See documentation page for details.

1.13.0 - Support for async generator functions

04 Jan 20:25
Compare
Choose a tag to compare

See documentation page for details.

1.12.1 - Bugfix

08 Oct 10:13
Compare
Choose a tag to compare
  • Fixed TypeError when a func attribute is present on the function provided to create_function. Fixed #76

See documentation page for details.