omdev 0.0.0.dev120__py3-none-any.whl → 0.0.0.dev121__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.
Potentially problematic release.
This version of omdev might be problematic. Click here for more details.
- omdev/scripts/interp.py +1 -1
- omdev/scripts/pyproject.py +6 -3
- omdev/toml/parser.py +5 -2
- {omdev-0.0.0.dev120.dist-info → omdev-0.0.0.dev121.dist-info}/METADATA +2 -2
- {omdev-0.0.0.dev120.dist-info → omdev-0.0.0.dev121.dist-info}/RECORD +9 -9
- {omdev-0.0.0.dev120.dist-info → omdev-0.0.0.dev121.dist-info}/LICENSE +0 -0
- {omdev-0.0.0.dev120.dist-info → omdev-0.0.0.dev121.dist-info}/WHEEL +0 -0
- {omdev-0.0.0.dev120.dist-info → omdev-0.0.0.dev121.dist-info}/entry_points.txt +0 -0
- {omdev-0.0.0.dev120.dist-info → omdev-0.0.0.dev121.dist-info}/top_level.txt +0 -0
omdev/scripts/interp.py
CHANGED
omdev/scripts/pyproject.py
CHANGED
|
@@ -629,7 +629,7 @@ def canonicalize_version(
|
|
|
629
629
|
# 8. By copying, installing or otherwise using Python, Licensee agrees to be bound by the terms and conditions of this
|
|
630
630
|
# License Agreement.
|
|
631
631
|
#
|
|
632
|
-
# https://github.com/python/cpython/blob/
|
|
632
|
+
# https://github.com/python/cpython/blob/9ce90206b7a4649600218cf0bd4826db79c9a312/Lib/tomllib/_parser.py
|
|
633
633
|
|
|
634
634
|
|
|
635
635
|
##
|
|
@@ -776,7 +776,10 @@ def toml_loads(s: str, /, *, parse_float: TomlParseFloat = float) -> ta.Dict[str
|
|
|
776
776
|
"""Parse TOML from a string."""
|
|
777
777
|
|
|
778
778
|
# The spec allows converting "\r\n" to "\n", even in string literals. Let's do so to simplify parsing.
|
|
779
|
-
|
|
779
|
+
try:
|
|
780
|
+
src = s.replace('\r\n', '\n')
|
|
781
|
+
except (AttributeError, TypeError):
|
|
782
|
+
raise TypeError(f"Expected str object, not '{type(s).__qualname__}'") from None
|
|
780
783
|
pos = 0
|
|
781
784
|
out = TomlOutput(TomlNestedDict(), TomlFlags())
|
|
782
785
|
header: TomlKey = ()
|
|
@@ -1776,7 +1779,7 @@ class _cached_nullary: # noqa
|
|
|
1776
1779
|
return bound
|
|
1777
1780
|
|
|
1778
1781
|
|
|
1779
|
-
def cached_nullary(fn: ta.Callable[..., T]) -> ta.Callable[..., T]:
|
|
1782
|
+
def cached_nullary(fn): # ta.Callable[..., T]) -> ta.Callable[..., T]:
|
|
1780
1783
|
return _cached_nullary(fn)
|
|
1781
1784
|
|
|
1782
1785
|
|
omdev/toml/parser.py
CHANGED
|
@@ -38,7 +38,7 @@
|
|
|
38
38
|
# 8. By copying, installing or otherwise using Python, Licensee agrees to be bound by the terms and conditions of this
|
|
39
39
|
# License Agreement.
|
|
40
40
|
#
|
|
41
|
-
# https://github.com/python/cpython/blob/
|
|
41
|
+
# https://github.com/python/cpython/blob/9ce90206b7a4649600218cf0bd4826db79c9a312/Lib/tomllib/_parser.py
|
|
42
42
|
# ruff: noqa: UP006 UP007
|
|
43
43
|
import datetime
|
|
44
44
|
import functools
|
|
@@ -197,7 +197,10 @@ def toml_loads(s: str, /, *, parse_float: TomlParseFloat = float) -> ta.Dict[str
|
|
|
197
197
|
"""Parse TOML from a string."""
|
|
198
198
|
|
|
199
199
|
# The spec allows converting "\r\n" to "\n", even in string literals. Let's do so to simplify parsing.
|
|
200
|
-
|
|
200
|
+
try:
|
|
201
|
+
src = s.replace('\r\n', '\n')
|
|
202
|
+
except (AttributeError, TypeError):
|
|
203
|
+
raise TypeError(f"Expected str object, not '{type(s).__qualname__}'") from None
|
|
201
204
|
pos = 0
|
|
202
205
|
out = TomlOutput(TomlNestedDict(), TomlFlags())
|
|
203
206
|
header: TomlKey = ()
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: omdev
|
|
3
|
-
Version: 0.0.0.
|
|
3
|
+
Version: 0.0.0.dev121
|
|
4
4
|
Summary: omdev
|
|
5
5
|
Author: wrmsr
|
|
6
6
|
License: BSD-3-Clause
|
|
@@ -12,7 +12,7 @@ Classifier: Operating System :: OS Independent
|
|
|
12
12
|
Classifier: Operating System :: POSIX
|
|
13
13
|
Requires-Python: >=3.12
|
|
14
14
|
License-File: LICENSE
|
|
15
|
-
Requires-Dist: omlish ==0.0.0.
|
|
15
|
+
Requires-Dist: omlish ==0.0.0.dev121
|
|
16
16
|
Provides-Extra: all
|
|
17
17
|
Requires-Dist: black ~=24.10 ; extra == 'all'
|
|
18
18
|
Requires-Dist: pycparser ~=2.22 ; extra == 'all'
|
|
@@ -122,12 +122,12 @@ omdev/scripts/bumpversion.py,sha256=Kn7fo73Hs8uJh3Hi3EIyLOlzLPWAC6dwuD_lZ3cIzuY,
|
|
|
122
122
|
omdev/scripts/execrss.py,sha256=mR0G0wERBYtQmVIn63lCIIFb5zkCM6X_XOENDFYDBKc,651
|
|
123
123
|
omdev/scripts/exectime.py,sha256=sFb376GflU6s9gNX-2-we8hgH6w5MuQNS9g6i4SqJIo,610
|
|
124
124
|
omdev/scripts/importtrace.py,sha256=Jbo3Yk2RAbE8_tJ97iTcVNpoxCJxrRb2tl1W_CV3NG0,14067
|
|
125
|
-
omdev/scripts/interp.py,sha256=
|
|
126
|
-
omdev/scripts/pyproject.py,sha256=
|
|
125
|
+
omdev/scripts/interp.py,sha256=1b7L-pS44f2s7FonMWsjdskTTkwZanC78yC7A_KkFe8,72669
|
|
126
|
+
omdev/scripts/pyproject.py,sha256=zuJI05ouH_xCMXx1FQbBzZG4udebmZX2g_-9vma5Mk0,173883
|
|
127
127
|
omdev/scripts/slowcat.py,sha256=lssv4yrgJHiWfOiHkUut2p8E8Tq32zB-ujXESQxFFHY,2728
|
|
128
128
|
omdev/scripts/tmpexec.py,sha256=WTYcf56Tj2qjYV14AWmV8SfT0u6Y8eIU6cKgQRvEK3c,1442
|
|
129
129
|
omdev/toml/__init__.py,sha256=Y3l4WY4JRi2uLG6kgbGp93fuGfkxkKwZDvhsa0Rwgtk,15
|
|
130
|
-
omdev/toml/parser.py,sha256=
|
|
130
|
+
omdev/toml/parser.py,sha256=ojhCYIk23ELRx2f9xUCwLTRq13UM6wrYGWoyxZBurlo,29327
|
|
131
131
|
omdev/toml/writer.py,sha256=lk3on3YXVbWuLJa-xsOzOhs1bBAT1vXqw4mBbluZl_w,3040
|
|
132
132
|
omdev/tools/__init__.py,sha256=iVJAOQ0viGTQOm0DLX4uZLro-9jOioYJGLg9s0kDx1A,78
|
|
133
133
|
omdev/tools/doc.py,sha256=mv9XfitzqXl3vFHSenv01xHCxWf8g03rUAb_sqoty98,2556
|
|
@@ -143,9 +143,9 @@ omdev/tools/sqlrepl.py,sha256=tmFZh80-xsGM62dyQ7_UGLebChrj7IHbIPYBWDJMgVk,5741
|
|
|
143
143
|
omdev/tools/pawk/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
144
144
|
omdev/tools/pawk/__main__.py,sha256=VCqeRVnqT1RPEoIrqHFSu4PXVMg4YEgF4qCQm90-eRI,66
|
|
145
145
|
omdev/tools/pawk/pawk.py,sha256=Eckymn22GfychCQcQi96BFqRo_LmiJ-EPhC8TTUJdB4,11446
|
|
146
|
-
omdev-0.0.0.
|
|
147
|
-
omdev-0.0.0.
|
|
148
|
-
omdev-0.0.0.
|
|
149
|
-
omdev-0.0.0.
|
|
150
|
-
omdev-0.0.0.
|
|
151
|
-
omdev-0.0.0.
|
|
146
|
+
omdev-0.0.0.dev121.dist-info/LICENSE,sha256=B_hVtavaA8zCYDW99DYdcpDLKz1n3BBRjZrcbv8uG8c,1451
|
|
147
|
+
omdev-0.0.0.dev121.dist-info/METADATA,sha256=0w8TM1Vhh6xkq3omVqkZQ_0cefdHPxy-GL5SURCGSAg,1810
|
|
148
|
+
omdev-0.0.0.dev121.dist-info/WHEEL,sha256=R06PA3UVYHThwHvxuRWMqaGcr-PuniXahwjmQRFMEkY,91
|
|
149
|
+
omdev-0.0.0.dev121.dist-info/entry_points.txt,sha256=dHLXFmq5D9B8qUyhRtFqTGWGxlbx3t5ejedjrnXNYLU,33
|
|
150
|
+
omdev-0.0.0.dev121.dist-info/top_level.txt,sha256=1nr7j30fEWgLYHW3lGR9pkdHkb7knv1U1ES1XRNVQ6k,6
|
|
151
|
+
omdev-0.0.0.dev121.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|