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
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
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