summaryrefslogtreecommitdiffstats
path: root/Objects
Commit message (Collapse)AuthorAgeFilesLines
* remove __version__s dependent on subversion keyword expansion (closes #12221)Benjamin Peterson2011-06-012-2/+2
|
* Close #10616: mention bytes and bytearray in PyObject_AsCharBuffer() errorVictor Stinner2011-05-301-1/+2
| | | | message
* Revert my commit 7ba176c2f558: "Avoid useless "++" at the end of functionsVictor Stinner2011-05-272-2/+2
| | | | | | Warnings found by the Clang Static Analyzer." Most people prefer ++ at the end of functions.
* SystemExit_init(): avoid an useless testVictor Stinner2011-05-261-1/+1
| | | | Make silent a false positive of the Clang Static Analyzer.
* set_repr(): handle correctly PyUnicode_FromUnicode() error (MemoryError)Victor Stinner2011-05-261-9/+11
| | | | Bug found by the Clang Static Analyzer.
* Avoid useless "++" at the end of functionsVictor Stinner2011-05-262-3/+3
| | | | Warnings found by the Clang Static Analyzer.
* indicate return value on __dir__ methodsBenjamin Peterson2011-05-242-3/+3
|
* merge 3.2Benjamin Peterson2011-05-241-3/+3
|\
| * merge 3.1Benjamin Peterson2011-05-241-3/+3
| |\
| | * use '->' to indicate return valuesBenjamin Peterson2011-05-241-3/+3
| | |
* | | move specialized dir implementations into __dir__ methods (closes #12166)Benjamin Peterson2011-05-243-178/+174
| | |
* | | merge 3.2Benjamin Peterson2011-05-231-5/+6
|\ \ \ | |/ /
| * | 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
| | |
* | | Issue #11849: Make it more likely for the system allocator to releaseAntoine Pitrou2011-05-031-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 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).
| * | (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.
* | | 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.2.Ezio Melotti2011-04-263-9/+32
|\ \ \ | |/ /
| * | #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)
| * | 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: Merge with 3.2.Ezio Melotti2011-04-151-1/+1
|\ \ \ | |/ /
| * | #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
| |\ \ | | |/
* | | Remove traces of division_warning left over from Python 2 (#10998)Éric Araujo2011-03-261-2/+0
| | |
* | | Issue #11634: Remove misleading paragraph from a commentEli Bendersky2011-03-241-6/+2
| | |
* | | Merge from 3.2Éric Araujo2011-03-231-2/+5
|\ \ \ | |/ /
| * | 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.
* | | Issue #7330, #10833: Replace %100s by %.100s and %200s by %.200sVictor Stinner2011-03-221-1/+1
| | | | | | | | | | | | | | | I suppose that the author would like to truncate the type name, not get a string of 100/200 characters.
* | | Issue #10833: Use PyErr_Format() and PyUnicode_FromFormat() instead ofVictor Stinner2011-03-211-13/+1
| | | | | | | | | | | | | | | PyOS_snprintf() to avoid temporary buffer allocated on the stack and a conversion from bytes to Unicode.
* | | Issue #10833: Remove the buffer allocated on the stack, it isn't used anymoreVictor Stinner2011-03-211-1/+0
| | |
* | | Issue #10833: Use PyUnicode_FromFormat() and PyErr_Format() instead ofVictor Stinner2011-03-211-31/+27
| | | | | | | | | | | | PyOS_snprintf().
* | | #11565: Merge with 3.2.Ezio Melotti2011-03-164-5/+5
|\ \ \ | |/ /
| * | #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
| | |
* | | #11515: Merge with 3.2.Ezio Melotti2011-03-154-4/+4
|\ \ \ | |/ /
| * | #11515: Merge with 3.1.Ezio Melotti2011-03-154-4/+4
| |\ \ | | |/
| | * #11515: fix several typos. Patch by Piotr Kasprzyk.Ezio Melotti2011-03-154-11/+11
| | |
| | * Merged revisions ↵Georg Brandl2011-02-251-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 86537,86867-86868,86881,86887,86913-86915,86931-86933,86960,86964,86974,86980,86996,87008,87050 via svnmerge from svn+ssh://svn.python.org/python/branches/py3k ........ r86537 | georg.brandl | 2010-11-19 23:09:04 +0100 (Fr, 19 Nov 2010) | 1 line Do not put a raw REPLACEMENT CHARACTER in the document. ........ r86867 | georg.brandl | 2010-11-29 15:50:54 +0100 (Mo, 29 Nov 2010) | 1 line Fix indentation bug. ........ r86868 | georg.brandl | 2010-11-29 15:53:15 +0100 (Mo, 29 Nov 2010) | 1 line Fix heading style inconsistencies. ........ r86881 | georg.brandl | 2010-11-30 08:43:28 +0100 (Di, 30 Nov 2010) | 1 line #10584: fix bad links. ........ r86887 | georg.brandl | 2010-11-30 15:57:54 +0100 (Di, 30 Nov 2010) | 1 line Fix typo. ........ r86913 | georg.brandl | 2010-12-01 16:32:43 +0100 (Mi, 01 Dez 2010) | 1 line Add missing word, and add a better reference to the actual function. ........ r86914 | georg.brandl | 2010-12-01 16:36:33 +0100 (Mi, 01 Dez 2010) | 1 line #10594: fix parameter names in PyList API docs. ........ r86915 | georg.brandl | 2010-12-01 16:44:25 +0100 (Mi, 01 Dez 2010) | 1 line Fix some markup and style in the unittest docs. ........ r86931 | georg.brandl | 2010-12-02 10:06:12 +0100 (Do, 02 Dez 2010) | 1 line Fix-up documentation of makedirs(). ........ r86932 | david.malcolm | 2010-12-02 17:41:00 +0100 (Do, 02 Dez 2010) | 2 lines Fix spelling of Jamie Zawinski's surname in urllib.parse docstring (issue 10606) ........ r86933 | georg.brandl | 2010-12-02 19:02:01 +0100 (Do, 02 Dez 2010) | 1 line #10597: fix Py_SetPythonHome docs by pointing to where the meaning of PYTHONHOME is already documented. ........ r86960 | georg.brandl | 2010-12-03 08:55:44 +0100 (Fr, 03 Dez 2010) | 1 line #10360: catch TypeError in WeakSet.__contains__, just like WeakKeyDictionary does. ........ r86964 | georg.brandl | 2010-12-03 10:58:38 +0100 (Fr, 03 Dez 2010) | 1 line #10549: fix interface of docclass() for text documenter. ........ r86974 | georg.brandl | 2010-12-03 16:30:09 +0100 (Fr, 03 Dez 2010) | 1 line Markup consistency fixes. ........ r86980 | georg.brandl | 2010-12-03 18:19:27 +0100 (Fr, 03 Dez 2010) | 1 line Fix punctuation. ........ r86996 | georg.brandl | 2010-12-03 20:56:42 +0100 (Fr, 03 Dez 2010) | 1 line Fix indentation. ........ r87008 | georg.brandl | 2010-12-04 10:04:04 +0100 (Sa, 04 Dez 2010) | 1 line Fix typo. ........ r87050 | georg.brandl | 2010-12-04 18:09:30 +0100 (Sa, 04 Dez 2010) | 1 line Fix typo. ........
| | * Merged revisions 88097 via svnmerge fromAntoine Pitrou2011-01-181-3/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r88097 | antoine.pitrou | 2011-01-18 19:57:52 +0100 (mar., 18 janv. 2011) | 4 lines Issue #10451: memoryview objects could allow to mutate a readable buffer. Initial patch by Ross Lagerwall. ........
| | * Merged revisions 88069 via svnmerge fromBenjamin Peterson2011-01-171-1/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r88069 | benjamin.peterson | 2011-01-17 13:54:55 -0600 (Mon, 17 Jan 2011) | 1 line remove unneeded assertion ........
| | * Merged revisions 88066 via svnmerge fromBenjamin Peterson2011-01-171-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r88066 | benjamin.peterson | 2011-01-17 13:44:46 -0600 (Mon, 17 Jan 2011) | 1 line correct assertion ........