Files
cpython/Lib
Brian Curtin 9a82eaade3 Fix #11583. Changed os.path.isdir to use GetFileAttributes instead of os.stat.
By changing to the Windows GetFileAttributes API in nt._isdir we can figure
out if the path is a directory without opening the file via os.stat. This has
the minor benefit of speeding up os.path.isdir by at least 2x for regular
files and 10-15x improvements were seen on symbolic links (which opened the
file multiple times during os.stat). Since os.path.isdir is used in
several places on interpreter startup, we get a minor speedup in startup time.
2011-06-08 18:43:57 -05:00
..
2011-06-02 23:49:44 -07:00
2011-05-25 18:13:49 +02:00
2011-05-14 06:47:51 +03:00
2011-05-14 15:35:56 -07:00
2011-05-25 18:22:26 +02:00
2011-06-06 20:07:04 +02:00
2011-05-26 16:35:14 +02:00