Pascal Chambon <chambon.pas...@gmail.com> added the comment:

Allright, I suppose it's some kind of optimization ?

We get a proper error when we do :

>>> object.test=1

Traceback (most recent call last):
  File "<pyshell#6>", line 1, in <module>
    object.test=1
TypeError: can't set attributes of built-in/extension type 'object'
>>> 

So we'd need a similar error when trying to assign to object instances, too...
I fear I won't be able to help with finding a patch alas, it's a little too 
deep into the python core for me :p

----------

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

Reply via email to