We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 92a7a46 commit e9da7e4Copy full SHA for e9da7e4
1 file changed
benchmarks/specifiers.py
@@ -60,10 +60,17 @@ def _make_cold(self, spec: SpecifierSet) -> None:
60
spec._canonicalized = False
61
if hasattr(spec, "_resolved_ops"):
62
spec._resolved_ops = None
63
+ if hasattr(spec, "_ranges"):
64
+ spec._ranges = None
65
+ if hasattr(spec, "_is_unsatisfiable"):
66
+ spec._is_unsatisfiable = None
67
for sp in spec._specs:
68
sp._spec_version = None
69
if hasattr(sp, "_wildcard_split"):
70
sp._wildcard_split = None
71
+ if hasattr(sp, "_ranges"):
72
+ sp._ranges = None
73
+
74
75
@add_attributes(pretty_name="SpecifierSet constructor")
76
def time_constructor(self) -> None:
0 commit comments