Martin v. Löwis
7c038b4726
merge 11164
2011-05-09 08:12:19 +02:00
Ezio Melotti
60480454bc
Merge with 3.2.
2011-05-09 04:00:47 +03:00
Benjamin Peterson
eaee1385a0
note the point of having log2
2011-05-08 19:48:08 -05:00
Victor Stinner
fa0e3d52d6
Issue #11888 : Add log2 function to math module. Patch written by Mark
...
Dickinson.
2011-05-09 01:01:09 +02:00
Victor Stinner
3de49192aa
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-09 00:42:58 +02:00
Victor Stinner
d49b1f14de
Issue #8407 : The signal handler writes the signal number as a single byte
...
instead of a nul byte into the wakeup file descriptor. So it is possible to
wait more than one signal and know which signals were raised.
2011-05-08 02:03:15 +02:00
Victor Stinner
b3e7219abf
Issue #8407 : Add pthread_kill(), sigpending() and sigwait() functions to the
...
signal module.
2011-05-08 01:46:11 +02:00
Giampaolo Rodola'
a55efb3b6f
#11072- applying http://bugs.python.org/review/11072/show suggestions
2011-05-07 16:06:59 +02:00
Victor Stinner
7bba62fd68
faulthandler: dump all threads by default
...
* Set the default value of all_threads arguments to True
* Py_FatalError() dumps all threads, instead of only the current thread
Dump only the current thread is not reliable. In some cases, Python is unable
to retrieve the state of the current thread and so is unable to dump the
traceback. faulthandler keeps a reference to the interpreter and so is always
able to dump the traceback of all threads.
2011-05-07 12:43:00 +02:00
Giampaolo Rodola'
d78def9474
Issue #11072 : added MLSD command (RFC-3659) support to ftplib.
2011-05-06 19:49:08 +02:00
Éric Araujo
17b60f0367
Also add versionchanged directive to the function doc ( #11591 )
2011-05-06 18:50:08 +02:00
Antoine Pitrou
0872816dc1
Issue #8808 : The IMAP4_SSL constructor now allows passing an SSLContext
...
parameter to control parameters of the secure channel. Patch by Sijin
Joseph.
2011-05-06 18:49:52 +02:00
Ezio Melotti
b4dc2502ad
Issue #10775 : assertRaises, assertRaisesRegex, assertWarns, and assertWarnsRegex now accept a keyword argument 'msg' when used as context managers. Initial patch by Winston Ewert.
2011-05-06 15:01:41 +03:00
Eli Bendersky
e168965bd0
Issue #11015 : bring test.support docs up to date
2011-05-06 09:29:27 +03:00
Nick Coghlan
7ceb1804b0
Merge #11647 update from 3.2
2011-05-05 23:58:57 +10:00
Alexander Belopolsky
6d3c9a6893
Mention that timezone is a subclass of tzinfo.
2011-05-04 10:28:26 -04:00
Victor Stinner
35b300c5fd
Issue #8407 : signal.pthread_sigmask() returns a set instead of a list
...
Update the doc. Refactor also related tests.
2011-05-04 13:20:35 +02:00
Ezio Melotti
4e787aeed6
#11985 : merge with 3.2.
2011-05-03 20:44:26 +03:00
Alexander Belopolsky
5611a1c326
Issue #11930 : Added Misc/NEWS and versionchanged entries.
2011-05-02 14:14:48 -04:00
Alexander Belopolsky
89da349b7b
Issue #11930 : Remove year >= 1000 limitation from datetime.strftime.
...
Patch by Victor Stinner.
2011-05-02 13:14:24 -04:00
Alexander Belopolsky
03163ac185
Issue #11930 : Remove deprecated time.accept2dyear.
2011-05-02 12:20:52 -04:00
Éric Araujo
f95f18048d
Merge 3.2
2011-05-02 13:33:14 +02:00
Benjamin Peterson
0255973af6
merge 3.2
2011-05-01 20:24:59 -05:00
Victor Stinner
fadeeffe5b
(Merge 3.2) Issue #11277 : mmap.mmap() calls fcntl(fd, F_FULLFSYNC) on Mac OS X
...
to get around a mmap bug with sparse files. Patch written by Steffen Daode
Nurpmeso.
2011-05-02 01:14:55 +02:00
Benjamin Peterson
47583fa9b4
merge 3.2
2011-05-01 17:39:52 -05:00
R David Murray
c55a7ea2b8
Merge #11901 : post-commit review fixes per Georg Brandl
2011-04-30 16:36:37 -04:00
Victor Stinner
a929335961
Issue #8407 , issue #11859 : Add signal.pthread_sigmask() function to fetch
...
and/or change the signal mask of the calling thread.
Fix also tests of test_io using threads and an alarm: use pthread_sigmask() to
ensure that the SIGALRM signal is received by the main thread.
Original patch written by Jean-Paul Calderone.
2011-04-30 15:21:58 +02:00
Victor Stinner
d5c355ccc7
Issue #11223 : Replace threading._info() by sys.thread_info
2011-04-30 14:53:09 +02:00
Brian Curtin
6b549a4d8b
Fix #11961 . Document STARTUPINFO and creation flag options.
2011-04-29 22:21:35 -05:00
Ezio Melotti
025691a5fe
#11952 : merge with 3.2.
2011-04-29 07:13:12 +03:00
Antoine Pitrou
15399c3f09
Issue #11811 : ssl.get_server_certificate() is now IPv6-compatible. Patch
...
by Charles-François Natali.
2011-04-28 19:23:55 +02:00
Łukasz Langa
e812bf7bf6
Merged styling updates for #11670 from 3.2.
2011-04-28 12:02:58 +02:00
Łukasz Langa
2356659f34
Merged trailing whitespace fix.
2011-04-27 18:14:04 +02:00
Łukasz Langa
29050d7317
Merged #11670 from 3.2
2011-04-27 18:11:50 +02:00
Éric Araujo
0abb8b74d9
Merge 3.2
2011-04-27 16:32:36 +02:00
Éric Araujo
7fb624fe51
Branch merge
2011-04-27 16:28:50 +02:00
Antoine Pitrou
45456a09f0
I think this should be "versionchanged", not "versionadded"
2011-04-26 18:53:42 +02:00
R David Murray
dff18b0858
Merge #11901 : add description of how bitfields are laid out to hexversion docs
...
Patch by Sijin Joseph.
2011-04-25 16:14:26 -04:00
Alexander Belopolsky
54afa5504c
Issue #2736 : Documented how to compute seconds since epoch.
2011-04-25 13:00:40 -04:00
Éric Araujo
3e8987025f
Add versionchanged for c19752ea037f ( #10998 )
2011-04-24 04:37:00 +02:00
Éric Araujo
b1734516c2
Add versionchanged for a364719e400a ( #11591 )
2011-04-24 03:15:32 +02:00
Éric Araujo
405d77872b
Remove unneeded backslashes
2011-04-24 03:00:58 +02:00
Éric Araujo
92952cc181
Merge 3.2
2011-04-24 02:49:10 +02:00
Éric Araujo
0c91e1d941
Branch merge
2011-04-24 02:47:37 +02:00
Ezio Melotti
707d1e6cea
Merge with 3.2.
2011-04-22 01:57:47 +03:00
Ezio Melotti
7817e3b151
#11904-#11905: Merge typo fixes with 3.2.
2011-04-21 23:12:53 +03:00
Ezio Melotti
ccb054759a
#11902 : Merge with 3.2.
2011-04-21 22:58:40 +03:00
Raymond Hettinger
295c1d4f19
Add another example for accumulate().
2011-04-21 11:09:28 -07:00
Ezio Melotti
5bba6c2785
Merge with 3.2.
2011-04-21 16:13:44 +03:00
Ezio Melotti
c6f079d1b2
#11885 : Merge with 3.2.
2011-04-21 15:29:04 +03:00