Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Line missed in last checkin | Raymond Hettinger | 2015-02-28 | 1 | -1/+0 |
| | |||||
* | Since the index is always non-negative, use faster unsigned division and modulo. | Raymond Hettinger | 2015-02-27 | 1 | -3/+5 |
| | |||||
* | Bump the blocksize up from 62 to 64 to speed up the modulo calculation. | Raymond Hettinger | 2015-02-27 | 1 | -6/+3 |
| | | | | | | | | | Remove the old comment suggesting that it was desireable to have blocksize+2 as a multiple of the cache line length. That would have made sense only if the block structure start point was always aligned to a cache line boundary. However, the memory allocations are 16 byte aligned, so we don't really have control over whether the struct spills across cache line boundaries. | ||||
* | Silenced minor GCC warnings. | Serhiy Storchaka | 2015-02-26 | 3 | -2/+17 |
| | |||||
* | Issue #15955: Add an option to limit the output size in bz2.decompress(). | Antoine Pitrou | 2015-02-26 | 2 | -72/+224 |
| | | | | Patch by Nikolaus Rath. | ||||
* | Back-out wcstok deprecation suppression and updates calls to use wcstok_s. | Steve Dower | 2015-02-26 | 1 | -3/+3 |
| | |||||
* | Issue #23152: Move declarations back to posixmodule.c. | Serhiy Storchaka | 2015-02-22 | 1 | -0/+6 |
| | | | | | | | Declarations of Windows-specific auxilary functions need Windows types from windows.h. Instead of including windows.h in Python.h and making it available to all Windows users, it is simpler and safer just move declarations to the single file that needs them. | ||||
* | Issue #23152: Move declaration into a header and exclude from stable API. | Serhiy Storchaka | 2015-02-22 | 1 | -9/+0 |
| | |||||
* | Issue #23152: Renames time_t_to_FILE_TIME to _Py_time_t_to_FILE_TIME, ↵ | Steve Dower | 2015-02-21 | 1 | -22/+4 |
| | | | | removes unused struct win32_stat and return value | ||||
* | Issue #23152: Renames attribute_data_to_stat to _Py_attribute_data_to_stat | Steve Dower | 2015-02-21 | 1 | -3/+3 |
| | |||||
* | Issue #23152: Implement _Py_fstat() to support files larger than 2 GB on ↵ | Steve Dower | 2015-02-21 | 5 | -162/+53 |
| | | | | | | Windows. fstat() may fail with EOVERFLOW on files larger than 2 GB because the file size type is an signed 32-bit integer. | ||||
* | Issue #23215: Multibyte codecs with custom error handlers that ignores errors | Serhiy Storchaka | 2015-02-20 | 1 | -8/+11 |
|\ | | | | | | | | | consumed too much memory and raised SystemError or MemoryError. Original patch by Aleksi Torhamo. | ||||
| * | Issue #23215: Multibyte codecs with custom error handlers that ignores errors | Serhiy Storchaka | 2015-02-20 | 1 | -8/+11 |
| | | | | | | | | | | consumed too much memory and raised SystemError or MemoryError. Original patch by Aleksi Torhamo. | ||||
* | | Issue #5700: io.FileIO() called flush() after closing the file. | Serhiy Storchaka | 2015-02-20 | 1 | -7/+14 |
|\ \ | |/ | | | | | flush() was not called in close() if closefd=False. | ||||
| * | Issue #5700: io.FileIO() called flush() after closing the file. | Serhiy Storchaka | 2015-02-20 | 1 | -7/+14 |
| | | | | | | | | flush() was not called in close() if closefd=False. | ||||
| * | Shoould be Py_MIN, not Py_MAX. | Serhiy Storchaka | 2015-02-16 | 1 | -1/+1 |
| | | |||||
* | | Regenerated Argument Clinic checksums. | Serhiy Storchaka | 2015-02-20 | 4 | -7/+7 |
| | | |||||
* | | Improve struct cache locality by bring commonly accessed fields close together. | Raymond Hettinger | 2015-02-20 | 1 | -1/+1 |
| | | |||||
* | | Issue #22883: Got rid of outdated references to PyInt and PyString in comments. | Serhiy Storchaka | 2015-02-17 | 5 | -12/+9 |
| | | |||||
* | | Issue #23450: Fixed possible integer overflows. | Serhiy Storchaka | 2015-02-16 | 4 | -46/+60 |
| | | |||||
* | | Issue #23446: Use PyMem_New instead of PyMem_Malloc to avoid possible integer | Serhiy Storchaka | 2015-02-16 | 12 | -30/+40 |
|\ \ | |/ | | | | | overflows. Added few missed PyErr_NoMemory(). | ||||
| * | Issue #23446: Use PyMem_New instead of PyMem_Malloc to avoid possible integer | Serhiy Storchaka | 2015-02-16 | 12 | -30/+40 |
| | | | | | | | | overflows. Added few missed PyErr_NoMemory(). | ||||
* | | Fixed few compiler warnings. | Serhiy Storchaka | 2015-02-16 | 2 | -5/+4 |
| | | |||||
* | | Issue #23096: Pickle representation of floats with protocol 0 now is the same | Serhiy Storchaka | 2015-02-15 | 1 | -1/+1 |
| | | | | | | | | for both Python and C implementations. | ||||
* | | Issue #13637: Improve exception message of a2b_* functions. | Berker Peksag | 2015-02-14 | 1 | -2/+2 |
|\ \ | |/ | | | | | Patch by Vajrasky Kok. | ||||
| * | Issue #13637: Improve exception message of a2b_* functions. | Berker Peksag | 2015-02-14 | 1 | -2/+2 |
| | | | | | | | | Patch by Vajrasky Kok. | ||||
* | | Issue #23450: Fix signal.set_wakeup_fd() on Windows | Victor Stinner | 2015-02-12 | 1 | -11/+14 |
| | | | | | | | | Detect integer overflow on the file descriptor of the socket on 64-bit Python. | ||||
* | | Merge 3.4 (faulthandler) | Victor Stinner | 2015-02-11 | 1 | -4/+5 |
|\ \ | |/ | |||||
| * | Issue #23433: Fix faulthandler._stack_overflow() | Victor Stinner | 2015-02-11 | 1 | -4/+5 |
| | | | | | | | | | | Fix undefined behaviour: don't compare pointers. Use Py_uintptr_t type instead of void*. It fixes test_faulthandler on Fedora 22 which now uses GCC 5. | ||||
* | | Update copyright. | Raymond Hettinger | 2015-02-11 | 1 | -1/+1 |
| | | |||||
* | | merge 3.4 (#23361) | Benjamin Peterson | 2015-02-10 | 1 | -2/+12 |
|\ \ | |/ | |||||
| * | merge 3.3 (#23361) | Benjamin Peterson | 2015-02-10 | 1 | -2/+12 |
| |\ | |||||
| | * | add overflow checking (closes #23361) | Benjamin Peterson | 2015-02-10 | 1 | -2/+12 |
| | | | |||||
* | | | Issue #23285: PEP 475 -- Retry system calls failing with EINTR. | Charles-François Natali | 2015-02-07 | 3 | -308/+441 |
| | | | |||||
* | | | Issue #23392: Added tests for marshal C API that works with FILE*. | Serhiy Storchaka | 2015-02-06 | 1 | -0/+166 |
|\ \ \ | |/ / | |||||
| * | | Issue #23392: Added tests for marshal C API that works with FILE*. | Serhiy Storchaka | 2015-02-06 | 1 | -0/+166 |
| | | | |||||
* | | | Issue #14203: Temporary fix for the compile failure on Windows. | Stefan Krah | 2015-02-03 | 1 | -0/+4 |
| | | | |||||
* | | | Issue #14203: Remove obsolete support for view==NULL in bytesiobuf_getbuffer() | Stefan Krah | 2015-02-03 | 3 | -14/+36 |
| | | | | | | | | | | | | and array_buffer_getbuf(). | ||||
* | | | Issue #15381: Fixed a bug in BytesIO.write(). | Serhiy Storchaka | 2015-02-03 | 1 | -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 Krah | 2015-02-03 | 1 | -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 Storchaka | 2015-02-03 | 1 | -1/+3 |
| | | | | | | | | | | | | shared. | ||||
* | | | Issue #15381: Optimized io.BytesIO to make less allocations and copyings. | Serhiy Storchaka | 2015-02-03 | 1 | -186/+152 |
| | | | |||||
* | | | Issue #22818: Splitting on a pattern that could match an empty string now | Serhiy Storchaka | 2015-02-03 | 1 | -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 to | Serhiy Storchaka | 2015-02-03 | 1 | -0/+1 |
|\ \ \ | |/ / | | | | | | | prevent corrupting exported buffer. | ||||
| * | | Issue #23099: Closing io.BytesIO with exported buffer is rejected now to | Serhiy Storchaka | 2015-02-03 | 1 | -0/+1 |
| | | | | | | | | | | | | prevent corrupting exported buffer. | ||||
* | | | Issues #23363, #23364, #23365, #23366: Fixed itertools overflow tests. | Serhiy Storchaka | 2015-02-02 | 1 | -20/+6 |
|\ \ \ | |/ / | | | | | | | Used PyMem_New to check overflow. | ||||
| * | | Issues #23363, #23364, #23365, #23366: Fixed itertools overflow tests. | Serhiy Storchaka | 2015-02-02 | 1 | -20/+6 |
| |\ \ | | |/ | | | | | | | Used PyMem_New to check overflow. | ||||
| | * | Issues #23363, #23364, #23365, #23366: Fixed itertools overflow tests. | Serhiy Storchaka | 2015-02-02 | 1 | -20/+6 |
| | | | | | | | | | | | | Used PyMem_New to check overflow. | ||||
* | | | Issue #22896: Avoid to use PyObject_AsCharBuffer(), PyObject_AsReadBuffer() | Serhiy Storchaka | 2015-02-02 | 6 | -59/+79 |
|\ \ \ | |/ / | | | | | | | and PyObject_AsWriteBuffer(). | ||||
| * | | Issue #22896: Avoid to use PyObject_AsCharBuffer(), PyObject_AsReadBuffer() | Serhiy Storchaka | 2015-02-02 | 6 | -59/+79 |
| | | | | | | | | | | | | and PyObject_AsWriteBuffer(). |