commit | 09f0dd5842b7bb67ead5df59a367196261d87a71 | [log] [tgz] |
---|---|---|
author | Walter Dörwald <walter@livinglogic.de> | Mon Nov 21 19:10:07 2005 +0000 |
committer | Walter Dörwald <walter@livinglogic.de> | Mon Nov 21 19:10:07 2005 +0000 |
tree | 8d20cf4513a0526a227fde66f76c1ffc490c92f1 | |
parent | 705fd474e9e7e55dbaff1f7ecfd5414c5272435d [diff] [blame] |
Use basestring instead of type.StringType for checking whether a input or output file is a file name instead of a file object. This enables unicode file names as arguments to uu.encode() and uu.decode().
diff --git a/Misc/NEWS b/Misc/NEWS index b257e0e..40be84c 100644 --- a/Misc/NEWS +++ b/Misc/NEWS
@@ -551,6 +551,8 @@ - Bug #1245379: Add "unicode-1-1-utf-7" as an alias for "utf-7" to ``encodings.aliases``. +- ` uu.encode()`` and ``uu.decode()`` now support unicode filenames. + Build -----