summaryrefslogtreecommitdiffstats
path: root/Objects
Commit message (Collapse)AuthorAgeFilesLines
* Merged revisions 87834 via svnmerge fromAntoine Pitrou2011-01-071-6/+22
| | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r87834 | antoine.pitrou | 2011-01-07 22:43:59 +0100 (ven., 07 janv. 2011) | 5 lines Issue #8020: Avoid a crash where the small objects allocator would read non-Python managed memory while it is being modified by another thread. Patch by Matt Bandy. ........
* Merged revisions 87032 via svnmerge fromMark Dickinson2010-12-041-4/+14
| | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r87032 | mark.dickinson | 2010-12-04 12:25:30 +0000 (Sat, 04 Dec 2010) | 3 lines Issue #10596: Fix float.__mod__ to have the same behaviour as float.__divmod__ with respect to signed zeros. ........
* Merged revisions 86791 via svnmerge fromStefan Krah2010-11-261-9/+9
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r86791 | stefan.krah | 2010-11-26 11:54:09 +0100 (Fri, 26 Nov 2010) | 1 line Indentation cleanup. ........
* Revert r86726. Sorry about interfering with the rc.Armin Rigo2010-11-241-1/+1
|
* A no-op change. It looks like this call was not meant to be a recursiveArmin Rigo2010-11-241-1/+1
| | | | call, but just call the helper (which the recursive call ends up doing).
* Improved docstrings for str and unicode methods format and __format__.Eric Smith2010-11-062-4/+6
|
* CObject use is marked as a Py3k warning, not a deprecation warningJesus Cea2010-11-041-2/+1
|
* Issue 10221: Improve error message for dict.pop().Raymond Hettinger2010-10-301-2/+1
|
* Issue #9295: Fix a crash under Windows when calling close() on a fileAntoine Pitrou2010-10-281-0/+6
| | | | object with custom buffering from two threads at once.
* iterators passed to writelines() can close their files; don't segfault #10125Benjamin Peterson2010-10-161-0/+5
|
* Merged revisions 85392 via svnmerge fromBenjamin Peterson2010-10-121-4/+1
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r85392 | benjamin.peterson | 2010-10-12 17:57:59 -0500 (Tue, 12 Oct 2010) | 1 line prefer clearing global objects to obscure module.__dict__ bugs #10068 ........
* Merged revisions 85193 via svnmerge fromBenjamin Peterson2010-10-031-2/+2
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r85193 | benjamin.peterson | 2010-10-02 21:13:39 -0500 (Sat, 02 Oct 2010) | 1 line typo ........
* Merged revisions 85154 via svnmerge fromBenjamin Peterson2010-10-021-2/+5
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r85154 | benjamin.peterson | 2010-10-01 19:03:31 -0500 (Fri, 01 Oct 2010) | 1 line type.__abstractmethods__ should raise an AttributeError #10006 ........
* Issue #9869: Make long() and PyNumber_Long return something of typeMark Dickinson2010-09-261-1/+8
| | | | | | | long for a class whose __long__ method returns a plain int. This fixes an interpreter crash (due to long_subtype_new assuming PyNumber_Long returns a long) when initializing an instance of a long subclass from an object whose __long__ method returns a plain int.
* Issue #4947: The write() method of sys.stdout and sys.stderr uses theirVictor Stinner2010-09-081-4/+33
| | | | | encoding and errors attributes instead of using utf-8 in strict mode, to get the same behaviour than the print statement.
* Merged revisions 84408-84409 via svnmerge fromAntoine Pitrou2010-09-011-1/+6
| | | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r84408 | antoine.pitrou | 2010-09-01 23:14:16 +0200 (mer., 01 sept. 2010) | 4 lines Issue #9737: Fix a crash when trying to delete a slice or an item from a memoryview object. ........ r84409 | antoine.pitrou | 2010-09-01 23:14:46 +0200 (mer., 01 sept. 2010) | 3 lines Fix a compilation warning ........
* Merged revisions 84391 via svnmerge fromAntoine Pitrou2010-09-012-14/+11
| | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r84391 | antoine.pitrou | 2010-09-01 14:58:21 +0200 (mer., 01 sept. 2010) | 5 lines Issue #3101: Helper functions _add_one_to_C() and _add_one_to_F() become _Py_add_one_to_C() and _Py_add_one_to_F(), respectively. ........
* Merged revisions 84344 via svnmerge fromAntoine Pitrou2010-08-281-48/+65
| | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r84344 | antoine.pitrou | 2010-08-28 20:17:03 +0200 (sam., 28 août 2010) | 4 lines Issue #1868: Eliminate subtle timing issues in thread-local objects by getting rid of the cached copy of thread-local attribute dictionary. ........
* Merged revisions 84320 via svnmerge fromBenjamin Peterson2010-08-251-2/+2
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r84320 | benjamin.peterson | 2010-08-25 18:13:17 -0500 (Wed, 25 Aug 2010) | 1 line basicsize and itemsize are Py_ssize_t #9688 ........
* Merged revisions 84106 via svnmerge fromAlexander Belopolsky2010-08-161-2/+2
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r84106 | alexander.belopolsky | 2010-08-16 16:17:07 -0400 (Mon, 16 Aug 2010) | 1 line Issue #8983: Corrected docstrings. ........
* Merged revisions 83833,83838-83839,83859,83878 via svnmerge fromFlorent Xicluna2010-08-091-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r83833 | florent.xicluna | 2010-08-08 18:25:27 +0200 (dim., 08 août 2010) | 2 lines Add test case for the HTTPResponse being an iterable. Follow-up of issue #4608. ........ r83838 | florent.xicluna | 2010-08-08 20:03:44 +0200 (dim., 08 août 2010) | 2 lines Typo. ........ r83839 | florent.xicluna | 2010-08-08 20:06:13 +0200 (dim., 08 août 2010) | 2 lines Issue #7564: Skip test_ioctl if another process is attached to /dev/tty. ........ r83859 | florent.xicluna | 2010-08-09 00:07:16 +0200 (lun., 09 août 2010) | 2 lines Fix #8530: Prevent stringlib fastsearch from reading beyond the front of an array. ........ r83878 | florent.xicluna | 2010-08-09 10:29:08 +0200 (lun., 09 août 2010) | 1 line Merge the 2to3 script from /sandbox/trunk/2to3/2to3, revision 72867 (latest). ........
* Issue8757: Implicit set-to-frozenset conversion not thread-safe.Raymond Hettinger2010-08-061-9/+3
|
* Merged revisions 83226-83227,83229-83230,83232 via svnmerge fromGeorg Brandl2010-08-011-4/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r83226 | georg.brandl | 2010-07-29 16:17:12 +0200 (Do, 29 Jul 2010) | 1 line #1090076: explain the behavior of *vars* in get() better. ........ r83227 | georg.brandl | 2010-07-29 16:23:06 +0200 (Do, 29 Jul 2010) | 1 line Use Py_CLEAR(). ........ r83229 | georg.brandl | 2010-07-29 16:32:22 +0200 (Do, 29 Jul 2010) | 1 line #9407: document configparser.Error. ........ r83230 | georg.brandl | 2010-07-29 16:36:11 +0200 (Do, 29 Jul 2010) | 1 line Use correct directive and name. ........ r83232 | georg.brandl | 2010-07-29 16:49:08 +0200 (Do, 29 Jul 2010) | 1 line #9388: remove ERA_YEAR which is never defined in the source code. ........
* Recorded merge of revisions 83444 via svnmerge fromGeorg Brandl2010-08-011-3/+3
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r83444 | georg.brandl | 2010-08-01 22:51:02 +0200 (So, 01 Aug 2010) | 1 line Revert r83395, it introduces test failures and is not necessary anyway since we now have to nul-terminate the string anyway. ........
* Merged revisions 83395 via svnmerge fromGeorg Brandl2010-08-011-2/+2
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r83395 | georg.brandl | 2010-08-01 10:49:18 +0200 (So, 01 Aug 2010) | 1 line #8821: do not rely on Unicode strings being terminated with a \u0000, rather explicitly check range before looking for a second surrogate character. ........
* Merged revisions 83400 via svnmerge fromMark Dickinson2010-08-011-4/+8
| | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r83400 | mark.dickinson | 2010-08-01 11:41:49 +0100 (Sun, 01 Aug 2010) | 7 lines Issue #9416: Fix some issues with complex formatting where the output with no type specifier failed to match the str output: - format(complex(-0.0, 2.0), '-') omitted the real part from the output, - format(complex(0.0, 2.0), '-') included a sign and parentheses. ........
* #9328: string format methods return strings.Georg Brandl2010-07-311-2/+2
|
* Sub-issue of #9036: Fix incorrect use of Py_CHARMASK.Stefan Krah2010-07-191-1/+1
|
* Merged revisions 82814 via svnmerge fromAntoine Pitrou2010-07-111-11/+3
| | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r82814 | antoine.pitrou | 2010-07-11 14:12:00 +0200 (dim., 11 juil. 2010) | 4 lines Issue #7616: Fix copying of overlapping memoryview slices with the Intel compiler. ........
* Merged revisions 82573 via svnmerge fromSenthil Kumaran2010-07-052-2/+3
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r82573 | senthil.kumaran | 2010-07-05 17:30:56 +0530 (Mon, 05 Jul 2010) | 3 lines Fix the docstrings of the capitalize method. ........
* add spaceBenjamin Peterson2010-07-021-1/+1
|
* remove unused last argument to property_copyBenjamin Peterson2010-06-281-16/+12
|
* Fix extra space.Ezio Melotti2010-06-262-2/+2
|
* remove INT_MAX assertions; they can fail with large Py_ssize_t #9058Benjamin Peterson2010-06-221-3/+0
|
* fix warning with ucs4Benjamin Peterson2010-06-121-1/+2
|
* Issue #8941: decoding big endian UTF-32 data in UCS-2 builds could crashAntoine Pitrou2010-06-111-19/+21
| | | | | the interpreter with characters outside the Basic Multilingual Plane (higher than 0x10000).
* Issue #8930: fix some C code indentationAntoine Pitrou2010-06-092-217/+217
|
* remove extra byte and fix commentBenjamin Peterson2010-06-071-2/+2
|
* correctly overflow when indexes are too largeBenjamin Peterson2010-06-071-0/+4
|
* locale grouping strings should end in '\0'Benjamin Peterson2010-06-071-1/+1
|
* Update PyUnicode_DecodeUTF8 from RFC 2279 to RFC 3629.Ezio Melotti2010-06-051-63/+56
| | | | | | | | | | | | | | | 1) #8271: when a byte sequence is invalid, only the start byte and all the valid continuation bytes are now replaced by U+FFFD, instead of replacing the number of bytes specified by the start byte. See http://www.unicode.org/versions/Unicode5.2.0/ch03.pdf (pages 94-95); 2) 5- and 6-bytes-long UTF-8 sequences are now considered invalid (no changes in behavior); 3) Add code and tests to reject surrogates (U+D800-U+DFFF) as defined in RFC 3629, but leave it commented out since it's not backward compatible; 4) Change the error messages "unexpected code byte" to "invalid start byte" and "invalid data" to "invalid continuation byte"; 5) Add an extensive set of tests in test_unicode; 6) Fix test_codeccallbacks because it was failing after this change.
* Fix comment typo.Mark Dickinson2010-06-051-1/+1
|
* Issue #8627: Fix "XXX undetected error" from unchecked PyErr_WarnPy3k return.Mark Dickinson2010-06-051-4/+10
| | | | | This is just a quick fix: if the warning is turned into an exception, the exception simply gets ignored.
* Issue #8627: remove out-of-date warning about overriding __cmp__Mark Dickinson2010-06-051-7/+0
|
* _PyObject_LookupSpecial returns a new referenceBenjamin Peterson2010-06-051-0/+1
|
* fix ref countingBenjamin Peterson2010-06-051-1/+1
|
* implement object.__format__ with PyObject_FormatBenjamin Peterson2010-06-051-12/+1
|
* remove PyType_Ready call; float should be initialized in interpreter startupBenjamin Peterson2010-06-051-6/+1
|
* properly lookup the __format__ special methodBenjamin Peterson2010-06-051-21/+11
|
* Issue #8748: Fix incorrect results from comparisons between an integerMark Dickinson2010-05-301-9/+54
| | | | and a complex instance. Based on a patch by Meador Inge.