summaryrefslogtreecommitdiff
path: root/Objects/genobject.c
AgeCommit message (Expand)AuthorLines
2009-03-31Fix a wrong struct field assignment (docstring as closure).Georg Brandl-1/+1
2008-06-09This reverts r63675 based on the discussion in this thread:Gregory P. Smith-2/+2
2008-05-26Renamed PyString to PyBytesChristian Heimes-2/+2
2008-05-16Make generator repr consistent with function and code object repr.Georg Brandl-1/+1
2008-05-15#2863: add gen.__name__ and add this name to generator repr().Georg Brandl-2/+32
2008-01-26#1473257: add generator.gi_code attribute that refers toGeorg Brandl-0/+5
2007-12-19#1629: Renamed Py_Size, Py_Type and Py_Refcnt to Py_SIZE, Py_TYPE and Py_REFC...Christian Heimes-1/+1
2007-09-11Generators had their throw() method allowing string exceptions. That's aBrett Cannon-4/+1
2007-07-21PEP 3123: Provide forward compatibility with Python 3.0, while keepingMartin v. Löwis-3/+2
2006-05-29Make use of METH_O and METH_NOARGS where possible.Georg Brandl-1/+1
2006-04-15gen_del(): Looks like much this was copy/pasted fromTim Peters-1/+1
2006-04-15 - Whitespace normalizationThomas Wouters-12/+14
2006-04-15Fix SF#1470508: crash in generator cycle finalization. There were twoPhillip J. Eby-10/+11
2006-04-13Add a cast to make code compile with a C++ compiler.Anthony Baxter-1/+1
2006-04-12Don't set gi_frame to Py_None, use NULL instead, eliminating some insanePhillip J. Eby-7/+7
2006-04-12wrap docstrings so they are less than 80 columns. add spaces after commas.Neal Norwitz-3/+5
2006-04-12gen_throw(): The caller doesn't own PyArg_ParseTuple()Tim Peters-3/+1
2006-04-10SF Patch #1463867: Improved generator finalization to allow generatorsPhillip J. Eby-0/+20
2006-03-25Support throw() of string exceptions.Phillip J. Eby-1/+4
2006-03-07Change int to Py_ssize_t in several places.Martin v. Löwis-1/+1
2006-03-01PEP 352 implementation. Creates a new base class, BaseException, which has anBrett Cannon-3/+3
2006-02-14* Refcount leak. It was just a reference to Py_None, but still.Armin Rigo-3/+9
2005-08-13Fix a too-aggressive assert (see SF#1257960). Previously, gen_iternextPhillip J. Eby-1/+1
2005-08-02PEP 342 implementation. Per Guido's comments, the generator throw()Phillip J. Eby-5/+234
2004-09-01SF patch #1020188: Use Py_CLEAR where necessary to avoid crashesRaymond Hettinger-2/+1
2004-06-27Patch #966493: Cleanup generator/eval_frame exposure.Martin v. Löwis-1/+1
2004-06-12* Factor out PyObject_SelfIter().Raymond Hettinger-9/+3
2004-06-01Patch #957398: Add public API for Generator Object/Type.Martin v. Löwis-0/+129