[Python-checkins] r60397 - in python/trunk: Doc/c-api/set.rst Objects/setobject.c

Amaury Forgeot d'Arc amauryfa at gmail.com
Tue Jan 29 09:17:54 CET 2008


> Log:
> Make PySet_Add() work with frozensets.
> Works like PyTuple_SetItem() to build-up values in a brand new frozenset.

It seems to me that the function should verify that PySet_Add really
operates on a new frozenset. PyTuple_SetItem does check that
Py_REFCNT(ob)==1.

-- 
Amaury Forgeot d'Arc


More information about the Python-checkins mailing list