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.

classification
Title: Document for urllib.error.HTTPError.headers Should Specify What Version
Type: enhancement Stage: resolved
Components: Documentation Versions: Python 3.9, Python 3.8, Python 3.7, Python 3.6, Python 3.5
process
Status: closed Resolution: not a bug
Dependencies: Superseder:
Assigned To: docs@python Nosy List: Han You, docs@python, xtreak
Priority: normal Keywords:

Created on 2019-11-09 23:18 by Han You, last changed 2022-04-11 14:59 by admin. This issue is now closed.

Messages (2)
msg356312 - (view) Author: Han You (Han You) Date: 2019-11-09 23:18
It says "New in version 3.4." so I put `urllib3>=3.4` in my requirements.txt. Turned out it is referring to the Python version.

https://docs.python.org/3.7/library/urllib.error.html#urllib.error.HTTPError.headers
msg356317 - (view) Author: Karthikeyan Singaravelan (xtreak) * (Python committer) Date: 2019-11-10 04:57
Thanks for the report. But this is a common convention across the docs to add versionadded and versionchanged directive that are rendered as new in version and changed in version with version being Python's version since docs is for CPython. I am not sure if this could be clarified further without being verbose and changing directive would cause all docs to be changed.
History
Date User Action Args
2022-04-11 14:59:23adminsetgithub: 82941
2021-12-01 23:50:48iritkatrielsetstatus: open -> closed
resolution: not a bug
stage: resolved
2019-11-10 04:57:40xtreaksetnosy: + xtreak
messages: + msg356317
2019-11-09 23:18:29Han Youcreate