Commit graph

11674 commits

Author SHA1 Message Date
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
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
Nick Coghlan
0ded3e307b Issue #11647: allow contextmanager objects to be used as decorators as described in the docs. Initial patch by Ysj Ray. 2011-05-05 23:49:25 +10:00
Ezio Melotti
868fc87591 #11997: merge with 3.2. 2011-05-05 14:21:55 +03:00
Ezio Melotti
f77b74dd1b #11997: merge with 3.1. 2011-05-05 14:21:18 +03:00
Ezio Melotti
d92ab0806d #11997: fix typo in init.rst. 2011-05-05 14:19:48 +03: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
Brian Curtin
afd01172f9 Fix #11834. Correct site-packages paths.
Patch by Bryce Verdier.
2011-05-03 21:58:32 -05:00
Brian Curtin
03b8d4e47b Fix #11834. Correct site-packages paths.
Patch by Bryce Verdier.
2011-05-03 21:57:56 -05:00
Brian Curtin
308053ee11 Fix #11834. Correct site-packages paths.
Patch by Bryce Verdier.
2011-05-03 21:57:00 -05:00
Ezio Melotti
4e787aeed6 #11985: merge with 3.2. 2011-05-03 20:44:26 +03:00
Ezio Melotti
5098d44354 #11985: merge with 3.1. 2011-05-03 20:43:48 +03:00
Ezio Melotti
b351bcca23 #11985: document the return value of platform.python_implementation for PyPy. 2011-05-03 20:41:48 +03:00
Brian Curtin
49a40cd562 Adjust OS/2 & VMS grammar, and add Windows 2000 to the unsupported list. 2011-05-02 22:30:06 -05: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
Éric Araujo
38cfe89665 Merge 3.1 2011-05-02 13:12:23 +02:00
Éric Araujo
cd6756d2ae Branch merge 2011-05-02 13:10:36 +02:00
Éric Araujo
b79c234e1a Add missing colon 2011-05-02 13:10:18 +02:00
Benjamin Peterson
0255973af6 merge 3.2 2011-05-01 20:24:59 -05:00
Benjamin Peterson
c704378987 merge 3.1 2011-05-01 20:24:40 -05:00
Raymond Hettinger
9b2fd32cc5 Fix spelling. 2011-05-01 18:14:49 -07: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
Victor Stinner
8108e96bc8 (Merge 3.1) 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:11:33 +02:00
Victor Stinner
a6cd0cf0f5 Issue #11277: 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:05:37 +02:00
Benjamin Peterson
47583fa9b4 merge 3.2 2011-05-01 17:39:52 -05:00
Benjamin Peterson
cee01bf18f merge 3.1 2011-05-01 17:39:40 -05:00
Benjamin Peterson
10116d40d8 note abcs of int and float (closes #11977) 2011-05-01 17:38:17 -05:00
Georg Brandl
6c32b4a601 merge with 3.2 2011-05-01 22:37:46 +02:00
Georg Brandl
da623ed9f4 Split combined code/doctest code blocks in two blocks, to enable proper highlighting. 2011-05-01 22:37:23 +02:00
Georg Brandl
2cdee708e9 Split combined code/doctest code blocks in two blocks, to enable proper highlighting. 2011-05-01 22:34:31 +02:00
Éric Araujo
3bba57d596 Fix wording 2011-05-01 02:14:48 +02:00
R David Murray
afbc8506a1 Merge #11883: fix email examples by adding 'localhost' to SMTP constructor calls 2011-04-30 17:29:28 -04:00
R David Murray
361a7df323 Merge #11883: fix email examples by adding 'localhost' to SMTP constructor calls 2011-04-30 17:29:08 -04:00
R David Murray
bb754b503c #11883: fix email examples by adding 'localhost' to SMTP constructor calls 2011-04-30 17:26:32 -04:00
R David Murray
d3f075a4c0 Merge #11883: replace incorrect call to sendmail with correct call to send_message 2011-04-30 17:20:44 -04:00
R David Murray
7461298c9c #11883: replace incorrect call to sendmail with correct call to send_message 2011-04-30 17:19:53 -04:00
R David Murray
c55a7ea2b8 Merge #11901: post-commit review fixes per Georg Brandl 2011-04-30 16:36:37 -04:00
R David Murray
b751d6195f Merge #11901: post-commit review fixes per Georg Brandl 2011-04-30 16:36:08 -04:00
R David Murray
9beb34ee0d #11901: post-commit review fixes per Georg Brandl 2011-04-30 16:35:29 -04:00