New submission from Jörn Hees <nrej9...@joernhees.de>:

urllib.quote('()')
returns '%28%29'

Looking into its code it tries to follow RFC 2396 (which is good even though it 
should follow rfc3986 nowadays), but it doesn't:

http://tools.ietf.org/html/rfc2396 (see Appendix A, p.27): "(" and ")" are in 
mark and therefore unreserved, so why are they quoted?

----------
components: Library (Lib)
messages: 143592
nosy: joern
priority: normal
severity: normal
status: open
title: urrlib.quote quotes too many chars, e.g., '()'
type: behavior
versions: Python 2.6, Python 2.7

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue12910>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to