summaryrefslogtreecommitdiffstats
path: root/Include/genobject.h
Commit message (Collapse)AuthorAgeFilesLines
* #1473257: add generator.gi_code attribute that refers toGeorg Brandl2008-01-261-0/+3
| | | | the original code object backing the generator. Patch by Collin Winter.
* #1629: Renamed Py_Size, Py_Type and Py_Refcnt to Py_SIZE, Py_TYPE and ↵Christian Heimes2007-12-191-1/+1
| | | | Py_REFCNT. Macros for b/w compatibility are available.
* PEP 3123: Provide forward compatibility with Python 3.0, while keepingMartin v. Löwis2007-07-211-1/+1
| | | | | backwards compatibility. Add Py_Refcnt, Py_Type, Py_Size, and PyVarObject_HEAD_INIT.
* Don't set gi_frame to Py_None, use NULL instead, eliminating some insanePhillip J. Eby2006-04-121-0/+1
| | | | pointer dereferences.
* SF Patch #1463867: Improved generator finalization to allow generatorsPhillip J. Eby2006-04-101-0/+1
| | | | | | | | that are suspended outside of any try/except/finally blocks to be garbage collected even if they are part of a cycle. Generators that suspend inside of an active try/except or try/finally block (including those created by a ``with`` statement) are still not GC-able if they are part of a cycle, however.
* Patch #966493: Cleanup generator/eval_frame exposure.Martin v. Löwis2004-06-271-2/+4
|
* Patch #957398: Add public API for Generator Object/Type.Martin v. Löwis2004-06-011-0/+33