[Python-Dev] cpython: Use a known unique object for the dummy entry.
solipsis at pitrou.net
Sun Aug 18 20:46:26 CEST 2013
On Sun, 18 Aug 2013 17:31:24 +0100
Mark Shannon <mark at hotpy.org> wrote:
> By giving the dummy object a custom type, the dummy object can be
> recognised by testing that its type equals PySetDummy_Type (or
> whatever it is called)
> See dictobject.c for an implementation of a suitable dummy object.
The most reasonable thing to do would probably be to share the same
dummy object between setobject.c and dictobject.c, then.
Raymond, it would be nice if you could take a look!
More information about the Python-Dev