
Hi, When I find what's new in 3.10 beta in https://docs.python.org/whatsnew/3.10.html It redirected me to https://docs.python.org/3/whatsnew/3.10.html which shows 404 error not found nginx. Can you fix this? Sincerely xXPartOfMeXx

This is because 3.10 is still in pre-release, which means the /3/ URL still uses the documentation for 3.9, which obviously does not contain a whatsnew page for the upcoming version. The correct URL is currently https://docs.python.org/3.10/whatsnew/3.10.html but the redirect should still probably be fixed Patrick On 21/07/2021 13:15, Nguyen Do Minh Duc wrote:
Hi,
When I find what's new in 3.10 beta in https://docs.python.org/whatsnew/3.10.html <https://docs.python.org/whatsnew/3.10.html> It redirected me to https://docs.python.org/3/whatsnew/3.10.html <https://docs.python.org/3/whatsnew/3.10.html> which shows 404 error not found nginx. Can you fix this?
Sincerely
xXPartOfMeXx
_______________________________________________ Python-Dev mailing list -- python-dev@python.org To unsubscribe send an email to python-dev-leave@python.org https://mail.python.org/mailman3/lists/python-dev.python.org/ Message archived at https://mail.python.org/archives/list/python-dev@python.org/message/VOWYBW2O... Code of Conduct: http://python.org/psf/codeofconduct/

On Wed, Jul 21, 2021 at 12:19 PM Nguyen Do Minh Duc < gd.minhduc1608@gmail.com> wrote:
Hi,
When I find what's new in 3.10 beta in https://docs.python.org/whatsnew/3.10.html It redirected me to https://docs.python.org/3/whatsnew/3.10.html which shows 404 error not found nginx. Can you fix this?
Thanks for the report! I don't believe the code and/or config for the web server hosting docs.python.org is a public repo (may be mistaken), so I'll CC the director of infrastructure, Ee W. Durbin. I suspect they will know who to forward this to (or be able to fix it). Best Regards, -- --Kyle R. Stanley, Python Core Developer (what is a core dev? <https://devguide.python.org/coredev/>) *Pronouns: they/them **(why is my pronoun here?* <http://feministing.com/2015/02/03/how-using-they-as-a-singular-pronoun-can-c...> )

On Wed, Jul 21, 2021 at 7:45 PM Kyle Stanley <aeros167@gmail.com> wrote:
On Wed, Jul 21, 2021 at 12:19 PM Nguyen Do Minh Duc < gd.minhduc1608@gmail.com> wrote:
Hi,
When I find what's new in 3.10 beta in https://docs.python.org/whatsnew/3.10.html It redirected me to https://docs.python.org/3/whatsnew/3.10.html which shows 404 error not found nginx. Can you fix this?
Thanks for the report! I don't believe the code and/or config for the web server hosting docs.python.org is a public repo (may be mistaken), so I'll CC the director of infrastructure, Ee W. Durbin. I suspect they will know who to forward this to (or be able to fix it).
Config that’s responsible for redirects lives at https://github.com/python/psf-salt/blob/master/salt/docs/config/nginx.docs-b... if anyone is able to take a look before I’m able to ascertain what’s going on. Do we know what the expected behavior is?

On Fri, 23 Jul 2021, 2:22 am Ee Durbin, <ewdurbin@pyfound.org> wrote:
On Wed, Jul 21, 2021 at 7:45 PM Kyle Stanley <aeros167@gmail.com> wrote:
On Wed, Jul 21, 2021 at 12:19 PM Nguyen Do Minh Duc < gd.minhduc1608@gmail.com> wrote:
Hi,
When I find what's new in 3.10 beta in https://docs.python.org/whatsnew/3.10.html It redirected me to https://docs.python.org/3/whatsnew/3.10.html which shows 404 error not found nginx. Can you fix this?
Thanks for the report! I don't believe the code and/or config for the web server hosting docs.python.org is a public repo (may be mistaken), so I'll CC the director of infrastructure, Ee W. Durbin. I suspect they will know who to forward this to (or be able to fix it).
Config that’s responsible for redirects lives at
https://github.com/python/psf-salt/blob/master/salt/docs/config/nginx.docs-b... if anyone is able to take a look before I’m able to ascertain what’s going on.
Do we know what the expected behavior is?
The expected behaviour is what is currently happening: https://github.com/python/psf-salt/blob/6cdc61db0868d81514fde95ab5dfe11914e4... 3.10 is still in its pre-release cycle, so pages that don't exist in the 3.9 documentation (like the 3.10 What's New doc) need a "dev" or "3.10" in their URL to be reachable. Only when 3.10 is released and becomes the default version for the Python 3 docs would we expect the OP's link to work. That said, if nginx config allows for rewrites that only happen when a 404 is about to be emitted otherwise, it would make sense to have "/3/" URLs fall back to "/dev/" URLs before giving up and emitting the 404. Cheers, Nick. _______________________________________________
Python-Dev mailing list -- python-dev@python.org To unsubscribe send an email to python-dev-leave@python.org https://mail.python.org/mailman3/lists/python-dev.python.org/ Message archived at https://mail.python.org/archives/list/python-dev@python.org/message/3M4KRVNW... Code of Conduct: http://python.org/psf/codeofconduct/

On Thu, 22 Jul 2021, 9:47 am Kyle Stanley, <aeros167@gmail.com> wrote:
On Wed, Jul 21, 2021 at 12:19 PM Nguyen Do Minh Duc < gd.minhduc1608@gmail.com> wrote:
Hi,
When I find what's new in 3.10 beta in https://docs.python.org/whatsnew/3.10.html It redirected me to https://docs.python.org/3/whatsnew/3.10.html which shows 404 error not found nginx. Can you fix this?
Thanks for the report! I don't believe the code and/or config for the web server hosting docs.python.org is a public repo (may be mistaken), so I'll CC the director of infrastructure, Ee W. Durbin. I suspect they will know who to forward this to (or be able to fix it).
As far as I know, it's a bulk redirect of otherwise unmatched deep links to the Python 3 docs, so the OPs link won't work until 3.10 is officially released. Until then, only the version specific and dev URLs will work. Cheers, Nick.
Best Regards, -- --Kyle R. Stanley, Python Core Developer (what is a core dev? <https://devguide.python.org/coredev/>) *Pronouns: they/them **(why is my pronoun here?* <http://feministing.com/2015/02/03/how-using-they-as-a-singular-pronoun-can-c...> )
_______________________________________________ Python-Dev mailing list -- python-dev@python.org To unsubscribe send an email to python-dev-leave@python.org https://mail.python.org/mailman3/lists/python-dev.python.org/ Message archived at https://mail.python.org/archives/list/python-dev@python.org/message/WAJM6PFM... Code of Conduct: http://python.org/psf/codeofconduct/
participants (5)
-
Ee Durbin
-
Kyle Stanley
-
Nguyen Do Minh Duc
-
Nick Coghlan
-
Patrick Reader