Commit Graph

35085 Commits

Author SHA1 Message Date
Walter Dörwald 4994d9546c Patch #1506645: add Python wrappers for the curses functions
is_term_resized, resize_term and resizeterm. This uses three
separate configure checks (one for each function).
2006-06-19 08:07:50 +00:00
Tim Peters 43bc3788c0 Whitespace normalization. 2006-06-19 07:45:16 +00:00
Thomas Heller 0b465702e6 Try to repair the failing test on the OpenBSD buildbot. Trial and error... 2006-06-19 07:07:49 +00:00
Georg Brandl a56b91552a Add news entry about error msg improvement. 2006-06-19 06:35:54 +00:00
Neal Norwitz 0f2783cb4c Use Py_ssize_t 2006-06-19 05:40:44 +00:00
Georg Brandl ccff785258 Patch #1507676: improve exception messages in abstract.c, object.c and typeobject.c. 2006-06-18 22:17:29 +00:00
Thomas Heller 066769c307 Fix typos.
Fix doctest example.
Mention in the tutorial that 'errcheck' is explained in the ref manual.
Use better wording in some places.
Remoce code examples that shouldn't be in the tutorial.
Remove some XXX notices.
2006-06-18 21:27:04 +00:00
Neal Norwitz 0f51cf6e04 Revert 47014 until it is more robust 2006-06-18 20:10:24 +00:00
Neal Norwitz 10b835c401 The hppa ubuntu box sometimes hangs forever in these tests. My guess
is that the wait is failing for some reason.  Use WNOHANG, so we won't
wait until the buildbot kills the test suite.

I haven't been able to reproduce the failure, so I'm not sure if
this will help or not.  Hopefully, this change will cause the test
to fail, rather than hang.  That will be better since we will get
the rest of the test results.  It may also help us debug the real problem.
2006-06-18 19:37:40 +00:00
Neal Norwitz 9602cc2aa4 Prevent spurious leaks when running regrtest.py -R. There may be more
issues that crop up from time to time, but this change seems to have been
pretty stable (no spurious warnings) for about a week.

Other modules which use threads may require similar use of
threading_setup/threading_cleanup from test_support.
2006-06-18 19:35:01 +00:00
Fred Drake f5da071ec8 remove unnecessary markup 2006-06-18 02:57:35 +00:00
Neal Norwitz e75cad6125 Fix memory leak reported by valgrind while running test_subprocess 2006-06-17 22:38:15 +00:00
Neal Norwitz 210262c0ec Fix typo in docstring 2006-06-17 22:37:45 +00:00
Martin v. Löwis 6fb20aa92c Patch #815924: Restore ability to pass type= and icon= 2006-06-17 19:03:26 +00:00
Martin v. Löwis 3798da0f92 Patch #812986: Update the canvas even if not tracing. 2006-06-17 18:44:27 +00:00
George Yoshida 3f1f7bec74 Update url.
Old url returned status code:301 Moved permanently.
2006-06-17 16:39:13 +00:00
George Yoshida b8d2607692 markup fix 2006-06-17 16:31:52 +00:00
Martin v. Löwis 92733be85e Patch #1494750: Destroy master after deleting children. 2006-06-17 09:25:15 +00:00
Martin v. Löwis 5ecad9ca13 Patch #1096231: Add default argument to wm_iconbitmap. 2006-06-17 09:20:41 +00:00
Martin v. Löwis 337487e3b8 Patch #763580: Add name and value arguments to
Tkinter variable classes.
2006-06-17 09:15:14 +00:00
Fred Drake 541660553d fix change that broke the htmllib tests 2006-06-17 01:07:54 +00:00
Fred Drake fab461a4b5 SF patch 1504676: Make sgmllib char and entity references pluggable
(implementation/tests contributed by Sam Ruby)
2006-06-16 23:45:06 +00:00
Neal Norwitz 274facfd1d Fix whitespace, there are memory leaks in this module. 2006-06-16 04:32:43 +00:00
Neal Norwitz 13a7bef73d Add missing period in comment. 2006-06-16 04:31:28 +00:00
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