This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author eric.frederich
Recipients eric.frederich, eric.snow, rhettinger
Date 2015-07-24.14:26:12
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1437747973.16.0.675256529631.issue24685@psf.upfronthosting.co.za>
In-reply-to
Content
I understand that in the general case you cannot just swap the order around and get the same behaviour.

This LoggingDict just prints some stuff to the screen and delegates to super and so I believe it should work wherever it is placed in a cooperative hierarchy.  Do you agree?

Now, I understand that OrderedDict is not cooperative.  You stated that this is a design decision and I respect that choice, but you also stated that classes can be made to be cooperative by creating a wrapper.

The reason I re-opened this bug is because I fail to see a way in which to create such a wrapper for Python3.  Do you believe that it should be possible to create a cooperative wrapper?

If it is possible (and its just my inability to create one) then I have no issue and the bug should be closed.
If it is not possible, then perhaps it could be noted somewhere that its not cooperative and impossible to make it cooperative and it should be listed last when using multiple inheritance.
History
Date User Action Args
2015-07-24 14:26:13eric.frederichsetrecipients: + eric.frederich, rhettinger, eric.snow
2015-07-24 14:26:13eric.frederichsetmessageid: <1437747973.16.0.675256529631.issue24685@psf.upfronthosting.co.za>
2015-07-24 14:26:13eric.frederichlinkissue24685 messages
2015-07-24 14:26:12eric.frederichcreate