Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | 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 |
| | | | |||||
* | | | this is expressed better as a for loop | Benjamin Peterson | 2011-07-03 | 1 | -4/+2 |
| | | | |||||
* | | | merge from 3.2 | Senthil Kumaran | 2011-06-27 | 1 | -4/+4 |
|\ \ \ | |/ / | |||||
| * | | Fix closes Issue12385 - Clarify maketrans method docstring for bytes and ↵ | Senthil Kumaran | 2011-06-27 | 1 | -4/+4 |
| | | | | | | | | | | | | bytearray object. | ||||
* | | | map cells to arg slots at code creation time (closes #12399) | Benjamin Peterson | 2011-06-26 | 1 | -29/+65 |
| | | | | | | | | | | | | This removes nested loops in PyEval_EvalCodeEx. | ||||
* | | | use a invalid name for the __class__ closure for super() (closes #12370) | Benjamin Peterson | 2011-06-20 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | This prevents the assignment of __class__ in the class body from breaking super. (Although a determined person could do locals()["@__class__"] = 4) | ||||
* | | | quaint and completely out of date comment | Benjamin Peterson | 2011-06-11 | 1 | -3/+2 |
| | | | |||||
* | | | allow __dir__ to return any sequence | Benjamin Peterson | 2011-06-11 | 1 | -30/+15 |
| | | | |||||
* | | | remove __version__s dependent on subversion keyword expansion (closes #12221) | Benjamin Peterson | 2011-06-01 | 2 | -2/+2 |
| | | | |||||
* | | | Close #10616: mention bytes and bytearray in PyObject_AsCharBuffer() error | Victor Stinner | 2011-05-30 | 1 | -1/+2 |
| | | | | | | | | | | | | message | ||||
* | | | Revert my commit 7ba176c2f558: "Avoid useless "++" at the end of functions | Victor Stinner | 2011-05-27 | 2 | -2/+2 |
| | | | | | | | | | | | | | | | | | | Warnings found by the Clang Static Analyzer." Most people prefer ++ at the end of functions. | ||||
* | | | SystemExit_init(): avoid an useless test | Victor Stinner | 2011-05-26 | 1 | -1/+1 |
| | | | | | | | | | | | | Make silent a false positive of the Clang Static Analyzer. | ||||
* | | | set_repr(): handle correctly PyUnicode_FromUnicode() error (MemoryError) | Victor Stinner | 2011-05-26 | 1 | -9/+11 |
| | | | | | | | | | | | | Bug found by the Clang Static Analyzer. | ||||
* | | | Avoid useless "++" at the end of functions | Victor Stinner | 2011-05-26 | 2 | -3/+3 |
| | | | | | | | | | | | | Warnings found by the Clang Static Analyzer. | ||||
* | | | indicate return value on __dir__ methods | Benjamin Peterson | 2011-05-24 | 2 | -3/+3 |
| | | | |||||
* | | | merge 3.2 | Benjamin Peterson | 2011-05-24 | 1 | -3/+3 |
|\ \ \ | |/ / | |||||
| * | | merge 3.1 | Benjamin Peterson | 2011-05-24 | 1 | -3/+3 |
| |\ \ | | |/ | |||||
| | * | use '->' to indicate return values | Benjamin Peterson | 2011-05-24 | 1 | -3/+3 |
| | | | |||||
* | | | move specialized dir implementations into __dir__ methods (closes #12166) | Benjamin Peterson | 2011-05-24 | 3 | -178/+174 |
| | | | |||||
* | | | merge 3.2 | Benjamin Peterson | 2011-05-23 | 1 | -5/+6 |
|\ \ \ | |/ / | |||||
| * | | merge 3.1 | Benjamin Peterson | 2011-05-23 | 1 | -5/+6 |
| |\ \ | | |/ | |||||
| | * | correctly lookup __dir__ | Benjamin Peterson | 2011-05-23 | 1 | -5/+6 |
| | | | |||||
| * | | #11335: Fix memory leak after key function failure in sort | Daniel Stutzbach | 2011-05-04 | 1 | -0/+2 |
| | | | |||||
* | | | Issue #11849: Make it more likely for the system allocator to release | Antoine Pitrou | 2011-05-03 | 1 | -6/+23 |
| | | | | | | | | | | | | | | | free()d memory arenas on glibc-based systems. Patch by Charles-François Natali. | ||||
* | | | (Merge 3.2) Issue #9756: When calling a method descriptor or a slot wrapper | Victor Stinner | 2011-05-01 | 1 | -3/+6 |
|\ \ \ | |/ / | | | | | | | | | | | | | descriptor, the check of the object type doesn't read the __class__ attribute anymore. Fix a crash if a class override its __class__ attribute (e.g. a proxy of the str type). | ||||
| * | | (Merge 3.1) Issue #9756: When calling a method descriptor or a slot wrapper | Victor Stinner | 2011-05-01 | 1 | -3/+6 |
| |\ \ | | |/ | | | | | | | | | | | | | descriptor, the check of the object type doesn't read the __class__ attribute anymore. Fix a crash if a class override its __class__ attribute (e.g. a proxy of the str type). | ||||
| | * | Issue #9756: When calling a method descriptor or a slot wrapper descriptor, the | Victor Stinner | 2011-05-01 | 1 | -3/+6 |
| | | | | | | | | | | | | | | | | | | check of the object type doesn't read the __class__ attribute anymore. Fix a crash if a class override its __class__ attribute (e.g. a proxy of the str type). | ||||
| * | | Issue #10914: Initialize correctly the filesystem codec when creating a new | Victor Stinner | 2011-04-26 | 1 | -7/+22 |
| | | | | | | | | | | | | | | | | | | | | | subinterpreter to fix a bootstrap issue with codecs implemented in Python, as the ISO-8859-15 codec. Add fscodec_initialized attribute to the PyInterpreterState structure. | ||||
* | | | Issue #10914: Initialize correctly the filesystem codec when creating a new | Victor Stinner | 2011-04-26 | 1 | -7/+22 |
| | | | | | | | | | | | | | | | | | | | | | subinterpreter to fix a bootstrap issue with codecs implemented in Python, as the ISO-8859-15 codec. Add fscodec_initialized attribute to the PyInterpreterState structure. | ||||
* | | | #6780: merge with 3.2. | Ezio Melotti | 2011-04-26 | 3 | -9/+32 |
|\ \ \ | |/ / | |||||
| * | | #6780: merge with 3.1. | Ezio Melotti | 2011-04-26 | 3 | -9/+32 |
| |\ \ | | |/ | |||||
| | * | #6780: fix starts/endswith error message to mention that tuples are accepted ↵ | Ezio Melotti | 2011-04-26 | 3 | -13/+36 |
| | | | | | | | | | | | | too. | ||||
| | * | Port 5b607cd8c71b (closes #11892) | Jesus Cea | 2011-04-20 | 2 | -8/+0 |
| | | | |||||
* | | | MERGE: startswith and endswith don't accept None as slice index. Patch by ↵ | Jesus Cea | 2011-04-20 | 4 | -64/+74 |
|\ \ \ | |/ / | | | | | | | Torsten Becker. (closes #11828) |