Message31643
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
|
|
Date |
User |
Action |
Args |
2007-08-23 14:52:44 | admin | link | issue1687163 messages |
2007-08-23 14:52:44 | admin | create | |
|