Amaury Forgeot d'Arc <[EMAIL PROTECTED]> added the comment:

First, your code does not compile: when compiling the DecorateMe class
body, the DecorateMe class does not yet exist, and
"callback=DecorateMe.callback" is an error!

And this explains your surprise: certainly there is a previous version
of a DecorateMe class in your module (or interactive session). This
other class has the same name, but it is still a different class, hence
the message.

----------
nosy: +amaury.forgeotdarc
resolution:  -> invalid
status: open -> closed

__________________________________
Tracker <[EMAIL PROTECTED]>
<http://bugs.python.org/issue2533>
__________________________________
_______________________________________________
Python-bugs-list mailing list 
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to