Re: urllib.quote fails on Unicode URL

2007-05-04 Thread Peter Otten
John Nagle wrote: > The code in urllib.quote fails on Unicode input, when > called by robotparser. > > That bit of code needs some attention. > - It still assumes ASCII goes up to 255, which hasn't been true in > Python > for a while now. > - The initialization may not b

urllib.quote fails on Unicode URL

2007-05-03 Thread John Nagle
The code in urllib.quote fails on Unicode input, when called by robotparser. That bit of code needs some attention. - It still assumes ASCII goes up to 255, which hasn't been true in Python for a while now. - The initialization may not be thread-safe; a table is being initial