Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Small clean-up. Factor-out common code for add, contains, and discard ↵ | Raymond Hettinger | 2014-12-27 | 1 | -43/+27 |
| | | | | function pairs. | ||||
* | Issue #23107: Tighten-up loops in setobject.c | Raymond Hettinger | 2014-12-27 | 1 | -55/+46 |
| | | | | | | * Move the test for an exact key match to after a hash match * Use "used" as a loop counter instead of "fill" * Minor improvements to variable names and code consistency | ||||
* | Issue #22783: Pickling now uses the NEWOBJ opcode instead of the NEWOBJ_EX | Serhiy Storchaka | 2014-12-16 | 1 | -98/+62 |
| | | | | opcode if possible. | ||||
* | Issue #22581: Use more "bytes-like object" throughout the docs and comments. | Serhiy Storchaka | 2014-12-05 | 2 | -5/+4 |
|\ | |||||
| * | Issue #22581: Use more "bytes-like object" throughout the docs and comments. | Serhiy Storchaka | 2014-12-05 | 2 | -5/+4 |
| | | |||||
* | | Issue #20335: bytes constructor now raises TypeError when encoding or errors | Serhiy Storchaka | 2014-12-02 | 1 | -7/+7 |
|\ \ | |/ | | | | | is specified with non-string argument. Based on patch by Renaud Blanch. | ||||
| * | Issue #20335: bytes constructor now raises TypeError when encoding or errors | Serhiy Storchaka | 2014-12-02 | 1 | -7/+7 |
| | | | | | | | | is specified with non-string argument. Based on patch by Renaud Blanch. | ||||
* | | Issue #22975: Close block at right place. | Serhiy Storchaka | 2014-12-01 | 1 | -1/+1 |
|\ \ | |/ | |||||
| * | Issue #22975: Close block at right place. | Serhiy Storchaka | 2014-12-01 | 1 | -1/+1 |
| | | |||||
* | | merge 3.4 (#22954) | Benjamin Peterson | 2014-11-27 | 1 | -1/+1 |
|\ \ | |/ | |||||
| * | remove tautological condition (closes #22954) | Benjamin Peterson | 2014-11-27 | 1 | -1/+1 |
| | | |||||
* | | Issue #22869: Split pythonrun into two modules | Nick Coghlan | 2014-11-20 | 1 | -0/+16 |
| | | | | | | | | | | | | | | - interpreter startup and shutdown code moved to a new pylifecycle.c module - Py_OptimizeFlag moved into the new module with the other global flags | ||||
* | | Issue #20948: Inline makefmt() in unicode_fromformat_arg() | Victor Stinner | 2014-11-18 | 1 | -44/+9 |
| | | |||||
* | | Issue #22847: Improve method cache efficiency. | Antoine Pitrou | 2014-11-14 | 1 | -4/+36 |
| | | |||||
* | | Issue #22335: Fix crash when trying to enlarge a bytearray to 0x7fffffff ↵ | Antoine Pitrou | 2014-11-02 | 2 | -11/+18 |
|\ \ | |/ | | | | | bytes on a 32-bit platform. | ||||
| * | Issue #22335: Fix crash when trying to enlarge a bytearray to 0x7fffffff ↵ | Antoine Pitrou | 2014-11-02 | 2 | -11/+18 |
| | | | | | | | | bytes on a 32-bit platform. | ||||
* | | merge with 3.4 | Georg Brandl | 2014-10-31 | 1 | -2/+2 |
|\ \ | |/ | |||||
| * | Closes #22772: fix __ifloordiv__ and __itruediv__ docstring. | Georg Brandl | 2014-10-31 | 1 | -2/+2 |
| | | |||||
* | | Issue #22653: Fix an assertion failure in debug mode when doing a reentrant ↵ | Antoine Pitrou | 2014-10-17 | 1 | -3/+3 |
|\ \ | |/ | | | | | dict insertion in debug mode. | ||||
| * | Issue #22653: Fix an assertion failure in debug mode when doing a reentrant ↵ | Antoine Pitrou | 2014-10-17 | 1 | -3/+3 |
| | | | | | | | | dict insertion in debug mode. | ||||
| * | Merge 3.3 | Benjamin Peterson | 2014-10-16 | 1 | -1/+1 |
| |\ | |||||
| | * | Fixed signed/unsigned comparison warning | Antoine Pitrou | 2014-10-15 | 1 | -1/+1 |
| | | | |||||
* | | | Fixed signed/unsigned comparison warning | Antoine Pitrou | 2014-10-15 | 1 | -1/+1 |
| | | | |||||
* | | | merge 3.4 (closes #22643) | Benjamin Peterson | 2014-10-15 | 1 | -3/+2 |
|\ \ \ | |/ / | |||||
| * | | merge 3.3 | Benjamin Peterson | 2014-10-15 | 1 | -3/+2 |
| |\ \ | | |/ | |||||
| | * | it suffices to check for PY_SSIZE_T_MAX overflow (#22643) | Benjamin Peterson | 2014-10-15 | 1 | -3/+2 |
| | | | |||||
* | | | Merge 3.4 | Benjamin Peterson | 2014-10-15 | 1 | -1/+1 |
|\ \ \ | |/ / | |||||
| * | | Merge 3.3 | Benjamin Peterson | 2014-10-15 | 1 | -1/+1 |
| |\ \ | | |/ | |||||
| | * | make sure length is unsigned | Benjamin Peterson | 2014-10-15 | 1 | -1/+1 |
| | | | |||||
* | | | merge 3.4 (#22643) | Benjamin Peterson | 2014-10-15 | 1 | -0/+5 |
|\ \ \ | |/ / | |||||
| * | | merge 3.3 (#22643) | Benjamin Peterson | 2014-10-15 | 1 | -0/+5 |
| |\ \ | | |/ | |||||
| | * | fix integer overflow in unicode case operations (closes #22643) | Benjamin Peterson | 2014-10-15 | 1 | -0/+5 |
| | | | |||||
* | | | Issue #22615: Argument Clinic now supports the "type" argument for the | Larry Hastings | 2014-10-13 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | int converter. This permits using the int converter with enums and typedefs. | ||||
* | | | Issue #22604: Fix assertion error in debug mode when dividing a complex ↵ | Antoine Pitrou | 2014-10-10 | 1 | -2/+6 |
|\ \ \ | |/ / | | | | | | | number by (nan+0j). | ||||
| * | | Issue #22604: Fix assertion error in debug mode when dividing a complex ↵ | Antoine Pitrou | 2014-10-10 | 1 | -2/+6 |
| | | | | | | | | | | | | number by (nan+0j). | ||||
* | | | #16518: Bring error messages in harmony with docs ("bytes-like object") | R David Murray | 2014-10-05 | 6 | -14/+11 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Some time ago we changed the docs to consistently use the term 'bytes-like object' in all the contexts where bytes, bytearray, memoryview, etc are used. This patch (by Ezio Melotti) completes that work by changing the error messages that previously reported that certain types did "not support the buffer interface" to instead say that a bytes-like object is required. (The glossary entry for bytes-like object references the discussion of the buffer protocol in the docs.) | ||||
* | | | Closes #22540: speed up PyObject_IsInstance and PyObject_IsSubclass in the ↵ | Georg Brandl | 2014-10-03 | 1 | -0/+15 |
| | | | | | | | | | | | | common case that the second argument has metaclass "type". | ||||
* | | | Fix "warning: comparison between signed and unsigned integer expressions" | Gregory P. Smith | 2014-09-30 | 1 | -5/+5 |
| | | | | | | | | | | | | | | | | | | -Wsign-compare warnings in unicodeobject.c. These were all a result of sizeof() being unsigned and being compared to a Py_ssize_t. Not actual problems. | ||||
* | | | merge 3.4 (#22520) | Benjamin Peterson | 2014-09-30 | 1 | -11/+17 |
|\ \ \ | |/ / | |||||
| * | | merge 3.3 (#22520) | Benjamin Peterson | 2014-09-30 | 1 | -11/+17 |
| |\ \ | | |/ | |||||
| | * | prevent overflow in unicode_repr (closes #22520) | Benjamin Peterson | 2014-09-30 | 1 | -11/+17 |
| | | | |||||
* | | | merge 3.4 | Benjamin Peterson | 2014-09-29 | 1 | -1/+1 |
|\ \ \ | |/ / | |||||
| * | | merge 3.3 | Benjamin Peterson | 2014-09-29 | 1 | -1/+1 |
| |\ \ | | |/ | |||||
| | * | these variables ought to be Py_ssize_t | Benjamin Peterson | 2014-09-29 | 1 | -1/+1 |
| | | | |||||
* | | | merge 3.4 (#22519) | Benjamin Peterson | 2014-09-29 | 1 | -12/+16 |
|\ \ \ | |/ / | |||||
| * | | merge 3.3 (closes #22519) | Benjamin Peterson | 2014-09-29 | 1 | -12/+16 |
| |\ \ | | |/ | |||||
| | * | fix overflow checking in PyBytes_Repr (closes #22519) | Benjamin Peterson | 2014-09-29 | 1 | -12/+16 |
| | | | |||||
* | | | merge 3.4 (closes #22518) | Benjamin Peterson | 2014-09-29 | 1 | -17/+47 |
|\ \ \ | |/ / | |||||
| * | | merge 3.3 (closes #22518) | Benjamin Peterson | 2014-09-29 | 1 | -17/+47 |
| |\ \ | | |/ | |||||
| | * | cleanup overflowing handling in unicode_decode_call_errorhandler and ↵ | Benjamin Peterson | 2014-09-29 | 1 | -18/+56 |
| | | | | | | | | | | | | unicode_encode_ucs1 (closes #22518) |