Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Issue #13058: ossaudiodev: fix a file descriptor leak on error. Patch by Thomas | Charles-François Natali | 2011-09-29 | 1 | -0/+1 |
| | | | | Jarosch. | ||||
* | Issue #13013: ctypes: Fix a reference leak in PyCArrayType_from_ctype. | Meador Inge | 2011-09-28 | 1 | -0/+1 |
| | | | | Thanks to Suman Saha for finding the bug and providing a patch. | ||||
* | Issue #12973: Fix itertools bug caused by signed integer overflow. Thanks ↵ | Mark Dickinson | 2011-09-24 | 1 | -1/+3 |
| | | | | Stefan Krah. | ||||
* | fix compiler compliant about \0 not being an opcode | Benjamin Peterson | 2011-09-23 | 1 | -6/+5 |
| | |||||
* | Close #13022: _multiprocessing.recvfd() doesn't check that file descriptor ↵ | Jesus Cea | 2011-09-21 | 1 | -0/+11 |
| | | | | was actually received | ||||
* | Issue #12483: ctypes: Fix a crash when the destruction of a callback | Amaury Forgeot d'Arc | 2011-09-12 | 1 | -0/+1 |
| | | | | object triggers the garbage collector. | ||||
* | Close #12950: multiprocessing "test_fd_transfer" fails under OpenIndiana | Jesus Cea | 2011-09-10 | 1 | -11/+23 |
| | |||||
* | cast to getter | Benjamin Peterson | 2011-09-06 | 1 | -1/+1 |
| | |||||
* | add a __dict__ descr for IOBase (closes #12878) | Benjamin Peterson | 2011-09-03 | 1 | -0/+14 |
| | |||||
* | Issue #12764: Fix a crash in ctypes when the name of a Structure field is not | Amaury Forgeot d'Arc | 2011-09-02 | 1 | -2/+15 |
| | | | | a string. | ||||
* | Issue #11241: subclasses of ctypes.Array can now be subclassed. | Amaury Forgeot d'Arc | 2011-08-30 | 1 | -40/+39 |
| | |||||
* | Issue #9651: Fix a crash when ctypes.create_string_buffer(0) was passed to | Amaury Forgeot d'Arc | 2011-08-30 | 1 | -2/+4 |
| | | | | some functions like file.write(). | ||||
* | Issue #12847: Fix a crash with negative PUT and LONG_BINPUT arguments in | Antoine Pitrou | 2011-08-29 | 1 | -1/+10 |
| | | | | the C pickle implementation. | ||||
* | Issue #11564: Avoid crashes when trying to pickle huge objects or containers | Antoine Pitrou | 2011-08-29 | 1 | -72/+103 |
| | | | | (more than 2**31 items). Instead, in most cases, an OverflowError is raised. | ||||
* | Issue #12287: Fix a stack corruption in ossaudiodev module when the FD is | Charles-François Natali | 2011-08-28 | 4 | -19/+11 |
| | | | | greater than FD_SETSIZE. | ||||
* | Issue #12839: Fix crash in zlib module due to version mismatch. | Nadeem Vawda | 2011-08-28 | 1 | -1/+7 |
| | | | | | | | | | If the version of zlib used to compile the zlib module is incompatible with the one that is actually linked in, then calls into zlib will fail. This can leave attributes of the z_stream uninitialized, so we must take care to avoid segfaulting by trying to use an invalid pointer. Fix by Richard M. Tew. | ||||
* | Issue #11657: Fix sending file descriptors over 255 over a multiprocessing Pipe. | Antoine Pitrou | 2011-08-23 | 1 | -2/+2 |
| | | | | Also added some tests. | ||||
* | Issue #12213: Fix a buffering bug with interleaved reads and writes that | Antoine Pitrou | 2011-08-20 | 1 | -59/+58 |
| | | | | could appear on BufferedRandom streams. | ||||
* | #12725: fix working. Patch by Ben Hayden. | Ezio Melotti | 2011-08-14 | 1 | -3/+3 |
| | |||||
* | Issue #12687: Fix a possible buffering bug when unpickling text mode ↵ | Antoine Pitrou | 2011-08-11 | 1 | -2/+1 |
| | | | | (protocol 0, mostly) pickles. | ||||
* | dosmodule is, thankfully, no more | Benjamin Peterson | 2011-08-04 | 1 | -2/+0 |
| | |||||
* | Issue #12607: In subprocess, fix issue where if stdin, stdout or stderr is | Ross Lagerwall | 2011-07-27 | 1 | -0/+7 |
| | | | | given as a low fd, it gets overwritten. | ||||
* | Issue #12591: Allow io.TextIOWrapper to work with raw IO objects (without | Antoine Pitrou | 2011-07-23 | 1 | -6/+14 |
| | | | | | a read1() method), and add an undocumented *write_through* parameter to mandate unbuffered writes. | ||||
* | - Issue #10309: Define _GNU_SOURCE so that mremap() gets the proper | Barry Warsaw | 2011-07-19 | 1 | -0/+5 |
| | | | | | signature. Without this, architectures where sizeof void* != sizeof int are broken. Patch given by Hallvard B Furuseth. | ||||
* | Issue #11321: Fix a crash with multiple imports of the _pickle module when | Antoine Pitrou | 2011-07-15 | 1 | -0/+2 |
| | | | | embedding Python. Patch by Andreas Stührk. | ||||
* | Raise ValueError when attempting to set the _CHUNK_SIZE attribute of a ↵ | Antoine Pitrou | 2011-07-13 | 1 | -1/+1 |
| | | | | TextIOWrapper to a huge value, not TypeError. | ||||
* | Issue #12440: When testing whether some bits in SSLContext.options can be | Antoine Pitrou | 2011-07-08 | 1 | -9/+25 |
| | | | | | reset, check the version of the OpenSSL headers Python was compiled against, rather than the runtime version of the OpenSSL library. | ||||
* | Issue #9611, #9015: FileIO.read() clamps the length to INT_MAX on Windows. | Victor Stinner | 2011-07-05 | 1 | -0/+8 |
| | |||||
* | Fix closes issue 11568 - update select.epoll.register docstring with mention ↵ | Senthil Kumaran | 2011-06-27 | 1 | -1/+1 |
| | | | | of correct behavior. | ||||
* | Issue 12404: Remove C89 incompatible code from mmap module. | Ross Lagerwall | 2011-06-25 | 1 | -1/+2 |
| | | | | Patch by Akira Kitada. | ||||
* | posixmodule.c: fix function name in argument parsing | Victor Stinner | 2011-06-17 | 1 | -22/+22 |
| | | | | | | Fix os.fchown() and os.open() Remove also trailing spaces and replace tabs by spaces. | ||||
* | Correct completely broken os.stat behavior on Windows XP. | Brian Curtin | 2011-06-14 | 1 | -10/+11 |
| | | | | | | | | | | | | After 1a3e8db28d49, Windows XP could not os.stat at all due to raising immediately when GetFinalPathNameByHandle wasn't available (pre-Vista). The proper behavior in that situation is to just not attempt a traversal rather than outright rejecting. This change additionally handles a failed malloc by setting the error code and returning false. Patch by Hirokazu Yamamoto. | ||||
* | branch merge? | Brian Curtin | 2011-06-13 | 1 | -0/+40 |
|\ | |||||
| * | 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 #12084. os.stat on Windows wasn't working properly with relative symlinks. | Brian Curtin | 2011-06-13 | 1 | -96/+143 |
|/ | | | | | | | | | | | 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). | ||||
* | Issue #12016: Reindent decoders of HK and JP codecs | Victor Stinner | 2011-06-03 | 2 | -51/+52 |
| | |||||
* | 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 |
| | | | |||||
* | | | be extra careful with a borrowed reference when the GIL could be released ↵ | Benjamin Peterson | 2011-06-01 | 1 | -0/+2 |
| | | | | | | | | | | | | (closes #8578) | ||||
* | | | 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 |
| | | |||||
* | | (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.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. | ||||
* | | (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. |