This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author a.badger
Recipients a.badger, janssen
Date 2008-09-29.22:27:44
SpamBayes Score 7.760942e-11
Marked as misclassified No
Message-id <1222727265.2.0.126392267513.issue3991@psf.upfronthosting.co.za>
In-reply-to
Content
Possibly.  This is a change from python-2.x's urlopen() which escaped
the URL automatically, though.  I can see the case for having the user
call an escape function themselves instead of having urlopen() perform
the escape for them.  However, that function would need to be written.
(The present parse.quote() method only quotes correctly if only the path
component is passed; there's no function to take a full URL and quote it
appropriately.)

Without such a function, a whole lot of code bases will have to reinvent
the wheel creating functions to parse the path out, run it through
urllib.parse.quote() and then pass the result to urlib.urlopen().
History
Date User Action Args
2008-09-29 22:27:45a.badgersetrecipients: + a.badger, janssen
2008-09-29 22:27:45a.badgersetmessageid: <1222727265.2.0.126392267513.issue3991@psf.upfronthosting.co.za>
2008-09-29 22:27:44a.badgerlinkissue3991 messages
2008-09-29 22:27:44a.badgercreate