Ezio Melotti
32e3fdc2d0
#5723 : merge with 3.2.
2011-05-14 06:52:55 +03:00
Ezio Melotti
6b60fb9148
#5723 : merge with 3.1.
2011-05-14 06:47:51 +03:00
Ezio Melotti
4e03e9dc8d
Merge with 3.2.
2011-05-14 06:24:18 +03:00
Ezio Melotti
3659f27ad3
Merge with 3.1.
2011-05-14 06:23:20 +03:00
Ezio Melotti
fec3ad1036
Change import_fresh_module to work with packages.
2011-05-14 06:02:25 +03:00
Victor Stinner
c729c25615
(Merge 3.2) Issue #11996 : libpython (gdb), replace "py-bt" command by
...
"py-bt-full" and add a smarter "py-bt" command printing a classic Python
traceback.
2011-05-13 17:53:22 +02:00
Vinay Sajip
252048c8a1
test_logging: extended time range for rollover test.
2011-05-13 16:41:57 +01:00
Victor Stinner
e670c889cc
Issue #11996 : libpython (gdb), replace "py-bt" command by "py-bt-full" and add
...
a smarter "py-bt" command printing a classic Python traceback.
2011-05-13 17:40:15 +02:00
Vinay Sajip
a171f9c6a3
test_logging: fixed bug in failure diagnostics.
2011-05-13 14:45:08 +01:00
Vinay Sajip
a552ca6fd0
Issue #12068 : Fix appears to have worked; added more diagnostics for rare failures.
2011-05-13 12:16:04 +01:00
Vinay Sajip
672c581633
Added diagnostics to test_logging, after reverting last change.
2011-05-13 07:09:40 +01:00
Antoine Pitrou
b89b31a158
Issue #12062 : Fix a flushing bug when doing a certain type of I/O sequence
...
on a file opened in read+write mode (namely: reading, seeking a bit forward,
writing, then seeking before the previous write but still within buffered
data, and writing again).
2011-05-13 00:25:53 +02:00
Antoine Pitrou
00dd182b8e
Issue #12062 : Fix a flushing bug when doing a certain type of I/O sequence
...
on a file opened in read+write mode (namely: reading, seeking a bit forward,
writing, then seeking before the previous write but still within buffered
data, and writing again).
2011-05-13 00:16:28 +02:00
Antoine Pitrou
7c40489180
Issue #12062 : Fix a flushing bug when doing a certain type of I/O sequence
...
on a file opened in read+write mode (namely: reading, seeking a bit forward,
writing, then seeking before the previous write but still within buffered
data, and writing again).
2011-05-13 00:13:33 +02:00
Vinay Sajip
06c768a35a
TimedTRotatingFileHandler test now improved to minimise chances of failure on very slow machines.
2011-05-12 16:18:29 +01:00
Gregory P. Smith
c9557af441
merge - 7a3f3ad83676 Fixes Issue #12044 .
2011-05-11 22:18:23 -07:00
Gregory P. Smith
6b65745430
- Issue #12044 : Fixed subprocess.Popen when used as a context manager to
...
wait for the process to end when exiting the context to avoid unintentionally
leaving zombie processes around.
2011-05-11 21:42:08 -07:00
Antoine Pitrou
3486a98dcd
Issue #9971 : Write an optimized implementation of BufferedReader.readinto().
...
Patch by John O'Connor.
2011-05-12 01:57:53 +02:00
Senthil Kumaran
4de00a2e87
Fix closes Issue #11799 : urllib.request Authentication Handlers will raise a
...
ValueError when presented with an unsupported Authentication Scheme.
2011-05-11 21:17:57 +08:00
Victor Stinner
530712625b
Issue #11169 : compileall module uses repr() to format filenames and paths to
...
escape surrogate characters and show spaces.
2011-05-11 00:36:28 +02:00
Ezio Melotti
f8d6fd605d
#12051 : merge with 3.2.
2011-05-11 01:23:41 +03:00
Ezio Melotti
f188bc5d46
#12051 : merge with 3.1.
2011-05-11 01:10:27 +03:00
Victor Stinner
cd9dd37974
Issue #11888 : skip some log2 tests on Mac OS X Tiger
...
System log2() is not accurate for exact power of 2.
2011-05-10 23:40:17 +02:00
Antoine Pitrou
74b4885cc9
Issue #12054 : use support.find_unused_port() instead of reinventing the wheel
2011-05-10 23:37:42 +02:00
Antoine Pitrou
ccc87b53db
Issue #12054 : use support.find_unused_port() instead of reinventing the wheel
2011-05-10 23:37:11 +02:00
Antoine Pitrou
3cade9942e
Issue #8498 : In socket.accept(), allow to specify 0 as a backlog value in
...
order to accept exactly one connection. Patch by Daniel Evers.
2011-05-10 19:19:13 +02:00
Antoine Pitrou
1be815aac4
Issue #8498 : In socket.accept(), allow to specify 0 as a backlog value in
...
order to accept exactly one connection. Patch by Daniel Evers.
2011-05-10 19:16:29 +02:00
Vinay Sajip
463ac515ee
Issue #12039 : Add end_headers() call to avoid BadStatusLine.
2011-05-10 09:10:08 +01:00
Vinay Sajip
e73afad50f
Issue #12039 : Now suppress spurious select.error raised on FreeBSD when the server (an asyncore.dispatcher) is closed.
2011-05-10 07:48:28 +01:00
Victor Stinner
17ca323e7c
(Merge 3.1) Issue #12012 : ssl.PROTOCOL_SSLv2 becomes optional
...
OpenSSL is now compiled with OPENSSL_NO_SSL2 defined (without the SSLv2
protocol) on Debian: fix the ssl module on Debian Testing and Debian Sid.
Optimize also ssl.get_protocol_name(): speed does matter!
2011-05-10 00:48:41 +02:00
Victor Stinner
ee18b6f2fd
Issue #12012 : ssl.PROTOCOL_SSLv2 becomes optional
...
OpenSSL is now compiled with OPENSSL_NO_SSL2 defined (without the SSLv2
protocol) on Debian: fix the ssl module on Debian Testing and Debian Sid.
Optimize also ssl.get_protocol_name(): speed does matter!
2011-05-10 00:38:00 +02:00
Vinay Sajip
f223116001
Update incorrect comment.
2011-05-09 22:05:50 +01:00
Antoine Pitrou
606c3f5486
Issue #12041 : Make test_wait3 more robust.
2011-05-09 21:17:02 +02:00
Vinay Sajip
60ccd8214f
Improved Windows test coverage.
2011-05-09 17:32:09 +01:00
Ezio Melotti
5fffaab1ad
Merge with 3.2.
2011-05-09 18:42:32 +03:00
Ezio Melotti
219a5dcc78
Merge with 3.1.
2011-05-09 18:40:42 +03:00
Ezio Melotti
f9756c2336
Some more tests were incorrectly marked as C specific.
2011-05-09 18:36:53 +03:00
Senthil Kumaran
c7ae19b6a7
Issue #3709 : a flush_headers method to BaseHTTPRequestHandler which manages the
...
sending of headers to output stream and flushing the internal headers buffer.
Patch contribution by Andrew Schaaf
2011-05-09 23:25:02 +08:00
Antoine Pitrou
87cf220972
Issue #11743 : Rewrite multiprocessing connection classes in pure Python.
2011-05-09 17:04:27 +02:00
Mark Dickinson
df77e3d4a0
Issue #11188 : In log2 tests, create powers of 2 using ldexp(1, n) instead of the less reliable 2.0**n.
2011-05-09 14:02:45 +01:00
Mark Dickinson
2cffff938b
Fix nonunique test ids in math_testcases.txt.
2011-05-09 08:18:57 +01:00
Martin v. Löwis
7c038b4726
merge 11164
2011-05-09 08:12:19 +02:00
Martin v. Löwis
867754e3e3
merge 11164
2011-05-09 08:10:38 +02:00
Martin v. Löwis
2f48d892d4
Stop trying to use _xmlplus in the xml module. Closes #11164 .
...
Patch by Arfrever Frehtes Taifersar Arahesis.
2011-05-09 08:05:43 +02:00
Ezio Melotti
37c02c9697
#11910 : merge with 3.2.
2011-05-09 07:30:21 +03:00
Ezio Melotti
19f7ca25e5
#11910 : merge with 3.1.
2011-05-09 07:27:20 +03:00
Ezio Melotti
fd69abb358
Some tests were incorrectly marked as C specific.
2011-05-09 07:20:47 +03:00
Ezio Melotti
8269a44d50
#11910 : Fix test_heapq to skip the C tests when _heapq is missing.
2011-05-09 07:15:04 +03:00
Ezio Melotti
3843de3b0e
#11910 : merge with 3.2.
2011-05-09 06:44:36 +03:00
Ezio Melotti
313fa9d365
#11910 : merge with 3.1.
2011-05-09 06:43:14 +03:00