diff options
author | Barry Warsaw <barry@python.org> | 2002-10-14 16:52:41 +0000 |
---|---|---|
committer | Barry Warsaw <barry@python.org> | 2002-10-14 16:52:41 +0000 |
commit | 67f8f2fe2a93081aaac8ddc1409df4b05daf4fab (patch) | |
tree | a3adab8513c8ffa903b2ec3a6bf735f99df09f24 /Lib/urlparse.py | |
parent | 816aebdf94c7837e3d2a2d297886b5fbcbdc9406 (diff) | |
download | cpython-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