[Python-Dev] Python 3, new-style classes and class (original) (raw)
Vinay Sajip vinay_sajip at yahoo.co.uk
Sun Nov 20 10:34:04 CET 2011
- Previous message: [Python-Dev] Python 3, new-style classes and __class__
- Next message: [Python-Dev] Python 3, new-style classes and __class__
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Michael Foord <fuzzyman voidspace.org.uk> writes:
The Python compiler can do strange things with assignment to class in the presence of super. This issue has now been fixed, but it may be what is biting you:
http://bugs.python.org/issue12370 If this is the problem, then see the workaround suggested in the issue.
Yes, that workaround worked. Good catch - thanks!
Regards,
Vinay Sajip
- Previous message: [Python-Dev] Python 3, new-style classes and __class__
- Next message: [Python-Dev] Python 3, new-style classes and __class__
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]