ovld 0.3.4__py3-none-any.whl → 0.3.6__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
ovld/core.py CHANGED
@@ -8,10 +8,15 @@ import typing
8
8
  from types import FunctionType
9
9
 
10
10
  try:
11
- from types import GenericAlias, UnionType
11
+ from types import UnionType
12
12
  except ImportError: # pragma: no cover
13
13
  UnionType = None
14
14
 
15
+
16
+ try:
17
+ from types import GenericAlias
18
+ except ImportError: # pragma: no cover
19
+
15
20
  class GenericAliasMC(type):
16
21
  def __instancecheck__(cls, obj):
17
22
  return hasattr(obj, "__origin__")
ovld/version.py CHANGED
@@ -1 +1 @@
1
- version = "0.3.4"
1
+ version = "0.3.6"
@@ -1,20 +1,11 @@
1
- Metadata-Version: 2.1
1
+ Metadata-Version: 2.3
2
2
  Name: ovld
3
- Version: 0.3.4
3
+ Version: 0.3.6
4
4
  Summary: Overloading Python functions
5
- Home-page: https://github.com/breuleux/ovld
6
- License: MIT
7
- Author: Olivier Breuleux
8
- Author-email: breuleux@gmail.com
9
- Requires-Python: >=3.8,<4.0
10
- Classifier: License :: OSI Approved :: MIT License
11
- Classifier: Programming Language :: Python :: 3
12
- Classifier: Programming Language :: Python :: 3.8
13
- Classifier: Programming Language :: Python :: 3.9
14
- Classifier: Programming Language :: Python :: 3.10
15
- Classifier: Programming Language :: Python :: 3.11
16
- Classifier: Programming Language :: Python :: 3.12
17
- Project-URL: Repository, https://github.com/breuleux/ovld
5
+ Author-email: Olivier Breuleux <breuleux@gmail.com>
6
+ License-Expression: MIT
7
+ License-File: LICENSE
8
+ Requires-Python: >=3.8
18
9
  Description-Content-Type: text/markdown
19
10
 
20
11
 
@@ -328,4 +319,3 @@ bad([1], [2])
328
319
  The functions on the stack have names like `bad.entry`, `bad.dispatch`, `bad[list, list]` and `bad[*, *]` (`*` stands for `object`), which lets you better understand what happened just from the stack trace.
329
320
 
330
321
  This also means profilers will be able to differentiate between these paths and between variants, even if they share code paths.
331
-
@@ -0,0 +1,9 @@
1
+ ovld/__init__.py,sha256=Wa7MHfDw0_AV7jwSwepntCeXzZheELkb8paxVnjp58Q,85
2
+ ovld/core.py,sha256=CshFjuUcDtxhrFh2xFSDte8wNKTbu48xnQEmumKFEiI,33146
3
+ ovld/mro.py,sha256=Dof3wj-BLcV-T-Jm9tK6zqptp_JGo5lxgyRq99AvY1k,5006
4
+ ovld/utils.py,sha256=8kINtHrWdC0bNVccxYIkHBaGFk_YFpjtnjAa9GyXNmA,3861
5
+ ovld/version.py,sha256=vIKhRZtxwtdVo0OiYyq3aaZwQ95yMgUWRjQesHZ8HME,18
6
+ ovld-0.3.6.dist-info/METADATA,sha256=709EdUxLKka4oIiqZlp1vQCgWGFiUfRaIGK-4auZVcA,9006
7
+ ovld-0.3.6.dist-info/WHEEL,sha256=1yFddiXMmvYK7QYTqtRNtX66WJ0Mz8PYEiEUoOUUxRY,87
8
+ ovld-0.3.6.dist-info/licenses/LICENSE,sha256=cSwNTIzd1cbI89xt3PeZZYJP2y3j8Zus4bXgo4svpX8,1066
9
+ ovld-0.3.6.dist-info/RECORD,,
@@ -1,4 +1,4 @@
1
1
  Wheel-Version: 1.0
2
- Generator: poetry-core 1.9.0
2
+ Generator: hatchling 1.25.0
3
3
  Root-Is-Purelib: true
4
4
  Tag: py3-none-any
@@ -1,9 +0,0 @@
1
- ovld/__init__.py,sha256=Wa7MHfDw0_AV7jwSwepntCeXzZheELkb8paxVnjp58Q,85
2
- ovld/core.py,sha256=Iz9VMQAqRGsgZqwBkR8uNoBdnC0vp4RYhVDcMydcPlo,33078
3
- ovld/mro.py,sha256=Dof3wj-BLcV-T-Jm9tK6zqptp_JGo5lxgyRq99AvY1k,5006
4
- ovld/utils.py,sha256=8kINtHrWdC0bNVccxYIkHBaGFk_YFpjtnjAa9GyXNmA,3861
5
- ovld/version.py,sha256=gFnDcL_GoJXrglbZytpscjJFX7Ge1G2_exIvsJP20D4,18
6
- ovld-0.3.4.dist-info/LICENSE,sha256=cSwNTIzd1cbI89xt3PeZZYJP2y3j8Zus4bXgo4svpX8,1066
7
- ovld-0.3.4.dist-info/METADATA,sha256=1JtepDt_ZRKv07KGQb0DhymtG5OnYXXUyy1UEg4XHy4,9439
8
- ovld-0.3.4.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
9
- ovld-0.3.4.dist-info/RECORD,,