summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Merged revisions 77704,77752 via svnmerge fromTarek Ziadé2010-01-2935-930/+1197
| | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r77704 | tarek.ziade | 2010-01-23 10:23:15 +0100 (Sat, 23 Jan 2010) | 1 line taking sysconfig out of distutils ........ r77752 | tarek.ziade | 2010-01-26 00:19:56 +0100 (Tue, 26 Jan 2010) | 1 line switched the call order so this call works without suffering from issue #7774 ........
* Blocked revisions 77811-77812 via svnmergeBenjamin Peterson2010-01-280-0/+0
| | | | | | | | | | | | ........ r77811 | benjamin.peterson | 2010-01-27 20:15:02 -0600 (Wed, 27 Jan 2010) | 1 line an -> a ........ r77812 | benjamin.peterson | 2010-01-27 20:18:25 -0600 (Wed, 27 Jan 2010) | 1 line avoid a py3k warning from __hash__ ........
* Merged revisions 77809 via svnmerge fromEzio Melotti2010-01-281-6/+8
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r77809 | ezio.melotti | 2010-01-28 03:41:30 +0200 (Thu, 28 Jan 2010) | 1 line avoid to use zlib when the compress type is not ZIP_DEFLATED ........
* Blocked revisions 77806 via svnmergeBenjamin Peterson2010-01-280-0/+0
| | | | | | | | ........ r77806 | benjamin.peterson | 2010-01-27 19:24:46 -0600 (Wed, 27 Jan 2010) | 1 line add compat note ........
* updated/removed a few versionadded/versionchangedEzio Melotti2010-01-274-6/+2
|
* Merged revisions 77798 via svnmerge fromAntoine Pitrou2010-01-273-192/+242
| | | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r77798 | antoine.pitrou | 2010-01-27 21:59:50 +0100 (mer., 27 janv. 2010) | 8 lines Issue #7610: Reworked implementation of the internal :class:`zipfile.ZipExtFile` class used to represent files stored inside an archive. The new implementation is significantly faster and can be wrapped in a :class:`io.BufferedReader` object for more speedups. It also solves an issue where interleaved calls to `read()` and `readline()` give wrong results. Patch by Nir Aides. ........
* Merged revisions 77796 via svnmerge fromEzio Melotti2010-01-271-4/+4
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r77796 | ezio.melotti | 2010-01-27 22:25:11 +0200 (Wed, 27 Jan 2010) | 1 line #7765: typos ........
* Merged revisions 77794 via svnmerge fromJesse Noller2010-01-276-19/+130
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r77794 | jesse.noller | 2010-01-26 22:05:57 -0500 (Tue, 26 Jan 2010) | 1 line Issue #6963: Added maxtasksperchild argument to multiprocessing.Pool ........
* Blocked revisions 77788 via svnmergeBenjamin Peterson2010-01-270-0/+0
| | | | | | | | ........ r77788 | benjamin.peterson | 2010-01-26 20:15:28 -0600 (Tue, 26 Jan 2010) | 1 line for UserDict to be compatible with abcs, it must subclass object ........
* Merged revisions 77789 via svnmerge fromBenjamin Peterson2010-01-273-1/+9
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r77789 | benjamin.peterson | 2010-01-26 20:16:42 -0600 (Tue, 26 Jan 2010) | 1 line raise a clear TypeError when trying to register a non-class ........
* Merged revisions 77784 via svnmerge fromEric Smith2010-01-271-0/+4
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r77784 | eric.smith | 2010-01-26 21:06:25 -0500 (Tue, 26 Jan 2010) | 1 line Added named (but not numbered) attributes to sys.getwindowsversion() test. ........
* add issue numberBenjamin Peterson2010-01-271-1/+1
|
* don't accept bytes in FileIO.write #7785Benjamin Peterson2010-01-273-2/+7
|
* Fixed test_support -> support.Eric Smith2010-01-271-1/+1
|
* Merged revisions 77775 via svnmerge fromEric Smith2010-01-271-23/+24
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r77775 | eric.smith | 2010-01-26 20:21:15 -0500 (Tue, 26 Jan 2010) | 1 line Switch to test_support.get_attribute. ........
* Merged revisions 77771 via svnmerge fromEric Smith2010-01-271-1/+0
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r77771 | eric.smith | 2010-01-26 19:58:43 -0500 (Tue, 26 Jan 2010) | 1 line Removed unneeded test. ........
* Merged revisions 77767 via svnmerge fromEric Smith2010-01-271-1/+1
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r77767 | eric.smith | 2010-01-26 19:55:16 -0500 (Tue, 26 Jan 2010) | 1 line Fix type on getwindowsversion documentation. Thanks Taggnostr. ........
* Merged revisions 77763 via svnmerge fromEric Smith2010-01-274-19/+114
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r77763 | eric.smith | 2010-01-26 19:28:29 -0500 (Tue, 26 Jan 2010) | 1 line Issue #7766: Change sys.getwindowsversion() return value to a named tuple and add the additional members returned in an OSVERSIONINFOEX structure. The new members are service_pack_major, service_pack_minor, suite_mask, and product_type. ........
* Merged revisions 77749 via svnmerge fromEzio Melotti2010-01-251-0/+2
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r77749 | ezio.melotti | 2010-01-25 14:37:02 +0200 (Mon, 25 Jan 2010) | 1 line Add a news entry for the functions verify and vereq that have been removed in r77729 and r77731 ........
* Merged revisions 77743 via svnmerge fromEzio Melotti2010-01-253-3/+3
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r77743 | ezio.melotti | 2010-01-25 13:24:37 +0200 (Mon, 25 Jan 2010) | 1 line #7775: fixed docstring for rpartition ........
* Merged revisions 77735 via svnmerge fromBenjamin Peterson2010-01-254-2/+11
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r77735 | benjamin.peterson | 2010-01-24 21:31:13 -0600 (Sun, 24 Jan 2010) | 1 line fix an UnboundLocalError when the release file is empty #7773 ........
* Merged revisions 77729 via svnmerge fromEzio Melotti2010-01-243-70/+43
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r77729 | ezio.melotti | 2010-01-24 22:48:35 +0200 (Sun, 24 Jan 2010) | 1 line remove archaic functions from test_support ........
* Merged revisions 77727 via svnmerge fromEzio Melotti2010-01-2452-288/+287
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r77727 | ezio.melotti | 2010-01-24 18:58:36 +0200 (Sun, 24 Jan 2010) | 1 line use assert[Not]IsInstance where appropriate ........
* Merged revisions 77691,77698,77713-77714 via svnmerge fromMark Dickinson2010-01-242-69/+122
| | | | | | | | | | | | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r77691 | mark.dickinson | 2010-01-22 16:18:09 +0000 (Fri, 22 Jan 2010) | 1 line Correct typo in comment. ........ r77698 | mark.dickinson | 2010-01-22 17:04:07 +0000 (Fri, 22 Jan 2010) | 3 lines Issue #7743: Fix a potential incorrect rounding bug in dtoa.c (2nd bug in issue 7743). ........ r77713 | mark.dickinson | 2010-01-23 20:48:56 +0000 (Sat, 23 Jan 2010) | 3 lines Issue #7743: Add checks for zero inputs to the lshift and mult functions; this fixes the first bug described in issue #7743. ........ r77714 | mark.dickinson | 2010-01-23 21:25:53 +0000 (Sat, 23 Jan 2010) | 1 line dtoa.c fix from upstream that fixes incorrectly rounded results for certain subnormals that are also halfway cases. ........
* Blocked revisions 77717 via svnmergeTarek Ziadé2010-01-240-0/+0
| | | | | | | | ........ r77717 | tarek.ziade | 2010-01-24 01:33:32 +0100 (Sun, 24 Jan 2010) | 1 line Fixed #7748: now upload and register commands don't need to force the encoding anymore : DistributionMetada returns utf8 strings ........
* Recorded merge of revisions 77715 via svnmerge fromEzio Melotti2010-01-230-0/+0
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r77715 | ezio.melotti | 2010-01-24 01:04:36 +0200 (Sun, 24 Jan 2010) | 1 line use assert[Not]In where appropriate ........
* use assert[Not]In where appropriateEzio Melotti2010-01-2339-173/+176
|
* Merged revisions 77706 via svnmerge fromEzio Melotti2010-01-231-1/+5
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r77706 | ezio.melotti | 2010-01-23 12:43:05 +0200 (Sat, 23 Jan 2010) | 1 line Increased the overflow value on test_dealloc to make sure that it is big enough even for wide builds. ........
* Merged revisions 77697 via svnmerge fromEzio Melotti2010-01-221-1/+1
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r77697 | ezio.melotti | 2010-01-22 18:58:28 +0200 (Fri, 22 Jan 2010) | 1 line This should fix the failure introduced in r77680. The error message is now different and it caused the test to fail. The failing test is not present in 2.5 so it is failing only on 2.6 and newer versions. ........
* Merged revisions 77680 via svnmerge fromMatthias Klose2010-01-222-0/+6
| | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r77680 | matthias.klose | 2010-01-22 01:39:04 +0100 (Fr, 22 Jan 2010) | 3 lines - Expat: Fix DoS via XML document with malformed UTF-8 sequences (CVE_2009_3560). ........
* Merged revisions 77675 via svnmerge fromEzio Melotti2010-01-211-1/+1
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r77675 | ezio.melotti | 2010-01-21 22:50:57 +0200 (Thu, 21 Jan 2010) | 1 line #7746: rephrase a sentence ........
* Blocked revisions 77672 via svnmergeMark Dickinson2010-01-210-0/+0
| | | | | | | | ........ r77672 | mark.dickinson | 2010-01-21 19:58:41 +0000 (Thu, 21 Jan 2010) | 1 line Use // for floor division. ........
* Merged revisions 77614-77616,77663 via svnmerge fromMark Dickinson2010-01-212-189/+334
| | | | | | | | | | | | | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r77614 | mark.dickinson | 2010-01-20 17:36:31 +0000 (Wed, 20 Jan 2010) | 5 lines Various dtoa.c cleanups. 1. Despagghetify _Py_dg_strtod parsing code and exit points. 2. Simplify bigcomp comparison loop. 3. Don't set ERANGE on _Py_dg_strtod underflow (it was set inconsistently anyway). 4. Remove unused dsign field from BCinfo struct. ........ r77615 | mark.dickinson | 2010-01-20 18:02:41 +0000 (Wed, 20 Jan 2010) | 1 line Don't try to put a value into a NULL pointer. ........ r77616 | mark.dickinson | 2010-01-20 21:23:25 +0000 (Wed, 20 Jan 2010) | 1 line Additional explanatory comments for _Py_dg_strtod. ........ r77663 | mark.dickinson | 2010-01-21 17:02:53 +0000 (Thu, 21 Jan 2010) | 1 line Additional testcases for strtod. ........
* use assert[Not]In where appropriateBenjamin Peterson2010-01-1975-454/+471
| | | | A patch from Dave Malcolm.
* Merged revisions 77599-77601 via svnmerge fromAntoine Pitrou2010-01-183-0/+1008
| | | | | | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r77599 | antoine.pitrou | 2010-01-18 22:04:00 +0100 (lun., 18 janv. 2010) | 3 lines Add iobench to the Tools directory (see December python-dev discussion) ........ r77600 | antoine.pitrou | 2010-01-18 22:10:31 +0100 (lun., 18 janv. 2010) | 3 lines Add ccbench to the Tools directory ........ r77601 | antoine.pitrou | 2010-01-18 22:15:21 +0100 (lun., 18 janv. 2010) | 3 lines Add a NEWS entry for r77599 and r77600. ........
* Merged revisions 77595 via svnmerge fromEzio Melotti2010-01-181-1/+1
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r77595 | ezio.melotti | 2010-01-18 11:10:26 +0200 (Mon, 18 Jan 2010) | 1 line #7730: remove spaces after functions names ........
* Merged revisions 77589 via svnmerge fromMark Dickinson2010-01-172-0/+102
| | | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r77589 | mark.dickinson | 2010-01-17 20:57:56 +0000 (Sun, 17 Jan 2010) | 7 lines Issue #7632: When Py_USING_MEMORY_DEBUGGER is defined, disable the private memory allocation scheme in dtoa.c, along with a piece of code that caches powers of 5 for future use. This makes it easier to detect dtoa.c memory leaks with Valgrind or similar tools. Patch by Stefan Krah. ........
* Merged revisions 77581 via svnmerge fromAntoine Pitrou2010-01-171-1/+1
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r77581 | antoine.pitrou | 2010-01-17 16:55:45 +0100 (dim., 17 janv. 2010) | 3 lines Use PyAPI_DATA. ........
* Merged revisions 77578 via svnmerge fromMark Dickinson2010-01-172-3/+10
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r77578 | mark.dickinson | 2010-01-17 13:37:57 +0000 (Sun, 17 Jan 2010) | 2 lines Issue #7632: Fix a memory leak in _Py_dg_strtod. ........
* Merged revisions 77573 via svnmerge fromAntoine Pitrou2010-01-174-15/+21
| | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r77573 | antoine.pitrou | 2010-01-17 13:26:20 +0100 (dim., 17 janv. 2010) | 6 lines Issue #7561: Operations on empty bytearrays (such as `int(bytearray())`) could crash in many places because of the PyByteArray_AS_STRING() macro returning NULL. The macro now returns a statically allocated empty string instead. ........
* Issue #7561: Fix crashes when using bytearray objects with the posixAntoine Pitrou2010-01-173-1/+13
| | | | module.
* Merged revisions 77566 via svnmerge fromMark Dickinson2010-01-171-1/+1
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r77566 | mark.dickinson | 2010-01-17 11:10:03 +0000 (Sun, 17 Jan 2010) | 1 line Increase number of strtod tests slightly, to make it more likely that a memory leak is detected. ........
* Merged revisions 77550 via svnmerge fromMark Dickinson2010-01-161-0/+2
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r77550 | mark.dickinson | 2010-01-16 20:33:02 +0000 (Sat, 16 Jan 2010) | 1 line Add better error reporting for MemoryErrors caused by str->float conversions. ........
* Merged revisions 77548 via svnmerge fromEzio Melotti2010-01-161-1/+1
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r77548 | ezio.melotti | 2010-01-16 21:36:42 +0200 (Sat, 16 Jan 2010) | 1 line remove wrong markup ........
* Issue #6690: Optimize the bytecode for expressions such as `x in {1, 2, 3}`,Antoine Pitrou2010-01-163-4/+73
| | | | | | | | | where the right hand operand is a set of constants, by turning the set into a frozenset and pre-building it as a constant. The comparison operation is made against the constant instead of building a new set each time it is executed (a similar optimization already existed which turned a list of constants into a pre-built tuple). Patch and additional tests by Dave Malcolm.
* Merged revisions 77517,77525 via svnmerge fromR. David Murray2010-01-164-0/+86
| | | | | | | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk Merge adds an additional test for as_string with a maxheaderlen specified. ........ r77517 | r.david.murray | 2010-01-16 00:15:17 -0500 (Sat, 16 Jan 2010) | 6 lines Issue #1670765: Prevent email.generator.Generator from re-wrapping headers in multipart/signed MIME parts, which fixes one of the sources of invalid modifications to such parts by Generator. Patch and tests by Martin von Gagern. ........ r77525 | r.david.murray | 2010-01-16 11:08:32 -0500 (Sat, 16 Jan 2010) | 2 lines Fix issue number in comment. ........
* Remove duplicated line when merging (it was even valid C!).Antoine Pitrou2010-01-161-1/+0
| | | | Thanks Florent for noticing.
* Merged revisions 77519,77530,77533 via svnmerge fromMark Dickinson2010-01-163-47/+100
| | | | | | | | | | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r77519 | mark.dickinson | 2010-01-16 10:44:00 +0000 (Sat, 16 Jan 2010) | 5 lines Issue #7632: Fix a serious wrong output bug for string -> float conversion. Also remove some now unused variables, and add comments clarifying the possible outputs of the parsing section of _Py_dg_strtod. Thanks Eric Smith for reviewing. ........ r77530 | mark.dickinson | 2010-01-16 17:57:49 +0000 (Sat, 16 Jan 2010) | 3 lines Issue #7632: Fix one more case of incorrect rounding for str -> float conversion (see bug 5 in the issue tracker). ........ r77533 | mark.dickinson | 2010-01-16 18:06:17 +0000 (Sat, 16 Jan 2010) | 1 line Fix multiple uses of variable 'L' in _Py_dg_strtod, where one use requires an unsigned long and the other a signed long. See also r77421. ........
* Merged revisions 77528 via svnmerge fromAntoine Pitrou2010-01-163-34/+88
| | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r77528 | antoine.pitrou | 2010-01-16 18:45:56 +0100 (sam., 16 janv. 2010) | 4 lines Followup to #7703: a2b_hqx() didn't follow the new buffer API (neither in trunk nor in py3k). Patch by Florent Xicluna as well as additional tests. ........
* Fixed crasher. Patch by Florent Xicluna.Ezio Melotti2010-01-161-2/+2
|