Skip to content

Commit 718d8c7

Browse files
authoredJul 6, 2023
Merge pull request #10 from faucetsdn/ruamel.yaml-0.17.32
Import ruamel.yaml 0.17.32 source.
2 parents 815af83 + 0c0f866 commit 718d8c7

File tree

7 files changed

+16
-7
lines changed

7 files changed

+16
-7
lines changed
 

‎.hgtags

+1
Original file line numberDiff line numberDiff line change
@@ -216,3 +216,4 @@ f76dde33e9a175e7505a2933a5c2423d4e3db9aa 0.17.27
216216
d522a02977979e5feef1d0f1b94b6b7f823c0bdd 0.17.28
217217
41fd3925691106c999959771e54bd69cce70d1c8 0.17.29
218218
0ed43732b9e309d397e9c9cfa74f115f40f51a6b 0.17.30
219+
b01b2f5c1ff21d561193de37b7e843baa2b91c91 0.17.31

‎CHANGES

+3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
[0, 17, 32]: 2023-06-17
2+
- fix issue with scanner getting stuck in infinite loop
3+
14
[0, 17, 31]: 2023-05-31
25
- added tag.setter on `ScalarEvent` and on `Node`, that takes either
36
a `Tag` instance, or a str

‎README.rst

+5-2
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@ ruamel.yaml
44

55
``ruamel.yaml`` is a YAML 1.2 loader/dumper package for Python.
66

7-
:version: 0.17.31
8-
:updated: 2023-05-31
7+
:version: 0.17.32
8+
:updated: 2023-06-17
99
:documentation: http://yaml.readthedocs.io
1010
:repository: https://sourceforge.net/projects/ruamel-yaml/
1111
:pypi: https://pypi.org/project/ruamel.yaml/
@@ -61,6 +61,9 @@ ChangeLog
6161

6262
.. should insert NEXT: at the beginning of line for next key (with empty line)
6363
64+
0.17.32 (2023-06-17):
65+
- fix issue with scanner getting stuck in infinite loop
66+
6467
0.17.31 (2023-05-31):
6568
- added tag.setter on `ScalarEvent` and on `Node`, that takes either
6669
a `Tag` instance, or a str

‎__init__.py

+3-3
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,9 @@
55

66
_package_data = dict(
77
full_package_name='ruamel.yaml',
8-
version_info=(0, 17, 31),
9-
__version__='0.17.31',
10-
version_timestamp='2023-05-31 07:56:46',
8+
version_info=(0, 17, 32),
9+
__version__='0.17.32',
10+
version_timestamp='2023-06-17 07:55:58',
1111
author='Anthon van der Neut',
1212
author_email='a.van.der.neut@ruamel.eu',
1313
description='ruamel.yaml is a YAML parser/emitter that supports roundtrip preservation of comments, seq/map flow style, and map key order', # NOQA

‎_doc/_static/pypi.svg

+1-1
Loading

‎scanner.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1502,7 +1502,7 @@ def scan_plain(self) -> Any:
15021502
break
15031503
while True:
15041504
ch = srp(length)
1505-
if ch == ':' and srp(length + 1) == ',':
1505+
if False and ch == ':' and srp(length + 1) == ',':
15061506
break
15071507
elif ch == ':' and srp(length + 1) not in _THE_END_SPACE_TAB:
15081508
pass

‎tag.py

+2
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,8 @@ def trval(self) -> Optional[str]:
8585
self._trval = self.handles[self.handle] + self.uri_decoded_suffix
8686
return self._trval
8787

88+
value = trval
89+
8890
@property
8991
def uri_decoded_suffix(self) -> Optional[str]:
9092
try:

0 commit comments

Comments
 (0)
Please sign in to comment.