v440 2.0.0.dev100__tar.gz → 2.0.0.dev102__tar.gz
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.
- {v440-2.0.0.dev100/src/v440.egg-info → v440-2.0.0.dev102}/PKG-INFO +1 -1
- {v440-2.0.0.dev100 → v440-2.0.0.dev102}/pyproject.toml +1 -1
- {v440-2.0.0.dev100 → v440-2.0.0.dev102}/src/v440/core/Base.py +3 -3
- {v440-2.0.0.dev100 → v440-2.0.0.dev102}/src/v440/core/Local.py +2 -5
- {v440-2.0.0.dev100 → v440-2.0.0.dev102/src/v440.egg-info}/PKG-INFO +1 -1
- {v440-2.0.0.dev100 → v440-2.0.0.dev102}/LICENSE.txt +0 -0
- {v440-2.0.0.dev100 → v440-2.0.0.dev102}/MANIFEST.in +0 -0
- {v440-2.0.0.dev100 → v440-2.0.0.dev102}/README.rst +0 -0
- {v440-2.0.0.dev100 → v440-2.0.0.dev102}/setup.cfg +0 -0
- {v440-2.0.0.dev100 → v440-2.0.0.dev102}/src/v440/__init__.py +0 -0
- {v440-2.0.0.dev100 → v440-2.0.0.dev102}/src/v440/_utils/BaseStringer.py +0 -0
- {v440-2.0.0.dev100 → v440-2.0.0.dev102}/src/v440/_utils/Cfg.py +0 -0
- {v440-2.0.0.dev100 → v440-2.0.0.dev102}/src/v440/_utils/ListStringer.py +0 -0
- {v440-2.0.0.dev100 → v440-2.0.0.dev102}/src/v440/_utils/Pattern.py +0 -0
- {v440-2.0.0.dev100 → v440-2.0.0.dev102}/src/v440/_utils/SlotStringer.py +0 -0
- {v440-2.0.0.dev100 → v440-2.0.0.dev102}/src/v440/_utils/__init__.py +0 -0
- {v440-2.0.0.dev100 → v440-2.0.0.dev102}/src/v440/_utils/cfg.toml +0 -0
- {v440-2.0.0.dev100 → v440-2.0.0.dev102}/src/v440/_utils/guarding.py +0 -0
- {v440-2.0.0.dev100 → v440-2.0.0.dev102}/src/v440/_utils/qualparse/Digest.py +0 -0
- {v440-2.0.0.dev100 → v440-2.0.0.dev102}/src/v440/_utils/qualparse/__init__.py +0 -0
- {v440-2.0.0.dev100 → v440-2.0.0.dev102}/src/v440/_utils/qualparse/devs.py +0 -0
- {v440-2.0.0.dev100 → v440-2.0.0.dev102}/src/v440/_utils/qualparse/posts.py +0 -0
- {v440-2.0.0.dev100 → v440-2.0.0.dev102}/src/v440/_utils/qualparse/pres.py +0 -0
- {v440-2.0.0.dev100 → v440-2.0.0.dev102}/src/v440/_utils/qualparse/segmenting.py +0 -0
- {v440-2.0.0.dev100 → v440-2.0.0.dev102}/src/v440/_utils/releaseparse/__init__.py +0 -0
- {v440-2.0.0.dev100 → v440-2.0.0.dev102}/src/v440/_utils/releaseparse/deleting.py +0 -0
- {v440-2.0.0.dev100 → v440-2.0.0.dev102}/src/v440/_utils/releaseparse/getting.py +0 -0
- {v440-2.0.0.dev100 → v440-2.0.0.dev102}/src/v440/_utils/releaseparse/listing.py +0 -0
- {v440-2.0.0.dev100 → v440-2.0.0.dev102}/src/v440/_utils/releaseparse/numerals.py +0 -0
- {v440-2.0.0.dev100 → v440-2.0.0.dev102}/src/v440/_utils/releaseparse/ranging.py +0 -0
- {v440-2.0.0.dev100 → v440-2.0.0.dev102}/src/v440/_utils/releaseparse/setting.py +0 -0
- {v440-2.0.0.dev100 → v440-2.0.0.dev102}/src/v440/core/Public.py +0 -0
- {v440-2.0.0.dev100 → v440-2.0.0.dev102}/src/v440/core/Qual.py +0 -0
- {v440-2.0.0.dev100 → v440-2.0.0.dev102}/src/v440/core/Release.py +0 -0
- {v440-2.0.0.dev100 → v440-2.0.0.dev102}/src/v440/core/Version.py +0 -0
- {v440-2.0.0.dev100 → v440-2.0.0.dev102}/src/v440/core/VersionError.py +0 -0
- {v440-2.0.0.dev100 → v440-2.0.0.dev102}/src/v440/core/__init__.py +0 -0
- {v440-2.0.0.dev100 → v440-2.0.0.dev102}/src/v440/tests/__init__.py +0 -0
- {v440-2.0.0.dev100 → v440-2.0.0.dev102}/src/v440/tests/test_testdata.py +0 -0
- {v440-2.0.0.dev100 → v440-2.0.0.dev102}/src/v440/tests/test_version.py +0 -0
- {v440-2.0.0.dev100 → v440-2.0.0.dev102}/src/v440/tests/testdata.toml +0 -0
- {v440-2.0.0.dev100 → v440-2.0.0.dev102}/src/v440.egg-info/SOURCES.txt +0 -0
- {v440-2.0.0.dev100 → v440-2.0.0.dev102}/src/v440.egg-info/dependency_links.txt +0 -0
- {v440-2.0.0.dev100 → v440-2.0.0.dev102}/src/v440.egg-info/requires.txt +0 -0
- {v440-2.0.0.dev100 → v440-2.0.0.dev102}/src/v440.egg-info/top_level.txt +0 -0
|
@@ -28,15 +28,15 @@ class Base(SlotStringer):
|
|
|
28
28
|
@Overloadable
|
|
29
29
|
@setdoc.basic
|
|
30
30
|
def __init__(self: Self, *args: Any, **kwargs: Any) -> bool:
|
|
31
|
-
if
|
|
31
|
+
if "string" in kwargs.keys():
|
|
32
32
|
return True
|
|
33
|
-
if len(args)
|
|
33
|
+
if len(args) <= 1 and len(kwargs) == 0:
|
|
34
34
|
return True
|
|
35
35
|
return False
|
|
36
36
|
|
|
37
37
|
@__init__.overload(True)
|
|
38
38
|
@setdoc.basic
|
|
39
|
-
def __init__(self: Self, string: Any) -> None:
|
|
39
|
+
def __init__(self: Self, string: Any = "0") -> None:
|
|
40
40
|
self._epoch = 0
|
|
41
41
|
self._release = Release()
|
|
42
42
|
self.string = string
|
|
@@ -21,10 +21,10 @@ class Local(ListStringer):
|
|
|
21
21
|
@Overloadable
|
|
22
22
|
@setdoc.basic
|
|
23
23
|
def __init__(self: Self, *args: Any, **kwargs: Any) -> bool:
|
|
24
|
-
if len(args) <= 1 and len(kwargs) == 0:
|
|
25
|
-
return True
|
|
26
24
|
if "string" in kwargs.keys():
|
|
27
25
|
return True
|
|
26
|
+
if len(args) <= 1 and len(kwargs) == 0:
|
|
27
|
+
return True
|
|
28
28
|
return False
|
|
29
29
|
|
|
30
30
|
@__init__.overload(True)
|
|
@@ -49,9 +49,6 @@ class Local(ListStringer):
|
|
|
49
49
|
raise ValueError
|
|
50
50
|
return ".".join(map(str, self))
|
|
51
51
|
|
|
52
|
-
def _init_setup(self: Self) -> None:
|
|
53
|
-
self._data = ()
|
|
54
|
-
|
|
55
52
|
@classmethod
|
|
56
53
|
def _item_parse(cls: type, value: Any) -> int | str:
|
|
57
54
|
ans: int | str
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|