A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2013-August/128029.html below:

Use a known unique object for the dummy entry.

[Python-Dev] cpython: Use a known unique object for the dummy entry. [Python-Dev] cpython: Use a known unique object for the dummy entry.Antoine Pitrou 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!

Regards

Antoine.


More information about the Python-Dev mailing list

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4