Commit Graph

38430 Commits

Author SHA1 Message Date
Neal Norwitz
75992edfae Speed up this test by about 99%. Remove sleeps and replace with events.
(This may fail on some slow platforms, but we can fix those cases which
should be relatively isolated and easier to find now.)
Move two test cases that didn't require a server to be started
to a separate TestCase.  These tests were taking 3 seconds which
is what the timeout was set to.
2008-02-26 08:04:59 +00:00
Georg Brandl
1b3e41c67e Banish tab. 2008-02-26 06:40:10 +00:00
Neal Norwitz
df6ac3db57 Whitespace normalization 2008-02-26 05:23:51 +00:00
Neal Norwitz
b628913b08 Whitespace normalization 2008-02-26 05:12:50 +00:00
Neal Norwitz
b0917c14f2 Don't use a hard coded port. This test could hang/fail if the port is in use.
Speed this test up by avoiding a sleep and using the event.
2008-02-26 04:50:37 +00:00
Raymond Hettinger
3fa41d5a1c Docs for itertools.combinations(). Implementation in forthcoming checkin. 2008-02-26 02:46:54 +00:00
Facundo Batista
b1d70e2252 Coerced PyBool_Type to be able to compare it. 2008-02-25 23:46:02 +00:00
Raymond Hettinger
39df66179f Revert part of r60927 which made invalid assumptions about the API offered by db modules. 2008-02-25 23:17:41 +00:00
Raymond Hettinger
9d63837e9b Make sure the itertools filter functions give the same performance for func=bool as func=None. 2008-02-25 22:42:32 +00:00
Facundo Batista
df4198915a Issue 2168. gdbm and dbm needs to be iterable; this fixes a
failure in the shelve module.  Thanks Thomas Herve.
2008-02-25 22:33:55 +00:00
Georg Brandl
fd429063e1 Revert r61029. 2008-02-25 20:20:45 +00:00
Georg Brandl
976a0590bb Rename sphinx.addons to sphinx.ext. 2008-02-25 20:17:56 +00:00
Facundo Batista
4219da4bd0 Issue 2117. Update compiler module to handle class decorators.
Thanks Thomas Herve
2008-02-25 18:06:00 +00:00
Christian Heimes
a3c8c10201 Thomas Herve explained to me that PyCrypto depends on the constants. I'm adding the aliases because C code for Python 2.x should compile under 2.6 as well. The aliases aren't available in Python 3.x though. 2008-02-25 17:32:07 +00:00
Andrew M. Kuchling
734451a4bc Use file descriptor for real stdout 2008-02-25 16:29:58 +00:00
Andrew M. Kuchling
aa5e3cea7a Move .setupterm() output so that we don't try to call endwin() if it fails 2008-02-25 16:29:19 +00:00
Brett Cannon
c6b5200931 Fix a minor typo in a docstring. 2008-02-25 05:33:33 +00:00
Brett Cannon
499969a08c Add minor markup for a string. 2008-02-25 05:33:07 +00:00
Neal Norwitz
0031ff3f1c Fix indentation 2008-02-25 01:45:37 +00:00
Christian Heimes
3376d64d62 Added dependency rules for Objects/stringlib/*.h
stringobject, unicodeobject and the two formatters are rebuild whenever a header files changes
2008-02-24 22:48:05 +00:00
Eric Smith
4b051eecb9 Corrected assert to check for correct type in py3k. 2008-02-24 21:41:49 +00:00
Neal Norwitz
6057b2e645 Create a db_home directory with a unique name so multiple users can
run the test simultaneously.  The simplest thing I found that worked
on both Windows and Unix was to use the PID.  It's unique so should be
sufficient.  This should prevent many of the spurious failures of
the automated tests since they run as different users.

Also cleanup the directory consistenly in the tearDown methods.

It would be nice if someone ensured that the directories are always
created with a consistent name.
2008-02-24 18:47:03 +00:00
Mark Dickinson
6a123cb782 Remove duplicate 'import re' in decimal.py 2008-02-24 18:12:36 +00:00
Christian Heimes
09bde04154 Use PY_FORMAT_SIZE_T instead of z for string formatting. Thanks Neal. 2008-02-24 12:26:16 +00:00
Neal Norwitz
114dd944de Fix typo of hexidecimal 2008-02-24 08:27:49 +00:00