New submission from Vasiliy Faronov:
>>> from xml.etree import ElementTree as ET
>>> ET.fromstring(b'<\xC4/>')
Traceback (most recent call last):
File "", line 1, in
File "/usr/lib/python3.6/xml/etree/ElementTree.py", line 1314, in XML
New submission from Vasiliy Faronov:
There is a problem with the standard library's urlsplit and urlparse functions,
in Python 2.7 (module urlparse) and 3.2+ (module urllib.parse).
The documentation for these functions [1] does not explain how they behave when
given an invalid URL.
One
New submission from Vasiliy Faronov:
Consider the attached example program. I expect it to run successfully, because
the Python 3 language reference says [1]:
> For container types such as list, tuple, set, frozenset, dict, or
> collections.deque, the expression `x in y` is equivalent t
Changes by Vasiliy :
--
title: 2to3 adds additional brackets to print -> 2to3 adds spare brackets to
print
___
Python tracker
<http://bugs.python.org/iss
Changes by Vasiliy :
--
title: Additional brackets to print -> 2to3 adds additional brackets to print
___
Python tracker
<http://bugs.python.org/iss
New submission from Vasiliy :
from __future__ import print_function
print('Foo','Bar')
print('FooBar')
2to3 translates it to
print(('Foo','Bar'))
print('FooBar')
is it right?
--
components: 2to3 (2.x to 3.0 c