Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
| * | | | Fix #11583. Changed os.path.isdir to use GetFileAttributes instead of os.stat. | Brian Curtin | 2011-06-08 | 3 | -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 Langa | 2011-06-07 | 1 | -2/+2 | |
| | | | ||||||
| * | | test.support: can_symlink() removes the temporary symbolic link | Victor Stinner | 2011-06-07 | 1 | -1/+4 | |
| | | | ||||||
* | | | Fix #12084. os.stat on Windows wasn't working properly with relative symlinks. | Brian Curtin | 2011-06-13 | 4 | -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 Araujo | 2011-06-06 | 6 | -16/+16 | |
|\ \ | ||||||
| * | | Remove unneeded executable bit on two distutils files | Éric Araujo | 2011-06-04 | 2 | -0/+0 | |
| | | | ||||||
| * | | Improve glossary entry for ABCs. | Éric Araujo | 2011-06-04 | 4 | -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 Araujo | 2011-06-03 | 1 | -3/+0 | |
| | | | ||||||
* | | | null merge | Martin v. Löwis | 2011-06-05 | 0 | -0/+0 | |
|\ \ \ | | |/ | |/| | ||||||
| * | | Add 3.1.4 UUIDs. | Martin v. Löwis | 2011-06-05 | 1 | -0/+2 | |
| | | | ||||||
* | | | merge:Do not add txt files twice | Martin v. Löwis | 2011-06-05 | 1 | -2/+0 | |
|\ \ \ | |/ / | ||||||
| * | | Do not add txt files twice. | Martin v. Löwis | 2011-06-05 | 1 | -2/+0 | |
| | | | ||||||
* | | | Issue #12016: Add test_errorhandle() to TestBase_Mapping of | Victor Stinner | 2011-06-03 | 1 | -3/+33 | |
| | | | | | | | | | | | | | | | test_multibytecodec_support. Improve also error message of the test_errorhandle() of TestBase. | |||||
* | | | Issue #12016: Reindent decoders of HK and JP codecs | Victor Stinner | 2011-06-03 | 2 | -51/+52 | |
| |/ |/| | ||||||
* | | Document working dir for “make html” (#12249). Patch by Tshepang ↵ | Éric Araujo | 2011-06-03 | 1 | -0/+1 | |
| | | | | | | | | Lekhonkhobe. | |||||
* | | Fix named tuples to work with vars(). | Raymond Hettinger | 2011-06-03 | 4 | -1/+7 | |
| | | ||||||
* | | Forward port doc updates for builtin functions. | Raymond Hettinger | 2011-06-01 | 1 | -22/+32 | |
| | | ||||||
* | | Branch merge | Éric Araujo | 2011-06-01 | 2 | -4/+4 | |
|\ \ | ||||||
| * | | Fix markup: arguments in a class directive are __init__ arguments, not base ↵ | Éric Araujo | 2011-05-31 | 1 | -3/+3 | |
| | | | | | | | | | | | | classes | |||||
| * | | Fix error message to use the Python name instead of the C name | Éric Araujo | 2011-05-31 | 1 | -1/+1 | |
| | | | ||||||
* | | | Close #12230: Mac OS X Tiger (10.4) has a kernel bug: sometimes, the file | Victor Stinner | 2011-06-01 | 2 | -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.1 | Benjamin Peterson | 2011-06-01 | 1 | -1/+1 | |
|\ \ \ | | |/ | |/| | ||||||
| * | | return NULL on error | Benjamin Peterson | 2011-06-01 | 1 | -1/+1 | |
| | | | ||||||
* | | | be extra careful with a borrowed reference when the GIL could be released ↵ | Benjamin Peterson | 2011-06-01 | 1 | -0/+2 | |
| | | | | | | | | | | | | (closes #8578) | |||||
* | | | demote this to a note | Benjamin Peterson | 2011-06-01 | 1 | -1/+1 | |
| | | | ||||||
* | | | merge 3.1 (#12221) | Benjamin Peterson | 2011-06-01 | 2 | -21/+10 | |
|\ \ \ | |/ / | ||||||
| * | | simply use the Python version for pyexpat.__version__ #12221 | Benjamin Peterson | 2011-05-31 | 2 | -21/+15 | |
| | | | ||||||
* | | | Close #12085: Fix an attribute error in subprocess.Popen destructor if the | Victor Stinner | 2011-05-31 | 4 | -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 codecs | Victor Stinner | 2011-05-30 | 7 | -1/+83 | |
| | | | | | | | | | | | | iso2022_jp, iso2022_jp_2 and iso2022_kr | |||||
* | | | Issue #1195: fix the issue number of the NEWS entry | Victor Stinner | 2011-05-30 | 1 | -1/+1 | |
| | | | ||||||
* | | | Issue #12016: my_fgets() now always clears errors before calling fgets(). Fix | Victor Stinner | 2011-05-30 | 2 | -0/+5 | |
| |/ |/| | | | | | | | the following case: sys.stdin.read() stopped with CTRL+d (end of file), raw_input() interrupted by CTRL+c. | |||||
* | | merge 3.1 | Benjamin Peterson | 2011-05-29 | 1 | -0/+1 | |
|\ \ | |/ | ||||||
| * | Added tag v3.1.4rc1 for changeset 32fcb9e94985 | Benjamin Peterson | 2011-05-29 | 1 | -0/+1 | |
| | | ||||||
| * | update pydoc-topicsv3.1.4rc1 | Benjamin Peterson | 2011-05-29 | 1 | -3/+3 | |
| | | ||||||
| * | bump to 3.1.4rc1 | Benjamin Peterson | 2011-05-29 | 6 | -11/+11 | |
| | | ||||||
* | | Merge 3.1 | Éric Araujo | 2011-05-29 | 1 | -3/+3 | |
|\ \ | |/ | ||||||
| * | Branch merge | Éric Araujo | 2011-05-29 | 6 | -14/+32 | |
| |\ | ||||||
| | * | Fix typo in 0311f62714f7 | Éric Araujo | 2011-05-29 | 1 | -1/+1 | |
| | | | ||||||
| | * | Don’t misuse “package data” in pprint example | Éric Araujo | 2011-05-29 | 1 | -3/+3 | |
| | | | ||||||
* | | | Branch merge | Éric Araujo | 2011-05-29 | 6 | -91/+100 | |
|\ \ \ | ||||||
| * | | | Fix typos in Misc/NEWS | Éric Araujo | 2011-05-29 | 1 | -4/+4 | |
| | | | | ||||||
| * | | | Merge doc touch-ups and fixes for #9831 and #9223 from 3.1 | Éric Araujo | 2011-05-28 | 5 | -87/+95 | |
| |\ \ \ | | | |/ | | |/| | ||||||
| | * | | Re-add missing doc stub for the distutils check command | Éric Araujo | 2011-05-28 | 1 | -0/+14 | |
| | | | | ||||||
| | * | | Minor touch-ups in distutils.cmd.Command doc | Éric Araujo | 2011-05-28 | 1 | -2/+2 | |
| | | | | ||||||
| | * | | Fix test_build_py when sys.dont_write_bytecode is true (#9831). | Éric Araujo | 2011-05-28 | 1 | -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 Araujo | 2011-05-27 | 1 | -1/+1 | |
| | | | | ||||||
| | * | | Add missing closing paren | Éric Araujo | 2011-05-27 | 1 | -1/+1 | |
| | | | | ||||||
* | | | | Record null merge of Issue #12205 | Ned Deily | 2011-05-29 | 0 | -0/+0 | |
|\ \ \ \ | | |_|/ | |/| | | ||||||
| * | | | Issue #12205: Fix test_subprocess failure due to uninstalled test data. | Ned Deily | 2011-05-29 | 2 | -1/+3 | |
| | | | | ||||||
* | | | | Fix ProcessTestCasePOSIXPurePython to test the module from import when | Gregory P. Smith | 2011-05-28 | 1 | -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. |