[Python-checkins] r45447 - python/trunk/Objects/genobject.c (original) (raw)

tim.peters python-checkins at python.org
Sun Apr 16 00:59:10 CEST 2006


Author: tim.peters Date: Sun Apr 16 00:59:10 2006 New Revision: 45447

Modified: python/trunk/Objects/genobject.c Log: gen_del(): Looks like much this was copy/pasted from slot_tp_del(), but while the latter had to cater to types that don't participate in GC, we know that generators do. That allows strengthing an assert().

Modified: python/trunk/Objects/genobject.c

--- python/trunk/Objects/genobject.c (original) +++ python/trunk/Objects/genobject.c Sun Apr 16 00:59:10 2006 @@ -185,7 +185,7 @@ _Py_NewReference(self); self->ob_refcnt = refcnt; }



More information about the Python-checkins mailing list