Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | #8271: merge with 3.3. | Ezio Melotti | 2012-11-04 | 2 | -36/+66 |
|\ | |||||
| * | #8271: the utf-8 decoder now outputs the correct number of U+FFFD ↵ | Ezio Melotti | 2012-11-04 | 2 | -36/+66 |
| | | | | | | | | characters when used with the "replace" error handler on invalid utf-8 sequences. Patch by Serhiy Storchaka, tests by Ezio Melotti. | ||||
* | | Issue #16402: Merge fix from 3.3 | Mark Dickinson | 2012-11-04 | 1 | -5/+5 |
|\ \ | |/ | |||||
| * | Issue #16402: Merge fix from 3.2 | Mark Dickinson | 2012-11-04 | 1 | -5/+5 |
| |\ | |||||
| | * | Issue #16402: In range slicing, fix shadowing of exceptions from __index__ ↵ | Mark Dickinson | 2012-11-04 | 1 | -5/+5 |
| | | | | | | | | | | | | method. | ||||
* | | | Fix compilation on Windows | Christian Heimes | 2012-11-03 | 1 | -1/+1 |
|\ \ \ | |/ / | |||||
| * | | Fix compilation on Windows | Christian Heimes | 2012-11-03 | 1 | -1/+1 |
| |\ \ | | |/ | |||||
| | * | Fix compilation on Windows | Christian Heimes | 2012-11-03 | 1 | -1/+1 |
| | | | |||||
| * | | #8401: merge with 3.2. | Ezio Melotti | 2012-11-03 | 1 | -0/+6 |
| |\ \ | | |/ | |||||
* | | | #8401: merge with 3.3. | Ezio Melotti | 2012-11-03 | 1 | -0/+6 |
|\ \ \ | | |/ | |/| | |||||
| * | | #8401: assigning an int to a bytearray slice (e.g. b[3:4] = 5) now raises an ↵ | Ezio Melotti | 2012-11-03 | 1 | -0/+6 |
| | | | | | | | | | | | | error. | ||||
* | | | Merge 3.3. | Stefan Krah | 2012-11-02 | 1 | -0/+8 |
|\ \ \ | | |/ | |/| | |||||
| * | | Issue #15814: Use hash function that is compatible with the equality | Stefan Krah | 2012-11-02 | 1 | -0/+8 |
| | | | | | | | | | | | | definition from #15573. | ||||
* | | | merge 3.3 | Benjamin Peterson | 2012-10-31 | 1 | -1/+1 |
|\ \ \ | |/ / | |||||
| * | | merge 3.2 | Benjamin Peterson | 2012-10-31 | 1 | -1/+1 |
| |\ \ | | |/ | |||||
| | * | avoid a function call with redundant checks for dict size | Benjamin Peterson | 2012-10-31 | 1 | -1/+1 |
| | | | |||||
* | | | merge 3.3 (#16345) | Benjamin Peterson | 2012-10-31 | 1 | -29/+30 |
|\ \ \ | |/ / | |||||
| * | | merge 3.2 (#16345) | Benjamin Peterson | 2012-10-31 | 1 | -29/+30 |
| |\ \ | | |/ | |||||
| | * | only fast-path fromkeys() when the constructor returns a empty dict (closes ↵ | Benjamin Peterson | 2012-10-31 | 1 | -33/+34 |
| | | | | | | | | | | | | #16345) | ||||
* | | | merge 3.3 | Benjamin Peterson | 2012-10-31 | 1 | -5/+6 |
|\ \ \ | |/ / | |||||
| * | | do safety checks on __qualname__ assignment | Benjamin Peterson | 2012-10-31 | 1 | -0/+2 |
| | | | |||||
| * | | don't shadow the __qualname__ descriptor with __qualname__ in the class's ↵ | Benjamin Peterson | 2012-10-30 | 1 | -5/+4 |
| | | | | | | | | | | | | __dict__ (closes #16271) | ||||
* | | | initialize map/filter/zip in _PyBuiltin_Init rather than the catch-all function | Benjamin Peterson | 2012-10-30 | 1 | -9/+0 |
| | | | |||||
* | | | merge 3.3 (#16369) | Benjamin Peterson | 2012-10-30 | 2 | -0/+30 |
|\ \ \ | |/ / | |||||
| * | | merge 3.2 (#16369) | Benjamin Peterson | 2012-10-30 | 2 | -0/+30 |
| |\ \ | | |/ | |||||
| | * | initialize more global type objects (closes #16369) | Benjamin Peterson | 2012-10-30 | 2 | -0/+30 |
| | | | |||||
| | * | Issue #14700: Fix buggy overflow checks for large precision and width in ↵ | Mark Dickinson | 2012-10-28 | 3 | -20/+15 |
| | | | | | | | | | | | | new-style and old-style formatting. | ||||
* | | | Issue #9566: Use the right type to fix a compiler warnings on Win64 | Victor Stinner | 2012-10-31 | 1 | -4/+4 |
| | | | |||||
* | | | Issue #16086: PyTypeObject.tp_flags and PyType_Spec.flags are now unsigned | Victor Stinner | 2012-10-30 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | | | | ... (unsigned long and unsigned int) to avoid an undefined behaviour with Py_TPFLAGS_TYPE_SUBCLASS ((1 << 31). PyType_GetFlags() result type is now unsigned too (unsigned long, instead of long). | ||||
* | | | Close #14625: Rewrite the UTF-32 decoder. It is now 3x to 4x faster | Victor Stinner | 2012-10-30 | 1 | -73/+69 |
| | | | | | | | | | | | | Patch written by Serhiy Storchaka. | ||||
* | | | Issue #16330: Use surrogate-related macros | Victor Stinner | 2012-10-30 | 1 | -4/+3 |
| | | | | | | | | | | | | Patch written by Serhiy Storchaka. | ||||
* | | | Replace usage of the deprecated Py_UNICODE_COPY() with Py_MEMCPY() in ↵ | Victor Stinner | 2012-10-23 | 1 | -2/+2 |
| | | | | | | | | | | | | resize_copy() | ||||
* | | | Optimize _PyUnicode_HasNULChars(): use findchar() instead of ↵ | Victor Stinner | 2012-10-23 | 1 | -7/+9 |
| | | | | | | | | | | | | PyUnicode_Contains() | ||||
* | | | Inline raise_translate_exception(): it is only used once | Victor Stinner | 2012-10-23 | 1 | -15/+4 |
| | | | |||||
* | | | Optimize PyUnicode_RichCompare() for Py_EQ and Py_NE: always use memcmp() | Victor Stinner | 2012-10-23 | 1 | -26/+44 |
| | | | |||||
* | | | Issue #12805: Make bytes.join and bytearray.join faster when the separator ↵ | Antoine Pitrou | 2012-10-20 | 1 | -0/+10 |
| | | | | | | | | | | | | | | | | | | is empty. Patch by Serhiy Storchaka. | ||||
* | | | Issue 16280: Drop questionable special-casing of null pointer in ↵ | Mark Dickinson | 2012-10-18 | 1 | -6/+0 |
| | | | | | | | | | | | | PyLong_FromVoidPtr. | ||||
* | | | Issue #16277: merge fix from 3.3 | Mark Dickinson | 2012-10-18 | 1 | -0/+8 |
|\ \ \ | |/ / | |||||
| * | | Issue #16277: merge fix from 3.2 | Mark Dickinson | 2012-10-18 | 1 | -0/+8 |
| |\ \ | | |/ | |||||
| | * | Issue #16277: in PyLong_FromVoidPtr, add missing branch for sizeof(void*) <= ↵ | Mark Dickinson | 2012-10-18 | 1 | -0/+8 |
| | | | | | | | | | | | | sizeof(long). | ||||
* | | | Issue #16166: Add PY_LITTLE_ENDIAN and PY_BIG_ENDIAN macros and unified | Christian Heimes | 2012-10-17 | 3 | -22/+10 |
| | | | | | | | | | | | | endianess detection and handling. | ||||
* | | | merge for issue #16160: Subclass support now works for types.SimpleNamespace. | Eric Snow | 2012-10-16 | 1 | -12/+12 |
|\ \ \ | |/ / | |||||
| * | | Close #16160: Subclass support now works for types.SimpleNamespace. Thanks ↵ | Eric Snow | 2012-10-16 | 1 | -12/+12 |
| | | | | | | | | | | | | to RDM for noticing. | ||||
* | | | Issue #15958: bytes.join and bytearray.join now accept arbitrary buffer objects. | Antoine Pitrou | 2012-10-16 | 3 | -158/+143 |
| | | | |||||
* | | | Issue #14783: Merge changes from 3.3. | Chris Jerdonek | 2012-10-07 | 4 | -10/+20 |
|\ \ \ | |/ / | |||||
| * | | Issue #14783: Merge changes from 3.2. | Chris Jerdonek | 2012-10-07 | 4 | -10/+20 |
| |\ \ | | |/ | |||||
| | * | Issue #14783: Improve int() docstring and also str(), range(), and slice(). | Chris Jerdonek | 2012-10-07 | 4 | -9/+19 |
| | | | | | | | | | | | | | | | | | | This commit rewrites the docstring for int() to incorporate the documentation changes made in issue #16036. It also switches the docstrings for int(), str(), range(), and slice() to use multi-line signatures. | ||||
* | | | Issue #16148: Small improvements and cleanup. Added version information | Armin Ronacher | 2012-10-07 | 1 | -7/+8 |
| | | | | | | | | | | | | to docs. | ||||
* | | | Cleanup PyUnicode_FromFormatV() for zero padding | Victor Stinner | 2012-10-06 | 1 | -1/+5 |
| | | | | | | | | | | | | | | | Skip the "0" instead of parsing it twice: detect zero padding and then parsed as a digit of the width. | ||||
* | | | Issue #16147: PyUnicode_FromFormatV() doesn't need anymore to allocate a buffer | Victor Stinner | 2012-10-06 | 1 | -46/+14 |
| | | | | | | | | | | | | on the heap to format numbers. |