summaryrefslogtreecommitdiffstats
path: root/Lib
Commit message (Collapse)AuthorAgeFilesLines
* Issue #7610: Reworked implementation of the internalAntoine Pitrou2010-01-272-187/+236
| | | | | | | | :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.
* Issue #6963: Added maxtasksperchild argument to multiprocessing.PoolJesse Noller2010-01-273-18/+108
|
* raise a clear TypeError when trying to register a non-classBenjamin Peterson2010-01-272-1/+7
|
* for UserDict to be compatible with abcs, it must subclass objectBenjamin Peterson2010-01-271-1/+1
|
* Added named (but not numbered) attributes to sys.getwindowsversion() test.Eric Smith2010-01-271-0/+4
|
* Switch to test_support.get_attribute.Eric Smith2010-01-271-23/+24
|
* Removed unneeded test.Eric Smith2010-01-271-1/+0
|
* Issue #7766: Change sys.getwindowsversion() return value to a named tuple ↵Eric Smith2010-01-271-1/+17
| | | | 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.
* added local get_platform/set_platform APIs in distutils.sysconfigTarek Ziadé2010-01-2610-112/+42
|
* reintroduced the names in Distutils for APIs that were relocatedTarek Ziadé2010-01-262-0/+13
|
* fixed bdist_msi imports and added a test module for distutils.command.bdist_msiTarek Ziadé2010-01-262-3/+26
|
* #7092: fix DeprecationWarnings for json when the tests are run with -3 -Wd.Ezio Melotti2010-01-263-8/+7
|
* switched the call order so this call works without suffering from issue #7774Tarek Ziadé2010-01-251-1/+1
|
* compare types with is not ==Benjamin Peterson2010-01-251-2/+2
|
* mention from_float() in error messageBenjamin Peterson2010-01-251-2/+2
|
* fix an UnboundLocalError when the release file is empty #7773Benjamin Peterson2010-01-252-2/+7
|
* #7269: fix failures in test_bsddb3. Patch by Florent Xicluna.Ezio Melotti2010-01-241-1/+1
|
* remove archaic functions from test_supportEzio Melotti2010-01-243-69/+42
|
* use assert[Not]IsInstance where appropriateEzio Melotti2010-01-2457-272/+269
|
* Fixed #7748: now upload and register commands don't need to force the ↵Tarek Ziadé2010-01-245-18/+22
| | | | encoding anymore : DistributionMetada returns utf8 strings
* use assert[Not]In where appropriateEzio Melotti2010-01-2386-599/+622
|
* fixed the 64bits tests for get_platform() - mac osxTarek Ziadé2010-01-231-1/+27
|
* Increased the overflow value on test_dealloc to make sure that it is big ↵Ezio Melotti2010-01-231-1/+5
| | | | enough even for wide builds.
* taking sysconfig out of distutilsTarek Ziadé2010-01-2333-1006/+1189
|
* This should fix the failure introduced in r77680. The error message is now ↵Ezio Melotti2010-01-221-1/+1
| | | | 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.
* Use // for floor division.Mark Dickinson2010-01-211-2/+2
|
* Add two more test_strtod test values.Mark Dickinson2010-01-211-0/+36
|
* Additional testcases for strtod.Mark Dickinson2010-01-211-0/+54
|
* Various dtoa.c cleanups. 1. Despagghetify _Py_dg_strtod parsing codeMark Dickinson2010-01-201-4/+41
| | | | | | 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.
* Revert debugprint code in r77607.Gregory P. Smith2010-01-191-4/+0
|
* Add a pydebug mode only debug print to help debug the errors inGregory P. Smith2010-01-191-0/+4
| | | | | | http://www.python.org/dev/buildbot/all/builders/x86%20gentoo%20trunk/builds/5700/ Will be removed shortly.
* data descriptors do not override the class dictionary if __get__ is not definedBenjamin Peterson2010-01-181-0/+20
| | | | | | | Adjust documentation and add a test to verify this behavior. See http://mail.python.org/pipermail/python-dev/2010-January/095637.html for discussion.
* #7730: remove spaces after functions namesEzio Melotti2010-01-181-17/+17
|
* Issue #7561: Operations on empty bytearrays (such as `int(bytearray())`)Antoine Pitrou2010-01-171-0/+7
| | | | | | could crash in many places because of the PyByteArray_AS_STRING() macro returning NULL. The macro now returns a statically allocated empty string instead.
* Increase number of strtod tests slightly, to make it more likely that a ↵Mark Dickinson2010-01-171-1/+1
| | | | memory leak is detected.
* Add better error reporting for MemoryErrors caused by str->float conversions.Mark Dickinson2010-01-161-0/+2
|
* Issue #7632: Fix one more case of incorrect rounding for str -> floatMark Dickinson2010-01-161-6/+3
| | | | conversion (see bug 5 in the issue tracker).
* Followup to #7703: a2b_hqx() didn't follow the new buffer API (neither in trunkAntoine Pitrou2010-01-161-30/+72
| | | | nor in py3k). Patch by Florent Xicluna as well as additional tests.
* Fix issue number in comment.R. David Murray2010-01-161-1/+1
|
* Issue #7632: Fix a serious wrong output bug for string -> float conversion.Mark Dickinson2010-01-161-0/+2
| | | | | | 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.
* Issue #1670765: Prevent email.generator.Generator from re-wrappingR. David Murray2010-01-163-0/+80
| | | | | | 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.
* try to fix for windowsBenjamin Peterson2010-01-151-1/+1
|
* Issue #7701: Fix crash in binascii.b2a_uu() in debug mode when given aAntoine Pitrou2010-01-151-0/+3
| | | | 1-byte argument. Patch by Victor Stinner.
* The silencing of DeprecationWarning was not taking -3 into consideration. SinceBrett Cannon2010-01-141-2/+5
| | | | | | | | Py3K warnings are DeprecationWarning by default this was causing -3 to essentially be a no-op. Now DeprecationWarning is only silenced if -3 is not used. Closes issue #7700. Thanks Ezio Melotti and Florent Xicluna for patch help.
* Issue #3299: Fix possible crash in the _sre module when given badAntoine Pitrou2010-01-141-0/+6
| | | | argument values in debug mode. Patch by Victor Stinner.
* Issue #7703: Add support for the new buffer API to functions of theAntoine Pitrou2010-01-141-9/+26
| | | | | binascii module. Backported from py3k by Florent Xicluna, with some additional tests.
* Issue #7632: add tests for bugs fixed so far.Mark Dickinson2010-01-141-0/+269
|
* use more robust quotingBenjamin Peterson2010-01-141-1/+1
|
* Issue #7625: Add more tests that bytearray methods return new objects,Antoine Pitrou2010-01-131-1/+7
| | | | even if identical. Patch by Florent Xicluna (again).
* Issue #2846: Add support for gzip.GzipFile reading zero-padded files.Antoine Pitrou2010-01-132-0/+21
| | | | Patch by Brian Curtin.