summaryrefslogtreecommitdiffstats
path: root/Modules
Commit message (Collapse)AuthorAgeFilesLines
* Issue #23285: PEP 475 -- Retry system calls failing with EINTR.Charles-François Natali2015-02-073-308/+441
|
* Issue #23392: Added tests for marshal C API that works with FILE*.Serhiy Storchaka2015-02-061-0/+166
|\
| * Issue #23392: Added tests for marshal C API that works with FILE*.Serhiy Storchaka2015-02-061-0/+166
| |
* | Issue #14203: Temporary fix for the compile failure on Windows.Stefan Krah2015-02-031-0/+4
| |
* | Issue #14203: Remove obsolete support for view==NULL in bytesiobuf_getbuffer()Stefan Krah2015-02-033-14/+36
| | | | | | | | and array_buffer_getbuf().
* | Issue #15381: Fixed a bug in BytesIO.write().Serhiy Storchaka2015-02-031-9/+10
| | | | | | | | | | | | It was expected that string_size == PyBytes_GET_SIZE(buf) if the buffer is shared, but truncate() and __setstate__() can set string_size without unsharing the buffer.
* | Issue #14203: Remove obsolete support for view==NULL in PyBuffer_FillInfo()Stefan Krah2015-02-031-0/+34
| | | | | | | | | | and bytearray_getbuffer(). Both functions now raise BufferError in that case.
* | Issue #15381: Try to fix refcount bug. Empty and 1-byte buffers are always ↵Serhiy Storchaka2015-02-031-1/+3
| | | | | | | | shared.
* | Issue #15381: Optimized io.BytesIO to make less allocations and copyings.Serhiy Storchaka2015-02-031-186/+152
| |
* | Issue #22818: Splitting on a pattern that could match an empty string nowSerhiy Storchaka2015-02-031-0/+13
| | | | | | | | | | raises a warning. Patterns that can only match empty strings are now rejected.
* | Issue #23099: Closing io.BytesIO with exported buffer is rejected now toSerhiy Storchaka2015-02-031-0/+1
|\ \ | |/ | | | | prevent corrupting exported buffer.
| * Issue #23099: Closing io.BytesIO with exported buffer is rejected now toSerhiy Storchaka2015-02-031-0/+1
| | | | | | | | prevent corrupting exported buffer.
* | Issues #23363, #23364, #23365, #23366: Fixed itertools overflow tests.Serhiy Storchaka2015-02-021-20/+6
|\ \ | |/ | | | | Used PyMem_New to check overflow.
| * Issues #23363, #23364, #23365, #23366: Fixed itertools overflow tests.Serhiy Storchaka2015-02-021-20/+6
| |\ | | | | | | | | | Used PyMem_New to check overflow.
| | * Issues #23363, #23364, #23365, #23366: Fixed itertools overflow tests.Serhiy Storchaka2015-02-021-20/+6
| | | | | | | | | | | | Used PyMem_New to check overflow.
* | | Issue #22896: Avoid to use PyObject_AsCharBuffer(), PyObject_AsReadBuffer()Serhiy Storchaka2015-02-026-59/+79
|\ \ \ | |/ / | | | | | | and PyObject_AsWriteBuffer().
| * | Issue #22896: Avoid to use PyObject_AsCharBuffer(), PyObject_AsReadBuffer()Serhiy Storchaka2015-02-026-59/+79
| | | | | | | | | | | | and PyObject_AsWriteBuffer().
* | | Optimization guides suggest copying memory in an ascending direction when ↵Raymond Hettinger2015-02-021-3/+3
| | | | | | | | | | | | possible.
* | | merge 3.4 (#23364, #23363)Benjamin Peterson2015-02-021-2/+16
|\ \ \ | |/ /
| * | merge 3.3 (#23364, #23363)Benjamin Peterson2015-02-021-2/+16
| |\ \ | | |/
| | * check for overflows in permutations() and product() (closes #23363, closes ↵Benjamin Peterson2015-02-021-2/+16
| | | | | | | | | | | | #23364)
* | | merge 3.4 (#23365)Benjamin Peterson2015-02-021-0/+4
|\ \ \ | |/ /
| * | merge 3.3 (#23365)Benjamin Peterson2015-02-021-0/+4
| |\ \ | | |/
| | * check for overflow in combinations_with_replacement (closes #23365)Benjamin Peterson2015-02-021-0/+4
| | |
* | | merge 3.4 (#23366)Benjamin Peterson2015-02-021-0/+4
|\ \ \ | |/ /
| * | merge 3.3 (#23366)Benjamin Peterson2015-02-021-0/+4
| |\ \ | | |/
| | * detect overflow in combinations (closes #23366)Benjamin Peterson2015-02-021-0/+4
| | |
* | | merge 3.4 (#23369)Benjamin Peterson2015-02-011-4/+11
|\ \ \ | |/ /
| * | merge 3.3 (#23369)Benjamin Peterson2015-02-011-4/+11
| |\ \ | | |/
| | * fix possible overflow in encode_basestring_ascii (closes #23369)Benjamin Peterson2015-02-011-4/+11
| | |
* | | Merge from 3.4.Stefan Krah2015-02-011-0/+51
|\ \ \ | |/ /
| * | Issue #23370: Fix off-by-one error for non-contiguous buffers.Stefan Krah2015-02-011-0/+51
| | |
* | | Issue #22445: PyBuffer_IsContiguous() now implements precise contiguityStefan Krah2015-02-011-17/+36
| | | | | | | | | | | | | | | tests, compatible with NumPy's NPY_RELAXED_STRIDES_CHECKING compilation flag. Previously the function reported false negatives for corner cases.
* | | Always #define _PyLong_FromDev as we always need it to compile rather thanGregory P. Smith2015-01-291-8/+8
|\ \ \ | |/ / | | | | | | | | | | | | | | | only defining it when HAVE_MKNOD && HAVE_MAKEDEV are true. This "oops" issue reported by John E. Malmberg on core-mentorship. (what kinds of systems don't HAVE_MKNOD && HAVE_MAKEDEV?)
| * | Always #define _PyLong_FromDev as we always need it to compile rather thanGregory P. Smith2015-01-291-8/+8
| | | | | | | | | | | | | | | | | | | | | only defining it when HAVE_MKNOD && HAVE_MAKEDEV are true. This "oops" issue reported by John E. Malmberg on core-mentorship. (what kinds of systems don't HAVE_MKNOD && HAVE_MAKEDEV?)
* | | ifdef our way to compatibility with old openssl (closes #23335)Benjamin Peterson2015-01-281-1/+1
| | |
* | | disable ALPN on LibreSSL, which has a large version number, but not ALPN ↵Benjamin Peterson2015-01-271-1/+1
| | | | | | | | | | | | support (closes #23329)
* | | Merge 3.4 (asyncio)Victor Stinner2015-01-261-0/+3
|\ \ \ | |/ /
| * | asyncio, _overlapped.ConnectPipe(): release the GILVictor Stinner2015-01-261-0/+3
| | |
* | | Merge 3.4 (asyncio)Victor Stinner2015-01-261-2/+2
|\ \ \ | |/ /
| * | asyncio, Tulip issue 204: Fix IocpProactor.recv()Victor Stinner2015-01-261-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | If ReadFile() fails with ERROR_BROKEN_PIPE, the operation is not pending: don't register the overlapped. I don't know if WSARecv() can fail with ERROR_BROKEN_PIPE. Since Overlapped.WSARecv() already handled ERROR_BROKEN_PIPE, let me guess that it has the same behaviour than ReadFile().
* | | Issue #19361: JSON decoder now raises JSONDecodeError instead of ValueError.Serhiy Storchaka2015-01-261-11/+10
| | |
* | | Closes #23253: Delay-load ShellExecuteSteve Dower2015-01-241-4/+43
| | |
* | | prefer server alpn ordering over the client'sBenjamin Peterson2015-01-231-13/+20
| | |
* | | add support for ALPN (closes #20188)Benjamin Peterson2015-01-231-22/+110
| | |
* | | Merge 3.4 (asyncio)Victor Stinner2015-01-221-2/+2
|\ \ \ | |/ /
| * | asyncio, Tulip issue 204: Fix IocpProactor.accept_pipe()Victor Stinner2015-01-221-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | Overlapped.ConnectNamedPipe() now returns a boolean: True if the pipe is connected (if ConnectNamedPipe() failed with ERROR_PIPE_CONNECTED), False if the connection is in progress. This change removes multiple hacks in IocpProactor.
* | | Merge 3.4 (asyncio)Victor Stinner2015-01-221-93/+22
|\ \ \ | |/ /
| * | Issue #23293, asyncio: Rewrite IocpProactor.connect_pipe()Victor Stinner2015-01-221-93/+22
| | | | | | | | | | | | | | | | | | | | | | | | Add _overlapped.ConnectPipe() which tries to connect to the pipe for asynchronous I/O (overlapped): call CreateFile() in a loop until it doesn't fail with ERROR_PIPE_BUSY. Use an increasing delay between 1 ms and 100 ms. Remove Overlapped.WaitNamedPipeAndConnect() which is no more used.
* | | Merge 3.4 (asyncio)Victor Stinner2015-01-211-0/+25
|\ \ \ | |/ /