Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Issue #7610: Reworked implementation of the internal | Antoine Pitrou | 2010-01-27 | 2 | -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.Pool | Jesse Noller | 2010-01-27 | 3 | -18/+108 |
| | |||||
* | raise a clear TypeError when trying to register a non-class | Benjamin Peterson | 2010-01-27 | 2 | -1/+7 |
| | |||||
* | for UserDict to be compatible with abcs, it must subclass object | Benjamin Peterson | 2010-01-27 | 1 | -1/+1 |
| | |||||
* | Added named (but not numbered) attributes to sys.getwindowsversion() test. | Eric Smith | 2010-01-27 | 1 | -0/+4 |
| | |||||
* | Switch to test_support.get_attribute. | Eric Smith | 2010-01-27 | 1 | -23/+24 |
| | |||||
* | Removed unneeded test. | Eric Smith | 2010-01-27 | 1 | -1/+0 |
| | |||||
* | Issue #7766: Change sys.getwindowsversion() return value to a named tuple ↵ | Eric Smith | 2010-01-27 | 1 | -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.sysconfig | Tarek Ziadé | 2010-01-26 | 10 | -112/+42 |
| | |||||
* | reintroduced the names in Distutils for APIs that were relocated | Tarek Ziadé | 2010-01-26 | 2 | -0/+13 |
| | |||||
* | fixed bdist_msi imports and added a test module for distutils.command.bdist_msi | Tarek Ziadé | 2010-01-26 | 2 | -3/+26 |
| | |||||
* | #7092: fix DeprecationWarnings for json when the tests are run with -3 -Wd. | Ezio Melotti | 2010-01-26 | 3 | -8/+7 |
| | |||||
* | switched the call order so this call works without suffering from issue #7774 | Tarek Ziadé | 2010-01-25 | 1 | -1/+1 |
| | |||||
* | compare types with is not == | Benjamin Peterson | 2010-01-25 | 1 | -2/+2 |
| | |||||
* | mention from_float() in error message | Benjamin Peterson | 2010-01-25 | 1 | -2/+2 |
| | |||||
* | fix an UnboundLocalError when the release file is empty #7773 | Benjamin Peterson | 2010-01-25 | 2 | -2/+7 |
| | |||||
* | #7269: fix failures in test_bsddb3. Patch by Florent Xicluna. | Ezio Melotti | 2010-01-24 | 1 | -1/+1 |
| | |||||
* | remove archaic functions from test_support | Ezio Melotti | 2010-01-24 | 3 | -69/+42 |
| | |||||
* | use assert[Not]IsInstance where appropriate | Ezio Melotti | 2010-01-24 | 57 | -272/+269 |
| | |||||
* | Fixed #7748: now upload and register commands don't need to force the ↵ | Tarek Ziadé | 2010-01-24 | 5 | -18/+22 |
| | | | | encoding anymore : DistributionMetada returns utf8 strings | ||||
* | use assert[Not]In where appropriate | Ezio Melotti | 2010-01-23 | 86 | -599/+622 |
| | |||||
* | fixed the 64bits tests for get_platform() - mac osx | Tarek Ziadé | 2010-01-23 | 1 | -1/+27 |
| | |||||
* | Increased the overflow value on test_dealloc to make sure that it is big ↵ | Ezio Melotti | 2010-01-23 | 1 | -1/+5 |
| | | | | enough even for wide builds. | ||||
* | taking sysconfig out of distutils | Tarek Ziadé | 2010-01-23 | 33 | -1006/+1189 |
| | |||||
* | This should fix the failure introduced in r77680. The error message is now ↵ | Ezio Melotti | 2010-01-22 | 1 | -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 Dickinson | 2010-01-21 | 1 | -2/+2 |
| | |||||
* | Add two more test_strtod test values. | Mark Dickinson | 2010-01-21 | 1 | -0/+36 |
| | |||||
* | Additional testcases for strtod. | Mark Dickinson | 2010-01-21 | 1 | -0/+54 |
| | |||||
* | Various dtoa.c cleanups. 1. Despagghetify _Py_dg_strtod parsing code | Mark Dickinson | 2010-01-20 | 1 | -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. Smith | 2010-01-19 | 1 | -4/+0 |
| | |||||
* | Add a pydebug mode only debug print to help debug the errors in | Gregory P. Smith | 2010-01-19 | 1 | -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 defined | Benjamin Peterson | 2010-01-18 | 1 | -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 names | Ezio Melotti | 2010-01-18 | 1 | -17/+17 |
| | |||||
* | Issue #7561: Operations on empty bytearrays (such as `int(bytearray())`) | Antoine Pitrou | 2010-01-17 | 1 | -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 Dickinson | 2010-01-17 | 1 | -1/+1 |
| | | | | memory leak is detected. | ||||
* | Add better error reporting for MemoryErrors caused by str->float conversions. | Mark Dickinson | 2010-01-16 | 1 | -0/+2 |
| | |||||
* | Issue #7632: Fix one more case of incorrect rounding for str -> float | Mark Dickinson | 2010-01-16 | 1 | -6/+3 |
| | | | | conversion (see bug 5 in the issue tracker). | ||||
* | Followup to #7703: a2b_hqx() didn't follow the new buffer API (neither in trunk | Antoine Pitrou | 2010-01-16 | 1 | -30/+72 |
| | | | | nor in py3k). Patch by Florent Xicluna as well as additional tests. | ||||
* | Fix issue number in comment. | R. David Murray | 2010-01-16 | 1 | -1/+1 |
| | |||||
* | Issue #7632: Fix a serious wrong output bug for string -> float conversion. | Mark Dickinson | 2010-01-16 | 1 | -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-wrapping | R. David Murray | 2010-01-16 | 3 | -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 windows | Benjamin Peterson | 2010-01-15 | 1 | -1/+1 |
| | |||||
* | Issue #7701: Fix crash in binascii.b2a_uu() in debug mode when given a | Antoine Pitrou | 2010-01-15 | 1 | -0/+3 |
| | | | | 1-byte argument. Patch by Victor Stinner. | ||||
* | The silencing of DeprecationWarning was not taking -3 into consideration. Since | Brett Cannon | 2010-01-14 | 1 | -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 bad | Antoine Pitrou | 2010-01-14 | 1 | -0/+6 |
| | | | | argument values in debug mode. Patch by Victor Stinner. | ||||
* | Issue #7703: Add support for the new buffer API to functions of the | Antoine Pitrou | 2010-01-14 | 1 | -9/+26 |
| | | | | | binascii module. Backported from py3k by Florent Xicluna, with some additional tests. | ||||
* | Issue #7632: add tests for bugs fixed so far. | Mark Dickinson | 2010-01-14 | 1 | -0/+269 |
| | |||||
* | use more robust quoting | Benjamin Peterson | 2010-01-14 | 1 | -1/+1 |
| | |||||
* | Issue #7625: Add more tests that bytearray methods return new objects, | Antoine Pitrou | 2010-01-13 | 1 | -1/+7 |
| | | | | even if identical. Patch by Florent Xicluna (again). | ||||
* | Issue #2846: Add support for gzip.GzipFile reading zero-padded files. | Antoine Pitrou | 2010-01-13 | 2 | -0/+21 |
| | | | | Patch by Brian Curtin. |