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 rhettinger
Recipients
Date 2007-03-23.23:52:37
SpamBayes Score
Marked as misclassified
Message-id
In-reply-to
Content
Here's the one line change:

Index: Python/structmember.c
===================================================================
--- Python/structmember.c       (revision 54557)
+++ Python/structmember.c       (working copy)
@@ -160,7 +160,7 @@

        if ((l->flags & READONLY) || l->type == T_STRING)
        {
-               PyErr_SetString(PyExc_TypeError, "readonly attribute");
+               PyErr_SetString(PyExc_AttributeError, "readonly attribute");



Four of the tests will need to be updated:
    test_csv test_descr test_generators test_os
History
Date User Action Args
2007-08-23 14:52:44adminlinkissue1687163 messages
2007-08-23 14:52:44admincreate