mirror of
https://github.com/python/cpython.git
synced 2025-07-07 19:35:27 +00:00
* 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:
parent
9e1e149a5f
commit
7aeb4b9ce8
6 changed files with 131 additions and 18 deletions
|
@ -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()
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue