This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author ncoghlan
Recipients Yury.Selivanov, alex, asvetlov, eric.araujo, gcewing, ncoghlan, rndblnch
Date 2011-07-09.15:31:28
SpamBayes Score 6.5530337e-10
Marked as misclassified No
Message-id <1310225498.5.0.587949488547.issue11682@psf.upfronthosting.co.za>
In-reply-to
Content
Once again got close to committing this, but then realised it is missing all the necessary documentation updates for a core language change.

I have uploaded a patch that includes all the changes from Bitbucket as well as the subsequent fixes to avoid modifying sys.stdout when the tests are run and to comply with the whitespace rules set up in the source control hooks (the ACKS, NEWS and a placeholder in whatsnew are also included).

What's missing are updates to at least:

http://docs.python.org/dev/tutorial/classes.html#generators
(a simple example showing delegation should suffice there)

http://docs.python.org/dev/reference/simple_stmts.html#the-yield-statement
http://docs.python.org/dev/reference/expressions.html#grammar-token-yield_expression
http://docs.python.org/dev/reference/simple_stmts.html#the-return-statement
(the language reference must be updated for a post PEP 380 world)

There are likely other places that should also be updated, but these are the critical ones needed before the patch can be included.
History
Date User Action Args
2011-07-09 15:31:39ncoghlansetrecipients: + ncoghlan, gcewing, rndblnch, eric.araujo, alex, asvetlov, Yury.Selivanov
2011-07-09 15:31:38ncoghlansetmessageid: <1310225498.5.0.587949488547.issue11682@psf.upfronthosting.co.za>
2011-07-09 15:31:37ncoghlanlinkissue11682 messages
2011-07-09 15:31:37ncoghlancreate