Files
cpython/Doc/lib
Just van Rossum 96b1c903f5 Patch #683592 revisited, after discussions with MvL:
- Implement the behavior as specified in PEP 277, meaning os.listdir()
  will only return unicode strings if it is _called_ with a unicode
  argument.
- And then return only unicode, don't attempt to convert to ASCII.
- Don't switch on Py_FileSystemDefaultEncoding, but simply use the
  default encoding if Py_FileSystemDefaultEncoding is NULL. This means
  os.listdir() can now raise UnicodeDecodeError if the default encoding
  can't represent the directory entry. (This seems better than silcencing
  the error and fall back to a byte string.)
- Attempted to decribe the above in Doc/lib/libos.tex.
- Reworded the Misc/NEWS items to reflect the current situation.

This checkin also fixes bug #696261, which was due to os.listdir() not
using Py_FileSystemDefaultEncoding, like all file system calls are
supposed to.
2003-03-03 17:32:15 +00:00
..
2002-10-01 15:29:09 +00:00
2002-10-01 15:29:09 +00:00
2002-06-26 05:07:28 +00:00
2002-08-23 21:19:53 +00:00
2003-02-06 05:02:39 +00:00
2002-09-04 15:12:07 +00:00
2002-10-30 21:08:34 +00:00
2002-12-06 18:52:28 +00:00
2003-03-03 12:29:42 +00:00
2002-07-10 19:21:07 +00:00
2002-11-22 14:28:53 +00:00
2003-02-12 23:02:21 +00:00
2002-12-17 01:24:11 +00:00
2003-01-01 20:37:14 +00:00
2003-02-21 05:42:13 +00:00
2002-12-18 02:07:14 +00:00
2003-02-06 18:04:43 +00:00
2002-05-01 03:23:03 +00:00
2003-02-14 03:42:11 +00:00
2003-01-21 01:52:39 +00:00
2002-05-27 15:08:24 +00:00
2002-12-30 23:00:36 +00:00
2003-01-30 22:22:59 +00:00
2003-01-10 13:52:30 +00:00
2003-02-10 19:21:16 +00:00
2002-10-17 19:23:43 +00:00
2002-11-18 04:34:10 +00:00
2002-10-10 18:24:54 +00:00
2002-06-25 15:26:59 +00:00
2003-01-06 18:41:01 +00:00
2002-10-22 18:26:28 +00:00
2002-12-12 12:23:32 +00:00
2002-10-10 15:58:19 +00:00
2002-11-13 15:56:13 +00:00