[Python-ideas] Make Python 2.7’s online docs optionally redirect to Python 3 online docs

Andre Roberge andre.roberge at gmail.com
Thu Mar 7 08:36:00 EST 2019

On Thu, Mar 7, 2019 at 9:10 AM James Lu <jamtlu at gmail.com> wrote:

> Rationale: When I use a search engine to google a Python question, I
> frequently get a link to a page of the Python 2.7 documentation that shows
> before the Python 3 documentation link.

There exists browser extensions that do this:



André Roberge

> This is annoying and slows down my programming.
> I propose: That we add a setting to Python’s online documentation that
> will optionally given that certain conditions are met, we redirect the user
> to the corresponding Python 3 documentation entry. The conditions:
> - The Referer header is set to a URL of a major search engine (the Referer
> is the URL of the last page that whose link was clicked on to reach the
> documentation)
> - The user has opted-in to this behavior.
> (Conceptually this should be user script, but for the collective
> conscience of all python developers, a doc option would be better. )
> I understand that some core devs might just have documentation downloaded
> and just use that, but a large portion of Python users  primarily use
> online documentation
> James Lu
> _______________________________________________
> Python-ideas mailing list
> Python-ideas at python.org
> https://mail.python.org/mailman/listinfo/python-ideas
> Code of Conduct: http://python.org/psf/codeofconduct/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-ideas/attachments/20190307/421c5a2e/attachment.html>

More information about the Python-ideas mailing list