A RetroSearch Logo

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

Search Query:

Showing content from http://mail.python.org/pipermail/python-dev/2004-March/043000.html below:

[Python-Dev] Global __slots__ pondering

[Python-Dev] Global __slots__ pondering [Python-Dev] Global __slots__ ponderingGreg Ewing greg at cosc.canterbury.ac.nz
Tue Mar 9 18:51:49 EST 2004
François Pinard:

> It would be less surprising if `__metaclass__' and
> `__slots__' could equally be implied globally.  Or maybe? :-)

I think Guido regards __slots__ as something of a hack that you should
only use if you have a really good reason. As such it's probably good
that you have to make the explicit decision for each class, rather
than inheriting it from somewhere.

Greg Ewing, Computer Science Dept, +--------------------------------------+
University of Canterbury,	   | A citizen of NewZealandCorp, a	  |
Christchurch, New Zealand	   | wholly-owned subsidiary of USA Inc.  |
greg at cosc.canterbury.ac.nz	   +--------------------------------------+


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