summaryrefslogtreecommitdiffstats
path: root/Objects
Commit message (Collapse)AuthorAgeFilesLines
* Issue #13161: fix doc strings of __i*__ operatorsEli Bendersky2011-11-111-10/+10
|
* Revert "Accept None as start and stop parameters for list.index() and ↵Petri Lehtinen2011-11-062-22/+7
| | | | | | tuple.index()" Issue #13340.
* Accept None as start and stop parameters for list.index() and tuple.index()Petri Lehtinen2011-11-052-7/+22
| | | | Closes #13340.
* remove unused variableBenjamin Peterson2011-10-301-1/+1
|
* Fix the return value of set_discard (issue #10519)Petri Lehtinen2011-10-301-2/+3
|
* Avoid unnecessary recursive function calls (closes #10519)Petri Lehtinen2011-10-301-2/+2
|
* Issue #13018: Fix reference leaks in error paths in dictobject.c.Petri Lehtinen2011-10-241-4/+12
| | | | Patch by Suman Saha.
* Issue 1294232: Fix errors in metaclass calculation affecting some cases of ↵Nick Coghlan2011-10-231-20/+41
| | | | metaclass inheritance. Patch by Daniel Urban.
* adjust braces a bitBenjamin Peterson2011-10-191-5/+4
|
* Issue #13188: When called without an explicit traceback argument,Antoine Pitrou2011-10-181-0/+5
| | | | | generator.throw() now gets the traceback from the passed exception's `__traceback__` attribute. Patch by Petri Lehtinen.
* plug possible refleak (closes #13199)Benjamin Peterson2011-10-171-1/+5
|
* Issue #12911: Fix memory consumption when calculating the repr() of huge ↵Antoine Pitrou2011-10-063-85/+185
| | | | | | | tuples or lists. This introduces a small private API for this common pattern. The issue has been discovered thanks to Martin's huge-mem buildbot.
* Issue #12973: Fix undefined-behaviour-inducing overflow check in list_repeat.Mark Dickinson2011-09-191-3/+3
|
* Issue #12963: PyLong_AsSize_t() now returns (size_t)-1 in all error cases.Stefan Krah2011-09-121-3/+3
|
* Fix PyUnicode_AsWideCharString() doc: size doesn't contain the null characterVictor Stinner2011-09-061-5/+5
| | | | Fix also spelling of the null character.
* make sure to initialize the method wrapper typeBenjamin Peterson2011-09-012-6/+6
|
* #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.
* the named of the character is actually NULBenjamin Peterson2011-08-181-1/+1
|
* NUL -> NULLBenjamin Peterson2011-08-181-1/+1
|
* fix possible refleaksBenjamin Peterson2011-08-171-1/+3
|
* #12266: Fix str.capitalize() to correctly uppercase/lowercase titlecased and ↵Ezio Melotti2011-08-151-2/+2
| | | | cased non-letter characters.
* 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.
* remove duplicated type readyBenjamin Peterson2011-07-301-3/+0
|
* Fix closes Issue12621 - Fix docstrings of find and rfind methods of ↵Senthil Kumaran2011-07-273-6/+6
| | | | bytes/bytearry/unicodeobject.
* 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 #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.
* | Fix closes issue12471 - wrong TypeError message when '%i' format spec was used.Senthil Kumaran2011-07-041-3/+1
| |
* | Fix closes Issue12385 - Clarify maketrans method docstring for bytes and ↵Senthil Kumaran2011-06-271-4/+4
| | | | | | | | bytearray object.
* | merge 3.1Benjamin Peterson2011-05-241-3/+3
|\ \ | |/
| * use '->' to indicate return valuesBenjamin Peterson2011-05-241-3/+3
| |
* | merge 3.1Benjamin Peterson2011-05-231-5/+6
|\ \ | |/
| * correctly lookup __dir__Benjamin Peterson2011-05-231-5/+6
| |
* | #11335: Fix memory leak after key function failure in sortDaniel Stutzbach2011-05-041-0/+2
| |
* | (Merge 3.1) Issue #9756: When calling a method descriptor or a slot wrapperVictor Stinner2011-05-011-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, theVictor Stinner2011-05-011-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 newVictor Stinner2011-04-261-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.1.Ezio Melotti2011-04-263-9/+32
|\ \ | |/
| * #6780: fix starts/endswith error message to mention that tuples are accepted ↵Ezio Melotti2011-04-263-13/+36
| | | | | | | | too.
| * Port 5b607cd8c71b (closes #11892)Jesus Cea2011-04-202-8/+0
| |
* | MERGE: startswith and endswith don't accept None as slice index. Patch by ↵Jesus Cea2011-04-204-64/+74
|\ \ | |/ | | | | Torsten Becker. (closes #11828)
| * startswith and endswith don't accept None as slice index. Patch by Torsten ↵Jesus Cea2011-04-204-64/+74
| | | | | | | | Becker. (closes #11828)
* | #11845: Fix typo in rangeobject.c that caused a crash in ↵Ezio Melotti2011-04-151-1/+1
| | | | | | | | compute_slice_indices. Patch by Daniel Urban.
* | Merge with 3.1Ross Lagerwall2011-04-051-1/+1
|\ \ | |/
* | Merge from 3.1.Éric Araujo2011-03-231-2/+5
|\ \ | |/ | | | | | | | | The fix was already committed to 3.2, but I merged two small changes recommended by Raymond while I was working on the 2.7 patch to ease future merges.
| * Fix obscure set crashers (#8420). Backport of d56b3cafb1e6, reviewed by ↵Éric Araujo2011-03-231-10/+23
| | | | | | | | Raymond.
* | #11565: Merge with 3.1.Ezio Melotti2011-03-164-5/+5
|\ \ | |/
| * #11565: Fix several typos. Patch by Piotr Kasprzyk.Ezio Melotti2011-03-164-6/+6
| |