oddness in super()
Diez B. Roggisch
deets at web.de
Sat Jun 18 16:37:38 EDT 2005
Michael P. Soulier wrote:
> Why the difference? Is Python portability overrated? Is this a bug?
Certainly a bug - but not in python. The super-method works for
new-style classes only.
The attached script reproduces your observed behaviour. So kit seems
that whatever toolkit you use, it uses new-style classes on windows, and
old-style ones on linux.
Regards,
Diez
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: test.py
URL: <http://mail.python.org/pipermail/python-list/attachments/20050618/95290cd4/attachment.ksh>
More information about the Python-list
mailing list