]>
granicus.if.org Git - python/log
Benjamin Peterson [Wed, 10 Oct 2012 18:10:33 +0000 (14:10 -0400)]
add some missing DISPATCH()
Benjamin Peterson [Tue, 9 Oct 2012 15:16:33 +0000 (11:16 -0400)]
merge 3.3
Benjamin Peterson [Tue, 9 Oct 2012 15:16:26 +0000 (11:16 -0400)]
merge heads
Benjamin Peterson [Tue, 9 Oct 2012 15:16:13 +0000 (11:16 -0400)]
merge 3.3
Benjamin Peterson [Tue, 9 Oct 2012 15:16:03 +0000 (11:16 -0400)]
compare singletons by identity not equality (closes #16712)
Patch from Serhiy Storchaka.
Benjamin Peterson [Tue, 9 Oct 2012 15:14:59 +0000 (11:14 -0400)]
compare with equality not identity (issue #16172)
Patch from Serhiy Storchaka.
Eli Bendersky [Tue, 9 Oct 2012 14:19:13 +0000 (07:19 -0700)]
Merge 3.3
Closes #16082: clarify the documentation of tostring[list] saying that it may generate a bytestring, depending on the given encoding.
Eli Bendersky [Tue, 9 Oct 2012 14:18:16 +0000 (07:18 -0700)]
Issue #16082: clarify the documentation of tostring[list] saying that it may generate a bytestring, depending on the given encoding.
Eli Bendersky [Tue, 9 Oct 2012 13:47:23 +0000 (06:47 -0700)]
Merge 3.3
Issue #12322: clarify xpath reference for cases where the path reaches ancestors of the start element. Also add missing markup for a None. Thanks to patrick vrijlandt and Mike Hoy for the report and initial patches.
Eli Bendersky [Tue, 9 Oct 2012 13:46:33 +0000 (06:46 -0700)]
Issue #12322: clarify xpath reference for cases where the path reaches ancestors of the start element. Also add missing markup for a None. Thanks to patrick vrijlandt and Mike Hoy for the report and initial patches.
Richard Oudkerk [Tue, 9 Oct 2012 12:54:02 +0000 (13:54 +0100)]
Issue #16169: Merge
Richard Oudkerk [Tue, 9 Oct 2012 12:28:10 +0000 (13:28 +0100)]
Issue #16169: Fix ctypes.WinError()'s confusion between errno and winerror
Andrew Svetlov [Tue, 9 Oct 2012 10:45:10 +0000 (13:45 +0300)]
Merge issue #16174: Fix suggested usage of dummy_threading module.
Patch by Berker Peksag.
Andrew Svetlov [Tue, 9 Oct 2012 10:44:48 +0000 (13:44 +0300)]
Merge issue #16174: Fix suggested usage of dummy_threading module.
Patch by Berker Peksag.
Andrew Svetlov [Tue, 9 Oct 2012 10:44:16 +0000 (13:44 +0300)]
Issue #16174: Fix suggested usage of dummy_threading module.
Patch by Berker Peksag.
Vinay Sajip [Tue, 9 Oct 2012 08:06:03 +0000 (09:06 +0100)]
Closes #16110: fileConfig now accepts a pre-initialised ConfigParser instance.
Senthil Kumaran [Tue, 9 Oct 2012 07:40:55 +0000 (00:40 -0700)]
Fix Issue 15922: make howto/urllib2.rst doctests pass.
Patch by Chris Jerdonek. Address Ezio's review comment.
Senthil Kumaran [Tue, 9 Oct 2012 07:38:17 +0000 (00:38 -0700)]
Fix Issue 15922: make howto/urllib2.rst doctests pass.
Patch by Chris Jerdonek. Address Ezio's review comment.
Senthil Kumaran [Tue, 9 Oct 2012 07:37:09 +0000 (00:37 -0700)]
Fix Issue 15922: make howto/urllib2.rst doctests pass.
Patch by Chris Jerdonek. Address Ezio's review comment.
Vinay Sajip [Tue, 9 Oct 2012 07:23:06 +0000 (08:23 +0100)]
Closes #16168: Merged SysLogHandler update from 3.3.
Vinay Sajip [Tue, 9 Oct 2012 07:22:01 +0000 (08:22 +0100)]
Issue #16168: Merged SysLogHandler update from 3.2.
Vinay Sajip [Tue, 9 Oct 2012 07:19:25 +0000 (08:19 +0100)]
Issue #16168: Use specified socket type for domain sockets in SysLogHandler.
Vinay Sajip [Tue, 9 Oct 2012 07:06:13 +0000 (08:06 +0100)]
Issue #16141: replaced old-style exception handling code in logging with the modern idiom.
Chris Jerdonek [Tue, 9 Oct 2012 06:14:46 +0000 (23:14 -0700)]
Issue #16115: Merge subprocess.Popen() documentation improvements from 3.3.
Chris Jerdonek [Tue, 9 Oct 2012 06:12:21 +0000 (23:12 -0700)]
Issue #16115: Merge subprocess.Popen() documentation improvements from 3.2.
Chris Jerdonek [Tue, 9 Oct 2012 06:06:57 +0000 (23:06 -0700)]
Issue #16115: Improve subprocess.Popen() documentation around args, shell, and executable arguments.
Chris Jerdonek [Tue, 9 Oct 2012 00:54:45 +0000 (17:54 -0700)]
Issue #16115: Merge test skip from 3.3.
Chris Jerdonek [Tue, 9 Oct 2012 00:53:46 +0000 (17:53 -0700)]
Issue #16115: Skip a newly added subprocess.Popen() test on Linux.
Chris Jerdonek [Mon, 8 Oct 2012 23:01:00 +0000 (16:01 -0700)]
Issue #16115: Merge test improvements from 3.3.
Chris Jerdonek [Mon, 8 Oct 2012 22:56:43 +0000 (15:56 -0700)]
Issue #16115: Improve testing of the executable argument to subprocess.Popen().
Nadeem Vawda [Mon, 8 Oct 2012 18:31:34 +0000 (20:31 +0200)]
bz2 module: Rewrap docstrings at 72 columns, as per PEP 8.
Nadeem Vawda [Mon, 8 Oct 2012 17:20:49 +0000 (19:20 +0200)]
Stylistic tweaks to the bz2 module to make it easier to transplant changes from
it to http://pypi.python.org/pypi/bz2file.
Richard Oudkerk [Mon, 8 Oct 2012 13:56:24 +0000 (14:56 +0100)]
Use setUpClass() and tearDownClass() in test_multiprocessing.
Each manager test class now uses a separate manager. Also, process
pools are no longer created before starting any tests.
Note that warnings are written if the manager for a test case still
has live objects when it is shutdown. This is true for a few test cases
which fail to wait for all child processes to end.
Richard Oudkerk [Mon, 8 Oct 2012 12:07:00 +0000 (13:07 +0100)]
Make __mp_main__ an alias for __main__ in all processes to simplify
pickling of classes defined in main module.
Hynek Schlawack [Mon, 8 Oct 2012 05:46:11 +0000 (07:46 +0200)]
Merge 3.3
Hynek Schlawack [Mon, 8 Oct 2012 05:44:54 +0000 (07:44 +0200)]
Merge 3.2
Chris Jerdonek [Sun, 7 Oct 2012 22:02:16 +0000 (15:02 -0700)]
Issue #14783: Merge changes from 3.3.
Chris Jerdonek [Sun, 7 Oct 2012 21:56:27 +0000 (14:56 -0700)]
Issue #14783: Merge changes from 3.2.
Chris Jerdonek [Sun, 7 Oct 2012 21:48:36 +0000 (14:48 -0700)]
Issue #14783: Improve int() docstring and also str(), range(), and slice().
This commit rewrites the docstring for int() to incorporate the documentation
changes made in issue #16036. It also switches the docstrings for int(),
str(), range(), and slice() to use multi-line signatures.
Christian Heimes [Sun, 7 Oct 2012 21:38:44 +0000 (23:38 +0200)]
brg_endian.h is back again
Christian Heimes [Sun, 7 Oct 2012 20:45:14 +0000 (22:45 +0200)]
merge
Christian Heimes [Sun, 7 Oct 2012 20:44:41 +0000 (22:44 +0200)]
re-add brg_endian.h to debug issue in big endian SPARC machine
Andrew Svetlov [Sun, 7 Oct 2012 20:21:15 +0000 (23:21 +0300)]
Issue #16120: Use |yield from| in stdlib.
Patch by Berker Peksag.
Richard Oudkerk [Sun, 7 Oct 2012 17:08:47 +0000 (18:08 +0100)]
Get rid of circular import and eliminate unprefixed exported symbols
from _multiprocessing.
Andrew Svetlov [Sun, 7 Oct 2012 16:22:50 +0000 (19:22 +0300)]
merge heads
Andrew Svetlov [Sun, 7 Oct 2012 16:21:24 +0000 (19:21 +0300)]
merge heads
Christian Heimes [Sun, 7 Oct 2012 16:20:07 +0000 (18:20 +0200)]
correct build configuration of sha3 project for debug builds
Andrew Svetlov [Sun, 7 Oct 2012 16:19:34 +0000 (19:19 +0300)]
Merge issue #14900: Add aliases for sorting params for pstat to follow column names from pstat output.
Patch by Arne Babenhauserheide.
Andrew Svetlov [Sun, 7 Oct 2012 16:19:17 +0000 (19:19 +0300)]
Merge issue #14900: Add aliases for sorting params for pstat to follow column names from pstat output.
Patch by Arne Babenhauserheide.
Andrew Svetlov [Sun, 7 Oct 2012 16:18:39 +0000 (19:18 +0300)]
Issue #14900: Add aliases for sorting params for pstat to follow column names from pstat output.
Patch by Arne Babenhauserheide.
Christian Heimes [Sun, 7 Oct 2012 16:09:39 +0000 (18:09 +0200)]
_sha3 was missing debug build targets. I used xxlimited.vcxproj as template. The project is now a copy of _multiprocessing.vcxproj with new GUID and without BaseAddress and ws2_32.lib
Hynek Schlawack [Sun, 7 Oct 2012 16:04:38 +0000 (18:04 +0200)]
#13498: Clarify docs of os.makedirs()'s exist_ok argument.
Done with great native-speaker help from R. David Murray.
Andrew Svetlov [Sun, 7 Oct 2012 15:59:27 +0000 (18:59 +0300)]
Issue #14900: Distuguish call count and primitive call count in pstat output.
Patch by Arne Babenhauserheide.
Andrew Svetlov [Sun, 7 Oct 2012 15:59:11 +0000 (18:59 +0300)]
Merge issue #14900: Distuguish call count and primitive call count in pstat output.
Patch by Arne Babenhauserheide.
Andrew Svetlov [Sun, 7 Oct 2012 15:58:42 +0000 (18:58 +0300)]
Issue #14900: Distuguish call count and primitive call count in pstat output.
Patch by Arne Babenhauserheide.
Eli Bendersky [Sun, 7 Oct 2012 14:24:24 +0000 (07:24 -0700)]
merge 3.3
Eli Bendersky [Sun, 7 Oct 2012 14:23:50 +0000 (07:23 -0700)]
Issue #15888: fixing problems in ipaddress doctests. Patch by Chris Jerdonek
Hynek Schlawack [Sun, 7 Oct 2012 10:49:58 +0000 (12:49 +0200)]
Closes #
1492704 : Make shutil.copyfile() raise a distinct SameFileError
Patch by Atsuo Ishimoto.
Andrew Svetlov [Sun, 7 Oct 2012 10:39:00 +0000 (13:39 +0300)]
Remove unused functions from _tkinter.
Andrew Svetlov [Sun, 7 Oct 2012 09:30:51 +0000 (12:30 +0300)]
Utilize PyModule_Add{IntConstant,StringConstant,Object} in _tkinter.
Ezio Melotti [Sun, 7 Oct 2012 09:09:36 +0000 (12:09 +0300)]
Fix markup.
Andrew Svetlov [Sun, 7 Oct 2012 09:08:38 +0000 (12:08 +0300)]
Utilize Py_RETURN_NONE in _tkinter module.
Armin Ronacher [Sun, 7 Oct 2012 08:29:32 +0000 (10:29 +0200)]
Issue #16148: Small improvements and cleanup. Added version information
to docs.
R David Murray [Sun, 7 Oct 2012 03:21:01 +0000 (23:21 -0400)]
Merge: More whatsnew updates, move some doc NEWS items into the doc section.
R David Murray [Sun, 7 Oct 2012 03:19:17 +0000 (23:19 -0400)]
More whatsnew updates, move some doc NEWS items into the doc section.
R David Murray [Sun, 7 Oct 2012 02:27:31 +0000 (22:27 -0400)]
Merge: starmap/starmap_async for whatsnew, and fix multiprocessing Pool markup.
R David Murray [Sun, 7 Oct 2012 02:26:52 +0000 (22:26 -0400)]
starmap/starmap_async for whatsnew, and fix multiprocessing Pool markup.
R David Murray [Sun, 7 Oct 2012 02:10:42 +0000 (22:10 -0400)]
Merge: More whatsnew updates. Also move a C-API NEWS item out of library section.
R David Murray [Sun, 7 Oct 2012 02:08:08 +0000 (22:08 -0400)]
More whatsnew updates. Also move a C-API NEWS item out of library section.
R David Murray [Sat, 6 Oct 2012 22:33:08 +0000 (18:33 -0400)]
merge #9957: document that SpooledTemporaryFile.truncate now accepts a size arg
R David Murray [Sat, 6 Oct 2012 22:32:39 +0000 (18:32 -0400)]
#9957: document that SpooledTemporaryFile.truncate now accepts a size arg
R David Murray [Sat, 6 Oct 2012 22:26:56 +0000 (18:26 -0400)]
#9957: document that SpooledTemporaryFile.truncate does not take size arg
R David Murray [Sat, 6 Oct 2012 22:22:31 +0000 (18:22 -0400)]
Null merge
R David Murray [Sat, 6 Oct 2012 22:22:09 +0000 (18:22 -0400)]
Null merge.
R David Murray [Sat, 6 Oct 2012 22:20:08 +0000 (18:20 -0400)]
More whatsnew updates.
R David Murray [Sat, 6 Oct 2012 22:18:55 +0000 (18:18 -0400)]
More whatsnew updates.
Victor Stinner [Sat, 6 Oct 2012 21:55:33 +0000 (23:55 +0200)]
Cleanup PyUnicode_FromFormatV() for zero padding
Skip the "0" instead of parsing it twice: detect zero padding and then parsed
as a digit of the width.
Victor Stinner [Sat, 6 Oct 2012 21:48:20 +0000 (23:48 +0200)]
Issue #16147: PyUnicode_FromFormatV() doesn't need anymore to allocate a buffer
on the heap to format numbers.
Victor Stinner [Sat, 6 Oct 2012 21:05:45 +0000 (23:05 +0200)]
Issue #16147: PyUnicode_FromFormatV() now raises an error if the argument of
'%c' is not in the range(0x110000).
Victor Stinner [Sat, 6 Oct 2012 21:05:00 +0000 (23:05 +0200)]
Issue #16147: PyUnicode_FromFormatV() now detects integer overflow when parsing
width and precision
Victor Stinner [Sat, 6 Oct 2012 21:03:36 +0000 (23:03 +0200)]
Issue #16147: Rewrite PyUnicode_FromFormatV() to use _PyUnicodeWriter API
* Simplify the code: replace 4 steps with one unique step using the
_PyUnicodeWriter API. PyUnicode_Format() has the same design. It avoids to
store intermediate results which require to allocate an array of pointers on
the heap.
* Use the _PyUnicodeWriter API for speed (and its convinient API):
overallocate the buffer to reduce the number of "realloc()"
* Implement "width" and "precision" in Python, don't rely on sprintf(). It
avoids to need of a temporary buffer allocated on the heap: only use a small
buffer allocated in the stack.
* Add _PyUnicodeWriter_WriteCstr() function
* Split PyUnicode_FromFormatV() into two functions: add
unicode_fromformat_arg().
* Inline parse_format_flags(): the format of an argument is now only parsed
once, it's no more needed to have a subfunction.
* Optimize PyUnicode_FromFormatV() for characters between two "%" arguments:
search the next "%" and copy the substring in one chunk, instead of copying
character per character.
Georg Brandl [Sat, 6 Oct 2012 20:39:16 +0000 (22:39 +0200)]
merge with 3.3.
Georg Brandl [Sat, 6 Oct 2012 20:38:20 +0000 (22:38 +0200)]
Fix markup in Counter note.
R David Murray [Sat, 6 Oct 2012 20:30:46 +0000 (16:30 -0400)]
Merge: whatsnew updates for smtplib and collections.Counter.
R David Murray [Sat, 6 Oct 2012 20:29:14 +0000 (16:29 -0400)]
whatsnew updates for smtplib and collections.Counter.
R David Murray [Sat, 6 Oct 2012 20:06:41 +0000 (16:06 -0400)]
Merge: Fix typos.
R David Murray [Sat, 6 Oct 2012 20:06:16 +0000 (16:06 -0400)]
Fix typos.
R David Murray [Sat, 6 Oct 2012 18:38:17 +0000 (14:38 -0400)]
merge #10968: commit threading doc changes and corresponding whatsnew entry.
It is unfortunate that the '_' names were not kept as aliases, and that RLock
was not also converted to a class, but it is now too late to change either of
those things for 3.3.
R David Murray [Sat, 6 Oct 2012 18:35:35 +0000 (14:35 -0400)]
#10968: commit threading doc changes and corresponding whatsnew entry.
It is unfortunate that the '_' names were not kept as aliases, and that RLock
was not also converted to a class, but it is now too late to change either of
those things for 3.3.
Mark Dickinson [Sat, 6 Oct 2012 17:50:19 +0000 (18:50 +0100)]
Issue #16096: port fix from 3.3
Mark Dickinson [Sat, 6 Oct 2012 17:50:02 +0000 (18:50 +0100)]
Issue #16096: Fix signed overflow in Objects/longobject.c. Thanks Serhiy Storchaka.
Mark Dickinson [Sat, 6 Oct 2012 17:05:14 +0000 (18:05 +0100)]
Issue #16096: Merge fixes from 3.3.
Mark Dickinson [Sat, 6 Oct 2012 17:04:49 +0000 (18:04 +0100)]
Issue #16096: Fix several occurrences of potential signed integer overflow. Thanks Serhiy Storchaka.
Andrew Svetlov [Sat, 6 Oct 2012 15:46:09 +0000 (18:46 +0300)]
revert accidental inclusion of subprocess tests
Andrew Svetlov [Sat, 6 Oct 2012 15:45:47 +0000 (18:45 +0300)]
revert accidental inclusion of subprocess tests
Andrew Svetlov [Sat, 6 Oct 2012 15:45:24 +0000 (18:45 +0300)]
revert accidental inclusion of subprocess tests
Andrew Svetlov [Sat, 6 Oct 2012 15:38:30 +0000 (18:38 +0300)]
Add spaces to follow PEP8.
Christian Heimes [Sat, 6 Oct 2012 15:16:39 +0000 (17:16 +0200)]
and another one
Christian Heimes [Sat, 6 Oct 2012 15:14:02 +0000 (17:14 +0200)]
merge
Christian Heimes [Sat, 6 Oct 2012 15:13:29 +0000 (17:13 +0200)]
move var declaration to top of block to fix compilation on Windows, fixes
a7ec0a1b0f7c