[issue20330] PEP 342 is outdated

2014-01-25 Thread Nick Coghlan
Nick Coghlan added the comment: David is correct, most PEPs are historical records of design decisions that cease to be updated once completed. The language reference is the normative guide for current behaviour. The exception is informational and process PEPs, which cover things that are

[issue20330] PEP 342 is outdated

2014-01-21 Thread Masami HIRATA
New submission from Masami HIRATA: Although PEP 342 says foo(yield 42) is legal, Lib/test/test_grammar.py says: # Requires parentheses as call argument def g(): f((yield 1)) check_syntax_error(self, def g(): f(yield 1)) BTW, It seems that foo(yield 42) written in

[issue20330] PEP 342 is outdated

2014-01-21 Thread R. David Murray
R. David Murray added the comment: Most PEPs are historical documents once they are final, so I don't think there is actually anything to fix here. But I could be wrong. -- nosy: +r.david.murray ___ Python tracker rep...@bugs.python.org