Walter Dörwald <wal...@livinglogic.de> added the comment:

On 24.02.10 15:28, Eric Smith wrote:

> Eric Smith <e...@trueblade.com> added the comment:
> 
> Fixed:
> 
> trunk: r78418
> release26-maint: r78419
> 
> Still working on porting to py3k and release31-maint.

A much better solution would IMHO be to forbid setting the encoding,
object and reason attributes to objects of the wrong type in the first
place. Unfortunately this would require an extension to PyMemberDef for
the T_OBJECT and T_OBJECT_EX types.

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue7309>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to