python / pythondotorg

Source code for python.org
https://www.python.org
Apache License 2.0
1.47k stars 587 forks source link

Broken link in glossary entry for method resolution order #2392

Closed stephantul closed 4 months ago

stephantul commented 4 months ago

Documentation

The glossary entry for method resolution order refers and links to the 2.3 release of python (at the following link: https://www.python.org/download/releases/2.3/mro/) for extra information about the method resolution order algorithm. But clicking on this link redirects to the generic download page for python releases, presumably because 2.3 is no longer available for download. The link has been present in the documentation since the method resolution order entry has been added (which, as far as I can tell, is version 3.2)

hugovk commented 4 months ago

https://www.python.org/download/releases/2.3/mro/ was working as recently as 6th February:

But replaced with a redirect for the next capture on 29th February:

Perhaps we should integrate this page into docs.python.org?

Nevertheless, it would be good to fix the old page, because it is linked to from elsewhere on the web.

@ewdurbin Has something changed around redirects for this page?

rhettinger commented 4 months ago

Nevertheless, it would be good to fix the old page, because it is linked to from elsewhere on the web.

+1

ewdurbin commented 4 months ago

https://github.com/python/pythondotorg/pull/2393 will resolve when merged.

hugovk commented 4 months ago

Thanks, https://www.python.org/download/releases/2.3/mro/ confirmed working now! (After cache clear.)

And here's a PR to import the page to the main docs: https://github.com/python/cpython/pull/116435