v2.0.0
#54
Replies: 1 comment
-
Hello you, pythonista, cappy to hear of yours! |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
What's Changed
What's new
Greatly worked on the docs to make them more undetsandable and increase coverage.
Renamed overload to multiple dispatch or multimethod as required, since
As from :ref:
Overload or multimethod
.Added new options to :ref:
pyoload.Checks
such as registerring under multiple names.Increased the pytest coverage to ensure the full functionality of
pyoload
on the several supported python versions.
Greatly improved performance using
inspect.Signature
. Providing supportfor partial annotating of function.(Yes, from v2.0.0 some annotations may be ommited).
Added helper methods for interacting with annotated functions,
They include
pyoload.annotable
pyoload.unannotable
pyoload.is_annotable
pyoload.is_annotated
Those methods will help you prevent some functions from being annotated.
Improved support for python 3.9 and 3.10
renamed functions as the previous
pyoload.typeMatch
to :ref:pyoload.type_match
to followthe snake case system of nomenclature.
:ref:
pyoload.type_match
returns a tuple of the matchin status and errorswhich may have lead to type mismatch, thosse errors are added to traceback
to ease debugging.
Now most classes implement
__slots__
to improve memory size.Full Changelog: v1.1.3...v2.0.0
This discussion was created from the release v2.0.0.
Beta Was this translation helpful? Give feedback.
All reactions