docs on for-loop with no __iter__?

Delaney, Timothy C (Timothy) tdelaney at avaya.com
Tue Sep 7 02:46:32 EDT 2004


Steven Bethard write:

> Alex Martelli <aleaxit <at> yahoo.com> writes:
>> MRO didn't change for classic classes, thus unmaintaned apps can't be
                         ^^^^^^^
> I may be mistaken, but I thought MRO did change for new classes...  I
> read in http://www.python.org/2.3/mro.html:

Yes - the MRO changed for *new-style* classes - but as you will note,
Alex specifically stated that it did not change for *classic* classes
(i.e. those that do not inherit from object or a new-style class/type).

Tim Delaney



More information about the Python-list mailing list