This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author mark.dickinson
Recipients fhaxbox66@googlemail.com, mark.dickinson
Date 2014-10-06.11:37:02
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1412595422.59.0.895582379264.issue22562@psf.upfronthosting.co.za>
In-reply-to
Content
I don't think this is a good idea.  Remember that Python classes are themselves mutable objects, so if a library that you happen to import creates a "Point" namedtuple with fields "x" and "y" and class-level modifications (extra attributes, patched-in methods), any namedtuple you created with fields "x" and "y" would automatically pick up those modifications.  (And conversely, by modifying *your* class, you might adversely affect the behaviour of the library's class.)
History
Date User Action Args
2014-10-06 11:37:02mark.dickinsonsetrecipients: + mark.dickinson, fhaxbox66@googlemail.com
2014-10-06 11:37:02mark.dickinsonsetmessageid: <1412595422.59.0.895582379264.issue22562@psf.upfronthosting.co.za>
2014-10-06 11:37:02mark.dickinsonlinkissue22562 messages
2014-10-06 11:37:02mark.dickinsoncreate