Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | 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. | ||||
| * | 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. | ||||
* | | (Merge 3.1) Issue #12124: zipimport doesn't keep a reference to | Victor Stinner | 2011-05-19 | 1 | -24/+23 |
|\ \ | |/ | | | | | zlib.decompress() anymore to be able to unload the module. | ||||
| * | Issue #12124: zipimport doesn't keep a reference to zlib.decompress() anymore | Victor Stinner | 2011-05-19 | 1 | -24/+23 |
| | | | | | | | | to be able to unload the module. | ||||
| * | Issue #10756: atexit normalizes the exception before displaying it. Patch by | Victor Stinner | 2011-05-15 | 1 | -0/+1 |
| | | | | | | | | | | | | Andreas Stührk. Backport a fix already applied to Python 3.2+ (4a82be47a948 + 5060a92a8597). | ||||
* | | (Merge 3.1) Issue #12060: Use sig_atomic_t type and volatile keyword in the | Victor Stinner | 2011-05-15 | 1 | -3/+3 |
|\ \ | |/ | | | | | signal module. Patch written by Charles-François Natali. | ||||
| * | Issue #12060: Use sig_atomic_t type and volatile keyword in the signal module. | Victor Stinner | 2011-05-15 | 1 | -3/+3 |
| | | | | | | | | Patch written by Charles-François Natali. | ||||
* | | Merge: #8650: Make zlib.[de]compressobj().[de]compress() 64-bit clean. | Nadeem Vawda | 2011-05-14 | 1 | -14/+23 |
|\ \ | |/ | | | | | | | Raise an OverflowError if the input data is too large, instead of silently truncating the input and returning an incorrect result. | ||||
| * | Issue #8650: Make zlib.[de]compressobj().[de]compress() 64-bit clean. | Nadeem Vawda | 2011-05-14 | 1 | -14/+23 |
| | | | | | | | | | | Raise an OverflowError if the input data is too large, instead of silently truncating the input and returning an incorrect result. | ||||
| * | Issue #8650: Backport 64-bit safety fixes for compress() and decompress(). | Nadeem Vawda | 2011-05-14 | 1 | -10/+21 |
| | | |||||
* | | Fix memory leaks in zlib.compress() and .decompress(). | Nadeem Vawda | 2011-05-14 | 1 | -14/+11 |
| | | | | | | | | Also, make sure that test_zlib tests decompress() for overly-large inputs. |