summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_pep380.py
Commit message (Collapse)AuthorAgeFilesLines
* perform yield from delegation by repeating YIELD_FROM opcode (closes #14230)Benjamin Peterson2012-03-151-1/+22
| | | | | | | This allows generators that are using yield from to be seen by debuggers. It also kills the f_yieldfrom field on frame objects. Patch mostly from Mark Shannon with a few tweaks by me.
* make delegating generators say they running (closes #14220)Benjamin Peterson2012-03-071-0/+72
|
* Fix a crash when the return value of a subgenerator is a temporaryAmaury Forgeot d'Arc2012-01-131-0/+11
| | | | object (with a refcount of 1)
* NULL and no exception set from tp_iternext means StopIterationBenjamin Peterson2012-01-131-0/+5
|
* add test, which was missing from d64ac9ab4cd0Benjamin Peterson2012-01-131-0/+842