[issue12431] urllib2.Request.get_full_url() broken in newer versions of Python

Santoso Wijaya report at bugs.python.org
Tue Jun 28 19:27:43 CEST 2011


Santoso Wijaya <santoso.wijaya at gmail.com> added the comment:

This has been fixed with issue #11703, latest version of Python 2.7 does not exhibit this behaviour anymore:

Python 2.7.2 (default, Jun 12 2011, 14:24:46) [MSC v.1500 64 bit (AMD64)] on win
32
Type "help", "copyright", "credits" or "license" for more information.
>>> import urllib2
>>> urllib2.Request('http://host/path#fragment').get_full_url()
'http://host/path#fragment'

----------
components: +Library (Lib)
nosy: +santa4nt

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue12431>
_______________________________________


More information about the Python-bugs-list mailing list