summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Merged revisions ↵Benjamin Peterson2009-01-1619-59/+140
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 68450,68480-68481,68493,68495,68501,68512,68514-68515,68534-68536,68552,68563,68570-68572,68575,68582,68596,68623-68624,68628 via svnmerge from svn+ssh://pythondev@svn.python.org/python/trunk ........ r68450 | jeffrey.yasskin | 2009-01-09 10:47:07 -0600 (Fri, 09 Jan 2009) | 3 lines Fix issue 4884, preventing a crash in the socket code when python is compiled with llvm-gcc and run with a glibc <2.10. ........ r68480 | vinay.sajip | 2009-01-10 07:38:04 -0600 (Sat, 10 Jan 2009) | 1 line Minor documentation changes cross-referencing NullHandler to the documentation on configuring logging in a library. ........ r68481 | vinay.sajip | 2009-01-10 07:42:04 -0600 (Sat, 10 Jan 2009) | 1 line Corrected an incorrect self-reference. ........ r68493 | benjamin.peterson | 2009-01-10 11:18:55 -0600 (Sat, 10 Jan 2009) | 1 line rewrite verbose conditionals ........ r68495 | benjamin.peterson | 2009-01-10 11:36:44 -0600 (Sat, 10 Jan 2009) | 1 line tp_iter only exists with Py_TPFLAGS_HAVE_ITER #4901 ........ r68501 | vinay.sajip | 2009-01-10 13:22:57 -0600 (Sat, 10 Jan 2009) | 1 line Corrected minor typo and added .currentmodule directives to fix missing cross-references. ........ r68512 | benjamin.peterson | 2009-01-10 16:42:10 -0600 (Sat, 10 Jan 2009) | 1 line make tests fail if they can't be imported ........ r68514 | benjamin.peterson | 2009-01-10 17:41:59 -0600 (Sat, 10 Jan 2009) | 1 line move seealso to a more appropiate place ........ r68515 | benjamin.peterson | 2009-01-10 17:49:08 -0600 (Sat, 10 Jan 2009) | 1 line macos 9 isn't supported ........ r68534 | gregory.p.smith | 2009-01-11 11:53:33 -0600 (Sun, 11 Jan 2009) | 2 lines correct email address ........ r68535 | gregory.p.smith | 2009-01-11 11:57:54 -0600 (Sun, 11 Jan 2009) | 9 lines Update the documentation for binascii and zlib crc32/adler32 functions to better describe the signed vs unsigned return value behavior on different platforms and versions of python. Mention the workaround to make them all return the same thing by using & 0xffffffff. Fixes issue4903. Also needs to be merged into release26-maint, release30-maint, & py3k. ........ r68536 | benjamin.peterson | 2009-01-11 13:48:15 -0600 (Sun, 11 Jan 2009) | 1 line add email addresses ........ r68552 | vinay.sajip | 2009-01-12 14:36:18 -0600 (Mon, 12 Jan 2009) | 1 line Minor changes/corrections in markup. ........ r68563 | benjamin.peterson | 2009-01-12 19:49:10 -0600 (Mon, 12 Jan 2009) | 1 line small logic correction ........ r68570 | raymond.hettinger | 2009-01-13 03:08:32 -0600 (Tue, 13 Jan 2009) | 5 lines Issue 4922: Incorrect comments for MutableSet.add() and MutableSet.discard(). Needs to be backported to 2.6 and forward ported to 3.0 and 3.1. ........ r68571 | armin.ronacher | 2009-01-13 05:52:23 -0600 (Tue, 13 Jan 2009) | 3 lines ast.literal_eval can properly evaluate complex numbers now. This fixes issue4907. ........ r68572 | andrew.kuchling | 2009-01-13 07:40:54 -0600 (Tue, 13 Jan 2009) | 1 line Note that first coord. is left alone ........ r68575 | thomas.heller | 2009-01-13 11:32:28 -0600 (Tue, 13 Jan 2009) | 1 line Fix refcount leak in error cases. Bug found by coverity. ........ r68582 | georg.brandl | 2009-01-13 16:14:01 -0600 (Tue, 13 Jan 2009) | 2 lines Use assertRaises. ........ r68596 | amaury.forgeotdarc | 2009-01-13 17:39:22 -0600 (Tue, 13 Jan 2009) | 3 lines #1162154: inspect.getmembers() now skips attributes that raise AttributeError, e.g. a __slots__ attribute which has not been set. ........ r68623 | vinay.sajip | 2009-01-15 16:48:13 -0600 (Thu, 15 Jan 2009) | 1 line Made minor changes/corrections in markup. Added a couple of section headings. ........ r68624 | vinay.sajip | 2009-01-15 17:04:47 -0600 (Thu, 15 Jan 2009) | 1 line Minor changes/corrections in markup. ........ r68628 | benjamin.peterson | 2009-01-15 20:55:24 -0600 (Thu, 15 Jan 2009) | 1 line compare with == not is #4946 ........
* remove duplicate definition of PyExc_BufferError #4950Benjamin Peterson2009-01-161-1/+0
|
* Issue 4910, patch 2 of (probably) 3: pave the way for renaming ofMark Dickinson2009-01-158-25/+8
| | | | | | | | | nb_long: remove last remaining use of nb_long (in the struct module) from the core, set nb_long slots on all builtin and extension types to 0, and remove uses of __long__ in test_complex and test_binop. Reviewed by Benjamin Peterson.
* Merged revisions 68611-68613 via svnmerge fromMark Dickinson2009-01-152-0/+6
| | | | | | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r68611 | mark.dickinson | 2009-01-15 14:54:37 +0000 (Thu, 15 Jan 2009) | 2 lines Issue #4397. Fix occasional test_socket failure on OS X. ........ r68612 | mark.dickinson | 2009-01-15 14:58:28 +0000 (Thu, 15 Jan 2009) | 2 lines Comment typo ........ r68613 | mark.dickinson | 2009-01-15 15:17:43 +0000 (Thu, 15 Jan 2009) | 2 lines Another typo fix. ........
* Issue #1696199: Add collections.Counter().Raymond Hettinger2009-01-144-2/+391
| | | | Forward port from Py2.7.
* Blocked revisions 68592 via svnmergeAmaury Forgeot d'Arc2009-01-130-0/+0
| | | | | | | | | | | ........ r68592 | amaury.forgeotdarc | 2009-01-14 00:19:08 +0100 (mer., 14 janv. 2009) | 5 lines #4807: Remove a wrong usage of wsprintf in the winreg module ("windows sprintf", different than swprintf) Needed for the windows CE port. ........
* Blocked revisions 68589 via svnmergeAntoine Pitrou2009-01-130-0/+0
| | | | | | | | | | ........ r68589 | antoine.pitrou | 2009-01-14 00:13:52 +0100 (mer., 14 janv. 2009) | 5 lines Issue #4935: The overflow checking code in the expandtabs() method common to str, bytes and bytearray could be optimized away by the compiler, letting the interpreter segfault instead of raising an error. ........
* encoding returns bytes objectsBenjamin Peterson2009-01-131-36/+40
|
* Issue #4935: The overflow checking code in the expandtabs() method commonAntoine Pitrou2009-01-132-37/+34
| | | | | | | to str, bytes and bytearray could be optimized away by the compiler (*), letting the interpreter segfault instead of raising an error. (*) or at least it is our interpretation
* Blocked revisions 68579-68580,68584 via svnmergeBenjamin Peterson2009-01-130-0/+0
| | | | | | | | | | | | | | | | ........ r68579 | benjamin.peterson | 2009-01-13 15:42:23 -0600 (Tue, 13 Jan 2009) | 1 line make bytearrayobject.o depend on the stringlib #4936 ........ r68580 | benjamin.peterson | 2009-01-13 15:43:11 -0600 (Tue, 13 Jan 2009) | 1 line add bytearrayobject.h to PYTHON_HEADERS ........ r68584 | benjamin.peterson | 2009-01-13 16:22:41 -0600 (Tue, 13 Jan 2009) | 1 line de-spacify ........
* de-spacifyBenjamin Peterson2009-01-131-3/+3
|
* make bytearrayobject.o depend on the stringlib headers #4936Benjamin Peterson2009-01-131-2/+2
|
* Merged revisions 68425,68461,68498 via svnmerge fromBenjamin Peterson2009-01-134-5/+158
| | | | | | | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r68425 | benjamin.peterson | 2009-01-08 20:56:32 -0600 (Thu, 08 Jan 2009) | 1 line fix markup ........ r68461 | kristjan.jonsson | 2009-01-09 15:35:16 -0600 (Fri, 09 Jan 2009) | 2 lines Issue 4293: Make Py_AddPendingCall() thread safe Add test cases and documentation ........ r68498 | benjamin.peterson | 2009-01-10 13:08:49 -0600 (Sat, 10 Jan 2009) | 1 line fix encoding ........
* Merged revisions 68560 via svnmerge fromAmaury Forgeot d'Arc2009-01-1210-67/+47
| | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r68560 | amaury.forgeotdarc | 2009-01-13 00:36:55 +0100 (mar., 13 janv. 2009) | 6 lines #3720: Interpreter crashes when an evil iterator removes its own next function. Now the slot is filled with a function that always raises. Will not backport: extensions compiled with 2.6.x would not run on 2.6.0. ........
* Issue #4910 (1st patch of a series): fix int() and the correspondingMark Dickinson2009-01-123-17/+23
| | | | | | | | | PyNumber_Int/PyNumber_Long API function so that it no longer attempts to call the __long__ method for conversion. Only the __int__ and __trunc__ methods are used. (This removes a major remaining use of the nb_long slot from the Python 3.x core.) Thanks Benjamin for review.
* Merged revisions 68455,68476,68542 via svnmerge fromMartin v. Löwis2009-01-123-70/+126
| | | | | | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r68455 | kristjan.jonsson | 2009-01-09 21:03:27 +0100 (Fr, 09 Jan 2009) | 1 line Issue 3582. Improved thread support and TLS for Windows ........ r68476 | kristjan.jonsson | 2009-01-10 13:14:31 +0100 (Sa, 10 Jan 2009) | 1 line Issue 4906: Preserve windows error state across PyThread_get_key_value ........ r68542 | martin.v.loewis | 2009-01-12 09:11:24 +0100 (Mo, 12 Jan 2009) | 2 lines Issue #4893: Use NT threading on CE. ........
* Merged revisions 68540 via svnmerge fromMartin v. Löwis2009-01-122-3/+14
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r68540 | martin.v.loewis | 2009-01-12 08:57:11 +0100 (Mo, 12 Jan 2009) | 2 lines Issue #4915: Port sysmodule to Windows CE. ........
* Fixes issue #3826 and #4791:Gregory P. Smith2009-01-123-2/+43
| | | | | | | Have SocketIO objects update their reference count in the underlying socket object on close() so that the underlying socket object is closed immediately when the last user is done rather than at an unknown later time when garbage collection can do it.
* remove docs for PyBytes_Format #4917Benjamin Peterson2009-01-121-6/+0
|
* Issue #4916: fix little-endian UTF-16 decoding bug on big-endian UCS-4 ↵Antoine Pitrou2009-01-111-8/+16
| | | | builds, introduced by r68483.
* Merged revisions 68381 via svnmerge fromBenjamin Peterson2009-01-113-11/+16
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r68381 | martin.v.loewis | 2009-01-07 12:40:40 -0600 (Wed, 07 Jan 2009) | 2 lines Issue #4850: Change COUNT_ALLOCS variables to Py_ssize_t. ........
* Remove __long__ methods from UserString and from Demo/ classes.Mark Dickinson2009-01-113-10/+0
|
* Merged revisions 68527 via svnmerge fromMartin v. Löwis2009-01-112-0/+8
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r68527 | martin.v.loewis | 2009-01-11 10:43:55 +0100 (So, 11 Jan 2009) | 2 lines Issue #4895: Use _strdup on Windows CE. ........
* Merged revisions 68523 via svnmerge fromMartin v. Löwis2009-01-113-0/+4
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r68523 | martin.v.loewis | 2009-01-11 10:26:54 +0100 (So, 11 Jan 2009) | 2 lines Issue #4279: Fix build of parsermodule under Cygwin. ........
* ricos isn't supportedBenjamin Peterson2009-01-101-1/+0
|
* fix syntax in ctypes.utilBenjamin Peterson2009-01-101-2/+2
|
* Issue #4910: replace "long" with "int" in docstring for __long__ slot andMark Dickinson2009-01-103-16/+7
| | | | in documentation for PyNumber_Long.
* Corrected minor typo and added .currentmodule directives to fix missing ↵Vinay Sajip2009-01-101-3/+11
| | | | cross-references.
* Merged revisions 68499 via svnmerge fromMark Dickinson2009-01-101-1/+0
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r68499 | mark.dickinson | 2009-01-10 19:14:55 +0000 (Sat, 10 Jan 2009) | 2 lines Remove an unnecessary check from test_decimal. ........
* Merged revisions 68496 via svnmerge fromAntoine Pitrou2009-01-101-0/+6
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r68496 | antoine.pitrou | 2009-01-10 19:33:21 +0100 (sam., 10 janv. 2009) | 3 lines Add ACKS entries for some of the patches I've been committing. ........
* Blocked revisions 68487 via svnmergeBenjamin Peterson2009-01-100-0/+0
| | | | | | | | | ........ r68487 | matthias.klose | 2009-01-10 11:00:42 -0600 (Sat, 10 Jan 2009) | 3 lines - Issue #4861: ctypes.util.find_library(): Robustify. Fix library detection on biarch systems. Try to rely on ldconfig only, without using objdump and gcc. ........
* Merge r68487 from svn+ssh://pythondev@svn.python.org/python/trunk:Matthias Klose2009-01-102-4/+39
| | | | | - Issue #4861: ctypes.util.find_library(): Robustify. Fix library detection on biarch systems. Try to rely on ldconfig only, without using objdump and gcc.
* fix typo #4904Benjamin Peterson2009-01-101-1/+1
|
* Merged revisions 68484-68485 via svnmerge fromAntoine Pitrou2009-01-105-1/+85
| | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r68484 | antoine.pitrou | 2009-01-10 17:13:45 +0100 (sam., 10 janv. 2009) | 3 lines Issue #3860: GzipFile and BZ2File now support the context manager protocol. ........ r68485 | antoine.pitrou | 2009-01-10 17:15:24 +0100 (sam., 10 janv. 2009) | 1 line Add NEWS entry for r68484. ........
* Issue #4868: utf-8, utf-16 and latin1 decoding are now 2x to 4x faster. TheAntoine Pitrou2009-01-102-24/+211
| | | | | | | | common cases are optimized thanks to a dedicated fast path and a moderate amount of loop unrolling. This will especially help text I/O (we already register a 30% speedup on large reads on the io-c branch).
* Corrected an incorrect self-reference.Vinay Sajip2009-01-101-1/+0
|
* Minor documentation changes relating to NullHandler, the module used for ↵Vinay Sajip2009-01-101-2/+6
| | | | handlers and references to ConfigParser.
* Fixed 2to3 issue on tix module.Hirokazu Yamamoto2009-01-101-2/+2
|
* Commit miss.Hirokazu Yamamoto2009-01-101-2/+2
|
* Merged revisions 68468-68470 via svnmerge fromHirokazu Yamamoto2009-01-105-20/+130
| | | | | | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r68468 | hirokazu.yamamoto | 2009-01-10 17:09:43 +0900 | 1 line Bump up Tcl/Tk version on VC6. (tcl8.4.12 -> tcl8.5.2, tk8.4.12 -> tk8.5.2, tix8.4.0 -> tix8.4.3) ........ r68469 | hirokazu.yamamoto | 2009-01-10 17:12:09 +0900 | 1 line Link to debug version of Tcl/Tk when python is built as debug version. ........ r68470 | hirokazu.yamamoto | 2009-01-10 18:18:16 +0900 | 1 line Added helper script to build Tcl/Tk. ........
* Unblocked revisions 68425 via svnmergeBenjamin Peterson2009-01-100-0/+0
| | | | | | | | ........ r68425 | benjamin.peterson | 2009-01-08 20:56:32 -0600 (Thu, 08 Jan 2009) | 1 line fix markup ........
* Merged revisions 68462 via svnmerge fromAntoine Pitrou2009-01-092-1/+71
| | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r68462 | antoine.pitrou | 2009-01-09 22:40:55 +0100 (ven., 09 janv. 2009) | 6 lines Issue #4074: Change the criteria for doing a full garbage collection (i.e. collecting the oldest generation) so that allocating lots of objects without destroying them does not show quadratic performance. Based on a proposal by Martin von Löwis at http://mail.python.org/pipermail/python-dev/2008-June/080579.html. ........
* Fix bug introduced in r68451: stdio must always be opened in line-buffered modeAntoine Pitrou2009-01-091-7/+15
| | | | if isatty() is true.
* Issue #4604: Some objects of the I/O library could still be used afterAntoine Pitrou2009-01-093-36/+81
| | | | | having been closed (for instance, a read() call could return some previously buffered data). Patch by Dmitry Vasiliev.
* Buglet: fix unittest.main()Antoine Pitrou2009-01-091-1/+1
|
* Issue #4705: Fix the -u ("unbuffered binary stdout and stderr") command-lineAntoine Pitrou2009-01-095-13/+102
| | | | | | flag to work properly. Furthermore, when specifying -u, the text stdout and stderr streams have line-by-line buffering enabled (the default being to buffer arbitrary chunks of data). Patch by Victor Stinner, test by me.
* Blocked revisions 68439 via svnmergeHirokazu Yamamoto2009-01-090-0/+0
| | | | | | | | ........ r68439 | hirokazu.yamamoto | 2009-01-09 13:10:40 +0900 | 1 line Bump up bsddb version on VC6. (db-4.4.20 -> db-4.7.25) ........
* Merged revisions 68435 via svnmerge fromHirokazu Yamamoto2009-01-092-8/+8
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r68435 | hirokazu.yamamoto | 2009-01-09 12:32:46 +0900 | 1 line Bump up bzip2 version on VC6. (bzip2-1.0.3 -> bzip2-1.0.5) ........
* Merged revisions 68167,68276,68292-68293,68344 via svnmerge fromBenjamin Peterson2009-01-095-29/+171
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r68167 | vinay.sajip | 2009-01-02 12:53:04 -0600 (Fri, 02 Jan 2009) | 1 line Minor documentation changes relating to NullHandler, the module used for handlers and references to ConfigParser. ........ r68276 | tarek.ziade | 2009-01-03 18:04:49 -0600 (Sat, 03 Jan 2009) | 1 line fixed #1702551: distutils sdist was not pruning VCS directories under win32 ........ r68292 | skip.montanaro | 2009-01-04 04:36:58 -0600 (Sun, 04 Jan 2009) | 3 lines If user configures --without-gcc give preference to $CC instead of blindly assuming the compiler will be "cc". ........ r68293 | tarek.ziade | 2009-01-04 04:37:52 -0600 (Sun, 04 Jan 2009) | 1 line using clearer syntax ........ r68344 | marc-andre.lemburg | 2009-01-05 13:43:35 -0600 (Mon, 05 Jan 2009) | 7 lines Fix #4846 (Py_UNICODE_ISSPACE causes linker error) by moving the declaration into the extern "C" section. Add a few more comments and apply some minor edits to make the file contents fit the original structure again. ........
* Reduce the size of the _PyLong_DigitValue table.Raymond Hettinger2009-01-093-4/+8
|