Serhiy Storchaka added the comment: Yes, urllib based on RFC 2396, but RFC 3986 obsoletes RFC 2396. Updating to RFC 3986 should be new feature.
For older versions can not change anything. But you always can use "safe" argument with quote(). ---------- components: +Library (Lib) nosy: +orsenthil, serhiy.storchaka title: Erroneously encoding tilde to %7e in quote -> Update urllib to RFC 3986 type: -> enhancement versions: +Python 3.4 _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue16285> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com