Files
cpython/Modules
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-03-26 18:18:09 -05:00
2011-05-31 21:31:59 -05:00
2011-03-16 12:51:44 +02:00
2010-09-01 08:56:10 +00:00
2010-09-05 05:26:10 +00:00
2011-05-11 01:23:41 +03:00
2010-07-06 15:00:40 +00:00
2011-03-16 11:35:38 +02:00
2010-08-24 18:08:22 +00:00
2011-03-15 05:59:46 +02:00
2011-06-01 19:47:24 +02:00
2010-06-18 16:22:00 +00:00
2011-05-11 14:18:13 -04:00
2011-03-16 11:35:38 +02:00
2011-05-26 13:47:08 +02:00
2011-03-28 17:26:04 -05:00
2011-03-30 11:32:06 +00:00
2011-06-06 20:24:11 -07:00
2011-06-05 22:14:05 -05:00
2011-05-31 21:38:49 -05:00
2011-06-04 23:05:19 -07:00
2011-05-02 13:44:20 -04:00
2010-10-11 22:42:28 +00:00
2010-10-11 22:42:28 +00:00