omextra 0.0.0.dev434__py3-none-any.whl → 0.0.0.dev436__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.
- omextra/defs.py +3 -3
- {omextra-0.0.0.dev434.dist-info → omextra-0.0.0.dev436.dist-info}/METADATA +2 -2
- {omextra-0.0.0.dev434.dist-info → omextra-0.0.0.dev436.dist-info}/RECORD +7 -7
- {omextra-0.0.0.dev434.dist-info → omextra-0.0.0.dev436.dist-info}/WHEEL +0 -0
- {omextra-0.0.0.dev434.dist-info → omextra-0.0.0.dev436.dist-info}/entry_points.txt +0 -0
- {omextra-0.0.0.dev434.dist-info → omextra-0.0.0.dev436.dist-info}/licenses/LICENSE +0 -0
- {omextra-0.0.0.dev434.dist-info → omextra-0.0.0.dev436.dist-info}/top_level.txt +0 -0
omextra/defs.py
CHANGED
@@ -58,7 +58,7 @@ def _repr_guard(fn):
|
|
58
58
|
|
59
59
|
else:
|
60
60
|
if id(obj) in ids:
|
61
|
-
return f'<seen:{type(obj).__name__}@{
|
61
|
+
return f'<seen:{type(obj).__name__}@{id(obj):x}>'
|
62
62
|
ids.add(id(obj))
|
63
63
|
return fn(obj, *args, **kwargs)
|
64
64
|
|
@@ -81,14 +81,14 @@ def build_attr_repr(obj, *, mro=False):
|
|
81
81
|
attrs = obj.__repr_attrs__
|
82
82
|
|
83
83
|
s = ', '.join(f'{a}={"<self>" if v is obj else _repr(v)}' for a in attrs for v in [getattr(obj, a)])
|
84
|
-
return f'{type(obj).__name__}@{
|
84
|
+
return f'{type(obj).__name__}@{id(obj):x}({s})'
|
85
85
|
|
86
86
|
|
87
87
|
@_repr_guard
|
88
88
|
def build_repr(obj, *attrs):
|
89
89
|
return (
|
90
90
|
f'{type(obj).__name__}'
|
91
|
-
f'@{
|
91
|
+
f'@{id(obj):x}'
|
92
92
|
f'({", ".join(f"{attr}={getattr(obj, attr)!r}" for attr in attrs)})'
|
93
93
|
)
|
94
94
|
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.4
|
2
2
|
Name: omextra
|
3
|
-
Version: 0.0.0.
|
3
|
+
Version: 0.0.0.dev436
|
4
4
|
Summary: omextra
|
5
5
|
Author: wrmsr
|
6
6
|
License-Expression: BSD-3-Clause
|
@@ -14,7 +14,7 @@ Classifier: Programming Language :: Python :: 3.13
|
|
14
14
|
Requires-Python: >=3.13
|
15
15
|
Description-Content-Type: text/markdown
|
16
16
|
License-File: LICENSE
|
17
|
-
Requires-Dist: omlish==0.0.0.
|
17
|
+
Requires-Dist: omlish==0.0.0.dev436
|
18
18
|
Dynamic: license-file
|
19
19
|
|
20
20
|
# Overview
|
@@ -1,7 +1,7 @@
|
|
1
1
|
omextra/.omlish-manifests.json,sha256=E1M9UJ31RfpLfsZ2MfbN0_GAh_Lu_vj9wVJKPgak8jQ,290
|
2
2
|
omextra/__about__.py,sha256=UmONS0zKtygpY7Z9AD42Kn1cajMEdLKHzUwG00kaaFM,689
|
3
3
|
omextra/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
4
|
-
omextra/defs.py,sha256=
|
4
|
+
omextra/defs.py,sha256=iMaDGj5VSG7QdYA1s7MvIYTbtTsXc1msINsuuZym1vs,4902
|
5
5
|
omextra/dynamic.py,sha256=i3aJRWwHJOmsrXI9a2iWCLa7pUQXx5YbMvUOS5LZ_Bs,6531
|
6
6
|
omextra/asyncs/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
7
7
|
omextra/asyncs/bridge.py,sha256=75FScB7uZtINJelaJutDRuy6zCoFrTRL5Yajx8TFpWs,10158
|
@@ -61,9 +61,9 @@ omextra/text/antlr/cli/__main__.py,sha256=ckYkj0drxabBVwWYewH2SS36TTeAxllZtS4xEl
|
|
61
61
|
omextra/text/antlr/cli/cli.py,sha256=LW8pJNmySBOV3g8QxquPjUgxFv7YblzEyi555hHH3_M,1234
|
62
62
|
omextra/text/antlr/cli/consts.py,sha256=4xH4jyNE5czXRWCn65jFF0MrAodMPe_kYMWpgMxWmpo,289
|
63
63
|
omextra/text/antlr/cli/gen.py,sha256=HYleVptrpynwcl6GspX6O9_oMRSxwdYAQGuUFfDYse8,5236
|
64
|
-
omextra-0.0.0.
|
65
|
-
omextra-0.0.0.
|
66
|
-
omextra-0.0.0.
|
67
|
-
omextra-0.0.0.
|
68
|
-
omextra-0.0.0.
|
69
|
-
omextra-0.0.0.
|
64
|
+
omextra-0.0.0.dev436.dist-info/licenses/LICENSE,sha256=B_hVtavaA8zCYDW99DYdcpDLKz1n3BBRjZrcbv8uG8c,1451
|
65
|
+
omextra-0.0.0.dev436.dist-info/METADATA,sha256=iw52L4YVGkBS8xWk8Vy9guhYuHAzUDrPNDLHYAdNFII,2531
|
66
|
+
omextra-0.0.0.dev436.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
67
|
+
omextra-0.0.0.dev436.dist-info/entry_points.txt,sha256=-MFAMks5HgZ60Ore0Wl5lKVKk8z4kf1Ls3WY9E_OlCU,37
|
68
|
+
omextra-0.0.0.dev436.dist-info/top_level.txt,sha256=o1nCNRejLMcayDngLuWMWwaeOucz33BXbpuoVvvzjPc,8
|
69
|
+
omextra-0.0.0.dev436.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|