* Lib/linecache.py: don't crash on empty filename

* Lib/macpath.py: don't return trailing colon for dirname()
	(XXX won't do for volume names -- but otherwise glob(':*:*.py')
	loops forever)
	* Lib/traceback.py: print SyntaxError correctly
	* Lib/stat.py: moved to posixstat.py; added macstat.py which has
	the constants for the Mac; and created new stat.py which includes
	the right one
	* Lib/urllib.py: fix caching bug (by disabling the cache)
This commit is contained in:
Guido van Rossum 1994-08-23 13:32:20 +00:00
parent 9e1e149a5f
commit 7aeb4b9ce8
6 changed files with 131 additions and 18 deletions

View file

@ -8,7 +8,7 @@
# XXX Strictly spoken, this module may have to be adapted for each POSIX
# implementation; in practice, however, the numeric constants used by
# stat() are almost universal (even for stat() emulations on non-UNIX
# systems like Macintosh or MS-DOS).
# systems like MS-DOS).
# Indices for stat struct members in tuple returned by os.stat()