homepage

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: urllib how-to should be updated to remove PyGoogle
Type: Stage: resolved
Components: Documentation Versions: Python 3.6, Python 3.4, Python 3.5, Python 2.7
process
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: docs@python Nosy List: bar.harel, docs@python, nneonneo, python-dev
Priority: normal Keywords: patch

Created on 2015年09月16日 21:32 by nneonneo, last changed 2022年04月11日 14:58 by admin. This issue is now closed.

Files
File name Uploaded Description Edit
urllib_howto.patch bar.harel, 2015年09月18日 17:26 review
urllib_howto27.patch bar.harel, 2015年09月18日 17:32 review
Messages (4)
msg250863 - (view) Author: Robert Xiao (nneonneo) * Date: 2015年09月16日 21:32
PyGoogle has been dead for 6-7 years at this point (probably longer), yet the newest urllib documentation (https://docs.python.org/3/howto/urllib2.html#id1) still refers to it in a footnote:
 [1] Like Google for example. The proper way to use google from a program is to use PyGoogle of course.
This should probably be amended to remove the outdated reference altogether (the footnote itself can probably just go).
While we're at it: the user agent version strings are _really_ old - MSIE 5.5 and MSIE 6.0. I know they are just illustrative, but couldn't we at least update them to something from the last decade? :P
msg251014 - (view) Author: Bar Harel (bar.harel) * Date: 2015年09月18日 17:26
A quick patch updating the mime and removing the mentioning of PyGoogle. We can add a different example in the future if we wish.
msg251015 - (view) Author: Bar Harel (bar.harel) * Date: 2015年09月18日 17:32
Added a similar patch to 2.7
msg251172 - (view) Author: Roundup Robot (python-dev) (Python triager) Date: 2015年09月20日 18:19
New changeset 1fcdca298be9 by Benjamin Peterson in branch '3.4':
use a more modern UA (#25145)
https://hg.python.org/cpython/rev/1fcdca298be9
New changeset 2efd269b3eb8 by Benjamin Peterson in branch '3.4':
remove reference to PyGoogle (#25145)
https://hg.python.org/cpython/rev/2efd269b3eb8
New changeset 9b7bc13aed4e by Benjamin Peterson in branch '2.7':
remove reference to PyGoogle (#25145)
https://hg.python.org/cpython/rev/9b7bc13aed4e
New changeset 96eff21fc47e by Benjamin Peterson in branch '2.7':
use a more modern UA (#25145)
https://hg.python.org/cpython/rev/96eff21fc47e
New changeset 7f76c7d853be by Benjamin Peterson in branch '3.5':
merge 3.4 (#25145)
https://hg.python.org/cpython/rev/7f76c7d853be
New changeset 54ea36ce6eab by Benjamin Peterson in branch 'default':
merge 3.5 (#25145)
https://hg.python.org/cpython/rev/54ea36ce6eab 
History
Date User Action Args
2022年04月11日 14:58:21adminsetgithub: 69332
2015年09月20日 23:46:01berker.peksagsetstage: needs patch -> resolved
2015年09月20日 20:20:14benjamin.petersonsetstatus: open -> closed
resolution: fixed
2015年09月20日 18:19:17python-devsetnosy: + python-dev
messages: + msg251172
2015年09月18日 17:32:16bar.harelsetfiles: + urllib_howto27.patch

messages: + msg251015
2015年09月18日 17:26:32bar.harelsetfiles: + urllib_howto.patch

nosy: + bar.harel
messages: + msg251014

keywords: + patch
2015年09月16日 22:01:35zach.waresetstage: needs patch
versions: + Python 2.7, - Python 3.2, Python 3.3
2015年09月16日 21:32:38nneonneocreate

AltStyle によって変換されたページ (->オリジナル) /