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/2001-May/014694.html below:

[Python-Dev] Type/class

[Python-Dev] Type/class [Python-Dev] Type/classPaul Prescod paulp@ActiveState.com
Thu, 10 May 2001 14:55:36 -0700
-------- Original Message --------
Log Message:

Make attributes of subtypes writable, but only for dynamic subtypes
derived in Python using a class statement; static subtypes derived in
C still have read-only attributes.
-------- Original Message --------

I would like to argue that "plain old C types" should act as if they
have __dict__s for consistency with other types. It is sometimes useful
to be able to annotate objects by adding attributes to them. But this
only works with class instance objects, not instances of types.

 Paul Prescod



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