Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Merge 3.2 | Brian Curtin | 2011-06-09 | 1 | -1/+4 |
|\ | |||||
| * | Correction to 88e318166eaf - Issue #11583 | Brian Curtin | 2011-06-09 | 1 | -1/+4 |
| | | | | | | | | | | | | Rather than wrapping the C _isdir function in a Python function, just import the C _isdir function directly. Additionally, add in the docstring which was left out. | ||||
* | | Fix #11583. Changed os.path.isdir to use GetFileAttributes instead of os.stat. | Brian Curtin | 2011-06-08 | 1 | -0/+37 |
|\ \ | |/ | | | | | | | | | | | | | | | 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. | ||||
| * | Fix #11583. Changed os.path.isdir to use GetFileAttributes instead of os.stat. | Brian Curtin | 2011-06-08 | 1 | -0/+37 |
| | | | | | | | | | | | | | | | | | | 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. | ||||
* | | Issue #12021: Make mmap's read() method argument optional. Patch by Petri | Charles-François Natali | 2011-06-08 | 1 | -2/+24 |
| | | | | | | | | Lehtinen. | ||||
* | | Issue #9205: concurrent.futures.ProcessPoolExecutor now detects killed | Antoine Pitrou | 2011-06-08 | 1 | -16/+374 |
| | | | | | | | | | | children and raises BrokenProcessPool in such a situation. Previously it would reliably freeze/deadlock. | ||||
* | | Revert a reversed comparison order introduced in r70695. | Brett Cannon | 2011-06-08 | 1 | -1/+1 |
| | | |||||
* | | Remove a redundant assignment. | Brett Cannon | 2011-06-07 | 1 | -1/+1 |
| | | | | | | | | Found by LLVM/clang 2.9. | ||||
* | | Checking if an unsigned long is < 0 is pointless. | Brett Cannon | 2011-06-07 | 1 | -3/+3 |
| | | | | | | | | Found by LLVM/clang 2.9. | ||||
* | | Remove some extraneous parentheses and swap the comparison order to | Brett Cannon | 2011-06-07 | 1 | -1/+1 |
| | | | | | | | | | | | | prevent accidental assignment. Silences a warning from LLVM/clang 2.9. | ||||
* | | Issue #12196: Make os.pipe2() flags argument mandatory. | Charles-François Natali | 2011-06-06 | 1 | -8/+9 |
| | | |||||
* | | always clear parser error | Benjamin Peterson | 2011-06-06 | 1 | -1/+1 |
| | | |||||
* | | merge heads. | Gregory P. Smith | 2011-06-05 | 20 | -133/+288 |
|\ \ | |||||
| * | | only clear the parser error if it's set (closes #12264) | Benjamin Peterson | 2011-06-05 | 1 | -2/+3 |
| | | | |||||
| * | | (Merge 3.2) Issue #12016: Reindent decoders of HK and JP codecs | Victor Stinner | 2011-06-03 | 2 | -51/+52 |
| |\ \ | | |/ | |||||
| | * | Issue #12016: Reindent decoders of HK and JP codecs | Victor Stinner | 2011-06-03 | 2 | -51/+52 |
| | | | |||||
| * | | Merge 3.2 | Éric Araujo | 2011-06-01 | 1 | -1/+1 |
| |\ \ | | |/ | |||||
| | * | Branch merge | Éric Araujo | 2011-06-01 | 1 | -1/+1 |
| | |\ | |||||
| | | * | Fix error message to use the Python name instead of the C name | Éric Araujo | 2011-05-31 | 1 | -1/+1 |
| | | | | |||||
| | * | | merge 3.1 | Benjamin Peterson | 2011-06-01 | 1 | -1/+1 |
| | |\ \ | |||||
| | | * | | return NULL on error | Benjamin Peterson | 2011-06-01 | 1 | -1/+1 |
| | | | | | |||||
| * | | | | merge 3.2 | Benjamin Peterson | 2011-06-01 | 1 | -0/+2 |
| |\ \ \ \ | | |/ / / | |||||
| | * | | | be extra careful with a borrowed reference when the GIL could be released ↵ | Benjamin Peterson | 2011-06-01 | 1 | -0/+2 |
| | | | | | | | | | | | | | | | | | | | | (closes #8578) | ||||
| * | | | | remove __version__s dependent on subversion keyword expansion (closes #12221) | Benjamin Peterson | 2011-06-01 | 1 | -5/+0 |
| | | | | | |||||
| * | | | | merge 3.2 (#12221) | Benjamin Peterson | 2011-06-01 | 1 | -21/+5 |
| |\ \ \ \ | | |/ / / | |||||
| | * | | | merge 3.1 (#12221) | Benjamin Peterson | 2011-06-01 | 1 | -21/+5 |
| | |\ \ \ | | | |/ / | | | | / | | | |/ | | |/| | |||||
| | | * | simply use the Python version for pyexpat.__version__ #12221 | Benjamin Peterson | 2011-05-31 | 1 | -21/+5 |
| | | | | |||||
| | * | | Issue #12090: backport 79fcd71d0356 | Stefan Krah | 2011-05-25 | 1 | -0/+6 |
| | | | | |||||
| * | | | Close #12229: Remove an unused argument of _bufferedreader_peek_unlocked(), | Victor Stinner | 2011-05-31 | 1 | -3/+3 |
| | | | | | | | | | | | | | | | | io.BufferedReader._peek_unlocked(). Patch written by John O'Connor. | ||||
| * | | | Close #12171: IncrementalEncoder.reset() of CJK codecs (multibytecodec) calls | Victor Stinner | 2011-05-30 | 1 | -4/+10 |
| | | | | | | | | | | | | | | | | encreset() instead of decreset(). | ||||
| * | | | Issue #12196: Add pipe2() to the os module. | Charles-François Natali | 2011-05-29 | 1 | -0/+28 |
| | | | | |||||
| * | | | _posixsubprocess.c: don't redefine _GNU_SOURCE if it's already defined | Victor Stinner | 2011-05-26 | 1 | -2/+2 |
| | | | | |||||
| * | | | socket.sendto(): exit directly after setting the error | Victor Stinner | 2011-05-26 | 1 | -4/+5 |
| | | | | | | | | | | | | | | | | Dummy change to avoid a false positive with the Clang Static Analyzer. | ||||
| * | | | zipimport: initialize fullpath to NULL | Victor Stinner | 2011-05-26 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | | | | | | In some cases, fullpath value is used whereas fullpath was not always initialized. Warning found by the Clang Static Analyzer. | ||||
| * | | | Remove useless assignments | Victor Stinner | 2011-05-26 | 1 | -5/+4 |
| | | | | | | | | | | | | | | | | Warnings found by the the Clang Static Analyzer. | ||||
| * | | | Issue #12175: BufferedReader.read(-1) now calls raw.readall() if available. | Victor Stinner | 2011-05-25 | 3 | -11/+40 |
| | | | | |||||
| * | | | Issue #12175: FileIO.readall() now only reads the file position and size once. | Victor Stinner | 2011-05-25 | 1 | -7/+30 |
| | | | | |||||
| * | | | (Merge 3.2) Issue #12175: RawIOBase.readall() now returns None if read() | Victor Stinner | 2011-05-25 | 1 | -0/+8 |
| |\ \ \ | | |/ / | | | | | | | | | returns None. | ||||
| | * | | (Merge 3.1) Issue #12175: RawIOBase.readall() now returns None if read() | Victor Stinner | 2011-05-25 | 1 | -0/+8 |
| | |\ \ | | | |/ | | | | | | | | | returns None. | ||||
| | | * | Issue #12175: RawIOBase.readall() now returns None if read() returns None. | Victor Stinner | 2011-05-25 | 1 | -0/+8 |
| | | | | |||||
| * | | | (Merge 3.2) Issue #12175: FileIO.readall() now raises a ValueError instead of | Victor Stinner | 2011-05-25 | 1 | -0/+2 |
| |\ \ \ | | |/ / | | | | | | | | | an IOError if the file is closed. | ||||
| | * | | (Merge 3.1) Issue #12175: FileIO.readall() now raises a ValueError instead of | Victor Stinner | 2011-05-25 | 1 | -0/+2 |
| | |\ \ | | | |/ | | | | | | | | | an IOError if the file is closed. | ||||
| | | * | Issue #12175: FileIO.readall() now raises a ValueError instead of an IOError if | Victor Stinner | 2011-05-25 | 1 | -0/+2 |
| | | | | | | | | | | | | | | | | the file is closed. | ||||
| * | | | Fast path for IncrementalNewlineDecoder.decode() in io.TextIOWrapper.read(-1) | Victor Stinner | 2011-05-25 | 1 | -2/+7 |
| | | | | | | | | | | | | | | | | Copy/paste code from textiowrapper_read_chunk(). | ||||
| * | | | Issue #8407: Fix the signal handler of the signal module: if it is called | Victor Stinner | 2011-05-25 | 1 | -4/+5 |
| | | | | | | | | | | | | | | | | twice, it now writes the number of the second signal into the wakeup fd. | ||||
| * | | | (Merge 3.2) Issue #12100: Don't reset incremental encoders of CJK codecs at | Victor Stinner | 2011-05-24 | 1 | -4/+4 |
| |\ \ \ | | |/ / | | | | | | | | | | | | | each call to their encode() method anymore, but continue to call the reset() method if the final argument is True. | ||||
| | * | | (Merge 3.1) Issue #12100: Don't reset incremental encoders of CJK codecs at | Victor Stinner | 2011-05-24 | 1 | -4/+4 |
| | |\ \ | | | |/ | | | | | | | | | | | | | each call to their encode() method anymore, but continue to call the reset() method if the final argument is True. | ||||
| | | * | Issue #12100: Don't reset incremental encoders of CJK codecs at each call to | Victor Stinner | 2011-05-24 | 1 | -4/+4 |
| | | | | | | | | | | | | | | | | | | | | their encode() method anymore, but continue to call the reset() method if the final argument is True. | ||||
| * | | | Issue #12049: Add RAND_bytes() and RAND_pseudo_bytes() functions to the ssl | Victor Stinner | 2011-05-24 | 1 | -0/+67 |
| | | | | | | | | | | | | | | | | module. | ||||
| * | | | Issue #6501: os.device_encoding() returns None on Windows if the application | Victor Stinner | 2011-05-23 | 1 | -10/+13 |
| | | | | | | | | | | | | | | | | has no console. |