Senthil Kumaran added the comment:
RFC3986 bears the weightage since urlparse aims to satisfy that. As per that,
mailto should return the url as path, and current urlparse behaves properly.
$ ./python.exe
Python 3.4.0a0 (default:50164abbfc98+, Apr 8 2013, 22:19:34)
[GCC 4.2.1 (Apple Inc. build 5666) (dot 3)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> import urllib.parse
>>> urllib.parse.urlparse("mailto:[email protected]?subject=hi")
ParseResult(scheme='mailto', netloc='', path='[email protected]', params='',
query='subject=hi', fragment='')
>>>
So, I am closing this bug as won't fix.
----------
resolution: -> fixed
stage: test needed -> committed/rejected
status: open -> closed
_______________________________________
Python tracker <[email protected]>
<http://bugs.python.org/issue6640>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com