Santoso Wijaya <santoso.wij...@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 <rep...@bugs.python.org> <http://bugs.python.org/issue12431> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com