Commit graph

43198 commits

Author SHA1 Message Date
Victor Stinner
c790a5346d faulthandler: dump_tracebacks_later() displays also the timeout 2011-04-08 13:39:59 +02:00
Victor Stinner
de10f4054b faulthandler: one more time, fix usage of locks in the watchdog thread
* Write a new test to ensure that dump_tracebacks_later() still works if
   it was already called and then cancelled before
 * Don't use a variable to check the status of the thread, only rely on locks
 * The thread only releases cancel_event if it was able to acquire it (if
   the timer was interrupted)
 * The main thread always hold this lock. It is only released when
   faulthandler_thread() is interrupted until this thread exits, or at Python
   exit.
2011-04-08 12:57:06 +02:00
R David Murray
7ede59d77a Merge #11492: fix header truncation on folding when there are runs of split chars.
Not a complete fix for this issue.
2011-04-07 21:00:33 -04:00
R David Murray
80221ed0c0 Merge #11492: fix header truncation on folding when there are runs of split chars.
Not a complete fix for this issue.
2011-04-07 20:56:31 -04:00
R David Murray
e1292a25d8 #11492: fix header truncation on folding when there are runs of split chars.
Not a complete fix for this issue.
2011-04-07 20:54:03 -04:00
R David Murray
63d320b44f Merge: Improve test coverage of _split_ascii method. 2011-04-07 20:42:28 -04:00
R David Murray
b65df26830 Merge: Improve test coverage of _split_ascii method. 2011-04-07 20:40:01 -04:00
R David Murray
7da4db118e Improve test coverage of _split_ascii method. 2011-04-07 20:37:17 -04:00
Brian Quinlan
d08b330a15 Merge to tip. 2011-04-08 08:30:41 +10:00
Brian Quinlan
f007876bd6 Issue #11777: Executor.map does not submit futures until iter.next() is called 2011-04-08 08:19:33 +10:00
Antoine Pitrou
b1eb660270 Fix faulthandler timeout to avoid breaking buildbots 2011-04-07 23:22:28 +02:00
Ezio Melotti
6537be7fb2 #7311: merge with 3.2. 2011-04-07 22:27:44 +03:00
Ezio Melotti
2e3607c1e7 #7311: fix html.parser to accept non-ASCII attribute values. 2011-04-07 22:03:31 +03:00
Victor Stinner
ff4cd88266 faulthandler: fix compilating without threads 2011-04-07 11:50:25 +02:00
Antoine Pitrou
c2b0d76bf3 Issue #11766: increase countdown waiting for a pool of processes to start
up.  Hopefully fixes transient buildbot failures.
2011-04-06 22:54:14 +02:00
Antoine Pitrou
efbcb18997 Issue #11766: increase countdown waiting for a pool of processes to start
up.  Hopefully fixes transient buildbot failures.
2011-04-06 22:54:14 +02:00
Antoine Pitrou
540ab064e2 Issue #11766: increase countdown waiting for a pool of processes to start
up.  Hopefully fixes transient buildbot failures.
2011-04-06 22:51:17 +02:00
R David Murray
8debacb51c #1690608: make formataddr RFC2047 aware.
Patch by Torsten Becker.
2011-04-06 09:35:57 -04:00
R David Murray
a0b1c77a19 Merge #11605: don't use set/get_payload in feedparser; they do conversions. 2011-04-06 08:16:13 -04:00
R David Murray
c5c1472895 #11605: don't use set/get_payload in feedparser; they do conversions.
Really the whole API needs to be gone over to restore the
separation of concerns; but that's what email6 is about.
2011-04-06 08:13:02 -04:00
Senthil Kumaran
bb4e470dcd hg pull/merge - Changes to accomodate. 2011-04-06 14:41:42 +08:00
Senthil Kumaran
792eb5dc84 Issue #10762: Guard against invalid/non-supported format string '%f' on Windows. Patch Santoso Wijaya. 2011-04-06 14:27:47 +08:00
Senthil Kumaran
736975a771 merge from 3.2 2011-04-06 14:16:08 +08:00
Senthil Kumaran
ae664fb528 Merge from 3.1 2011-04-06 14:11:09 +08:00
Senthil Kumaran
8f377a3bbe Issue #10762: Guard against invalid/non-supported format string '%f' on Windows. Patch Santoso Wijaya. 2011-04-06 12:54:06 +08:00
Alexander Belopolsky
07019bcaab Issue #11576: Fixed timedelta subtraction glitch on big timedelta values 2011-04-05 22:12:22 -04:00
Alexander Belopolsky
28deea1fa5 Issue #11576: Fixed timedelta subtraction glitch on big timedelta values 2011-04-05 20:43:15 -04:00
Ned Deily
5f511826c2 Issue #7108: Fix test_commands to not fail when special attributes ('@'
or '.') appear in 'ls -l' output.
2011-04-05 17:16:09 -07:00
Alexander Belopolsky
b6f5ec7370 Issue #11576: Fixed timedelta subtraction glitch on big timedelta values 2011-04-05 20:07:38 -04:00
Ezio Melotti
9f1ffb2ae9 #7311: fix HTMLParser to accept non-ASCII attribute values. 2011-04-05 20:40:52 +03:00
Antoine Pitrou
e21a596d51 Try to fix sporadic test_multiprocessing failure 2011-04-05 18:13:06 +02:00
Antoine Pitrou
04026cf56c Try to fix sporadic test_multiprocessing failure 2011-04-05 18:12:15 +02:00
Antoine Pitrou
c824e9a713 Try to fix sporadic test_multiprocessing failure 2011-04-05 18:11:33 +02:00
Ross Lagerwall
0b9ea93a64 Merge with 3.2 2011-04-05 16:07:49 +02:00
Ross Lagerwall
02ba73c0ef Merge with 3.1 2011-04-05 15:48:47 +02:00
Ross Lagerwall
4f61b02520 Issue #10963: Ensure that subprocess.communicate() never raises EPIPE. 2011-04-05 15:34:00 +02:00
Ross Lagerwall
104c3f1020 Issue #10963: Ensure that subprocess.communicate() never raises EPIPE. 2011-04-05 15:24:34 +02:00
Victor Stinner
7a8d08110c Issue #11757: subprocess ensures that select() and poll() timeout >= 0 2011-04-05 13:13:08 +02:00
Raymond Hettinger
7ab9e22e34 Issue #11707: Fast C version of functools.cmp_to_key() 2011-04-05 02:33:54 -07:00
Victor Stinner
271b27e5fe Issue #11768: add debug messages in test_threadsignals.test_signals 2011-04-05 02:29:30 +02:00
Victor Stinner
fe7c5b5bdf Issue #9319: Include the filename in "Non-UTF8 code ..." syntax error. 2011-04-05 01:48:03 +02:00
Victor Stinner
9bdb43e43f Issue #11765: don't test time.sleep() in test_faulthandler
time.time() and/or time.sleep() are not accurate on Windows, don't test them
in test_faulthandler. Anyway, the check was written for an old implementation
of dump_tracebacks_later(), it is not more needed.
2011-04-04 23:42:30 +02:00
Antoine Pitrou
54e7135fe8 Try to fix sporadic failure in test_thread/test_threading 2011-04-04 22:00:45 +02:00
Antoine Pitrou
4333affb74 Try to fix sporadic failure in test_thread/test_threading 2011-04-04 22:00:10 +02:00
Antoine Pitrou
45fdb457da Try to fix sporadic failure in test_thread/test_threading 2011-04-04 21:59:09 +02:00
Antoine Pitrou
4ec4b0c041 Issue #10791: Implement missing method GzipFile.read1(), allowing GzipFile
to be wrapped in a TextIOWrapper.  Patch by Nadeem Vawda.
2011-04-04 21:00:37 +02:00
Antoine Pitrou
d11f76f8b9 Issue #11761: make tests for gc.get_count() less fragile 2011-04-04 19:52:56 +02:00
Antoine Pitrou
e9b2a4cb59 Issue #11761: make tests for gc.get_count() less fragile 2011-04-04 19:51:33 +02:00
Antoine Pitrou
b35f29a0e0 Issue #11761: make tests for gc.get_count() less fragile 2011-04-04 19:50:42 +02:00
Raymond Hettinger
c800af41c9 Update timeit to use the new string formatting syntax. 2011-04-04 09:28:25 -07:00