Dong-hee Na <[email protected]> added the comment:
@pablogsal
Works correct with PR 17860 :)
Python 3.9.0a2+ (heads/pr/17860:958541d67c, Jan 6 2020, 20:45:49)
[Clang 11.0.0 (clang-1100.0.33.16)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> a = """<?xml version="1.0" encoding="iso-8859-1"?>
... <test>
... <Users>
... <fun25>
... <limits>
... <total>0KiB</total>
... <kbps>0</kbps>
... <rps>1.3</rps>
... <connections>0</connections>
... </limits>
... <usages>
... <total>16738211KiB</total>
... <kbps>237.15</kbps>
... <rps>1.3</rps>
... <connections>0</connections>
... </usages>
... <time_to_refresh>never</time_to_refresh>
... <limit_exceeded_URL>none</limit_exceeded_URL>
... </fun25>
... </Users>
... </test>
... """
>>> a
'<?xml version="1.0" encoding="iso-8859-1"?>\n<test>\n <Users>\n
<fun25>\n <limits>\n <total>0KiB</total>\n
<kbps>0</kbps>\n <rps>1.3</rps>\n
<connections>0</connections>\n </limits>\n <usages>\n
<total>16738211KiB</total>\n <kbps>237.15</kbps>\n
<rps>1.3</rps>\n <connections>0</connections>\n
</usages>\n <time_to_refresh>never</time_to_refresh>\n
<limit_exceeded_URL>none</limit_exceeded_URL>\n </fun25>\n
</Users>\n</test>\n'
>>>
----------
_______________________________________
Python tracker <[email protected]>
<https://bugs.python.org/issue39209>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com