Commit Graph

1050 Commits

Author SHA1 Message Date
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 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
Brian Curtin 49a40cd562 Adjust OS/2 & VMS grammar, and add Windows 2000 to the unsupported list. 2011-05-02 22:30:06 -05:00
Georg Brandl 00db582272 Fix indentation. 2011-04-30 15:30:03 +02: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
Georg Brandl 0cd25c9dd9 Small grammar fix. 2011-04-29 13:45:54 +02:00
Victor Stinner b90db4caf0 Issue #11918: OS/2 and VMS are no more supported because of the lack of
maintainer.
2011-04-26 22:48:24 +02:00
Victor Stinner 754851f456 Issue #11223: Add threading._info() function providing informations about the
thread implementation.

Skip test_lock_acquire_interruption() and test_rlock_acquire_interruption() of
test_threadsignals if a thread lock is implemented using a POSIX mutex and a
POSIX condition variable. A POSIX condition variable cannot be interrupted by a
signal (e.g. on Linux, the futex system call is restarted).
2011-04-19 23:58:51 +02:00
Victor Stinner 024e37adcc Issue #11393: Add the new faulthandler module 2011-03-31 01:31:06 +02:00
Éric Araujo be3bd57ba2 Remove traces of division_warning left over from Python 2 (#10998) 2011-03-26 01:55:15 +01:00
Raymond Hettinger 4967be074b Issue #11071: Fix whatsnew description of O/S access to raw bytes. 2011-03-25 12:41:34 -07:00
Raymond Hettinger df07aacebb Issue #11071: Fix whatsnew description of O/S access to raw bytes. 2011-03-25 12:41:07 -07:00
Éric Araujo c09fca67e7 Do not touch sys.path when site is imported and python was started with -S.
Original patch by Carl Meyer, review by Brett Cannon, small doc editions by
yours truly.  Fixes #11591.
2011-03-23 02:06:24 +01:00
Antoine Pitrou 9bb9877d80 Followup to 4c59cd84086f: add an entry in the porting guide and a "versionchanged" attribute. 2011-03-15 20:22:50 +01:00
Antoine Pitrou ec43833cc7 Merge doc update 2011-03-15 20:23:30 +01:00
Giampaolo Rodolà 424298a155 Issue 9795: adds context manager protocol to nntplib.NNTP class so that it can used with the 'with' statement. 2011-03-03 18:34:06 +00:00
Giampaolo Rodolà 18e8bcb289 Issue 10784: adds os.getpriority() and os.setpriority() functions. 2011-02-25 20:57:54 +00:00
Giampaolo Rodolà c9c2c8b034 Issue 10882: add os.sendfile(). (patch provided by Ross Lagerwall) 2011-02-25 14:39:16 +00:00
Georg Brandl c9c9bc02a8 Add 3.3 whatsnew to index. 2011-02-25 11:28:22 +00:00
Giampaolo Rodolà 3108f98319 Adds Python 3.3 what's new document. 2011-02-24 20:59:48 +00:00
Raymond Hettinger 8edd2e9720 Issue #11296: rsplit() mentioned twice for the same change. 2011-02-24 11:15:36 +00:00
Raymond Hettinger 48e5cd3df3 nits 2011-02-23 04:22:31 +00:00
Terry Reedy ba9ad6021a Fix typo reported by 'Paddy' on python-list. 2011-02-22 16:24:07 +00:00
Raymond Hettinger 2cef949c9d Issue 10160: Both single-arg and multi-arg calls have been sped-up. 2011-02-21 17:54:36 +00:00
Raymond Hettinger f5692b0476 Issue 10160: Both single-arg and multi-arg calls have been sped-up. 2011-02-21 17:53:16 +00:00
Éric Araujo e0e824d2ed Fix two typos in what’s new (#11234). 2011-02-19 18:46:02 +00:00
Éric Araujo 85dacf7267 Some more grammar fixes/typos for what’s new (approved by Raymond; #11071) 2011-02-19 18:06:50 +00:00
Raymond Hettinger 8f0ae9a17f Doc fixups. 2011-02-18 00:53:55 +00:00
Raymond Hettinger 03a6e6630b Fix-up logging.dictConfig() example. 2011-02-17 19:19:44 +00:00
Raymond Hettinger 4a8f50a85c Fix an import and add a citation. 2011-02-17 19:05:53 +00:00
Raymond Hettinger 44efc6522a Fix accumulate() example. (Reported by David Murray.) 2011-02-14 18:18:49 +00:00
Raymond Hettinger 44028d8663 Missing paren. 2011-02-11 00:08:38 +00:00
Raymond Hettinger ed92b5a46b Insert missing section heading (noticed by Victor Stinner). 2011-02-11 00:03:03 +00:00
Raymond Hettinger 1fbd8e1c9a Fix nits. 2011-02-10 09:43:04 +00:00
Raymond Hettinger 9f62d7432c Add an entry for logging. 2011-02-10 09:20:26 +00:00
Terry Reedy 91638e70d3 Add 'pysqlite' before version 2.6.0 2011-02-09 19:21:00 +00:00
Raymond Hettinger 186f441288 Typo. 2011-02-09 18:16:32 +00:00
Raymond Hettinger 555f28830b Add link to table for Tcl/Tk issues on the Mac. 2011-02-07 12:51:05 +00:00
Raymond Hettinger 8cd0b38392 Typo. Doh! 2011-02-07 04:00:24 +00:00
Raymond Hettinger fb2d167e26 Issue #11071: Various improvements to whatsnew. 2011-02-06 20:08:57 +00:00
Raymond Hettinger 92acd67756 Recommend use of the tracker during the RC phase or just before a beta. 2011-01-31 06:34:47 +00:00
Raymond Hettinger 9c2fc47788 Fix minor grammar nits.
Revert r88272 -- the examples are more readable with spacing.
Add todos for difflib and logging.
2011-01-31 06:14:48 +00:00
Eli Bendersky e2ae80730d Mention new parameter and attributes of the difflib.SequenceMatcher class added in 3.2 (issue 2986) 2011-01-31 04:21:40 +00:00
Eli Bendersky f30793a6bb Fix PEP-8 violation in argparse usage example (similar examples in argparse.rst do follow PEP-8) 2011-01-31 04:10:23 +00:00
Eli Bendersky d7cde5daff Fix some grammar and typos 2011-01-31 04:05:52 +00:00
Raymond Hettinger ce227e3518 Clarify the status of get_string() and recommend using the binary API. 2011-01-30 08:20:37 +00:00
Raymond Hettinger 994d38059a Add entry for the mailbox fixups. 2011-01-30 07:56:03 +00:00
Raymond Hettinger b02f7c00ae List known build/install problems for OS X. 2011-01-30 05:37:16 +00:00