Ezio Melotti added the comment:
I think that what the note was trying to say is that urlopen in Python 3 is
equivalent to urllib2.urlopen in Python 2, so before switching to Python 3,
people might want to move from urllib.urlopen to urllib2.urlopen.
Does the attached patch sound better?
Claudiu.Popa added the comment:
Yep, it sounds better. There's an additional warning in urllib.urlopen which
states a similar thing:
warnpy3k(urllib.urlopen() has been removed in Python 3.0 in
favor of urllib2.urlopen(), stacklevel=2)
--
New submission from Claudiu.Popa:
In the first note from urllib.rst, there is a reference to urllib being
replaced by urllib2 in Python 3, which is False.
--
assignee: docs@python
components: Documentation
files: urllib2.patch
keywords: patch
messages: 205359
nosy: Claudiu.Popa,
Éric Araujo added the comment:
LGTM.
--
nosy: +eric.araujo, ezio.melotti
stage: - commit review
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue19906
___