summaryrefslogtreecommitdiff
path: root/Lib/urlparse.py
diff options
context:
space:
mode:
authorBarry Warsaw <barry@python.org>2002-10-14 16:52:41 +0000
committerBarry Warsaw <barry@python.org>2002-10-14 16:52:41 +0000
commit67f8f2fe2a93081aaac8ddc1409df4b05daf4fab (patch)
treea3adab8513c8ffa903b2ec3a6bf735f99df09f24 /Lib/urlparse.py
parent816aebdf94c7837e3d2a2d297886b5fbcbdc9406 (diff)
downloadcpython-git-67f8f2fe2a93081aaac8ddc1409df4b05daf4fab.tar.gz
append(): Fixing the test for convertability after consultation with
Ben. If s is a byte string, make sure it can be converted to unicode with the input codec, and from unicode with the output codec, or raise a UnicodeError exception early. Skip this test (and the unicode->byte string conversion) when the charset is our faux 8bit raw charset.
Diffstat (limited to 'Lib/urlparse.py')
0 files changed, 0 insertions, 0 deletions