New submission from Alex Mashianov :
Python docs says print() function default sep='':
http://joxi.ru/EA44JnfonNwLAb.png
While in reality sep=' ':
http://joxi.ru/n2YXyRsbw6oYm6.png
Probably it's a bug with space not being escaped in html to prevent trimming.
---
New submission from Alex Mashianov :
This code:
class A:
a = 1
b = {str(x): x for x in range(5) if x != a}
Produces following error:
Traceback (most recent call last):
File "", line 1, in
File "", line 3, in A
File "", line 3, in
NameError: nam
Alex Mashianov added the comment:
Update: any class definition comprehension referencing local variables inside
filtering block produces this error.
--
___
Python tracker
<https://bugs.python.org/issue34
Change by Alex Mashianov :
--
versions: +Python 3.6 -Python 3.7
___
Python tracker
<https://bugs.python.org/issue34517>
___
___
Python-bugs-list mailin