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 bmispelon
Recipients bmispelon, docs@python
Date 2014-03-20.14:50:02
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1395327003.08.0.0901954371896.issue20997@psf.upfronthosting.co.za>
In-reply-to
Content
When doing a search for "PYTHONDONTWRITEBYTECODE" on the 2.7 docs (http://docs.python.org/2/search.html?q=PYTHONDONTWRITEBYTECODE), the first (and only) search result is the following link:

http://docs.python.org/2/using/cmdline.html?highlight=pythondontwritebytecode#PYTHONDONTWRITEBYTECODE

(note the `#PYTHONDONTWRITEBYTECODE` at the end)

Clicking this link takes you to the right page but the browser doesn't scroll to the correct position on the page as expected.

This is because there's no element with an `id` of `PYTHONDONTWRITEBYTECODE`. The correct id is `envvar-PYTHONDONTWRITEBYTECODE`.


Things work as expected when searching on version 3 docs (http://docs.python.org/3/search.html?q=PYTHONDONTWRITEBYTECODE), where the correct fragment identifier is generated in the search results.
History
Date User Action Args
2014-03-20 14:50:03bmispelonsetrecipients: + bmispelon, docs@python
2014-03-20 14:50:03bmispelonsetmessageid: <1395327003.08.0.0901954371896.issue20997@psf.upfronthosting.co.za>
2014-03-20 14:50:03bmispelonlinkissue20997 messages
2014-03-20 14:50:02bmispeloncreate