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 gregcouch
Recipients
Date 2005-06-28.18:57:26
SpamBayes Score
Marked as misclassified
Message-id
In-reply-to
Content
Non-heap types, aka builtin types, cannot have their
attributes changed by Python code -- see
Objects/typeobject.c: type_setattro().  This limitation
is good for Python's core builtin types (int, float,
list, dict, ...), but not necessarily for non-heap
types in extension modules.  The attached patch allows
for non-heap types to mutate iff the
Py_TPFLAGS_MUTABLE_BUILTIN flag is set.
History
Date User Action Args
2007-08-23 15:43:24adminlinkissue1229239 messages
2007-08-23 15:43:24admincreate