]>
granicus.if.org Git - python/log
Antoine Pitrou [Sat, 23 Apr 2011 15:56:06 +0000 (17:56 +0200)]
Remove unused private function
Antoine Pitrou [Sat, 23 Apr 2011 15:51:04 +0000 (17:51 +0200)]
Issue #11258: Speed up ctypes.util.find_library() under Linux by a factor
of 5 to 10. Initial patch by Jonas H.
Antoine Pitrou [Sat, 23 Apr 2011 15:21:13 +0000 (17:21 +0200)]
Issue #11382: Trivial system calls, such as dup() or pipe(), needn't
release the GIL. Patch by Charles-François Natali.
Vinay Sajip [Thu, 21 Apr 2011 23:17:46 +0000 (00:17 +0100)]
Fixed bug in test_logging.
Ezio Melotti [Thu, 21 Apr 2011 22:57:47 +0000 (01:57 +0300)]
Merge with 3.2.
Ezio Melotti [Thu, 21 Apr 2011 22:42:10 +0000 (01:42 +0300)]
Fix some more markup glitches in argparse doc.
Ezio Melotti [Thu, 21 Apr 2011 20:12:53 +0000 (23:12 +0300)]
#11904-#11905: Merge typo fixes with 3.2.
Ezio Melotti [Thu, 21 Apr 2011 20:09:27 +0000 (23:09 +0300)]
#11905: fix missing full stop in argparse doc. Noticed by Vladimir Rutsky.
Ezio Melotti [Thu, 21 Apr 2011 20:06:48 +0000 (23:06 +0300)]
#11904: fix indentation in argparse doc. Noticed by Vladimir Rutsky.
Ezio Melotti [Thu, 21 Apr 2011 19:58:40 +0000 (22:58 +0300)]
#11902: Merge with 3.2.
Ezio Melotti [Thu, 21 Apr 2011 19:56:51 +0000 (22:56 +0300)]
#11902: Fix typo in argparse doc. Noticed by Vladimir Rutsky.
Raymond Hettinger [Thu, 21 Apr 2011 18:09:28 +0000 (11:09 -0700)]
Add another example for accumulate().
Ezio Melotti [Thu, 21 Apr 2011 13:13:44 +0000 (16:13 +0300)]
Merge with 3.2.
Ezio Melotti [Thu, 21 Apr 2011 13:12:17 +0000 (16:12 +0300)]
Add the :mod: role where it was missing.
Ezio Melotti [Thu, 21 Apr 2011 12:29:04 +0000 (15:29 +0300)]
#11885: Merge with 3.2.
Ezio Melotti [Thu, 21 Apr 2011 12:26:46 +0000 (15:26 +0300)]
#11885: capitalize Python.
Ezio Melotti [Thu, 21 Apr 2011 11:49:56 +0000 (14:49 +0300)]
#11897: Merge with 3.2.
Ezio Melotti [Thu, 21 Apr 2011 11:49:03 +0000 (14:49 +0300)]
#11897: Fix typo in porting howto. Patch by Marti Raudsepp.
Benjamin Peterson [Wed, 20 Apr 2011 23:31:22 +0000 (18:31 -0500)]
say struct sequence rather than structseq and link to glossary
Benjamin Peterson [Wed, 20 Apr 2011 23:27:32 +0000 (18:27 -0500)]
glossary entry for struct sequence
Victor Stinner [Wed, 20 Apr 2011 21:23:52 +0000 (23:23 +0200)]
Simplify _count_elements() in _collections
PyIter_Next() cannot return a PyExc_StopIteration: it clears this exception.
Jesus Cea [Wed, 20 Apr 2011 20:41:39 +0000 (22:41 +0200)]
merge
Jesus Cea [Wed, 20 Apr 2011 20:41:21 +0000 (22:41 +0200)]
merge heads
Jesus Cea [Wed, 20 Apr 2011 20:40:48 +0000 (22:40 +0200)]
merge
Jesus Cea [Wed, 20 Apr 2011 20:39:29 +0000 (22:39 +0200)]
merge heads
Jesus Cea [Wed, 20 Apr 2011 20:38:26 +0000 (22:38 +0200)]
merge heads
Jesus Cea [Wed, 20 Apr 2011 20:32:19 +0000 (22:32 +0200)]
null merge
Jesus Cea [Wed, 20 Apr 2011 20:31:34 +0000 (22:31 +0200)]
null merge
Jesus Cea [Wed, 20 Apr 2011 20:26:57 +0000 (22:26 +0200)]
Port
5b607cd8c71b (closes #11892)
Raymond Hettinger [Wed, 20 Apr 2011 20:09:46 +0000 (13:09 -0700)]
Minor text rearrangement.
Raymond Hettinger [Wed, 20 Apr 2011 20:08:40 +0000 (13:08 -0700)]
Minor text rearrangement.
Raymond Hettinger [Wed, 20 Apr 2011 20:03:49 +0000 (13:03 -0700)]
Minor text rearrangement.
Jesus Cea [Wed, 20 Apr 2011 19:13:36 +0000 (21:13 +0200)]
merge
Jesus Cea [Wed, 20 Apr 2011 19:11:52 +0000 (21:11 +0200)]
heads merging
Jesus Cea [Wed, 20 Apr 2011 19:10:20 +0000 (21:10 +0200)]
heads merging
Jesus Cea [Wed, 20 Apr 2011 19:01:45 +0000 (21:01 +0200)]
null merge
Jesus Cea [Wed, 20 Apr 2011 19:00:40 +0000 (21:00 +0200)]
null merge
Ezio Melotti [Wed, 20 Apr 2011 18:59:06 +0000 (21:59 +0300)]
Merge with 3.2.
Ezio Melotti [Wed, 20 Apr 2011 18:56:21 +0000 (21:56 +0300)]
Use non-deprecated method name.
Jesus Cea [Wed, 20 Apr 2011 18:54:05 +0000 (20:54 +0200)]
null merge
Jesus Cea [Wed, 20 Apr 2011 18:51:59 +0000 (20:51 +0200)]
merge
Jesus Cea [Wed, 20 Apr 2011 18:51:09 +0000 (20:51 +0200)]
merge
Jesus Cea [Wed, 20 Apr 2011 18:49:06 +0000 (20:49 +0200)]
null merge
Ezio Melotti [Wed, 20 Apr 2011 18:33:29 +0000 (21:33 +0300)]
Merge with 3.2.
Jesus Cea [Wed, 20 Apr 2011 18:32:52 +0000 (20:32 +0200)]
MERGE: Up-port changeset
5cf8f6da8743 (closes #11890)
Ezio Melotti [Wed, 20 Apr 2011 18:32:40 +0000 (21:32 +0300)]
Merge with 3.1.
Ezio Melotti [Wed, 20 Apr 2011 18:29:31 +0000 (21:29 +0300)]
Fix wrong function name. Noticed by Clive Darke.
Jesus Cea [Wed, 20 Apr 2011 18:24:57 +0000 (20:24 +0200)]
Up-port changeset
5cf8f6da8743 (closes #11890)
Jesus Cea [Wed, 20 Apr 2011 15:59:29 +0000 (17:59 +0200)]
MERGE: startswith and endswith don't accept None as slice index. Patch by Torsten Becker. (closes #11828)
Jesus Cea [Wed, 20 Apr 2011 15:42:50 +0000 (17:42 +0200)]
MERGE: startswith and endswith don't accept None as slice index. Patch by Torsten Becker. (closes #11828)
Jesus Cea [Wed, 20 Apr 2011 15:09:23 +0000 (17:09 +0200)]
startswith and endswith don't accept None as slice index. Patch by Torsten Becker. (closes #11828)
Vinay Sajip [Wed, 20 Apr 2011 14:41:14 +0000 (15:41 +0100)]
Tidied comments and docstrings.
Vinay Sajip [Wed, 20 Apr 2011 11:50:42 +0000 (12:50 +0100)]
Attempt fix of #11557 by refining test logic.
Vinay Sajip [Wed, 20 Apr 2011 11:20:44 +0000 (12:20 +0100)]
Attempt fix of #11557 by refining setup/teardown logic.
Vinay Sajip [Wed, 20 Apr 2011 10:50:56 +0000 (11:50 +0100)]
Attempt fix of #11557 by changing setup/teardown logic.
Victor Stinner [Wed, 20 Apr 2011 10:23:26 +0000 (12:23 +0200)]
Issue #11223: fix compiler warnings
Vinay Sajip [Wed, 20 Apr 2011 09:58:06 +0000 (10:58 +0100)]
Attempt fix of #11557 by changing teardown logic.
Victor Stinner [Wed, 20 Apr 2011 01:27:51 +0000 (03:27 +0200)]
Close #11619: write_compiled_module() doesn't encode the filename
Reimplement open_exclusive() using _wopen() to avoid encoding the filename to
the filesystem encoding: use the Unicode version of the Windows API.
Raymond Hettinger [Wed, 20 Apr 2011 00:19:11 +0000 (17:19 -0700)]
Issue #11875: Alter the previous fix to work better with subclasses
Raymond Hettinger [Wed, 20 Apr 2011 00:17:51 +0000 (17:17 -0700)]
Issue #11875: Alter the previous fix to work better with subclasses
Raymond Hettinger [Wed, 20 Apr 2011 00:17:23 +0000 (17:17 -0700)]
Issue #11875: Alter the previous fix to work better with subclasses
Victor Stinner [Tue, 19 Apr 2011 22:26:28 +0000 (00:26 +0200)]
Issue #11223: fix test_dummy_threading, add _dummy_thread.info()
Victor Stinner [Tue, 19 Apr 2011 21:58:51 +0000 (23:58 +0200)]
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).
Victor Stinner [Tue, 19 Apr 2011 21:30:57 +0000 (23:30 +0200)]
faulthandler: don't use sigprocmask()
It has an undefined behaviour with threads, only use pthread_sigmask() if
it is available (and not broken).
Ezio Melotti [Tue, 19 Apr 2011 20:24:32 +0000 (23:24 +0300)]
Merge with 3.2.
Ezio Melotti [Tue, 19 Apr 2011 20:23:47 +0000 (23:23 +0300)]
Merge with 3.1.
Ezio Melotti [Tue, 19 Apr 2011 20:15:13 +0000 (23:15 +0300)]
Fix wrong number of functions noticed by Sandro Tosi.
Raymond Hettinger [Tue, 19 Apr 2011 18:15:11 +0000 (11:15 -0700)]
merge
Raymond Hettinger [Tue, 19 Apr 2011 18:12:47 +0000 (11:12 -0700)]
merge
Raymond Hettinger [Tue, 19 Apr 2011 18:11:20 +0000 (11:11 -0700)]
merge
Raymond Hettinger [Tue, 19 Apr 2011 18:10:43 +0000 (11:10 -0700)]
Issue 11875: Keep OrderedDict's __reduce__ from temporarily mutating the object.
Raymond Hettinger [Tue, 19 Apr 2011 18:04:44 +0000 (11:04 -0700)]
Issue 11875: Keep OrderedDict's __reduce__ from temporarily mutating the object.
Raymond Hettinger [Tue, 19 Apr 2011 17:23:04 +0000 (10:23 -0700)]
merge
Raymond Hettinger [Tue, 19 Apr 2011 17:21:27 +0000 (10:21 -0700)]
Issue 11875: Keep OrderedDict's __reduce__ from temporarily mutating the object.
Raymond Hettinger [Tue, 19 Apr 2011 17:05:53 +0000 (10:05 -0700)]
Hmm, __ne__ was missing
Raymond Hettinger [Tue, 19 Apr 2011 17:05:03 +0000 (10:05 -0700)]
Issue 11875: Keep OrderedDict's __reduce__ from temporarily mutating the object.
Vinay Sajip [Tue, 19 Apr 2011 12:58:49 +0000 (13:58 +0100)]
Merged documentation fix from 3.2.
Vinay Sajip [Tue, 19 Apr 2011 12:56:39 +0000 (13:56 +0100)]
Updated documentation on fileConfig().
Giampaolo Rodola' [Tue, 19 Apr 2011 07:47:16 +0000 (09:47 +0200)]
os.sendfile(): on Linux if offset parameter is passed as NULL we were erroneously returning a (bytes_sent, None) tuple instead of bytes_sent
Georg Brandl [Tue, 19 Apr 2011 07:21:00 +0000 (09:21 +0200)]
Add new email.policy document to the toctree and fix markup glitch.
Nadeem Vawda [Mon, 18 Apr 2011 23:41:28 +0000 (01:41 +0200)]
Merge test_startfile fix from 3.2.
Nadeem Vawda [Mon, 18 Apr 2011 23:40:45 +0000 (01:40 +0200)]
Merge test_startfile fix from 3.1.
Nadeem Vawda [Mon, 18 Apr 2011 23:38:47 +0000 (01:38 +0200)]
Fix sporadic failure in test_startfile.
Wait for the child process to terminate before ending the test, so that the
regrtest cleanup code doesn't get an error when it tries to delete the
temporary CWD.
R David Murray [Mon, 18 Apr 2011 20:00:47 +0000 (16:00 -0400)]
Markup and text fixes from Georg Brandl's review.
R David Murray [Mon, 18 Apr 2011 19:55:45 +0000 (15:55 -0400)]
Merge: Fix markup.
R David Murray [Mon, 18 Apr 2011 19:54:58 +0000 (15:54 -0400)]
Fix markup.
R David Murray [Mon, 18 Apr 2011 17:59:37 +0000 (13:59 -0400)]
#11731: simplify/enhance parser/generator API by introducing policy objects.
This new interface will also allow for future planned enhancements
in control over the parser/generator without requiring any additional
complexity in the parser/generator API.
Patch reviewed by Éric Araujo and Barry Warsaw.
Victor Stinner [Mon, 18 Apr 2011 14:30:17 +0000 (16:30 +0200)]
(Merge 3.2) Issue #11768: The signal handler of the signal module only calls
Py_AddPendingCall() for the first signal to fix a deadlock on reentrant or
parallel calls. PyErr_SetInterrupt() writes also into the wake up file.
Victor Stinner [Mon, 18 Apr 2011 14:28:39 +0000 (16:28 +0200)]
(Merge 3.1) Issue #11768: The signal handler of the signal module only calls
Py_AddPendingCall() for the first signal to fix a deadlock on reentrant or
parallel calls. PyErr_SetInterrupt() writes also into the wake up file.
Victor Stinner [Mon, 18 Apr 2011 14:25:56 +0000 (16:25 +0200)]
Issue #11768: The signal handler of the signal module only calls
Py_AddPendingCall() for the first signal to fix a deadlock on reentrant or
parallel calls. PyErr_SetInterrupt() writes also into the wake up file.
R David Murray [Mon, 18 Apr 2011 14:11:06 +0000 (10:11 -0400)]
Merge: #11492: rewrite header folding algorithm. Less code, more passing tests.
R David Murray [Mon, 18 Apr 2011 14:04:34 +0000 (10:04 -0400)]
#11492: rewrite header folding algorithm. Less code, more passing tests.
Ezio Melotti [Mon, 18 Apr 2011 07:14:49 +0000 (10:14 +0300)]
#11865: Merge with 3.2.
Ezio Melotti [Mon, 18 Apr 2011 07:14:13 +0000 (10:14 +0300)]
#11865: Merge with 3.1.
Ezio Melotti [Mon, 18 Apr 2011 07:11:21 +0000 (10:11 +0300)]
#11865: fix typo in init.rst.
Raymond Hettinger [Mon, 18 Apr 2011 02:49:58 +0000 (19:49 -0700)]
merge
Raymond Hettinger [Mon, 18 Apr 2011 02:49:29 +0000 (19:49 -0700)]
Rework multiset methods to use less memory and to make fewer calls to __hash__.
Raymond Hettinger [Mon, 18 Apr 2011 02:47:24 +0000 (19:47 -0700)]
Rework multiset methods to use less memory and to make fewer calls to __hash__.
Raymond Hettinger [Mon, 18 Apr 2011 02:46:46 +0000 (19:46 -0700)]
Rework multiset methods to use less memory and to make fewer calls to __hash__.
Ezio Melotti [Sat, 16 Apr 2011 20:14:40 +0000 (23:14 +0300)]
Merge with 3.2.