Senthil added the comment: > > Olivier Croquette added the comment: > > And about the decoding, sorry, it's clear from your snippets that > urlparse doesn't do it: > >>> print q.username > user%40xyz > > Maybe it should do it, I am not sure. What do you think? It would save > work for the module user.
No, urlparse does not have any method for encoding/decoding. It has been left to urllib2 in urlencode, urldecode, quote, unquote etc. Strangely though, user should use urllib2 for that purpose. And yeah, there is been an effort to merge the urlparse and urllib2 functionality and I am slowly upto it. :) Before more requests come this way, I guess I have to show some progress. __________________________________ Tracker <[EMAIL PROTECTED]> <http://bugs.python.org/issue1698> __________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com