Victor Stinner
fe7c5b5bdf
Issue #9319 : Include the filename in "Non-UTF8 code ..." syntax error.
2011-04-05 01:48:03 +02:00
Victor Stinner
7f2fee3640
Issue #10785 : Store the filename as Unicode in the Python parser.
2011-04-05 00:39:01 +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
Victor Stinner
2d3222740b
Issue #11619 : _PyImport_LoadDynamicModule() doesn't encode the path to bytes
...
on Windows.
2011-04-04 23:05:53 +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
6b4be36cfd
Clarify that GzipFile.read1() is now implemented
2011-04-04 21:09:05 +02:00
Antoine Pitrou
e88604755c
Clarify that GzipFile.read1() isn't implemented.
2011-04-04 21:06:20 +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
457cdf5e96
Ignore other MSVC by-products
2011-04-04 20:55:48 +02:00
Antoine Pitrou
8079f58a55
Ignore AMD64 build files under Windows
2011-04-04 20:55:12 +02:00
Antoine Pitrou
3ff352194b
Ignore build/ and Doc/build
2011-04-04 20:52:50 +02:00
brian.curtin
71cc78a5c4
Add x64-temp to ignore, prepend a forward slash to "build/" to include
...
PCbuild/ changes (for VS project files, etc).
2011-04-04 13:00:49 -05: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
Victor Stinner
f7ec1698a2
Reenable regrtest.py timeout (30 min): #11738 and #11753 looks to be fixed
2011-04-04 12:54:33 +02:00
Victor Stinner
da9edae1f4
Issue #11753 : faulthandler thread uses pthread_sigmask()
...
The thread must not receive any signal. If the thread receives a signal,
sem_timedwait() is interrupted and returns EINTR, but in this case,
PyThread_acquire_lock_timed() retries sem_timedwait() and the main thread is
not aware of the signal. The problem is that some tests expect that the main
thread receives the signal, not faulthandler handler, which should be
invisible.
On Linux, the signal looks to be received by the main thread, whereas on
FreeBSD, it can be any thread.
2011-04-04 11:05:21 +02:00
Steven Bethard
58f41c27bc
Merge
2011-04-04 02:14:25 +02:00
Steven Bethard
7c8ea37d9b
Issue #9347 : Fix formatting for tuples in argparse type= error messages.
2011-04-04 02:10:40 +02:00
Steven Bethard
7cb20a8605
Issue #9347 : Fix formatting for tuples in argparse type= error messages.
2011-04-04 01:53:02 +02:00
Antoine Pitrou
f4e181029f
Fix TraceCallbackTests to not use bound parameters (followup to issue #11688 )
2011-04-04 01:50:50 +02:00
Antoine Pitrou
fc2e3763c8
Issue #11749 : try to fix transient test_socket failure
2011-04-04 01:22:06 +02:00
Antoine Pitrou
43bf045be0
Issue #11749 : try to fix transient test_socket failure
2011-04-04 01:21:37 +02:00
Antoine Pitrou
43b21687a5
Improve error message in test
2011-04-04 00:50:01 +02:00
Antoine Pitrou
5bfa0622ec
Issue #11688 : Add sqlite3.Connection.set_trace_callback(). Patch by Torsten Landschoff.
2011-04-04 00:12:04 +02:00
Victor Stinner
d7edf3b82d
Issue #11727 , issue #11753 , issue #11755 : disable regrtest timeout
...
Disable regrtest timeout until #11753 and #11755 are fixed
2011-04-03 23:46:42 +02:00
Victor Stinner
f77ccc6d7e
test_faulthandler: improve the test on dump_tracebacks_later(cancel=True)
2011-04-03 18:45:42 +02:00
Victor Stinner
1b3241fa0c
test_faulthandler: fix regex on the check_dump_traceback_threads() traceback
...
The traceback may contain "_is_owned":
Thread 0x40962b90:
File "/srv/buildbot/buildarea/3.x.bolen-ubuntu/build/Lib/threading.py", line 220 in _is_owned
File "/srv/buildbot/buildarea/3.x.bolen-ubuntu/build/Lib/threading.py", line 227 in wait
File "/srv/buildbot/buildarea/3.x.bolen-ubuntu/build/Lib/threading.py", line 421 in wait
File "<string>", line 23 in run
File "/srv/buildbot/buildarea/3.x.bolen-ubuntu/build/Lib/threading.py", line 735 in _bootstrap_inner
File "/srv/buildbot/buildarea/3.x.bolen-ubuntu/build/Lib/threading.py", line 708 in _bootstrap
Current thread XXX:
File "<string>", line 10 in dump
File "<string>", line 28 in <module>
2011-04-03 18:41:22 +02:00
Antoine Pitrou
6dca52772b
Issue #11748 : try to fix sporadic failures in test_ftplib
2011-04-03 18:29:45 +02:00
Antoine Pitrou
a7caec74aa
Merge fix for issue #11746
2011-04-03 18:16:50 +02:00
Antoine Pitrou
9c25486093
Issue #11746 : Fix SSLContext.load_cert_chain() to accept elliptic curve private keys.
2011-04-03 18:15:34 +02:00
Antoine Pitrou
24ce386387
Fix whitespace
2011-04-03 17:08:49 +02:00
Antoine Pitrou
37dc5f85b8
Issue #5863 : Rewrite BZ2File in pure Python, and allow it to accept
...
file-like objects using a new `fileobj` constructor argument. Patch by
Nadeem Vawda.
2011-04-03 17:05:46 +02:00
Ezio Melotti
0f535013c5
#11282 : add back the fail* methods and assertDictContainsSubset.
2011-04-03 18:02:13 +03:00
Ezio Melotti
b7af620747
#11282 : merge with 3.2.
2011-04-03 17:39:19 +03:00
Ezio Melotti
361467e522
#11282 : the fail* methods will stay around a few more versions.
2011-04-03 17:37:58 +03:00
Ezio Melotti
c9a5272e8d
Merge with 3.2
2011-04-03 16:25:49 +03:00
Ezio Melotti
9481e41741
Merge with 3.1
2011-04-03 16:24:22 +03:00
Ezio Melotti
b5ff3e4ce5
Fix typo noticed by Sandro Tosi.
2011-04-03 16:20:21 +03:00
Victor Stinner
d91a5caf0d
Issue #11727 : set regrtest default timeout to 30 minutes
2011-04-01 18:16:36 +02:00
Victor Stinner
305bff1ef5
Issue #11727 : set regrtest default timeout to 15 minutes
2011-04-01 15:59:59 +02:00
Victor Stinner
44378d46f6
Issue #11393 : signal of user signal displays tracebacks even if tstate==NULL
...
* faulthandler_user() displays the tracebacks of all threads even if it is
unable to get the state of the current thread
* test_faulthandler: only release the GIL in test_gil_released() check
* create check_signum() subfunction
2011-04-01 15:37:12 +02:00
Victor Stinner
fcb88c4503
Issue #11393 : _Py_DumpTraceback() writes the header even if there is no frame
2011-04-01 15:34:01 +02:00
Victor Stinner
a01ca12a52
Issue #11393 : Fix faulthandler.disable() and add a test
2011-04-01 12:56:17 +02:00
Victor Stinner
d727e23243
Issue #11393 : The fault handler handles also SIGABRT
2011-04-01 12:13:55 +02:00
Victor Stinner
bc6a4db66d
Issue #11393 : fault handler uses raise(signum) for SIGILL on Windows
2011-04-01 12:08:57 +02:00
Georg Brandl
7098685bdb
Fix markup.
2011-04-01 09:19:57 +02:00