RE: [Python-Dev] Subtyping mutable and immutable built-in types

Edward C. Jones writes:
# According to # http://www.cafepy.com/articles/python_attributes_and_methods/ch03s02.html # the correct ways to subtype mutable and immutable built-in types are [...] # This warty stuff needs documenting.
The use of __init__ and __new__ with immutable classes is already documented at "http://www.python.org/2.2/descrintro.html#__new__". If you have a suggestion of a another place this should be described, let us know or better yet file a bug report at SourceForge. -- Michael Chermside This email may contain confidential or privileged information. If you believe you have received the message in error, please notify the sender and delete the message without copying or disclosing it.

On Thu, Apr 29, 2004, Chermside, Michael wrote:
The use of __init__ and __new__ with immutable classes is already documented at "http://www.python.org/2.2/descrintro.html#__new__". If you have a suggestion of a another place this should be described, let us know or better yet file a bug report at SourceForge.
It's also much easier to find now under "Documentation" | "New-style classes". -- Aahz (aahz@pythoncraft.com) <*> http://www.pythoncraft.com/ "I used to have a .sig but I found it impossible to please everyone..." --SFJ
participants (2)
-
Aahz
-
Chermside, Michael