Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Restore the data block size to 62. | Raymond Hettinger | 2013-07-28 | 1 | -3/+6 |
| | | | | | | | | | | | | The former block size traded away good fit within cache lines in order to gain faster division in deque_item(). However, compilers are getting smarter and can now replace the slow division operation with a fast integer multiply and right shift. Accordingly, it makes sense to go back to a size that lets blocks neatly fill entire cache-lines. GCC-4.8 and CLANG 4.0 both compute "x // 62" with something roughly equivalent to "x * 9520900167075897609 >> 69". | ||||
* | Issue #18513: Add workaround for OS X 10.8 cexp bug that leads to wrong ↵ | Raymond Hettinger | 2013-07-20 | 1 | -0/+7 |
| | | | | cmath.rect(0.0,-0.0) results. | ||||
* | Backport c952f3d122ae: Tweak the deque struct by moving the least used fields | Raymond Hettinger | 2013-07-16 | 1 | -1/+1 |
| | | | | (maxlen and weakref) to the end. | ||||
* | Move the leftlink to the end of the block structure. | Raymond Hettinger | 2013-07-16 | 1 | -1/+1 |
| | | | | | | | | | | | | The current pattern of memory access will update both the leftlink and rightlink at the same time, so they should be positioned side-by-side for better cache locality. Keeping the leftlink at the front of the structure would make sense only if the paired updates were eliminated by backporting changesets 49a9c734304d, 3555cc0ca35b, ae9ee46bd471, and 744dd749e25b. However, that isn't likely to happen, so we're better off with the leftlink at the end of the structure. | ||||
* | Issue #18101: Tcl.split() now process Unicode strings nested in a tuple as it | Serhiy Storchaka | 2013-07-11 | 1 | -0/+27 |
| | | | | | | do with byte strings. Added tests for Tcl.split() and tcl.splitline(). | ||||
* | Issue #17097: Make multiprocessing ignore EINTR. | Richard Oudkerk | 2013-07-01 | 1 | -9/+48 |
| | |||||
* | reapply f1dc30a1be72 | Benjamin Peterson | 2013-06-25 | 1 | -1/+1 |
| | |||||
* | reapply 5accb0ac8bfb | Benjamin Peterson | 2013-06-25 | 1 | -11/+7 |
| | |||||
* | reapply f1dc30a1be72 | Benjamin Peterson | 2013-06-25 | 1 | -1/+1 |
| | |||||
* | reapply f1dc30a1be72 | Benjamin Peterson | 2013-06-25 | 1 | -1/+1 |
| | |||||
* | Issue #18135: ssl.SSLSocket.write() now raises an OverflowError if the input | Victor Stinner | 2013-06-24 | 1 | -6/+7 |
| | | | | | string in longer than 2 gigabytes. The ssl module does not support partial write. | ||||
* | also backout f1dc30a1be72 for not being a bugfix | Benjamin Peterson | 2013-06-23 | 1 | -1/+1 |
| | |||||
* | Issue #18135: Fix a possible integer overflow in ssl.SSLSocket.write() | Victor Stinner | 2013-06-23 | 1 | -1/+6 |
| | | | | for strings longer than 2 gigabytes. | ||||
* | backout 5accb0ac8bfb; needs more discussion on python-dev | Benjamin Peterson | 2013-06-22 | 1 | -7/+11 |
| | |||||
* | #18113: avoid segfault if Py_XDECREF triggers code that calls ↵ | Andrew Kuchling | 2013-06-22 | 1 | -3/+8 |
| | | | | | | set_panel_userptr again Problem noted & original patch by Serhiy Storchaka; I tweaked the patch a bit. | ||||
* | Arrange structure to match the common access patterns. | Raymond Hettinger | 2013-06-22 | 1 | -1/+1 |
| | |||||
* | Fix for r84195: add HAVE_ALLOCA_H to configure and only include alloca.h if ↵ | Christian Heimes | 2013-06-18 | 1 | -0/+3 |
| | | | | it's available | ||||
* | ctypes: AIX needs an explicit #include <alloca.h> to get alloca() | Victor Stinner | 2013-06-17 | 1 | -0/+1 |
| | |||||
* | #18113: Objects associated to a curses.panel object with set_userptr() were ↵ | Andrew Kuchling | 2013-06-15 | 1 | -0/+4 |
| | | | | | | leaked. Reported by Atsuo Ishimoto. | ||||
* | Fix comment blocks. Adjust blocksize to a power-of-two for better divmod ↵ | Raymond Hettinger | 2013-06-14 | 1 | -11/+7 |
| | | | | computations. | ||||
* | Ensure that the fix for #17269 also works on OSX 10.4 | Ronald Oussoren | 2013-06-10 | 1 | -1/+1 |
| | | | | AI_NUMERICSERV isn't defined on OSX 10.4. | ||||
* | Issue #17269: Workaround for a platform bug in getaddrinfo on OSX | Ronald Oussoren | 2013-05-24 | 1 | -0/+9 |
| | | | | | Without this patch socket.getaddrinfo crashed when called with some unusual argument combinations. | ||||
* | Issue #17979: Fixed the re module in build with --disable-unicode. | Serhiy Storchaka | 2013-05-21 | 1 | -2/+2 |
| | |||||
* | - Fix typos in the multiprocessing module. | doko@ubuntu.com | 2013-05-15 | 1 | -1/+1 |
| | |||||
* | #16523: improve attrgetter/itemgetter/methodcaller documentation. | Ezio Melotti | 2013-05-08 | 1 | -7/+7 |
| | |||||
* | Issue #17928: Fix test_structmembers on 64-bit big-endian machines. | Antoine Pitrou | 2013-05-08 | 1 | -1/+1 |
| | | | | (_testcapi isn't Py_ssize_t-clean, the "s#" code should use an int for length) | ||||
* | Issue #17926: Fix dbm.__contains__ on 64-bit big-endian machines. | Antoine Pitrou | 2013-05-07 | 1 | -3/+5 |
| | |||||
* | Issue #17289: The readline module now plays nicer with external modules or ↵ | Antoine Pitrou | 2013-05-06 | 1 | -8/+19 |
| | | | | | | applications changing the rl_completer_word_break_characters global variable. Initial patch by Bradley Froehle. | ||||
* | Issue #12181: select module: Fix struct kevent definition on OpenBSD 64-bit | Charles-Francois Natali | 2013-05-06 | 1 | -7/+28 |
| | | | | platforms. Patch by Federico Schwindt. | ||||
* | Issue #14173: Avoid crashing when reading a signal handler during ↵ | Antoine Pitrou | 2013-05-04 | 1 | -3/+11 |
| | | | | interpreter shutdown. | ||||
* | This local change was lost during the fixing of issue17192 to update | Gregory P. Smith | 2013-04-30 | 1 | -0/+5 |
| | | | | | libffi to 3.0.13. (i'm not sure if it is needed anymore but see issue 10309 for details which makes no mention of upstream) | ||||
* | Issue #17857: Prevent build failures with pre-3.5.0 versions of sqlite3, | Serhiy Storchaka | 2013-04-28 | 3 | -7/+7 |
| | | | | | | | such as was shipped with Centos 5 and Mac OS X 10.4. This bug was already fixed in issue14572 for 2.7 only and then it was backported back from 3.3 in issue17073. | ||||
* | Issue #17710: Fix cPickle raising a SystemError on bogus input. | Antoine Pitrou | 2013-04-15 | 1 | -4/+6 |
| | |||||
* | Issue #17016: Get rid of possible pointer wraparounds and integer overflows | Serhiy Storchaka | 2013-04-13 | 1 | -11/+11 |
| | | | | in the re module. Patch by Nickolai Zeldovich. | ||||
* | - Issue #17682: Add the _io module to Modules/Setup.dist (commented out). | doko@ubuntu.com | 2013-04-09 | 1 | -0/+3 |
| | |||||
* | - Issue #13150, #17512: sysconfig no longer parses the Makefile and config.h | doko@ubuntu.com | 2013-04-08 | 1 | -4/+19 |
| | | | | | files when imported, instead doing it at build time. This makes importing sysconfig faster and reduces Python startup time by 20%. | ||||
* | Issue #17662: fix socketmodule compilation with Setup.dist. | Kristjan Valur Jonsson | 2013-04-08 | 1 | -1/+1 |
| | | | | Patch contributed by Bohuslav "Slavek" Kabrda (bkabrda) | ||||
* | Revert a premature patch for issue #14010 (changeset d17d10c84d27). | Serhiy Storchaka | 2013-04-06 | 1 | -65/+10 |
| | |||||
* | Issue #14010: Fix a crash when iterating or deleting deeply nested filters | Serhiy Storchaka | 2013-04-06 | 1 | -10/+65 |
| | | | | in itertools module (i.e. itertools.izip(), itertools.chain(), etc). | ||||
* | always allow -1 as a uid | Benjamin Peterson | 2013-03-23 | 1 | -4/+0 |
| | |||||
* | undo PyInt -> PyLong change; that was wrong | Benjamin Peterson | 2013-03-23 | 1 | -2/+2 |
| | |||||
* | return int instead long when possible (#17531) | Benjamin Peterson | 2013-03-23 | 1 | -2/+2 |
| | |||||
* | Issue #10212: Support new buffer interface for struct.unpack and | Kristján Valur Jónsson | 2013-03-20 | 2 | -34/+44 |
| | | | | cStringIO | ||||
* | Issue #10296 : Don't handle BreakPoint exceptions using | Kristján Valur Jónsson | 2013-03-19 | 1 | -0/+5 |
| | | | | Structured Exception Handling on windows. | ||||
* | - Issue #17477: Update the bsddb module to pybsddb 5.3.0, supporting | doko@ubuntu.com | 2013-03-19 | 2 | -393/+745 |
| | | | | db-5.x, and dropping support for db-4.1 and db-4.2. | ||||
* | issue #9090 : Take the same approach for socketmodule as daytimemodule | Kristján Valur Jónsson | 2013-03-19 | 2 | -24/+5 |
| | | | | | when it needs support from timemodule (which is a .so on linux): link in timemodule.c for the required functions. | ||||
* | #8862: Fix curses cleanup with getchar is interrupted by a signal. | R David Murray | 2013-03-19 | 1 | -1/+3 |
| | | | | | | I have no idea how one would write a test for this. Patch by July Tikhonov. | ||||
* | issue #9090 : Limit the fix to windows since getting a portable simple | Kristján Valur Jónsson | 2013-03-19 | 1 | -1/+20 |
| | | | | time function on non-windows isn't quite simple. | ||||
* | Issue #9090 : Error code 10035 calling socket.recv() on a socket with a timeout | Kristján Valur Jónsson | 2013-03-19 | 2 | -15/+96 |
| | | | | | (WSAEWOULDBLOCK - A non-blocking socket operation could not be completed immediately) | ||||
* | Fixes issue #17192: Update the ctypes module's libffi to v3.0.13. This | Gregory P. Smith | 2013-03-18 | 241 | -8021/+34714 |
| | | | | | specifically addresses a stack misalignment issue on x86 and issues on some more recent platforms. |