summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
| * | | Fix #11583. Changed os.path.isdir to use GetFileAttributes instead of os.stat.Brian Curtin2011-06-083-0/+53
| |/ / | | | | | | | | | | | | | | | | | | | | | | | | 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.
| * | #12274: use proper escaping for % in IDLE config.Łukasz Langa2011-06-071-2/+2
| | |
| * | test.support: can_symlink() removes the temporary symbolic linkVictor Stinner2011-06-071-1/+4
| | |
* | | Fix #12084. os.stat on Windows wasn't working properly with relative symlinks.Brian Curtin2011-06-134-97/+192
|/ / | | | | | | | | | | | | | | | | | | | | Use of DeviceIoControl to obtain the symlink path via the reparse tag was removed. The code now uses GetFinalPathNameByHandle in the case of a symbolic link and works properly given the added test which creates a symbolic link and calls os.stat on it from multiple locations. Victor Stinner also noticed an issue with os.lstat following the os.stat code path when being passed bytes. The posix_lstat function was adjusted to properly hook up win32_lstat instead of the previous STAT macro (win32_stat).
* | Branch mergeÉric Araujo2011-06-066-16/+16
|\ \
| * | Remove unneeded executable bit on two distutils filesÉric Araujo2011-06-042-0/+0
| | |
| * | Improve glossary entry for ABCs.Éric Araujo2011-06-044-13/+16
| | | | | | | | | | | | | | | | | | | | | - Rename reST target name for collections ABCs to avoid collisions - Add link to importlib ABCs (collections, numbers and io ABCs were already linked) - Link to glossary entry from numbers module doc (other modules already do it)
| * | Remove link that’s already present at the top of the fileÉric Araujo2011-06-031-3/+0
| | |
* | | null mergeMartin v. Löwis2011-06-050-0/+0
|\ \ \ | | |/ | |/|
| * | Add 3.1.4 UUIDs.Martin v. Löwis2011-06-051-0/+2
| | |
* | | merge:Do not add txt files twiceMartin v. Löwis2011-06-051-2/+0
|\ \ \ | |/ /
| * | Do not add txt files twice.Martin v. Löwis2011-06-051-2/+0
| | |
* | | Issue #12016: Add test_errorhandle() to TestBase_Mapping ofVictor Stinner2011-06-031-3/+33
| | | | | | | | | | | | | | | test_multibytecodec_support. Improve also error message of the test_errorhandle() of TestBase.
* | | Issue #12016: Reindent decoders of HK and JP codecsVictor Stinner2011-06-032-51/+52
| |/ |/|
* | Document working dir for “make html” (#12249). Patch by Tshepang ↵Éric Araujo2011-06-031-0/+1
| | | | | | | | Lekhonkhobe.
* | Fix named tuples to work with vars().Raymond Hettinger2011-06-034-1/+7
| |
* | Forward port doc updates for builtin functions.Raymond Hettinger2011-06-011-22/+32
| |
* | Branch mergeÉric Araujo2011-06-012-4/+4
|\ \
| * | Fix markup: arguments in a class directive are __init__ arguments, not base ↵Éric Araujo2011-05-311-3/+3
| | | | | | | | | | | | classes
| * | Fix error message to use the Python name instead of the C nameÉric Araujo2011-05-311-1/+1
| | |
* | | Close #12230: Mac OS X Tiger (10.4) has a kernel bug: sometimes, the fileVictor Stinner2011-06-012-1/+34
| | | | | | | | | | | | | | | | | | | | | | | | descriptor of a pipe closed in the parent process is valid in the child process according to fstat(), but the mode of the file descriptor is invalid, and read or write raise an error. Add also requires_mac_ver() decorator to test.support.
* | | merge 3.1Benjamin Peterson2011-06-011-1/+1
|\ \ \ | | |/ | |/|
| * | return NULL on errorBenjamin Peterson2011-06-011-1/+1
| | |
* | | be extra careful with a borrowed reference when the GIL could be released ↵Benjamin Peterson2011-06-011-0/+2
| | | | | | | | | | | | (closes #8578)
* | | demote this to a noteBenjamin Peterson2011-06-011-1/+1
| | |
* | | merge 3.1 (#12221)Benjamin Peterson2011-06-012-21/+10
|\ \ \ | |/ /
| * | simply use the Python version for pyexpat.__version__ #12221Benjamin Peterson2011-05-312-21/+15
| | |
* | | Close #12085: Fix an attribute error in subprocess.Popen destructor if theVictor Stinner2011-05-314-1/+19
| | | | | | | | | | | | | | | constructor has failed, e.g. because of an undeclared keyword argument. Patch written by Oleg Oshmyan.
* | | Issue #12057: Add tests for ISO 2022 codecsVictor Stinner2011-05-307-1/+83
| | | | | | | | | | | | iso2022_jp, iso2022_jp_2 and iso2022_kr
* | | Issue #1195: fix the issue number of the NEWS entryVictor Stinner2011-05-301-1/+1
| | |
* | | Issue #12016: my_fgets() now always clears errors before calling fgets(). FixVictor Stinner2011-05-302-0/+5
| |/ |/| | | | | | | the following case: sys.stdin.read() stopped with CTRL+d (end of file), raw_input() interrupted by CTRL+c.
* | merge 3.1Benjamin Peterson2011-05-291-0/+1
|\ \ | |/
| * Added tag v3.1.4rc1 for changeset 32fcb9e94985Benjamin Peterson2011-05-291-0/+1
| |
| * update pydoc-topicsv3.1.4rc1Benjamin Peterson2011-05-291-3/+3
| |
| * bump to 3.1.4rc1Benjamin Peterson2011-05-296-11/+11
| |
* | Merge 3.1Éric Araujo2011-05-291-3/+3
|\ \ | |/
| * Branch mergeÉric Araujo2011-05-296-14/+32
| |\
| | * Fix typo in 0311f62714f7Éric Araujo2011-05-291-1/+1
| | |
| | * Don’t misuse “package data” in pprint exampleÉric Araujo2011-05-291-3/+3
| | |
* | | Branch mergeÉric Araujo2011-05-296-91/+100
|\ \ \
| * | | Fix typos in Misc/NEWSÉric Araujo2011-05-291-4/+4
| | | |
| * | | Merge doc touch-ups and fixes for #9831 and #9223 from 3.1Éric Araujo2011-05-285-87/+95
| |\ \ \ | | | |/ | | |/|
| | * | Re-add missing doc stub for the distutils check commandÉric Araujo2011-05-281-0/+14
| | | |
| | * | Minor touch-ups in distutils.cmd.Command docÉric Araujo2011-05-281-2/+2
| | | |
| | * | Fix test_build_py when sys.dont_write_bytecode is true (#9831).Éric Araujo2011-05-281-6/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The tests now pass all combinations of -O/-OO and -B. See also #7071 and #6292 for previous variations on the same theme. test_versionpredicate needs a skip when sys.flags.optimize is true, but I don’t know how to make that work with a DocTestSuite.
| | * | Minor doc addition for clarityÉric Araujo2011-05-271-1/+1
| | | |
| | * | Add missing closing parenÉric Araujo2011-05-271-1/+1
| | | |
* | | | Record null merge of Issue #12205Ned Deily2011-05-290-0/+0
|\ \ \ \ | | |_|/ | |/| |
| * | | Issue #12205: Fix test_subprocess failure due to uninstalled test data.Ned Deily2011-05-292-1/+3
| | | |
* | | | Fix ProcessTestCasePOSIXPurePython to test the module from import whenGregory P. Smith2011-05-281-9/+17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | _posixsubprocess doesn't exist rather than simply stubbing it out after the fact. This adds coverage for the RuntimeWarning as well as using the pure python _create_pipe instead of using _posixsubprocess.cloexec_pipe unintentionally with the pure python code. Ironically: I don't think any platform should ever actually _use_ the pure Python subprocess code on POSIX platforms anymore. This at least tests it properly in this stable branch. The pure python code for this is likely to be removed in 3.3.