summaryrefslogtreecommitdiffstats
path: root/Objects
Commit message (Collapse)AuthorAgeFilesLines
* Implement PEP 393.Martin v. Löwis2011-09-2831-3798/+4790
|
* Issue #1621: Fix undefined behaviour from signed overflow in datetime module ↵Mark Dickinson2011-09-252-11/+9
| | | | hashes, array and list iterations, and get_integer (stringlib/string_format.h)
* Issue #1621: Fix undefined behaviour from signed overflow in get_integer ↵Mark Dickinson2011-09-241-9/+7
| | | | (stringlib/formatter.h)
* Issue #1621: Fix undefined behaviour in bytes.__hash__, str.__hash__, ↵Mark Dickinson2011-09-245-25/+26
| | | | tuple.__hash__, frozenset.__hash__ and set indexing operations.
* Issue #13012: Allow 'keepends' to be passed as a keyword argument in ↵Mark Dickinson2011-09-243-10/+16
| | | | str.splitlines, bytes.splitlines and bytearray.splitlines.
* Merge issue #12973 list_repeat fix.Mark Dickinson2011-09-191-3/+3
|\
| * Issue #12973: Fix undefined-behaviour-inducing overflow check in list_repeat.Mark Dickinson2011-09-191-3/+3
| |
* | Merge fix for issue #12963.Stefan Krah2011-09-121-3/+3
|\ \ | |/
| * Issue #12963: PyLong_AsSize_t() now returns (size_t)-1 in all error cases.Stefan Krah2011-09-121-3/+3
| |
* | Issue #12909: Make PyLong_As* functions consistent in their use of exceptions.Nadeem Vawda2011-09-071-2/+10
| | | | | | | | | | | | PyLong_AsDouble() and PyLong_AsUnsignedLongLong() now raise TypeError (rather than SystemError) when passed a non-integer argument, matching the behavior of all the other PyLong_As*() functions.
* | Merge 3.2: Fix PyUnicode_AsWideCharString() docVictor Stinner2011-09-061-5/+5
|\ \ | |/ | | | | | | | | - Fix PyUnicode_AsWideCharString() doc: size doesn't contain the null character - Fix spelling of the null character
| * Fix PyUnicode_AsWideCharString() doc: size doesn't contain the null characterVictor Stinner2011-09-061-5/+5
| | | | | | | | Fix also spelling of the null character.
* | merge 3.2Benjamin Peterson2011-09-012-6/+6
|\ \ | |/
| * make sure to initialize the method wrapper typeBenjamin Peterson2011-09-012-6/+6
| |
* | #9200: merge with 3.2.Ezio Melotti2011-08-221-41/+51
|\ \ | |/
| * #9200: The str.is* methods now work with strings that contain non-BMP ↵Ezio Melotti2011-08-221-41/+60
| | | | | | | | characters even in narrow Unicode builds.
* | Issue #12791: Break reference cycles early when a generator exits with an ↵Antoine Pitrou2011-08-201-0/+11
|\ \ | |/ | | | | exception.
| * Issue #12791: Break reference cycles early when a generator exits with an ↵Antoine Pitrou2011-08-201-0/+11
| | | | | | | | exception.
* | merge 3.2Benjamin Peterson2011-08-181-1/+1
|\ \ | |/
| * the named of the character is actually NULBenjamin Peterson2011-08-181-1/+1
| |
* | merge 3.2Benjamin Peterson2011-08-181-1/+1
|\ \ | |/
| * NUL -> NULLBenjamin Peterson2011-08-181-1/+1
| |
* | make __doc__ mutable on heaptypes (closes #12773)Benjamin Peterson2011-08-171-1/+10
| |
* | factor out common checks for setting special type attributesBenjamin Peterson2011-08-171-27/+19
| |
* | crush other possible refleaks in this sectionBenjamin Peterson2011-08-171-0/+1
| |
* | merge 3.2Benjamin Peterson2011-08-171-1/+3
|\ \ | |/
| * fix possible refleaksBenjamin Peterson2011-08-171-1/+3
| |
* | complain when a class variable shadows a name in __slots__ (closes #12766)Benjamin Peterson2011-08-161-0/+6
| |
* | #12266: merge with 3.2.Ezio Melotti2011-08-151-2/+2
|\ \ | |/
| * #12266: Fix str.capitalize() to correctly uppercase/lowercase titlecased and ↵Ezio Melotti2011-08-151-2/+2
| | | | | | | | cased non-letter characters.
* | merge 3.2 (#12732)Benjamin Peterson2011-08-131-8/+23
|\ \ | |/
| * in narrow builds, make sure to test codepoints as identifier characters ↵Benjamin Peterson2011-08-131-8/+23
| | | | | | | | | | | | (closes #12732) This fixes the use of Unicode identifiers outside the BMP in narrow builds.
* | Replace Py_NotImplemented returns with the macro form Py_RETURN_NOTIMPLEMENTED.Brian Curtin2011-08-1118-104/+54
| | | | | | | | The macro was introduced in #12724.
* | merge 3.2Benjamin Peterson2011-07-301-3/+0
|\ \ | |/
| * remove duplicated type readyBenjamin Peterson2011-07-301-3/+0
| |
* | also make NotImplementedType callableBenjamin Peterson2011-07-291-0/+35
| |
* | make the types of None and Ellipsis callableBenjamin Peterson2011-07-292-0/+63
| |
* | Issue 12647: Add __bool__() method to the None object.Raymond Hettinger2011-07-281-2/+44
| |
* | merge from 3.2 - Fix closes Issue12621 - Fix docstrings of find and rfind ↵Senthil Kumaran2011-07-273-6/+6
|\ \ | |/ | | | | methods of bytes/bytearry/unicodeobject.
| * Fix closes Issue12621 - Fix docstrings of find and rfind methods of ↵Senthil Kumaran2011-07-273-6/+6
| | | | | | | | bytes/bytearry/unicodeobject.
* | Merge from 3.2.Eric V. Smith2011-07-181-0/+10
|\ \ | |/
| * Closes #12579. Positional fields with str.format_map() now raise a ↵Eric V. Smith2011-07-181-0/+10
| | | | | | | | ValueError instead of SystemError.
* | Issue #11603: Fix a crash when __str__ is rebound as __repr__.Antoine Pitrou2011-07-151-1/+1
|\ \ | |/ | | | | Patch by Andreas Stührk.
| * Issue #11603: Fix a crash when __str__ is rebound as __repr__.Antoine Pitrou2011-07-151-1/+1
| |\ | | | | | | | | | Patch by Andreas Stührk.
| | * Issue #11603: Fix a crash when __str__ is rebound as __repr__.Antoine Pitrou2011-07-151-1/+1
| | | | | | | | | | | | Patch by Andreas Stührk.
* | | Issue #12149: Update the method cache after a type's dictionnary getsAntoine Pitrou2011-07-121-0/+2
|\ \ \ | |/ / | | | | | | | | | | | | | | | | | | | | | cleared by the garbage collector. This fixes a segfault when an instance and its type get caught in a reference cycle, and the instance's deallocator calls one of the methods on the type (e.g. when subclassing IOBase). Diagnosis and patch by Davide Rizzo.
| * | Issue #12149: Update the method cache after a type's dictionnary getsAntoine Pitrou2011-07-121-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | cleared by the garbage collector. This fixes a segfault when an instance and its type get caught in a reference cycle, and the instance's deallocator calls one of the methods on the type (e.g. when subclassing IOBase). Diagnosis and patch by Davide Rizzo.
* | | Issue #9642: Uniformize the tests on the availability of the mbcs codecVictor Stinner2011-07-041-6/+6
| | | | | | | | | | | | Add a new HAVE_MBCS define.
* | | merge from 3.2Senthil Kumaran2011-07-041-3/+1
|\ \ \ | |/ /
| * | Fix closes issue12471 - wrong TypeError message when '%i' format spec was used.Senthil Kumaran2011-07-041-3/+1
| | |