summaryrefslogtreecommitdiff
path: root/Objects
Commit message (Collapse)AuthorAgeFilesLines
* #8271: merge with 3.3.Ezio Melotti2012-11-042-36/+66
|\
| * #8271: the utf-8 decoder now outputs the correct number of U+FFFD ↵Ezio Melotti2012-11-042-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.3Mark Dickinson2012-11-041-5/+5
|\ \ | |/
| * Issue #16402: Merge fix from 3.2Mark Dickinson2012-11-041-5/+5
| |\
| | * Issue #16402: In range slicing, fix shadowing of exceptions from __index__ ↵Mark Dickinson2012-11-041-5/+5
| | | | | | | | | | | | method.
* | | Fix compilation on WindowsChristian Heimes2012-11-031-1/+1
|\ \ \ | |/ /
| * | Fix compilation on WindowsChristian Heimes2012-11-031-1/+1
| |\ \ | | |/
| | * Fix compilation on WindowsChristian Heimes2012-11-031-1/+1
| | |
| * | #8401: merge with 3.2.Ezio Melotti2012-11-031-0/+6
| |\ \ | | |/
* | | #8401: merge with 3.3.Ezio Melotti2012-11-031-0/+6
|\ \ \ | | |/ | |/|
| * | #8401: assigning an int to a bytearray slice (e.g. b[3:4] = 5) now raises an ↵Ezio Melotti2012-11-031-0/+6
| | | | | | | | | | | | error.
* | | Merge 3.3.Stefan Krah2012-11-021-0/+8
|\ \ \ | | |/ | |/|
| * | Issue #15814: Use hash function that is compatible with the equalityStefan Krah2012-11-021-0/+8
| | | | | | | | | | | | definition from #15573.
* | | merge 3.3Benjamin Peterson2012-10-311-1/+1
|\ \ \ | |/ /
| * | merge 3.2Benjamin Peterson2012-10-311-1/+1
| |\ \ | | |/
| | * avoid a function call with redundant checks for dict sizeBenjamin Peterson2012-10-311-1/+1
| | |
* | | merge 3.3 (#16345)Benjamin Peterson2012-10-311-29/+30
|\ \ \ | |/ /
| * | merge 3.2 (#16345)Benjamin Peterson2012-10-311-29/+30
| |\ \ | | |/
| | * only fast-path fromkeys() when the constructor returns a empty dict (closes ↵Benjamin Peterson2012-10-311-33/+34
| | | | | | | | | | | | #16345)
* | | merge 3.3Benjamin Peterson2012-10-311-5/+6
|\ \ \ | |/ /
| * | do safety checks on __qualname__ assignmentBenjamin Peterson2012-10-311-0/+2
| | |
| * | don't shadow the __qualname__ descriptor with __qualname__ in the class's ↵Benjamin Peterson2012-10-301-5/+4
| | | | | | | | | | | | __dict__ (closes #16271)
* | | initialize map/filter/zip in _PyBuiltin_Init rather than the catch-all functionBenjamin Peterson2012-10-301-9/+0
| | |
* | | merge 3.3 (#16369)Benjamin Peterson2012-10-302-0/+30
|\ \ \ | |/ /
| * | merge 3.2 (#16369)Benjamin Peterson2012-10-302-0/+30
| |\ \ | | |/
| | * initialize more global type objects (closes #16369)Benjamin Peterson2012-10-302-0/+30
| | |
| | * Issue #14700: Fix buggy overflow checks for large precision and width in ↵Mark Dickinson2012-10-283-20/+15
| | | | | | | | | | | | new-style and old-style formatting.
* | | Issue #9566: Use the right type to fix a compiler warnings on Win64Victor Stinner2012-10-311-4/+4
| | |
* | | Issue #16086: PyTypeObject.tp_flags and PyType_Spec.flags are now unsignedVictor Stinner2012-10-301-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 fasterVictor Stinner2012-10-301-73/+69
| | | | | | | | | | | | Patch written by Serhiy Storchaka.
* | | Issue #16330: Use surrogate-related macrosVictor Stinner2012-10-301-4/+3
| | | | | | | | | | | | Patch written by Serhiy Storchaka.
* | | Replace usage of the deprecated Py_UNICODE_COPY() with Py_MEMCPY() in ↵Victor Stinner2012-10-231-2/+2
| | | | | | | | | | | | resize_copy()
* | | Optimize _PyUnicode_HasNULChars(): use findchar() instead of ↵Victor Stinner2012-10-231-7/+9
| | | | | | | | | | | | PyUnicode_Contains()
* | | Inline raise_translate_exception(): it is only used onceVictor Stinner2012-10-231-15/+4
| | |
* | | Optimize PyUnicode_RichCompare() for Py_EQ and Py_NE: always use memcmp()Victor Stinner2012-10-231-26/+44
| | |
* | | Issue #12805: Make bytes.join and bytearray.join faster when the separator ↵Antoine Pitrou2012-10-201-0/+10
| | | | | | | | | | | | | | | | | | is empty. Patch by Serhiy Storchaka.
* | | Issue 16280: Drop questionable special-casing of null pointer in ↵Mark Dickinson2012-10-181-6/+0
| | | | | | | | | | | | PyLong_FromVoidPtr.
* | | Issue #16277: merge fix from 3.3Mark Dickinson2012-10-181-0/+8
|\ \ \ | |/ /
| * | Issue #16277: merge fix from 3.2Mark Dickinson2012-10-181-0/+8
| |\ \ | | |/
| | * Issue #16277: in PyLong_FromVoidPtr, add missing branch for sizeof(void*) <= ↵Mark Dickinson2012-10-181-0/+8
| | | | | | | | | | | | sizeof(long).
* | | Issue #16166: Add PY_LITTLE_ENDIAN and PY_BIG_ENDIAN macros and unifiedChristian Heimes2012-10-173-22/+10
| | | | | | | | | | | | endianess detection and handling.
* | | merge for issue #16160: Subclass support now works for types.SimpleNamespace.Eric Snow2012-10-161-12/+12
|\ \ \ | |/ /
| * | Close #16160: Subclass support now works for types.SimpleNamespace. Thanks ↵Eric Snow2012-10-161-12/+12
| | | | | | | | | | | | to RDM for noticing.
* | | Issue #15958: bytes.join and bytearray.join now accept arbitrary buffer objects.Antoine Pitrou2012-10-163-158/+143
| | |
* | | Issue #14783: Merge changes from 3.3.Chris Jerdonek2012-10-074-10/+20
|\ \ \ | |/ /
| * | Issue #14783: Merge changes from 3.2.Chris Jerdonek2012-10-074-10/+20
| |\ \ | | |/
| | * Issue #14783: Improve int() docstring and also str(), range(), and slice().Chris Jerdonek2012-10-074-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 informationArmin Ronacher2012-10-071-7/+8
| | | | | | | | | | | | to docs.
* | | Cleanup PyUnicode_FromFormatV() for zero paddingVictor Stinner2012-10-061-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 bufferVictor Stinner2012-10-061-46/+14
| | | | | | | | | | | | on the heap to format numbers.