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
Uh oh!
There was an error while loading. Please reload this page.
-
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.Checkssuch as registerring under multiple names.Increased the pytest coverage to ensure the full functionality of
pyoloadon 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.annotablepyoload.unannotablepyoload.is_annotablepyoload.is_annotatedThose 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.typeMatchto :ref:pyoload.type_matchto followthe snake case system of nomenclature.
:ref:
pyoload.type_matchreturns 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