Add 'The Python 2.3 Method Resolution Order'#116435
Conversation
|
Doctest is failing for this file, but we don't want to run it all here. Rather than adding |
|
3 failing doctests are for the old behaviour (Python 2.2/old-style classes), I'm not sure we can use Joan G. Stark's ASCII art snakes, unfortunately. It seems the terms of use are here: https://web.archive.org/web/20091028023223/http://www.geocities.com/SoHo/7373/please.htm |
Updated!
That's too bad, but thanks for checking. Removed! |
|
@encukou Okay to merge now? |
|
Thanks @hugovk for the PR 🌮🎉.. I'm working now to backport this PR to: 3.12. |
|
Sorry, @hugovk, I could not cleanly backport this to |
|
GH-117885 is a backport of this pull request to the 3.12 branch. |
(cherry picked from commit 7d0be7a) Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
Follow on from python/pythondotorg#2392.
Add "The Python 2.3 Method Resolution Order" document from https://www.python.org/download/releases/2.3/mro/ to the docs as an explanation.
Source reST taken from https://github.com/mdipierro/demo.python.org/blob/master/private/data/127.0.0.1/en/2.3/mro/mro.txt with minor formatting and link updates.
📚 Documentation preview 📚: https://cpython-previews--116435.org.readthedocs.build/