[issue28310] Mixing yield and return with value is allowed

2016-09-29 Thread Markus Unterwaditzer
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

[issue20438] inspect: Deprecate getfullargspec?

2015-09-15 Thread Markus Unterwaditzer
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 basically useless

[issue20438] inspect: Deprecate getfullargspec?

2015-09-15 Thread Markus Unterwaditzer
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 <rep...@bugs.python.org> <http://bugs.p

[issue24711] Document getpass.getpass behavior on ^C

2015-07-24 Thread Markus Unterwaditzer
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 applications may

[issue22328] ur'foo\d' raises SyntaxError

2014-09-02 Thread Markus Unterwaditzer
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: normal status: open title

[issue8296] multiprocessing.Pool hangs when issuing KeyboardInterrupt

2014-06-25 Thread Markus Unterwaditzer
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: +untitaker