Commit Graph

40108 Commits

Author SHA1 Message Date
Benjamin Peterson 66b14de7bb the from __future__ import with_statement isn't needed in 2.6 2008-07-29 19:28:49 +00:00
Mark Dickinson ff5f16e4e5 More modifications to tests for math.sum: replace the Python
version of msum by a version using a different algorithm, and
use the new float.fromhex method to specify test results exactly.
2008-07-29 18:45:38 +00:00
Jesus Cea cde8cdd898 Be less strict with replication timeouts (the machine
can be a bit loaded), and be sure to yield the CPU
when waiting.
2008-07-29 16:16:23 +00:00
Jesus Cea a99363f472 Refinements in the bsddb testsuite 2008-07-29 13:38:50 +00:00
Benjamin Peterson 01a24322ec backport r65264 2008-07-28 23:35:27 +00:00
Andrew M. Kuchling 5d2841f28f Clarify wording 2008-07-28 17:04:48 +00:00
Benjamin Peterson fff5cf67d0 clarify Popen argument 2008-07-27 15:22:14 +00:00
Mark Dickinson 3e9c60c5fe Remove math.sum tests related to overflow, special values, and behaviour
near the extremes of the floating-point range.  (The behaviour of math.sum
should be regarded as undefined in these cases.)
2008-07-27 07:15:29 +00:00
Mark Dickinson fe84cce668 Issue #3449: Update decimal module to use most recent specification
(v. 1.68) and tests (v. 2.58) from IBM.
2008-07-27 06:39:07 +00:00
Skip Montanaro f9ac43f5d6 note robotparser bug fix. 2008-07-27 00:50:41 +00:00
Skip Montanaro 1ef19f0de1 Close issue 3437 - missing state change when Allow lines are processed.
Adds test cases which use Allow: as well.
2008-07-27 00:49:02 +00:00
Georg Brandl 4b99e9b479 Shorten some overlong lines. 2008-07-26 22:13:29 +00:00
Antoine Pitrou 36897e1ff9 disable some failing tests in test_locale due to a bug in locale.py.
this should fix the failures on the solaris buildbot.
2008-07-26 13:49:13 +00:00
Andrew M. Kuchling cd48d8ae8b Remove extra words 2008-07-26 13:09:06 +00:00
Andrew M. Kuchling feeee750b0 This sentence continues to bug me; rewrite it for the second time 2008-07-26 13:08:19 +00:00
Antoine Pitrou 6327e8482e Fix more buildbot failures on test_locale. 2008-07-26 11:56:37 +00:00
Antoine Pitrou 524f4135dc try to fix most buildbot failures on test_locale + add a debug output for the solaris buildbot 2008-07-26 10:29:43 +00:00
Antoine Pitrou 92f8216ba1 add a NEWS entry 2008-07-25 22:22:08 +00:00
Antoine Pitrou c2cc80c64e Raymond's patch for #1819: speedup function calls with named parameters
(35% faster according to pybench)
2008-07-25 22:13:52 +00:00
Antoine Pitrou 0c37ae0464 add a pybench test for complex function calls (part of #1819) 2008-07-25 22:02:07 +00:00
Benjamin Peterson 3ac2f24f25 fix indentation 2008-07-25 21:59:53 +00:00
Antoine Pitrou ba54edadb3 convert test_locale to unittest, and add a mechanism to override localconv() results for further testing (#1864, #1222) 2008-07-25 20:40:19 +00:00
Antoine Pitrou 5fdfa3e36d #3394: zipfile.writestr doesn't set external attributes, so files are extracted mode 000 on Unix 2008-07-25 19:42:26 +00:00
Raymond Hettinger 8c664e8628 Issue 1592: Better error reporting for operations on closed shelves. 2008-07-25 18:43:33 +00:00
Antoine Pitrou 4982d5d04a #2242: utf7 decoding crashes on bogus input on some Windows/MSVC versions 2008-07-25 17:45:59 +00:00
Benjamin Peterson 5255cba4bc document default value for fillvalue 2008-07-25 17:02:11 +00:00
Benjamin Peterson 612e29b722 teach .bzrignore about doc tools 2008-07-25 16:55:37 +00:00
Thomas Heller ba55936b8a Make ctypes compatible with Python 2.3, 2.4, and 2.5 again. 2008-07-24 11:16:45 +00:00
Georg Brandl 340739e216 Fix indentation. 2008-07-24 07:09:21 +00:00
Raymond Hettinger 7f59b5cc03 Convert from long to Py_ssize_t. 2008-07-24 07:04:55 +00:00
Raymond Hettinger 527eee2b32 Finish conversion from int to Py_ssize_t. 2008-07-24 05:38:48 +00:00
Benjamin Peterson 4020221838 add some documentation for 2to3 2008-07-24 02:45:37 +00:00
Benjamin Peterson 8e234c6e30 fix markup 2008-07-24 02:31:28 +00:00
Benjamin Peterson 415ce062bc fix spacing 2008-07-24 02:27:46 +00:00
Raymond Hettinger 723ba3049a Parse to the correct datatype. 2008-07-24 00:53:49 +00:00
Raymond Hettinger 33fcf9db74 Finish-up the partial conversion from int to Py_ssize_t for deque indices and length. 2008-07-24 00:08:18 +00:00
Georg Brandl 8c81fdad33 Use correct indentation. 2008-07-23 16:00:44 +00:00
Georg Brandl d4c7e636a9 Move opcode handling to Python's extension. 2008-07-23 15:17:09 +00:00
Georg Brandl f9efabb6d2 3k-warn about parser's "ast" aliases. 2008-07-23 15:16:45 +00:00
Benjamin Peterson c6ad794051 use isinstance 2008-07-23 13:25:06 +00:00
Jesus Cea c5a11fabdb bsddb module updated to version 4.7.2devel9.
This patch publishes the work done until now
for Python 3.0 compatibility. Still a lot
to be done.

When possible, we use 3.0 features in Python 2.6,
easing development and testing, and exposing internal
changes to a wider audience, for better test coverage.

Some mode details:
http://www.jcea.es/programacion/pybsddb.htm#bsddb3-4.7.2
2008-07-23 11:38:42 +00:00
Benjamin Peterson 30e208d525 remove unneeded import 2008-07-22 23:44:37 +00:00
Raymond Hettinger d8dd86cc26 One more attribution. 2008-07-22 19:18:50 +00:00
Raymond Hettinger 5d4d16e44d Fix credits for math.sum() 2008-07-22 19:03:05 +00:00
Raymond Hettinger 340383ce70 Tuples now have both count() and index(). 2008-07-22 19:00:47 +00:00
Raymond Hettinger 9973ee86ed Remove out-of-date section on Exact/Inexact. 2008-07-22 18:54:02 +00:00
Ronald Oussoren 5aa0b4d766 Fix build issue on OSX 10.4, somehow this wasn't committed before. 2008-07-22 07:06:33 +00:00
Ronald Oussoren 5a849d4911 Fix buglet in fix for issue3381 2008-07-22 07:06:00 +00:00
Gregory P. Smith 0470bab697 Issue #2620: Overflow checking when allocating or reallocating memory
was not always being done properly in some python types and extension
modules.  PyMem_MALLOC, PyMem_REALLOC, PyMem_NEW and PyMem_RESIZE have
all been updated to perform better checks and places in the code that
would previously leak memory on the error path when such an allocation
failed have been fixed.
2008-07-22 04:46:32 +00:00
Benjamin Peterson f5574a0c29 don't use assert statement 2008-07-21 22:05:34 +00:00