New submission from Markus Unterwaditzer:
The attached example code raises a SyntaxError in Python 2, but is
syntactically valid in Python 3. The return value is ignored and an empty
generator is produced. I see no reason for this behavioral change.
--
components: Interpreter Core
Markus Unterwaditzer added the comment:
My last comment was in reference to getfullargspec, which is, as far as I
understand, not going to be deprecated until after 3.7.
--
___
Python tracker
<http://bugs.python.org/issue20
Markus Unterwaditzer added the comment:
It should be properly noted that the API isn't going to be actually removed
anytime soon.
Also I think issuing a warning about this was a mistake. For software that
wants to stay compatible with both Python 2 and 3 it's basical
New submission from Markus Unterwaditzer:
getpass.getpass doesn't enter a newline when the user aborts input with ^C,
while input/raw_input does.
This behavior is surprising and can lead to mis-formatting of subsequent
output. However, since this behavior exists since 2.7 and application
New submission from Markus Unterwaditzer:
The string literal `ur'foo\d'` causes a SyntaxError while the equivalent
`r'foo\d'` causes the correct string to be produced.
--
components: Interpreter Core
messages: 226281
nosy: untitaker
priority: normal
severity: norma
Markus Unterwaditzer added the comment:
Can this issue or #9205 be reopened as this particular instance of the problem
doesn't seem to be resolved? I still seem to need the workaround from
http://stackoverflow.com/a/1408476
--
nosy: +unti