[issue8339] urlunparse(urlparse('x://')) now returns 'x:' instead of 'x://'
Michael Glassford
report at bugs.python.org
Wed Apr 7 23:42:07 CEST 2010
New submission from Michael Glassford <glassfordmjg at gmail.com>:
An unfortunate side-effect of this change:
http://svn.python.org/view/python/branches/release26-maint/Lib/urlparse.py?r1=66717&r2=78235
which was made to fix this issue:
http://bugs.python.org/issue7904
is that urlparse.urlunparse(urlparse.urlparse('x://')) now returns 'x:' instead of 'x://', and urlparse.urlunparse(urlparse.urlparse('x:///y')) now returns 'x:/y' instead of 'x:///y'.
This behavior exists in at least Python 2.6 and 3.1, but not in 2.5.
----------
messages: 102569
nosy: Michael Glassford
severity: normal
status: open
title: urlunparse(urlparse('x://')) now returns 'x:' instead of 'x://'
type: behavior
versions: Python 2.6, Python 3.1
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue8339>
_______________________________________
More information about the Python-bugs-list
mailing list