Roundup Robot added the comment:
New changeset a6f37d503878 by Senthil Kumaran in branch '3.2':
Fix Issue 15922: make howto/urllib2.rst doctests pass.
http://hg.python.org/cpython/rev/a6f37d503878
New changeset a24d3e2124b6 by Senthil Kumaran in branch '3.3':
Fix Issue 15922: make
Chris Jerdonek added the comment:
Thanks, Senthil!
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue15922
___
___
Python-bugs-list mailing list
Roundup Robot added the comment:
New changeset b2f282991973 by Senthil Kumaran in branch '2.7':
Fix Issue 15922: make howto/urllib2.rst doctests pass.
http://hg.python.org/cpython/rev/b2f282991973
--
___
Python tracker rep...@bugs.python.org
Changes by Senthil Kumaran sent...@uthcode.com:
--
resolution: - fixed
stage: patch review - committed/rejected
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue15922
___
Ezio Melotti added the comment:
+ try:
+... urllib.request.urlopen(req)
+... except urllib.error.URLError as e:
+...print(Error opening url.)
+...# E.g. [Errno 8] nodename nor servname provided, or not known
+...print(Reason:, e.reason) #doctest:
Changes by Ezio Melotti ezio.melo...@gmail.com:
--
nosy: +ezio.melotti
type: - enhancement
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue15922
___
New submission from Chris Jerdonek:
This issue is to make the doctests in howto/urllib2.rst pass using vanilla
doctest.
Patch attached.
--
assignee: docs@python
components: Documentation
files: issue-doctest-howto-urllib-1.patch
keywords: easy, patch
messages: 170305
nosy: cjerdonek,
Changes by Chris Jerdonek chris.jerdo...@gmail.com:
--
stage: - patch review
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue15922
___
___