Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Implement PEP 393. | Martin v. Löwis | 2011-09-28 | 31 | -3798/+4790 |
| | |||||
* | Issue #1621: Fix undefined behaviour from signed overflow in datetime module ↵ | Mark Dickinson | 2011-09-25 | 2 | -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 Dickinson | 2011-09-24 | 1 | -9/+7 |
| | | | | (stringlib/formatter.h) | ||||
* | Issue #1621: Fix undefined behaviour in bytes.__hash__, str.__hash__, ↵ | Mark Dickinson | 2011-09-24 | 5 | -25/+26 |
| | | | | tuple.__hash__, frozenset.__hash__ and set indexing operations. | ||||
* | Issue #13012: Allow 'keepends' to be passed as a keyword argument in ↵ | Mark Dickinson | 2011-09-24 | 3 | -10/+16 |
| | | | | str.splitlines, bytes.splitlines and bytearray.splitlines. | ||||
* | Merge issue #12973 list_repeat fix. | Mark Dickinson | 2011-09-19 | 1 | -3/+3 |
|\ | |||||
| * | Issue #12973: Fix undefined-behaviour-inducing overflow check in list_repeat. | Mark Dickinson | 2011-09-19 | 1 | -3/+3 |
| | | |||||
* | | Merge fix for issue #12963. | Stefan Krah | 2011-09-12 | 1 | -3/+3 |
|\ \ | |/ | |||||
| * | Issue #12963: PyLong_AsSize_t() now returns (size_t)-1 in all error cases. | Stefan Krah | 2011-09-12 | 1 | -3/+3 |
| | | |||||
* | | Issue #12909: Make PyLong_As* functions consistent in their use of exceptions. | Nadeem Vawda | 2011-09-07 | 1 | -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() doc | Victor Stinner | 2011-09-06 | 1 | -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 character | Victor Stinner | 2011-09-06 | 1 | -5/+5 |
| | | | | | | | | Fix also spelling of the null character. | ||||
* | | merge 3.2 | Benjamin Peterson | 2011-09-01 | 2 | -6/+6 |
|\ \ | |/ | |||||
| * | make sure to initialize the method wrapper type | Benjamin Peterson | 2011-09-01 | 2 | -6/+6 |
| | | |||||
* | | #9200: merge with 3.2. | Ezio Melotti | 2011-08-22 | 1 | -41/+51 |
|\ \ | |/ | |||||
| * | #9200: The str.is* methods now work with strings that contain non-BMP ↵ | Ezio Melotti | 2011-08-22 | 1 | -41/+60 |
| | | | | | | | | characters even in narrow Unicode builds. | ||||
* | | Issue #12791: Break reference cycles early when a generator exits with an ↵ | Antoine Pitrou | 2011-08-20 | 1 | -0/+11 |
|\ \ | |/ | | | | | exception. | ||||
| * | Issue #12791: Break reference cycles early when a generator exits with an ↵ | Antoine Pitrou | 2011-08-20 | 1 | -0/+11 |
| | | | | | | | | exception. | ||||
* | | merge 3.2 | Benjamin Peterson | 2011-08-18 | 1 | -1/+1 |
|\ \ | |/ | |||||
| * | the named of the character is actually NUL | Benjamin Peterson | 2011-08-18 | 1 | -1/+1 |
| | | |||||
* | | merge 3.2 | Benjamin Peterson | 2011-08-18 | 1 | -1/+1 |
|\ \ | |/ | |||||
| * | NUL -> NULL | Benjamin Peterson | 2011-08-18 | 1 | -1/+1 |
| | | |||||
* | | make __doc__ mutable on heaptypes (closes #12773) | Benjamin Peterson | 2011-08-17 | 1 | -1/+10 |
| | | |||||
* | | factor out common checks for setting special type attributes | Benjamin Peterson | 2011-08-17 | 1 | -27/+19 |
| | | |||||
* | | crush other possible refleaks in this section | Benjamin Peterson | 2011-08-17 | 1 | -0/+1 |
| | | |||||
* | | merge 3.2 | Benjamin Peterson | 2011-08-17 | 1 | -1/+3 |
|\ \ | |/ | |||||
| * | fix possible refleaks | Benjamin Peterson | 2011-08-17 | 1 | -1/+3 |
| | | |||||
* | | complain when a class variable shadows a name in __slots__ (closes #12766) | Benjamin Peterson | 2011-08-16 | 1 | -0/+6 |
| | | |||||
* | | #12266: merge with 3.2. | Ezio Melotti | 2011-08-15 | 1 | -2/+2 |
|\ \ | |/ | |||||
| * | #12266: Fix str.capitalize() to correctly uppercase/lowercase titlecased and ↵ | Ezio Melotti | 2011-08-15 | 1 | -2/+2 |
| | | | | | | | | cased non-letter characters. | ||||
* | | merge 3.2 (#12732) | Benjamin Peterson | 2011-08-13 | 1 | -8/+23 |
|\ \ | |/ | |||||
| * | in narrow builds, make sure to test codepoints as identifier characters ↵ | Benjamin Peterson | 2011-08-13 | 1 | -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 Curtin | 2011-08-11 | 18 | -104/+54 |
| | | | | | | | | The macro was introduced in #12724. | ||||
* | | merge 3.2 | Benjamin Peterson | 2011-07-30 | 1 | -3/+0 |
|\ \ | |/ | |||||
| * | remove duplicated type ready | Benjamin Peterson | 2011-07-30 | 1 | -3/+0 |
| | | |||||
* | | also make NotImplementedType callable | Benjamin Peterson | 2011-07-29 | 1 | -0/+35 |
| | | |||||
* | | make the types of None and Ellipsis callable | Benjamin Peterson | 2011-07-29 | 2 | -0/+63 |
| | | |||||
* | | Issue 12647: Add __bool__() method to the None object. | Raymond Hettinger | 2011-07-28 | 1 | -2/+44 |
| | | |||||
* | | merge from 3.2 - Fix closes Issue12621 - Fix docstrings of find and rfind ↵ | Senthil Kumaran | 2011-07-27 | 3 | -6/+6 |
|\ \ | |/ | | | | | methods of bytes/bytearry/unicodeobject. | ||||
| * | Fix closes Issue12621 - Fix docstrings of find and rfind methods of ↵ | Senthil Kumaran | 2011-07-27 | 3 | -6/+6 |
| | | | | | | | | bytes/bytearry/unicodeobject. | ||||
* | | Merge from 3.2. | Eric V. Smith | 2011-07-18 | 1 | -0/+10 |
|\ \ | |/ | |||||
| * | Closes #12579. Positional fields with str.format_map() now raise a ↵ | Eric V. Smith | 2011-07-18 | 1 | -0/+10 |
| | | | | | | | | ValueError instead of SystemError. | ||||
* | | Issue #11603: Fix a crash when __str__ is rebound as __repr__. | Antoine Pitrou | 2011-07-15 | 1 | -1/+1 |
|\ \ | |/ | | | | | Patch by Andreas Stührk. | ||||
| * | Issue #11603: Fix a crash when __str__ is rebound as __repr__. | Antoine Pitrou | 2011-07-15 | 1 | -1/+1 |
| |\ | | | | | | | | | | Patch by Andreas Stührk. | ||||
| | * | Issue #11603: Fix a crash when __str__ is rebound as __repr__. | Antoine Pitrou | 2011-07-15 | 1 | -1/+1 |
| | | | | | | | | | | | | Patch by Andreas Stührk. | ||||
* | | | Issue #12149: Update the method cache after a type's dictionnary gets | Antoine Pitrou | 2011-07-12 | 1 | -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 gets | Antoine Pitrou | 2011-07-12 | 1 | -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 codec | Victor Stinner | 2011-07-04 | 1 | -6/+6 |
| | | | | | | | | | | | | Add a new HAVE_MBCS define. | ||||
* | | | merge from 3.2 | Senthil Kumaran | 2011-07-04 | 1 | -3/+1 |
|\ \ \ | |/ / | |||||
| * | | Fix closes issue12471 - wrong TypeError message when '%i' format spec was used. | Senthil Kumaran | 2011-07-04 | 1 | -3/+1 |
| | | |