v440 2.0.0.dev61__tar.gz → 2.0.0.dev63__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.dev61/src/v440.egg-info → v440-2.0.0.dev63}/PKG-INFO +1 -1
- {v440-2.0.0.dev61 → v440-2.0.0.dev63}/pyproject.toml +1 -1
- {v440-2.0.0.dev61 → v440-2.0.0.dev63}/src/v440/_utils/BaseList.py +1 -4
- {v440-2.0.0.dev61 → v440-2.0.0.dev63}/src/v440/_utils/utils.py +0 -9
- {v440-2.0.0.dev61 → v440-2.0.0.dev63}/src/v440/core/Public.py +0 -2
- {v440-2.0.0.dev61 → v440-2.0.0.dev63}/src/v440/core/Qual.py +1 -1
- {v440-2.0.0.dev61 → v440-2.0.0.dev63}/src/v440/tests/test_testdata.py +4 -3
- {v440-2.0.0.dev61 → v440-2.0.0.dev63}/src/v440/tests/testdata.toml +7 -3
- {v440-2.0.0.dev61 → v440-2.0.0.dev63/src/v440.egg-info}/PKG-INFO +1 -1
- {v440-2.0.0.dev61 → v440-2.0.0.dev63}/LICENSE.txt +0 -0
- {v440-2.0.0.dev61 → v440-2.0.0.dev63}/MANIFEST.in +0 -0
- {v440-2.0.0.dev61 → v440-2.0.0.dev63}/README.rst +0 -0
- {v440-2.0.0.dev61 → v440-2.0.0.dev63}/setup.cfg +0 -0
- {v440-2.0.0.dev61 → v440-2.0.0.dev63}/src/v440/__init__.py +0 -0
- {v440-2.0.0.dev61 → v440-2.0.0.dev63}/src/v440/_utils/Cfg.py +0 -0
- {v440-2.0.0.dev61 → v440-2.0.0.dev63}/src/v440/_utils/Digest.py +0 -0
- {v440-2.0.0.dev61 → v440-2.0.0.dev63}/src/v440/_utils/Pattern.py +0 -0
- {v440-2.0.0.dev61 → v440-2.0.0.dev63}/src/v440/_utils/SlotList.py +0 -0
- {v440-2.0.0.dev61 → v440-2.0.0.dev63}/src/v440/_utils/VList.py +0 -0
- {v440-2.0.0.dev61 → v440-2.0.0.dev63}/src/v440/_utils/__init__.py +0 -0
- {v440-2.0.0.dev61 → v440-2.0.0.dev63}/src/v440/_utils/cfg.toml +0 -0
- {v440-2.0.0.dev61 → v440-2.0.0.dev63}/src/v440/_utils/qualparse.py +0 -0
- {v440-2.0.0.dev61 → v440-2.0.0.dev63}/src/v440/core/Base.py +0 -0
- {v440-2.0.0.dev61 → v440-2.0.0.dev63}/src/v440/core/Local.py +1 -1
- {v440-2.0.0.dev61 → v440-2.0.0.dev63}/src/v440/core/Release.py +1 -1
- {v440-2.0.0.dev61 → v440-2.0.0.dev63}/src/v440/core/Version.py +0 -0
- {v440-2.0.0.dev61 → v440-2.0.0.dev63}/src/v440/core/VersionError.py +0 -0
- {v440-2.0.0.dev61 → v440-2.0.0.dev63}/src/v440/core/__init__.py +0 -0
- {v440-2.0.0.dev61 → v440-2.0.0.dev63}/src/v440/tests/__init__.py +0 -0
- {v440-2.0.0.dev61 → v440-2.0.0.dev63}/src/v440/tests/test_version.py +0 -0
- {v440-2.0.0.dev61 → v440-2.0.0.dev63}/src/v440.egg-info/SOURCES.txt +0 -0
- {v440-2.0.0.dev61 → v440-2.0.0.dev63}/src/v440.egg-info/dependency_links.txt +0 -0
- {v440-2.0.0.dev61 → v440-2.0.0.dev63}/src/v440.egg-info/requires.txt +0 -0
- {v440-2.0.0.dev61 → v440-2.0.0.dev63}/src/v440.egg-info/top_level.txt +0 -0
|
@@ -62,15 +62,6 @@ def _segment(value: Any, /) -> int | str:
|
|
|
62
62
|
return int(value)
|
|
63
63
|
|
|
64
64
|
|
|
65
|
-
def ishashable(value: Any) -> bool:
|
|
66
|
-
try:
|
|
67
|
-
hash(value)
|
|
68
|
-
except Exception:
|
|
69
|
-
return False
|
|
70
|
-
else:
|
|
71
|
-
return True
|
|
72
|
-
|
|
73
|
-
|
|
74
65
|
def guard(old: Any) -> Any:
|
|
75
66
|
@functools.wraps(old)
|
|
76
67
|
def new(self: Self, value: Any) -> None:
|
|
@@ -5,10 +5,8 @@ from typing import *
|
|
|
5
5
|
import setdoc
|
|
6
6
|
from overloadable import Overloadable
|
|
7
7
|
|
|
8
|
-
from v440._utils.Digest import Digest
|
|
9
8
|
from v440._utils.Pattern import Pattern
|
|
10
9
|
from v440._utils.SlotList import SlotList
|
|
11
|
-
from v440._utils.utils import guard
|
|
12
10
|
from v440.core.Base import Base
|
|
13
11
|
from v440.core.Qual import Qual
|
|
14
12
|
|
|
@@ -5,7 +5,7 @@ from typing import *
|
|
|
5
5
|
import setdoc
|
|
6
6
|
from overloadable import Overloadable
|
|
7
7
|
|
|
8
|
-
from v440._utils import qualparse
|
|
8
|
+
from v440._utils import qualparse
|
|
9
9
|
from v440._utils.Pattern import Pattern
|
|
10
10
|
from v440._utils.SlotList import SlotList
|
|
11
11
|
from v440._utils.utils import guard
|
|
@@ -167,7 +167,8 @@ class TestSlicingGo(unittest.TestCase):
|
|
|
167
167
|
class TestDataProperty(unittest.TestCase):
|
|
168
168
|
def test_data(self: Self) -> None:
|
|
169
169
|
for k, v in Util.util.data["data-property"].items():
|
|
170
|
-
self.
|
|
170
|
+
with self.subTest(key=k):
|
|
171
|
+
self.go(**v, key=k)
|
|
171
172
|
|
|
172
173
|
def go(
|
|
173
174
|
self: Self,
|
|
@@ -384,7 +385,7 @@ class TestSlots(unittest.TestCase):
|
|
|
384
385
|
clsname: str,
|
|
385
386
|
attrname: str,
|
|
386
387
|
attrvalue: Any,
|
|
387
|
-
|
|
388
|
+
string: Any = None,
|
|
388
389
|
isimported: Optional[bool] = False,
|
|
389
390
|
) -> None:
|
|
390
391
|
cls: type
|
|
@@ -392,7 +393,7 @@ class TestSlots(unittest.TestCase):
|
|
|
392
393
|
cls = getattr(core, clsname)
|
|
393
394
|
else:
|
|
394
395
|
cls = getattr(getattr(core, clsname), clsname)
|
|
395
|
-
obj: Any = cls(
|
|
396
|
+
obj: Any = cls(string=string)
|
|
396
397
|
with self.assertRaises(AttributeError):
|
|
397
398
|
setattr(obj, attrname, attrvalue)
|
|
398
399
|
|
|
@@ -961,9 +961,6 @@ solution = "9001"
|
|
|
961
961
|
query = "1701!4.5.6.rc255+reset"
|
|
962
962
|
solution = "1701!4.5.6rc255+reset"
|
|
963
963
|
|
|
964
|
-
[data-property.none]
|
|
965
|
-
solution = "0"
|
|
966
|
-
|
|
967
964
|
[slicingmethod.test_slicing_1]
|
|
968
965
|
query = "1.2.3.4.5.6.7.8.9.10"
|
|
969
966
|
start = -8
|
|
@@ -1030,36 +1027,43 @@ full = "1.2.3"
|
|
|
1030
1027
|
part = 0
|
|
1031
1028
|
|
|
1032
1029
|
[core-non-attributes.test-0000]
|
|
1030
|
+
string = ""
|
|
1033
1031
|
clsname = "Base"
|
|
1034
1032
|
attrname = "fdsfvdsff"
|
|
1035
1033
|
attrvalue = 42
|
|
1036
1034
|
|
|
1037
1035
|
[core-non-attributes.test-0100]
|
|
1036
|
+
string = ""
|
|
1038
1037
|
clsname = "Local"
|
|
1039
1038
|
attrname = "fdsfvdsff"
|
|
1040
1039
|
attrvalue = 42
|
|
1041
1040
|
|
|
1042
1041
|
[core-non-attributes.test-0200]
|
|
1042
|
+
string = ""
|
|
1043
1043
|
clsname = "Public"
|
|
1044
1044
|
attrname = "fdsfvdsff"
|
|
1045
1045
|
attrvalue = 42
|
|
1046
1046
|
|
|
1047
1047
|
[core-non-attributes.test-0300]
|
|
1048
|
+
string = ""
|
|
1048
1049
|
clsname = "Qual"
|
|
1049
1050
|
attrname = "fdsfvdsff"
|
|
1050
1051
|
attrvalue = 42
|
|
1051
1052
|
|
|
1052
1053
|
[core-non-attributes.test-0400]
|
|
1054
|
+
string = ""
|
|
1053
1055
|
clsname = "Release"
|
|
1054
1056
|
attrname = "fdsfvdsff"
|
|
1055
1057
|
attrvalue = 42
|
|
1056
1058
|
|
|
1057
1059
|
[core-non-attributes.test-0500]
|
|
1060
|
+
string = ""
|
|
1058
1061
|
clsname = "Public"
|
|
1059
1062
|
attrname = "fdsfvdsff"
|
|
1060
1063
|
attrvalue = 42
|
|
1061
1064
|
|
|
1062
1065
|
[core-non-attributes.test-0600]
|
|
1066
|
+
string = ""
|
|
1063
1067
|
clsname = "Version"
|
|
1064
1068
|
attrname = "fdsfvdsff"
|
|
1065
1069
|
attrvalue = 42
|
|
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
|