cpython/Misc
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
..
RPM 2.3b1 patches 2003-02-24 17:55:37 +00:00
ACKS Alphabetize some names 2003-02-10 01:09:49 +00:00
AIX-NOTES Add some notes that got python to work on the snake farm 2003-02-02 17:10:04 +00:00
BeOS-NOTES
BeOS-setup.py
HISTORY migrate news about 2.1 and earlier releases from NEWS to HISTORY in 2002-09-17 20:55:31 +00:00
NEWS Patch #683592 revisited, after discussions with MvL: 2003-03-03 17:32:15 +00:00
NEWS.help Updated (2.3 OK now) 2003-01-03 03:29:58 +00:00
PURIFY.README
Porting
README
RFD
SpecialBuilds.txt Small function call optimization and special build option for call stats. 2003-02-05 23:13:00 +00:00
cheatsheet Part 3 of Py2.3 update 2003-01-26 03:29:15 +00:00
find_recursionlimit.py
gdbinit
indent.pro
pymemcompat.h Fix grammatically inept comment. 2002-08-22 13:36:11 +00:00
python-mode.el py-pdbtrack-grub-for-buffer(): Rectified some logic errors i 2003-03-03 17:09:44 +00:00
python.man
setuid-prog.c
vgrindefs

README

Python Misc subdirectory
========================

This directory contains files that wouldn't fit in elsewhere.  Some
documents are only of historic importance.

Files found here
----------------

ACKS		Acknowledgements
AIX-NOTES	Notes for building Python on AIX
BeOS-NOTES	Notes for building on BeOS
BeOS-setup.py	setup.py replacement for BeOS, see BeOS-NOTES
cheatsheet	Quick summary of Python by Ken Manheimer
find_recursionlimit.py  Script to find a value for sys.maxrecursionlimit
gdbinit		Handy stuff to put in your .gdbinit file, if you use gdb
HISTORY		News from previous releases -- oldest last
HPUX-NOTES	Notes about dynamic loading under HP-UX
indent.pro	GNU indent profile approximating my C style
NEWS		News for this release (for some meaning of "this")
Porting		Mini-FAQ on porting to new platforms
PURIFY.README	Information for Purify users
python.man	UNIX man page for the python interpreter
python-mode.el	Emacs mode for editing Python programs
README		The file you're reading now
RFD		Request For Discussion about a Python newsgroup
RPM		(Old) tools to build RPMs
SpecialBuilds.txt     Describes extra symbols you can set for debug builds
setuid-prog.c	C helper program for set-uid Python scripts
vgrindefs	Python configuration for vgrind (a generic pretty printer)