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/2003-March/034201.html below:

[Python-Dev] How to suppress instance __dict__?

[Python-Dev] How to suppress instance __dict__?Michael Hudson mwh@python.net
Sun, 23 Mar 2003 13:08:30 +0000
David Abrahams <dave@boost-consulting.com> writes:

> Unfortunately, this is one of the twistiest areas of the Python
> source, so while I could struggle through it I'm hoping there's
> someone around here who knows the answer off the top of his benevolent
> Dutch head <wink>

Well, I'm familiar enough with that bit of the source (search for
"add_dict" in typeobject.c) to answer your question: no, there's no
more straightforward way to suppress the instance __dict__ in the
derived classes.

Cheers,
M.

-- 
 The rapid establishment of social ties, even of a fleeting nature,
 advance not only that goal but its standing in the uberconscious
 mesh of communal psychic, subjective, and algorithmic interbeing.
 But I fear I'm restating the obvious.  -- Will Ware, comp.lang.python



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