Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Issue #21193: Make (e.g.,) pow(2, -3, 5) raise ValueError rather than ↵ | Mark Dickinson | 2014-04-11 | 1 | -1/+1 |
| | | | | TypeError. Patch by Josh Rosenberg. | ||||
* | PEP 465: a dedicated infix operator for matrix multiplication (closes #21176) | Benjamin Peterson | 2014-04-10 | 3 | -0/+26 |
| | |||||
* | Issue #21118: PyLong_AS_LONG() result type is long | Victor Stinner | 2014-04-08 | 1 | -1/+1 |
| | | | | Even if PyLong_AS_LONG() cannot fail, I prefer to use the right type. | ||||
* | fix reference leaks in the translate fast path (closes #21175) | Benjamin Peterson | 2014-04-08 | 1 | -14/+8 |
| | | | | Patch by Josh Rosenberg. | ||||
* | Issue #21118: Optimize also str.translate() for ASCII => ASCII deletion | Victor Stinner | 2014-04-05 | 1 | -19/+29 |
| | |||||
* | Issue #21118: Add unit test for invalid character replacement (code point ↵ | Victor Stinner | 2014-04-05 | 1 | -10/+10 |
| | | | | higher than U+10ffff) | ||||
* | Issue #21118: Optimize str.translate() for ASCII => ASCII translation | Victor Stinner | 2014-04-05 | 1 | -1/+120 |
| | |||||
* | Issue #21118: Remove unused variable | Victor Stinner | 2014-04-04 | 1 | -1/+0 |
| | |||||
* | Issue #21118: Use _PyUnicodeWriter API in str.translate() to simplify and | Victor Stinner | 2014-04-04 | 1 | -171/+95 |
| | | | | factorize the code | ||||
* | Issue #21118: Fix _PyUnicodeTranslateError_Create(), add missing format | Victor Stinner | 2014-04-04 | 1 | -1/+1 |
| | | | | character for the "end" parameter | ||||
* | merge 3.4 (#21134) | Benjamin Peterson | 2014-04-02 | 1 | -0/+12 |
|\ | |||||
| * | bail in unicode error's __str__ methods if the objects are not properly ↵ | Benjamin Peterson | 2014-04-02 | 1 | -0/+12 |
| | | | | | | | | initialized (closes #21134) | ||||
* | | Issue #21073: explain why Py_ReprEnter() allows for a missing thread state. | Antoine Pitrou | 2014-03-31 | 1 | -0/+2 |
|\ \ | |/ | |||||
| * | Issue #21073: explain why Py_ReprEnter() allows for a missing thread state. | Antoine Pitrou | 2014-03-31 | 1 | -0/+2 |
| | | |||||
* | | merge 3.4 | Benjamin Peterson | 2014-03-30 | 1 | -19/+19 |
|\ \ | |/ | |||||
| * | merge 3.3 | Benjamin Peterson | 2014-03-30 | 1 | -19/+19 |
| |\ | |||||
| | * | merge 3.2 | Benjamin Peterson | 2014-03-30 | 1 | -19/+19 |
| | |\ | |||||
| | | * | fix expandtabs overflow detection to be consistent and not rely on signed ↵ | Benjamin Peterson | 2014-03-30 | 1 | -19/+19 |
| | | | | | | | | | | | | | | | | overflow | ||||
| | | * | #17296: backport fix for issue 1692335, naive exception pickling. | R David Murray | 2013-02-27 | 1 | -1/+10 |
| | | | | |||||
* | | | | Issue19995: more informative error message; spelling corrections; use ↵ | Ethan Furman | 2014-03-21 | 1 | -5/+20 |
| | | | | | | | | | | | | | | | | operator.mod instead of __mod__ | ||||
* | | | | Issue19995: passing a non-int to %o, %c, %x, or %X now raises an exception | Ethan Furman | 2014-03-19 | 1 | -26/+2 |
| | | | | |||||
* | | | | Issue #20574: Implement incremental decoder for cp65001 code | Victor Stinner | 2014-03-17 | 1 | -32/+9 |
|/ / / | | | | | | | | | | (Windows code page 65001, Microsoft UTF-8). | ||||
* | | | correct the fix for #20637; allow slot descriptor inheritance to take place ↵ | Benjamin Peterson | 2014-03-17 | 1 | -9/+8 |
| | | | | | | | | | | | | before creating cached keys | ||||
* | | | merge 3.3 | Benjamin Peterson | 2014-03-15 | 1 | -1/+1 |
|\ \ \ | |/ / | |||||
| * | | avoid referencing past the bounds of an array | Benjamin Peterson | 2014-03-15 | 1 | -1/+1 |
| | | | |||||
* | | | merge 3.3 | Benjamin Peterson | 2014-03-15 | 2 | -2/+3 |
|\ \ \ | |/ / | |||||
| * | | avoid referencing out-of-bounds memory | Benjamin Peterson | 2014-03-15 | 1 | -1/+1 |
| | | | |||||
| * | | fix c89 declaration order | Benjamin Peterson | 2014-03-15 | 1 | -1/+2 |
| | | | |||||
* | | | merge 3.3 | Benjamin Peterson | 2014-03-15 | 1 | -1/+2 |
|\ \ \ | |/ / | |||||
| * | | don't do pointer arithmetic with signed numbers | Benjamin Peterson | 2014-03-15 | 1 | -1/+2 |
| | | | |||||
* | | | Make the various iterators' "setstate" sliently and consistently clip the | Kristján Valur Jónsson | 2014-03-05 | 6 | -15/+52 |
|\ \ \ | |/ / | | | | | | | | | | index. This avoids the possibility of setting an iterator to an invalid state. | ||||
| * | | Make the various iterators' "setstate" sliently and consistently clip the | Kristján Valur Jónsson | 2014-03-05 | 6 | -15/+52 |
| | | | | | | | | | | | | | | | index. This avoids the possibility of setting an iterator to an invalid state. | ||||
* | | | Merge with 3.3 | Kristján Valur Jónsson | 2014-03-04 | 1 | -1/+1 |
|\ \ \ | |/ / | |||||
| * | | Fix pickling of rangeiter. rangeiter_setstate would not allow setting it | Kristján Valur Jónsson | 2014-03-04 | 1 | -1/+1 |
| | | | | | | | | | | | | to the exhausted state. | ||||
| * | | Issue #19619: Blacklist non-text codecs in method API | Serhiy Storchaka | 2014-02-24 | 1 | -2/+2 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | str.encode, bytes.decode and bytearray.decode now use an internal API to throw LookupError for known non-text encodings, rather than attempting the encoding or decoding operation and then throwing a TypeError for an unexpected output type. The latter mechanism remains in place for third party non-text encodings. Backported changeset d68df99d7a57. | ||||
* | | | Issue #20786: Fix signatures for dict.__delitem__ and property.__delete__ | Yury Selivanov | 2014-03-02 | 1 | -2/+2 |
| | | | |||||
* | | | Issue #20637: Key-sharing now also works for instance dictionaries of ↵ | Antoine Pitrou | 2014-02-23 | 1 | -0/+3 |
| | | | | | | | | | | | | subclasses. Patch by Peter Ingebretson. | ||||
* | | | look up __getnewargs__ and __getnewargs_ex__ on the object type (#16251) | Benjamin Peterson | 2014-02-16 | 1 | -12/+6 |
| | | | |||||
* | | | merge 3.3 (#20507) | Benjamin Peterson | 2014-02-15 | 1 | -1/+1 |
|\ \ \ | |/ / | |||||
| * | | give non-iterable TypeError a message (closes #20507) | Benjamin Peterson | 2014-02-15 | 1 | -1/+1 |
| | | | |||||
* | | | Issue #19255: Clear error after failed PyDict_SetItem() on shutdown. | Serhiy Storchaka | 2014-02-12 | 1 | -2/+4 |
|\ \ \ | |/ / | | | | | | | This silences a Coverity complain. | ||||
| * | | Issue #19255: Clear error after failed PyDict_SetItem() on shutdown. | Serhiy Storchaka | 2014-02-12 | 1 | -2/+4 |
| | | | | | | | | | | | | This silences a Coverity complain. | ||||
* | | | Issue #19255: The builtins module is restored to initial value before | Serhiy Storchaka | 2014-02-10 | 1 | -5/+8 |
| | | | | | | | | | | | | cleaning other modules. The sys and builtins modules are cleaned last. | ||||
* | | | Issue #20517: Removed unnecessary new (short-lived) functions from PyErr. | Larry Hastings | 2014-02-10 | 1 | -2/+2 |
| | | | |||||
* | | | Issue #20530: The signatures for slot builtins have been updated | Larry Hastings | 2014-02-10 | 1 | -42/+42 |
| | | | | | | | | | | | | to reflect the fact that they only accept positional-only arguments. | ||||
* | | | Issue #20517: Functions in the os module that accept two filenames | Larry Hastings | 2014-02-10 | 1 | -33/+86 |
| | | | | | | | | | | | | | | | | | | now register both filenames in the exception on failure. This required adding new C API functions allowing OSError exceptions to reference two filenames instead of one. | ||||
* | | | Issue #20437: Fixed 22 potential bugs when deleting objects references. | Serhiy Storchaka | 2014-02-09 | 2 | -14/+7 |
|\ \ \ | |/ / | |||||
| * | | Issue #20437: Fixed 21 potential bugs when deleting objects references. | Serhiy Storchaka | 2014-02-09 | 3 | -14/+7 |
| | | | |||||
* | | | Issue #20530: Argument Clinic's signature format has been revised again. | Larry Hastings | 2014-02-09 | 5 | -92/+131 |
| | | | | | | | | | | | | | | | | | | | | | The new syntax is highly human readable while still preventing false positives. The syntax also extends Python syntax to denote "self" and positional-only parameters, allowing inspect.Signature objects to be totally accurate for all supported builtins in Python 3.4. | ||||
* | | | Close #20500: Don't trigger PyObject_Str assertion at shutdown | Nick Coghlan | 2014-02-09 | 1 | -1/+1 |
| | | |