Commit Graph

35061 Commits

Author SHA1 Message Date
Neal Norwitz 946aea2cd5 Param name is dir, not directory. Update docstring. Backport candidate 2006-06-16 04:31:06 +00:00
Neal Norwitz 217046fb9f Disable this test until we can determine what to do about it 2006-06-16 04:30:34 +00:00
Tim Peters da4b84a07a Oops -- I introduced an off-by-6436159488 error. 2006-06-15 18:38:19 +00:00
Tim Peters 97db0ca161 Add missing svn:eol-style property to text files. 2006-06-15 18:07:28 +00:00
Tim Peters a608bb228c Whitespace normalization. 2006-06-15 18:06:29 +00:00
Tim Peters 84b0f581ef Try to reduce the extreme peak memory and disk-space use
of this test.  It probably still requires more disk space
than most buildbots have, and in any case is still so
intrusive that if we don't find another way to test this I'm
taking my buildbot offline permanently ;-)
2006-06-15 18:04:40 +00:00
Neal Norwitz bda1418e65 Print some more info to get an idea of how much longer the test will last 2006-06-15 10:24:49 +00:00
Neal Norwitz 643ad19251 Steal the trick from test_compiler to print out a slow msg.
This will hopefully get the buildbots to pass.  Not sure this
test will be feasible or even work.  But everything is red now,
so it can't get much worse.
2006-06-15 09:57:03 +00:00
Gregory P. Smith b526a29dbc minor documentation cleanup. mention the bsddb.db interface explicitly by name. 2006-06-15 09:23:52 +00:00
Gregory P. Smith 506f7b559a - bsddb: multithreaded DB access using the simple bsddb module interface
now works reliably.  It has been updated to use automatic BerkeleyDB
  deadlock detection and the bsddb.dbutils.DeadlockWrap wrapper to retry
  database calls that would previously deadlock. [SF python bug #775414]
2006-06-15 08:52:32 +00:00
Neal Norwitz c21e0566b2 Re-revert this change. Install the version check and don't run the test
until Gerhard has time to fully debug the issue.  This affects versions
before 3.2.1 (possibly only versions earlier than 3.1.3).

Based on discussion on python-checkins.
2006-06-15 08:16:44 +00:00
Ronald Oussoren 143cefb846 Patch #1446489 (zipfile: support for ZIP64) 2006-06-15 08:14:18 +00:00
Martin v. Löwis 0eac11826a Make import/lookup of mbcs fail on non-Windows systems. 2006-06-15 06:45:05 +00:00
Neal Norwitz de7f502879 Try to narrow window of failure on slow/busy boxes (ppc64 buildbot) 2006-06-15 05:55:49 +00:00
Neal Norwitz fe7d0c3bc6 Speculative checkin (requires approval of Gerhard Haering)
This backs out the test changes in 46962 which prevented crashes
by not running the tests via a version check.  All the version checks
added in that rev were removed from the tests.

Code was added to the error handler in connection.c that seems
to work with older versions of sqlite including 3.1.3.
2006-06-15 04:54:29 +00:00
Tim Peters 5d538b603f Whitespace normalization. 2006-06-14 22:38:13 +00:00
Gerhard Häring b2e8816403 - Added version checks in C code to make sure we don't trigger bugs in older
SQLite versions.
- Added version checks in test suite so that we don't execute tests that we
  know will fail with older (buggy) SQLite versions.

Now, all tests should run against all SQLite versions from 3.0.8 until 3.3.6
(latest one now). The sqlite3 module can be built against all these SQLite
versions and the sqlite3 module does its best to not trigger bugs in SQLite,
but using SQLite 3.3.3 or later is recommended.
2006-06-14 22:28:37 +00:00
Georg Brandl 69f6168b76 Bug #805015: doc error in PyUnicode_FromEncodedObject. 2006-06-14 16:46:43 +00:00
Andrew M. Kuchling 7259d7bfd6 Add item 2006-06-14 13:59:15 +00:00
Thomas Heller 4180e12d26 Add an __all__ list, since this module does 'from ctypes import *'. 2006-06-14 09:20:11 +00:00
Thomas Heller f1435100cf Document paramflags. 2006-06-14 09:09:08 +00:00
Georg Brandl 83cc0d0add Bug #1117556: SimpleHTTPServer now tries to find and use the system's
mime.types file for determining MIME types.
2006-06-14 08:50:03 +00:00
Georg Brandl 0540be96f3 Bug #1202018: add some common mime.types locations. 2006-06-14 08:42:11 +00:00
Georg Brandl c54173c234 Bug #1153163: describe __add__ vs __radd__ behavior when adding
objects of same type/of subclasses of the other.
2006-06-14 08:31:39 +00:00
Thomas Heller bcae6222e5 Write more docs. 2006-06-14 07:08:38 +00:00
Georg Brandl 772beaafae Bug #1501122: mention __gt__ &co in description of comparison order. 2006-06-14 06:29:07 +00:00
Thomas Heller 866a5d89b2 Fix docstring. 2006-06-14 06:18:15 +00:00
Georg Brandl 2605ca8773 Bug #1339007: Shelf objects now don't raise an exception in their
__del__ method when initialization failed.
2006-06-14 06:08:31 +00:00
Martin v. Löwis d825143be1 Patch #1455898: Incremental mode for "mbcs" codec. 2006-06-14 05:21:04 +00:00
Fred Drake 6ce9fe880b explain an XXX in more detail 2006-06-14 05:15:51 +00:00
Fred Drake a16393efb7 add tests for two cases that are handled correctly in the current code,
but that SF patch 1504676 as written mis-handles
2006-06-14 05:04:47 +00:00
Fred Drake 72c9eff59e - make some disabled tests run what they intend when enabled
- remove some over-zealous triple-quoting
2006-06-14 04:25:02 +00:00
Tim Peters 16ec4bb0cb Whitespace normalization. 2006-06-14 04:15:27 +00:00
Tim Peters 61bdd39b02 Repaired typo in new comment. 2006-06-14 04:13:00 +00:00
Tim Peters 43898b4f64 SequenceMatcher.get_matching_blocks(): This now guarantees that
adjacent triples in the result list describe non-adjacent matching
blocks.  That's _nice_ to have, and Guido said he wanted it.

Not a bugfix candidate:  Guido or not ;-), this changes visible
endcase semantics (note that some tests had to change), and
nothing about this was documented before.  Since it was working
as designed, and behavior was consistent with the docs, it wasn't
"a bug".
2006-06-14 04:09:25 +00:00
Gerhard Häring 5d7c290b7b Updated documentation for pysqlite 2.3.0 API. 2006-06-13 22:53:48 +00:00
Brett Cannon 5dc3e3f17a Missed test for rev. 46933; infinite recursion from __coerce__() returning its arguments reversed. 2006-06-13 22:26:13 +00:00
Gerhard Häring 1541ef08af Merged changes from external pysqlite 2.3.0 release. Documentation updates will
follow in a few hours at the latest. Then we should be ready for beta1.
2006-06-13 22:24:47 +00:00
Brett Cannon ea3912b0da If a classic class defined a __coerce__() method that just returned its two
arguments in reverse, the interpreter would infinitely recourse trying to get a
coercion that worked.  So put in a recursion check after a coercion is made and
the next call to attempt to use the coerced values.

Fixes bug #992017 and closes crashers/coerce.py .
2006-06-13 21:46:41 +00:00
Brett Cannon 64116f931c Ignore .pyc and .pyo files in Pybench. 2006-06-13 21:34:24 +00:00
Thomas Heller b66902fc90 More docs for ctypes. 2006-06-13 20:18:43 +00:00
Marc-André Lemburg 3b3f1184bc Whitespace normalization. 2006-06-13 19:20:07 +00:00
Andrew MacIntyre 93e3ecb1f4 Increase the small thread stack size to get the test
to pass reliably on the one buildbot that insists on
more than 32kB of thread stack.
2006-06-13 19:02:35 +00:00
Marc-André Lemburg 7d9743dd6a Updated to pybench 2.0.
See svn.python.org/external/pybench-2.0 for the original import of that
version.

Note that platform.py was not copied over from pybench-2.0 since
it is already part of Python 2.5.
2006-06-13 18:56:56 +00:00
Tim Peters ef7fe5f228 Whitespace normalization. 2006-06-13 18:37:07 +00:00
Andrew MacIntyre a7090dfc2c fix exception usage 2006-06-13 17:14:36 +00:00
Marc-André Lemburg 573bd19e1f Revert wrong svn copy. 2006-06-13 17:07:14 +00:00
Marc-André Lemburg 08de1ef8df Update pybench to version 2.0. 2006-06-13 17:04:26 +00:00
Andrew M. Kuchling 317af10569 Add ability to set stack size 2006-06-13 16:41:41 +00:00
Brett Cannon 6d7db6ecc4 Remove unused variable. 2006-06-13 16:06:55 +00:00