Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | - Issue #3537: Fix an assertion failure when an empty but presized dict | Georg Brandl | 2008-08-11 | 1 | -0/+11 |
| | | | | object was stored in the freelist. | ||||
* | Copy reduce() to _functools so to have functools.reduce() not raise a warning | Brett Cannon | 2008-08-09 | 1 | -1/+44 |
| | | | | from usage under -3. | ||||
* | accept issue 3436 | Skip Montanaro | 2008-08-08 | 1 | -0/+33 |
| | |||||
* | Add imp.reload(). This to help with transitioning to 3.0 the reload() built-in | Brett Cannon | 2008-08-06 | 1 | -0/+19 |
| | | | | has been removed there. | ||||
* | Remove duplicate import | Mark Dickinson | 2008-08-06 | 1 | -1/+0 |
| | |||||
* | Bug 3228: take a test from Niels Gustaebel's patch, and based on his patch, ↵ | Andrew M. Kuchling | 2008-08-05 | 1 | -6/+29 |
| | | | | check for having os.stat available | ||||
* | Issue #1481296: (again!) Make conversion of a float NaN to an int or | Mark Dickinson | 2008-08-04 | 1 | -1/+2 |
| | | | | | | | long raise ValueError instead of returning 0. Also, change the error message for conversion of an infinity to an integer, replacing 'long' by 'integer', so that it's appropriate for both long(float('inf')) and int(float('inf')). | ||||
* | Bug 3228: Explicitly supply the file mode to avoid creating executable files, | Andrew M. Kuchling | 2008-08-04 | 1 | -1/+27 |
| | | | | | and add corresponding tests. Possible 2.5 backport candidate | ||||
* | Preemptively backport the relevant parts of r65420 | Antoine Pitrou | 2008-08-02 | 1 | -0/+3 |
| | |||||
* | Correct a crash when two successive unicode allocations fail with a MemoryError: | Amaury Forgeot d'Arc | 2008-07-31 | 1 | -0/+14 |
| | | | | | | | | | the freelist contained half-initialized objects with freed pointers. The comment /* XXX UNREF/NEWREF interface should be more symmetrical */ was copied from tupleobject.c, and appears in some other places. I sign the petition. | ||||
* | Remove a dummy test that was checked in by mistake | Amaury Forgeot d'Arc | 2008-07-31 | 1 | -8/+0 |
| | |||||
* | #3479: unichr(2**32) used to return u'\x00'. | Amaury Forgeot d'Arc | 2008-07-31 | 1 | -0/+1 |
| | | | | | | The argument was fetched in a long, but PyUnicode_FromOrdinal takes an int. (why doesn't gcc issue a truncation warning in this case?) | ||||
* | Security patches from Apple: prevent int overflow when allocating memory | Neal Norwitz | 2008-07-31 | 4 | -9/+161 |
| | |||||
* | Rename testSum to testFsum and move it to proper place in test_math.py | Mark Dickinson | 2008-07-31 | 1 | -97/+96 |
| | |||||
* | Backport test.support.fcmp() from 3.0 to silence -3 warnings. | Brett Cannon | 2008-07-31 | 1 | -5/+4 |
| | |||||
* | Alter recipe to show how to call izip_longest() with | Raymond Hettinger | 2008-07-31 | 1 | -2/+1 |
| | | | | both a keyword argument and star arguments. | ||||
* | #2542: now that issubclass() may call arbitrary code, | Amaury Forgeot d'Arc | 2008-07-31 | 1 | -1/+34 |
| | | | | make sure that PyErr_ExceptionMatches returns 0 when an exception occurs there. | ||||
* | I mess up again; BufferError inherits StandardError | Benjamin Peterson | 2008-07-30 | 1 | -1/+1 |
| | |||||
* | add BufferError to the exception hieracrchy | Benjamin Peterson | 2008-07-30 | 1 | -0/+1 |
| | |||||
* | Rename math.sum to math.fsum | Mark Dickinson | 2008-07-30 | 2 | -8/+8 |
| | |||||
* | Neaten-up the itertools recipes. | Raymond Hettinger | 2008-07-30 | 1 | -6/+4 |
| | |||||
* | More modifications to tests for math.sum: replace the Python | Mark Dickinson | 2008-07-29 | 1 | -39/+39 |
| | | | | | version of msum by a version using a different algorithm, and use the new float.fromhex method to specify test results exactly. | ||||
* | Remove math.sum tests related to overflow, special values, and behaviour | Mark Dickinson | 2008-07-27 | 1 | -65/+10 |
| | | | | | near the extremes of the floating-point range. (The behaviour of math.sum should be regarded as undefined in these cases.) | ||||
* | Issue #3449: Update decimal module to use most recent specification | Mark Dickinson | 2008-07-27 | 142 | -322/+471 |
| | | | | (v. 1.68) and tests (v. 2.58) from IBM. | ||||
* | Close issue 3437 - missing state change when Allow lines are processed. | Skip Montanaro | 2008-07-27 | 1 | -0/+69 |
| | | | | Adds test cases which use Allow: as well. | ||||
* | disable some failing tests in test_locale due to a bug in locale.py. | Antoine Pitrou | 2008-07-26 | 1 | -15/+14 |
| | | | | this should fix the failures on the solaris buildbot. | ||||
* | Fix more buildbot failures on test_locale. | Antoine Pitrou | 2008-07-26 | 1 | -5/+10 |
| | |||||
* | try to fix most buildbot failures on test_locale + add a debug output for ↵ | Antoine Pitrou | 2008-07-26 | 1 | -47/+69 |
| | | | | the solaris buildbot | ||||
* | convert test_locale to unittest, and add a mechanism to override localconv() ↵ | Antoine Pitrou | 2008-07-25 | 1 | -119/+262 |
| | | | | results for further testing (#1864, #1222) | ||||
* | #3394: zipfile.writestr doesn't set external attributes, so files are ↵ | Antoine Pitrou | 2008-07-25 | 1 | -0/+13 |
| | | | | extracted mode 000 on Unix | ||||
* | Issue 1592: Better error reporting for operations on closed shelves. | Raymond Hettinger | 2008-07-25 | 1 | -0/+15 |
| | |||||
* | #2242: utf7 decoding crashes on bogus input on some Windows/MSVC versions | Antoine Pitrou | 2008-07-25 | 1 | -0/+3 |
| | |||||
* | remove unneeded import | Benjamin Peterson | 2008-07-22 | 1 | -1/+0 |
| | |||||
* | don't use assert statement | Benjamin Peterson | 2008-07-21 | 1 | -1/+1 |
| | |||||
* | Issue2378: pdb would delete free variables when stepping into a class statement. | Amaury Forgeot d'Arc | 2008-07-21 | 1 | -0/+18 |
| | | | | | The problem was introduced by r53954, the correction is to restore the symmetry between PyFrame_FastToLocals and PyFrame_LocalsToFast | ||||
* | Save the whole of sys.modules instead of using an import tracker. | Georg Brandl | 2008-07-20 | 1 | -21/+4 |
| | | | | | This, when merged to py3k, will fix the spurious buildbot failure in test_urllib2 ("<urlopen error unknown url type: do>"). | ||||
* | Fix misspeeld method name (negative) | Neal Norwitz | 2008-07-20 | 1 | -1/+1 |
| | |||||
* | Clean-up itertools docs and recipes. | Raymond Hettinger | 2008-07-19 | 1 | -55/+17 |
| | |||||
* | Fix compress() recipe in docs to use itertools. | Raymond Hettinger | 2008-07-19 | 1 | -3/+3 |
| | |||||
* | #3319: don't raise ZeroDivisionError if number of rounds is so | Georg Brandl | 2008-07-19 | 1 | -1/+5 |
| | | | | low that benchtime is zero. | ||||
* | #3303: fix crash with invalid Py_DECREF in strcoll(). | Georg Brandl | 2008-07-19 | 1 | -1/+10 |
| | |||||
* | Add recipe to the itertools docs. | Raymond Hettinger | 2008-07-19 | 1 | -0/+18 |
| | |||||
* | Improve accuracy of gamma test function | Raymond Hettinger | 2008-07-19 | 1 | -5/+3 |
| | |||||
* | Fix issue 3411: default float format spec fails on negative numbers. | Eric Smith | 2008-07-19 | 1 | -0/+6 |
| | |||||
* | Deprecate the sunaudio module for removal in Python 3.0. The sunau module ↵ | Brett Cannon | 2008-07-18 | 2 | -11/+13 |
| | | | | can provide similar functionality. | ||||
* | Replace all map(None, a) with list(a). | Georg Brandl | 2008-07-18 | 2 | -4/+4 |
| | |||||
* | now that test_lib2to3 actually works and isn't extremely slow, we don't need ↵ | Benjamin Peterson | 2008-07-18 | 2 | -7/+3 |
| | | | | the lib2to3 resource | ||||
* | backport test_fileio | Benjamin Peterson | 2008-07-18 | 1 | -0/+240 |
| | |||||
* | Correct attribute name. | Georg Brandl | 2008-07-18 | 1 | -1/+1 |
| | |||||
* | Remove duplicate entry in __all__. | Georg Brandl | 2008-07-18 | 1 | -1/+1 |
| |