]>
granicus.if.org Git - python/log
Kristján Valur Jónsson [Mon, 2 Apr 2012 15:41:06 +0000 (15:41 +0000)]
Merge with 3.2 (Issue #14471)
Benjamin Peterson [Mon, 2 Apr 2012 15:28:49 +0000 (11:28 -0400)]
merge 3.2
Kristján Valur Jónsson [Mon, 2 Apr 2012 15:23:29 +0000 (15:23 +0000)]
Issue #14471: Fix a possible buffer overrun in the winreg module.
Benjamin Peterson [Mon, 2 Apr 2012 15:15:17 +0000 (11:15 -0400)]
prevent writing to stderr from messing up the exception state (closes #14474)
Stefan Krah [Mon, 2 Apr 2012 13:10:36 +0000 (15:10 +0200)]
Whitespace.
Stefan Krah [Mon, 2 Apr 2012 13:04:14 +0000 (15:04 +0200)]
Merge.
Stefan Krah [Mon, 2 Apr 2012 13:02:21 +0000 (15:02 +0200)]
Clear the context flags if a context is initialized from the DefaultContext.
Georg Brandl [Mon, 2 Apr 2012 05:52:29 +0000 (07:52 +0200)]
Merge.
Georg Brandl [Mon, 2 Apr 2012 05:51:45 +0000 (07:51 +0200)]
Post-release update.
Benjamin Peterson [Sun, 1 Apr 2012 22:51:37 +0000 (18:51 -0400)]
merge 3.2
Benjamin Peterson [Sun, 1 Apr 2012 22:49:54 +0000 (18:49 -0400)]
adjust formatting
Benjamin Peterson [Sun, 1 Apr 2012 22:48:40 +0000 (18:48 -0400)]
remove extraneous condition
Benjamin Peterson [Sun, 1 Apr 2012 22:48:11 +0000 (18:48 -0400)]
merge heads
Benjamin Peterson [Sun, 1 Apr 2012 22:48:02 +0000 (18:48 -0400)]
be consistent with rest of function
Stefan Krah [Sun, 1 Apr 2012 21:25:34 +0000 (23:25 +0200)]
Fix Overflow exception in the bignum factorial benchmark that is due to
the recent change of the default value for context.Emax.
Martin v. Löwis [Sun, 1 Apr 2012 17:55:48 +0000 (19:55 +0200)]
Add _decimal and _testbuffer modules.
Martin v. Löwis [Sun, 1 Apr 2012 17:54:33 +0000 (19:54 +0200)]
Add MASM define to PGI and PGO builds
Antoine Pitrou [Sun, 1 Apr 2012 15:25:49 +0000 (17:25 +0200)]
Issue #14151: Raise a ValueError, not a NameError, when trying to create
a multiprocessing Client or Listener with an AF_PIPE type address under
non-Windows platforms. Patch by Popa Claudiu.
Antoine Pitrou [Sun, 1 Apr 2012 15:19:09 +0000 (17:19 +0200)]
Issue #14151: Raise a ValueError, not a NameError, when trying to create
a multiprocessing Client or Listener with an AF_PIPE type address under
non-Windows platforms. Patch by Popa Claudiu.
Eli Bendersky [Sun, 1 Apr 2012 14:40:17 +0000 (17:40 +0300)]
Removing the test of Element that causes ref-leak in GC (issue #14464).
I will now continue investigating the cause of the ref-leak, but I wanted
to remove the test so that the refcount test in the buildbots could be clean.
The whole change (adding GC to Element) is not reverted because it improved
the situation (GC works for immediate cycles) and didn't cause regressions
(the test is new and was added together with the fix).
Antoine Pitrou [Sun, 1 Apr 2012 14:08:11 +0000 (16:08 +0200)]
Issue #13019: Fix potential reference leaks in bytearray.extend().
Patch by Suman Saha.
Antoine Pitrou [Sun, 1 Apr 2012 14:05:46 +0000 (16:05 +0200)]
Issue #13019: Fix potential reference leaks in bytearray.extend().
Patch by Suman Saha.
Georg Brandl [Sun, 1 Apr 2012 11:49:38 +0000 (13:49 +0200)]
Added tag v3.3.0a2 for changeset
2f69db52d6de
Georg Brandl [Sun, 1 Apr 2012 11:49:21 +0000 (13:49 +0200)]
Bump to 3.3.0a2.
Georg Brandl [Sun, 1 Apr 2012 11:48:26 +0000 (13:48 +0200)]
Fix markup errors found by "make suspicious".
Georg Brandl [Sun, 1 Apr 2012 11:46:44 +0000 (13:46 +0200)]
Update pydoc topics.
Georg Brandl [Sun, 1 Apr 2012 11:10:58 +0000 (13:10 +0200)]
Remove parens around link.
Stefan Krah [Sun, 1 Apr 2012 11:07:24 +0000 (13:07 +0200)]
Issue #14394: Use elaborate phrases that boil down to "one to two orders
of magnitude". Provide link to the benchmarks.
Ned Deily [Sun, 1 Apr 2012 09:30:46 +0000 (02:30 -0700)]
Issue #14463: Prevent _decimal.so compile failures in OS X installer builds.
Ned Deily [Sun, 1 Apr 2012 07:17:33 +0000 (00:17 -0700)]
Issue #13507: OS X installer builds now build liblzma for the new
lzma module. (Patch by Nicholas Riley)
Sandro Tosi [Sat, 31 Mar 2012 23:50:22 +0000 (01:50 +0200)]
merge with 3.2
Sandro Tosi [Sat, 31 Mar 2012 23:50:00 +0000 (01:50 +0200)]
fix typo; thanks to Robert Bardos from docs@
Antoine Pitrou [Sat, 31 Mar 2012 23:14:39 +0000 (01:14 +0200)]
Issue #14300: Under Windows, sockets created using socket.dup() now allow overlapped I/O.
Patch by sbt.
Antoine Pitrou [Sat, 31 Mar 2012 23:00:55 +0000 (01:00 +0200)]
Issue #13872: socket.detach() now marks the socket closed (as mirrored in the socket repr()).
Patch by Matt Joiner.
Antoine Pitrou [Sat, 31 Mar 2012 23:00:17 +0000 (01:00 +0200)]
Issue #13872: socket.detach() now marks the socket closed (as mirrored in the socket repr()).
Patch by Matt Joiner.
Antoine Pitrou [Sat, 31 Mar 2012 21:51:25 +0000 (23:51 +0200)]
Null merge
Antoine Pitrou [Sat, 31 Mar 2012 21:50:31 +0000 (23:50 +0200)]
Issue #14437: Fix building the _io module under Cygwin.
Antoine Pitrou [Sat, 31 Mar 2012 19:09:53 +0000 (21:09 +0200)]
Fix formatting
Antoine Pitrou [Sat, 31 Mar 2012 19:09:00 +0000 (21:09 +0200)]
Issue #14456: improve documentation of the signal module w.r.t. threads.
Antoine Pitrou [Sat, 31 Mar 2012 18:56:21 +0000 (20:56 +0200)]
Issue #14456: improve documentation of the signal module w.r.t. threads.
Antoine Pitrou [Sat, 31 Mar 2012 18:25:22 +0000 (20:25 +0200)]
Issue #14406: Fix a race condition when using `concurrent.futures.wait(return_when=ALL_COMPLETED)`.
Patch by Matt Joiner.
Antoine Pitrou [Sat, 31 Mar 2012 18:23:30 +0000 (20:23 +0200)]
Issue #14406: Fix a race condition when using `concurrent.futures.wait(return_when=ALL_COMPLETED)`.
Patch by Matt Joiner.
Sandro Tosi [Sat, 31 Mar 2012 16:46:45 +0000 (18:46 +0200)]
merge heads
Sandro Tosi [Sat, 31 Mar 2012 16:44:18 +0000 (18:44 +0200)]
merge heads
Andrew Svetlov [Sat, 31 Mar 2012 16:44:18 +0000 (19:44 +0300)]
fix typo
Andrew Svetlov [Sat, 31 Mar 2012 16:36:39 +0000 (19:36 +0300)]
fix issue #5136: deprecate old unused functions from tkinter.
These functions are not documnted, so no documentation update.
Sandro Tosi [Sat, 31 Mar 2012 16:35:16 +0000 (18:35 +0200)]
merge with 3.2
Sandro Tosi [Sat, 31 Mar 2012 16:34:59 +0000 (18:34 +0200)]
use unittest.skip; thanks to Chang Min Jeon from docs@
R David Murray [Sat, 31 Mar 2012 16:08:59 +0000 (12:08 -0400)]
Merge #14434: make tutorial link in 'help' banner version-specific
Without this fix, both 2.7 and 3.x would always point to the "current"
docs...which means that before this fix python 3.2 'help' pointed to the 2.7
tutorial.
R David Murray [Sat, 31 Mar 2012 16:06:35 +0000 (12:06 -0400)]
#14434: make tutorial link in 'help' banner version-specific
Without this fix, both 2.7 and 3.x would always point to the "current"
docs...which means that before this fix python 3.2 'help' pointed to the 2.7
tutorial.
Sandro Tosi [Sat, 31 Mar 2012 15:44:33 +0000 (17:44 +0200)]
merge with 3.2
Sandro Tosi [Sat, 31 Mar 2012 15:23:10 +0000 (17:23 +0200)]
add 'safari' to webbrowser browsers table; thanks to Jonathan Eunice from docs@
Kristján Valur Jónsson [Sat, 31 Mar 2012 13:35:00 +0000 (13:35 +0000)]
Fix warning when compiling socketmodule.c with VS2010
VS2010 defineds the old errno constants in addition to the WSA* ones.
Kristján Valur Jónsson [Sat, 31 Mar 2012 13:08:11 +0000 (13:08 +0000)]
Issue #14435: Add Misc/NEWS and Misc/ACKS
Andrew Svetlov [Sat, 31 Mar 2012 11:55:55 +0000 (14:55 +0300)]
issue #3035: update PendingDeprecationWarning to DeprectionWarning, point deprecation in tkinter doc
Andrew Svetlov [Sat, 31 Mar 2012 11:20:19 +0000 (14:20 +0300)]
Merge from 3.2
Andrew Svetlov [Sat, 31 Mar 2012 11:10:10 +0000 (14:10 +0300)]
update NEWS as Terry Reedy proposed
Eli Bendersky [Sat, 31 Mar 2012 10:55:38 +0000 (13:55 +0300)]
Fix the tests of GC collection in ET.Element according to Benjamin's recommendations
Raymond Hettinger [Sat, 31 Mar 2012 09:19:06 +0000 (02:19 -0700)]
Fix-up a comment
Raymond Hettinger [Sat, 31 Mar 2012 04:50:40 +0000 (21:50 -0700)]
Fix-up comments and add a sentinel variable for clarity.
Raymond Hettinger [Sat, 31 Mar 2012 02:15:18 +0000 (19:15 -0700)]
No need to create and destroy links when updating a fixed-sized circular queue.
R David Murray [Fri, 30 Mar 2012 22:08:29 +0000 (18:08 -0400)]
Merge #10423: clarify options vs args in argparse discussion of optparse
Patch by Sandro Tosi.
R David Murray [Fri, 30 Mar 2012 22:07:42 +0000 (18:07 -0400)]
#10423: clarify options vs args in argparse discussion of optparse
Patch by Sandro Tosi.
Raymond Hettinger [Fri, 30 Mar 2012 20:15:48 +0000 (13:15 -0700)]
Minor cleanup: add whitespace, add comments, bring function attribute updates together.
Eli Bendersky [Fri, 30 Mar 2012 13:38:33 +0000 (16:38 +0300)]
Issue #14065: Added cyclic GC support to ET.Element
Stefan Krah [Fri, 30 Mar 2012 12:19:21 +0000 (14:19 +0200)]
Merge.
Stefan Krah [Fri, 30 Mar 2012 12:12:20 +0000 (14:12 +0200)]
Use abort() rather than exit() to appease tools like rpmlint. abort() is used
in libmpdec to prevent undefined behavior if an invalid context is used. This
cannot occur for the _decimal module since user input for the context is
validated.
Kristján Valur Jónsson [Fri, 30 Mar 2012 09:18:15 +0000 (09:18 +0000)]
Issue #14435: Remove special block allocation code from floatobject.c
PyFloatObjects are now allocated using PyObject_MALLOC like all other
internal types, but maintain a limited freelist of objects at hand for
performance. This will result in more consistent memory usage by Python.
Eli Bendersky [Fri, 30 Mar 2012 08:44:15 +0000 (11:44 +0300)]
Issue #14006: improve the documentation of xml.etree.ElementTree
Removed the useless explanation of the Element data structure that started the
documentation page. Instead, the documentation now starts with a brief tutorial
skimming some of the capabilities of the module. The tutorial can be followed
by additional topic-specific sections (such as XPath support), and eventually
by a reference that goes over the module's classes and functions, as usual.
Eli Bendersky [Fri, 30 Mar 2012 08:02:05 +0000 (11:02 +0300)]
fix typo in glossary
Eli Bendersky [Fri, 30 Mar 2012 07:52:25 +0000 (10:52 +0300)]
Added the "provisional package" glossary term from PEP 411
Vinay Sajip [Thu, 29 Mar 2012 19:18:21 +0000 (20:18 +0100)]
Closes #14436: merged fix from 3.2.
Vinay Sajip [Thu, 29 Mar 2012 19:17:18 +0000 (20:17 +0100)]
Closes #14436: Convert msg + args to string before pickling.
Andrew Svetlov [Thu, 29 Mar 2012 16:50:46 +0000 (19:50 +0300)]
Merge with 3.2
Ross Lagerwall [Thu, 29 Mar 2012 16:08:48 +0000 (18:08 +0200)]
Issue #14442: Add missing errno import in test_smtplib.
Andrew Svetlov [Thu, 29 Mar 2012 16:01:28 +0000 (19:01 +0300)]
Issue #14409: IDLE doesn't not execute commands from shell with default keybinding for <Return>.
Patch by Roger Serwy.
Michael Foord [Thu, 29 Mar 2012 12:46:50 +0000 (13:46 +0100)]
Fix typo in unittest.mock docs
R David Murray [Thu, 29 Mar 2012 11:15:45 +0000 (07:15 -0400)]
#14416: conditionally add LOG_AUTHPRIV facility and LOG_ODELAY to syslog.
Unlike the other facilities, we don't use a fallback for AUTHPRIV if it
doesn't exist. Because it is intended for logging sensitive log messages, it
is better that a program trying to log such messages fail than that it log
them insecurely.
Initial patch by Federico Reghenzani.
R David Murray [Thu, 29 Mar 2012 10:49:29 +0000 (06:49 -0400)]
Merge #14416: add missing LOG_SYSLOG facility to syslog docs.
R David Murray [Thu, 29 Mar 2012 10:47:35 +0000 (06:47 -0400)]
#14416: add missing LOG_SYSLOG facility to syslog docs.
Georg Brandl [Thu, 29 Mar 2012 07:18:14 +0000 (09:18 +0200)]
Fix newlines.
Michael Foord [Wed, 28 Mar 2012 14:49:08 +0000 (15:49 +0100)]
Update unittest.mock.patch example
Michael Foord [Wed, 28 Mar 2012 14:41:28 +0000 (15:41 +0100)]
Fix unittest.mock.patch docstring
Michael Foord [Wed, 28 Mar 2012 14:38:36 +0000 (15:38 +0100)]
Re-order unittest.mock documentation to put magic method support before the helpers
Michael Foord [Wed, 28 Mar 2012 14:32:08 +0000 (15:32 +0100)]
Adding an example to unittest.mock.patch documentation
Michael Foord [Wed, 28 Mar 2012 14:08:08 +0000 (15:08 +0100)]
Minor unittest.mock.patch doc / docstring improvement
Michael Foord [Wed, 28 Mar 2012 13:36:02 +0000 (14:36 +0100)]
Unsplit unittest.mock documentation
Victor Stinner [Wed, 28 Mar 2012 00:54:15 +0000 (02:54 +0200)]
time.time() now uses clock_gettime(CLOCK_REALTIME) if available
clock_gettime(CLOCK_REALTIME) has a better resolution than gettimeofday().
time.time() falls back on gettimeofday() (and then on other functions) on
error.
Victor Stinner [Wed, 28 Mar 2012 00:50:46 +0000 (02:50 +0200)]
Document the fact that mach_timebase_info() cannot fail
And call mach_absolute_time() after mach_timebase_info().
Stefan Krah [Tue, 27 Mar 2012 09:49:21 +0000 (11:49 +0200)]
Issue #11826: Fix memory leak in atexitmodule.
Georg Brandl [Tue, 27 Mar 2012 05:46:54 +0000 (07:46 +0200)]
merge with 3.2
Georg Brandl [Tue, 27 Mar 2012 05:46:46 +0000 (07:46 +0200)]
Closes #14411: remove outdated comment in rlcompleter docstring.
Georg Brandl [Tue, 27 Mar 2012 05:43:53 +0000 (07:43 +0200)]
Closes #14421: use with statement to properly close socket in bandwidth test.
Éric Araujo [Tue, 27 Mar 2012 03:35:31 +0000 (23:35 -0400)]
Fix typo
Eli Bendersky [Tue, 27 Mar 2012 02:57:23 +0000 (04:57 +0200)]
Fix doc typo noticed by Amaury Forgeot d'Arc
Victor Stinner [Mon, 26 Mar 2012 20:53:14 +0000 (22:53 +0200)]
Fix time.steady(strict=True): don't use CLOCK_REALTIME
Victor Stinner [Mon, 26 Mar 2012 20:10:51 +0000 (22:10 +0200)]
Issue #14383: Add _PyDict_GetItemId() and _PyDict_SetItemId() functions
These functions simplify the usage of static constant Unicode strings.
Generalize the usage of _Py_Identifier in ceval.c and typeobject.c.
Victor Stinner [Mon, 26 Mar 2012 20:08:02 +0000 (22:08 +0200)]
Issue #14368: _PyTime_gettimeofday() cannot fail
floattime() must not raise an error if the current time is 1970.1.1 at 00:00.
Andrew Svetlov [Mon, 26 Mar 2012 19:14:13 +0000 (22:14 +0300)]
Update missed idlelib/NEWS.txt
Andrew Svetlov [Mon, 26 Mar 2012 19:11:46 +0000 (22:11 +0300)]
IDLE can be launched as python -m ildelib