Black-magic

Latest version: v0.0.12

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

Scan your dependencies

Page 1 of 2

26.12.2015

- fix missing UNLICENSE file in source distribution
- some internal maintenance

25.12.2015

- add support for python 3.5

0.0.12

------

0.0.11

------

0.0.10

------

- add compatibility with python3.4

0.0.9

-----

- fix signature of ``black_magic.decorator.partial``: remove named
parameter ``func`` that can prevent binding of the a parameter with the
same name into ``**kwargs``
- return value of ``partial`` can now be used for further parameter
(re-)binding if the function was left open. CAREFUL: this might have
unexpected characteristics, such as moving positional parameters to the
right in later calls.
- add ``metapartial`` function, that accepts only ``*args, **kwargs`` to be
bound, while the function to be used can only be specified in a second
step.
- slightly improve performance of ``black_magic.decorator``. Is now
approximately the same as the performance of the ``decorator`` module.

Page 1 of 2

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.