omlish 0.0.0.dev272__py3-none-any.whl → 0.0.0.dev273__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.
omlish/__about__.py CHANGED
@@ -1,5 +1,5 @@
1
- __version__ = '0.0.0.dev272'
2
- __revision__ = '77ed49b2a8b3f746064a52c4b81e1c02dba03a40'
1
+ __version__ = '0.0.0.dev273'
2
+ __revision__ = '44a0fe838de0f8002790aea22f754c26ce424e79'
3
3
 
4
4
 
5
5
  #
@@ -72,8 +72,9 @@ class TypedValues(
72
72
 
73
73
  def without(self, *tys: type) -> ta.Iterator[TypedValueT]:
74
74
  for o in self._lst:
75
- if not isinstance(o, tys):
76
- yield o
75
+ if isinstance(o, tys):
76
+ continue
77
+ yield o
77
78
 
78
79
  def __repr__(self) -> str:
79
80
  return f'{self.__class__.__name__}({", ".join(map(repr, self._lst))})'
@@ -14,6 +14,9 @@ class TypedValue(lang.Abstract):
14
14
  pass
15
15
 
16
16
 
17
+ ##
18
+
19
+
17
20
  class UniqueTypedValue(TypedValue, lang.Abstract):
18
21
  _unique_typed_value_cls: ta.ClassVar[type[TypedValue]]
19
22
 
@@ -29,6 +32,9 @@ class UniqueTypedValue(TypedValue, lang.Abstract):
29
32
  raise TypeError(f'Class already has _unique_typed_value_cls: {cls}')
30
33
 
31
34
 
35
+ ##
36
+
37
+
32
38
  @dc.dataclass(frozen=True)
33
39
  @dc.extra_params(generic_init=True)
34
40
  class ScalarTypedValue(TypedValue, lang.Abstract, ta.Generic[T]):
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: omlish
3
- Version: 0.0.0.dev272
3
+ Version: 0.0.0.dev273
4
4
  Summary: omlish
5
5
  Author: wrmsr
6
6
  License: BSD-3-Clause
@@ -1,5 +1,5 @@
1
1
  omlish/.manifests.json,sha256=x26AIwDzScUvnX-p4xlq6Zc5QYrAo0Vmgf1qHc1KL_M,8253
2
- omlish/__about__.py,sha256=sBVk_BgCjXDv-7KkFlDdOfXgB8qnaGdomycyZCp2gHA,3380
2
+ omlish/__about__.py,sha256=E6wHAnFO3xZWaRLHShW8D8wfZeMn1NE8rAz-ksXt6qg,3380
3
3
  omlish/__init__.py,sha256=SsyiITTuK0v74XpKV8dqNaCmjOlan1JZKrHQv5rWKPA,253
4
4
  omlish/c3.py,sha256=rer-TPOFDU6fYq_AWio_AmA-ckZ8JDY5shIzQ_yXfzA,8414
5
5
  omlish/cached.py,sha256=MLap_p0rdGoDIMVhXVHm1tsbcWobJF0OanoodV03Ju8,542
@@ -778,13 +778,13 @@ omlish/text/go/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
778
778
  omlish/text/go/quoting.py,sha256=N9EYdnFdEX_A8fOviH-1w4jwV3XOQ7VU2WsoUNubYVY,9137
779
779
  omlish/typedvalues/__init__.py,sha256=9ROZq46KN2scNUckjMaSiUiXxP3a_-8_lnOh_eBF5RM,357
780
780
  omlish/typedvalues/accessor.py,sha256=gZ48yDFRYS_0TgbRBY6Pxa50ncWCqwaGes_T_RWLTvo,2738
781
- omlish/typedvalues/collection.py,sha256=XTAmxo_QlhaIUM-oFif-kDxxi3esQ5E1p99NSHsqRn0,3496
781
+ omlish/typedvalues/collection.py,sha256=1f0MLtlmynCm8pabzRtarmipcqFWw_7Z9EEuWJ68Ed8,3513
782
782
  omlish/typedvalues/generic.py,sha256=byWG_gMXhNelckUwdmOoJE9FKkL71Q4BSi4ZLyy0XZ0,788
783
783
  omlish/typedvalues/holder.py,sha256=4SwRezsmuDDEO5gENGx8kTm30pblF5UktoEAu02i-Gk,1554
784
- omlish/typedvalues/values.py,sha256=DPq490iKm_Ny_pUa2tmSzMuITAZDGhIt969OaphFROg,892
785
- omlish-0.0.0.dev272.dist-info/licenses/LICENSE,sha256=B_hVtavaA8zCYDW99DYdcpDLKz1n3BBRjZrcbv8uG8c,1451
786
- omlish-0.0.0.dev272.dist-info/METADATA,sha256=XTYfFdON0tX-aBDW2Bo_n7ifW_sx1zE9oCg_2MWqmuo,4198
787
- omlish-0.0.0.dev272.dist-info/WHEEL,sha256=CmyFI0kx5cdEMTLiONQRbGQwjIoR1aIYB7eCAQ4KPJ0,91
788
- omlish-0.0.0.dev272.dist-info/entry_points.txt,sha256=Lt84WvRZJskWCAS7xnQGZIeVWksprtUHj0llrvVmod8,35
789
- omlish-0.0.0.dev272.dist-info/top_level.txt,sha256=pePsKdLu7DvtUiecdYXJ78iO80uDNmBlqe-8hOzOmfs,7
790
- omlish-0.0.0.dev272.dist-info/RECORD,,
784
+ omlish/typedvalues/values.py,sha256=V5hgmOmrVhRd0WdgMLku9MdxvRY2m0NzbQenu8WYl6I,902
785
+ omlish-0.0.0.dev273.dist-info/licenses/LICENSE,sha256=B_hVtavaA8zCYDW99DYdcpDLKz1n3BBRjZrcbv8uG8c,1451
786
+ omlish-0.0.0.dev273.dist-info/METADATA,sha256=8RDe_CEzwDnV44ud51Ere2JFi0bQudPpKeB0hXhw1to,4198
787
+ omlish-0.0.0.dev273.dist-info/WHEEL,sha256=CmyFI0kx5cdEMTLiONQRbGQwjIoR1aIYB7eCAQ4KPJ0,91
788
+ omlish-0.0.0.dev273.dist-info/entry_points.txt,sha256=Lt84WvRZJskWCAS7xnQGZIeVWksprtUHj0llrvVmod8,35
789
+ omlish-0.0.0.dev273.dist-info/top_level.txt,sha256=pePsKdLu7DvtUiecdYXJ78iO80uDNmBlqe-8hOzOmfs,7
790
+ omlish-0.0.0.dev273.dist-info/RECORD,,