]>
granicus.if.org Git - python/log
R David Murray [Fri, 11 Oct 2013 16:09:51 +0000 (12:09 -0400)]
#19192: Give up on time.xmlrpc.com as an xmlrpc network test.
time.xmlrpc.com has come and gone over the years, and has been gone again for
a while. The test did test one thing that the current xmlrpc tests don't: the
use of multiple levels of attribute names in the call. So in addition to
removing the network test, we add a test in xmlrpc of dotted name access.
There should also be a test for when dotted name access is disallowed, but
that requires more extensive test harness refactoring, and in any case was not
tested by the network test we are deleting, since it is a server-side setting.
This is a slightly simplified version of a patch by Vajrasky Kok.
Raymond Hettinger [Fri, 11 Oct 2013 05:39:39 +0000 (22:39 -0700)]
Rename contextlib.ignored() to contextlib.ignore().
Benjamin Peterson [Fri, 11 Oct 2013 00:22:39 +0000 (20:22 -0400)]
merge 3.3
Benjamin Peterson [Fri, 11 Oct 2013 00:22:10 +0000 (20:22 -0400)]
replace hardcoded version
Benjamin Peterson [Fri, 11 Oct 2013 00:17:29 +0000 (20:17 -0400)]
merge 3.3
Benjamin Peterson [Fri, 11 Oct 2013 00:16:25 +0000 (20:16 -0400)]
make sure the docstring is never out of date wrt unicode data version
Benjamin Peterson [Thu, 10 Oct 2013 21:40:48 +0000 (17:40 -0400)]
merge heads
Benjamin Peterson [Thu, 10 Oct 2013 21:40:30 +0000 (17:40 -0400)]
merge 3.3 (#19220)
Benjamin Peterson [Thu, 10 Oct 2013 21:39:56 +0000 (17:39 -0400)]
remove url from docstring (closes #19220)
R David Murray [Thu, 10 Oct 2013 21:33:43 +0000 (17:33 -0400)]
#18764: p(rint) -> p in pdb docs.
Missed changing the doc for the command itself, patch for that also by Connor
Osborn.
Benjamin Peterson [Thu, 10 Oct 2013 21:24:45 +0000 (17:24 -0400)]
upgrade unicode db to 6.3.0 (closes #19221)
R David Murray [Thu, 10 Oct 2013 21:23:26 +0000 (17:23 -0400)]
18764: remove the problematic 'print' alias for the PDB 'p' command.
So that it no longer shadows the print function.
Patch by Connor Osborn, doc and test changes by R. David Murray.
Victor Stinner [Thu, 10 Oct 2013 14:18:20 +0000 (16:18 +0200)]
Close #16742: Fix misuse of memory allocations in PyOS_Readline()
The GIL must be held to call PyMem_Malloc(), whereas PyOS_Readline() releases
the GIL to read input.
The result of the C callback PyOS_ReadlineFunctionPointer must now be a string
allocated by PyMem_RawMalloc() or PyMem_RawRealloc() (or NULL if an error
occurred), instead of a string allocated by PyMem_Malloc() or PyMem_Realloc().
Fixing this issue was required to setup a hook on PyMem_Malloc(), for example
using the tracemalloc module.
PyOS_Readline() copies the result of PyOS_ReadlineFunctionPointer() into a new
buffer allocated by PyMem_Malloc(). So the public API of PyOS_Readline() does
not change.
Victor Stinner [Thu, 10 Oct 2013 13:58:42 +0000 (15:58 +0200)]
Issue #18874: _PyObject_Malloc/Realloc/Free() now falls back on
_PyMem_RawMalloc/Realloc/Free, instead of _PyMem_Malloc/Realloc/Free. So it
becomes possible to use the fast pymalloc allocator for the PYMEM_DOMAIN_MEM
domain (PyMem_Malloc/Realloc/Free functions).
Victor Stinner [Thu, 10 Oct 2013 13:55:14 +0000 (15:55 +0200)]
Issue #18874: PyCode_New() now ensures that the filename is a ready Unicode
string. This change does nothing is most cases, but it is useful on Windows in
some cases.
Raymond Hettinger [Thu, 10 Oct 2013 07:46:57 +0000 (00:46 -0700)]
Issue #15805: Add contextlib.redirect_stdout()
Raymond Hettinger [Thu, 10 Oct 2013 05:43:30 +0000 (22:43 -0700)]
merge
Raymond Hettinger [Thu, 10 Oct 2013 05:42:46 +0000 (22:42 -0700)]
Issue #19005: Fix documentation for PyIter_Next().
Tim Peters [Wed, 9 Oct 2013 18:29:42 +0000 (13:29 -0500)]
Repair format of NEWS entry.
Tim Peters [Wed, 9 Oct 2013 18:27:36 +0000 (13:27 -0500)]
Repair format of NEWS entry.
Tim Peters [Wed, 9 Oct 2013 18:21:46 +0000 (13:21 -0500)]
Issue 19158: a rare race in BoundedSemaphore could allow .release() too often.
Tim Peters [Wed, 9 Oct 2013 18:19:21 +0000 (13:19 -0500)]
Issue 19158: a rare race in BoundedSemaphore could allow .release() too often.
Georg Brandl [Wed, 9 Oct 2013 13:51:57 +0000 (15:51 +0200)]
Closes #19200: small grammar fix in multiprocessing docs. Thanks to Elazar Gershuni.
Victor Stinner [Wed, 9 Oct 2013 12:53:01 +0000 (14:53 +0200)]
Close #19199: Remove ``PyThreadState.tick_counter`` field
Serhiy Storchaka [Wed, 9 Oct 2013 11:20:37 +0000 (14:20 +0300)]
#19194: Improved cross-references in the fcntl module documentation.
Serhiy Storchaka [Wed, 9 Oct 2013 11:20:22 +0000 (14:20 +0300)]
#19194: Improved cross-references in the fcntl module documentation.
Serhiy Storchaka [Wed, 9 Oct 2013 11:09:35 +0000 (14:09 +0300)]
#19196: Improved cross-references in distutils documentation.
Serhiy Storchaka [Wed, 9 Oct 2013 11:09:16 +0000 (14:09 +0300)]
#19196: Improved cross-references in distutils documentation.
Serhiy Storchaka [Wed, 9 Oct 2013 11:03:24 +0000 (14:03 +0300)]
Issue #19190: Improve cross-references in builtin types and functions documentation.
Serhiy Storchaka [Wed, 9 Oct 2013 11:02:31 +0000 (14:02 +0300)]
Issue #19190: Improve cross-references in builtin types and functions documentation.
Serhiy Storchaka [Wed, 9 Oct 2013 10:26:57 +0000 (13:26 +0300)]
Issue 19195: Improved cross-references in C API documentation.
Serhiy Storchaka [Wed, 9 Oct 2013 10:26:17 +0000 (13:26 +0300)]
Issue 19195: Improved cross-references in C API documentation.
Serhiy Storchaka [Wed, 9 Oct 2013 06:55:21 +0000 (09:55 +0300)]
Issue #19193: Improved cross-references in the tutorial.
Serhiy Storchaka [Wed, 9 Oct 2013 06:54:46 +0000 (09:54 +0300)]
Issue #19193: Improved cross-references in the tutorial.
Tim Peters [Wed, 9 Oct 2013 02:29:27 +0000 (21:29 -0500)]
Whitespace normalization.
Tim Peters [Wed, 9 Oct 2013 02:12:58 +0000 (21:12 -0500)]
Issue 19158: a rare race in BoundedSemaphore could allow .release() too often.
Tim Peters [Wed, 9 Oct 2013 01:55:51 +0000 (20:55 -0500)]
Issue 19158: a rare race in BoundedSemaphore could allow .release() too often.
Antoine Pitrou [Tue, 8 Oct 2013 21:04:32 +0000 (23:04 +0200)]
Issue #18948: improve SuppressCoreFiles to include Windows crash popup suppression, and use it in more tests.
Patch by Valerie Lambert and Zachary Ware.
Georg Brandl [Tue, 8 Oct 2013 19:54:47 +0000 (21:54 +0200)]
merge with 3.3
Georg Brandl [Tue, 8 Oct 2013 19:54:37 +0000 (21:54 +0200)]
Minor grammar fix.
Georg Brandl [Tue, 8 Oct 2013 19:47:35 +0000 (21:47 +0200)]
merge with 3.3
Georg Brandl [Tue, 8 Oct 2013 19:47:18 +0000 (21:47 +0200)]
Clarify two points about division and shifting. Suggested by Albert Hofkamp on docs@.
Georg Brandl [Tue, 8 Oct 2013 19:43:46 +0000 (21:43 +0200)]
merge with 3.3
Georg Brandl [Tue, 8 Oct 2013 19:43:39 +0000 (21:43 +0200)]
Fix wrong link.
Georg Brandl [Tue, 8 Oct 2013 19:28:42 +0000 (21:28 +0200)]
merge with 3.3
Georg Brandl [Tue, 8 Oct 2013 19:28:22 +0000 (21:28 +0200)]
Add "->" as a delimiter token. Found by James Harding on docs@.
Georg Brandl [Tue, 8 Oct 2013 18:32:52 +0000 (20:32 +0200)]
merge with 3.3
Georg Brandl [Tue, 8 Oct 2013 18:29:47 +0000 (20:29 +0200)]
merge heads
Georg Brandl [Tue, 8 Oct 2013 18:27:35 +0000 (20:27 +0200)]
merge heads
Serhiy Storchaka [Tue, 8 Oct 2013 18:08:48 +0000 (21:08 +0300)]
Issue #18037: Do not escape '\u' and '\U' in raw strings.
Serhiy Storchaka [Tue, 8 Oct 2013 18:07:46 +0000 (21:07 +0300)]
Issue #18037: Do not escape '\u' and '\U' in raw strings.
Georg Brandl [Tue, 8 Oct 2013 17:50:26 +0000 (19:50 +0200)]
Closes #13867: remove untrue comment about PyWeakref_Check().
Georg Brandl [Tue, 8 Oct 2013 17:50:26 +0000 (19:50 +0200)]
Closes #13867: remove untrue comment about PyWeakref_Check().
Georg Brandl [Tue, 8 Oct 2013 06:06:27 +0000 (08:06 +0200)]
merge with 3.3
Georg Brandl [Tue, 8 Oct 2013 06:06:18 +0000 (08:06 +0200)]
Closes #19178: some more cross-references about packages in glossary. Patch by Berker Peksag.
Antoine Pitrou [Mon, 7 Oct 2013 18:40:59 +0000 (20:40 +0200)]
Fix macro expansion of _PyErr_OCCURRED(), and make sure to use it in at least one place so as to avoid regressions.
Antoine Pitrou [Mon, 7 Oct 2013 18:38:51 +0000 (20:38 +0200)]
Fix macro expansion of _PyErr_OCCURRED(), and make sure to use it in at least one place so as to avoid regressions.
Ethan Furman [Mon, 7 Oct 2013 00:19:54 +0000 (17:19 -0700)]
Close #19156: add tests and fix for Enum helper edge cases. Patch from CliffM.
Victor Stinner [Sun, 6 Oct 2013 20:52:37 +0000 (22:52 +0200)]
test_import.test_module_with_large_stack(): unload the test module
Ensure that the module is unloaded to be able to run the test more than once,
and to not leak memory.
Georg Brandl [Sun, 6 Oct 2013 19:23:26 +0000 (21:23 +0200)]
merge with 3.3
Georg Brandl [Sun, 6 Oct 2013 19:22:42 +0000 (21:22 +0200)]
Closes #1215: document better why it is not a good idea to catch e.g. SIGSEGV and refer to faulthandler.
Patch by Martin Pool.
Georg Brandl [Sun, 6 Oct 2013 18:46:15 +0000 (20:46 +0200)]
merge with 3.3
Georg Brandl [Sun, 6 Oct 2013 18:46:08 +0000 (20:46 +0200)]
Extending example: use Py_RETURN_NONE
Vinay Sajip [Sun, 6 Oct 2013 17:36:00 +0000 (18:36 +0100)]
Issue #19182: Fixed socket leak on exception when connecting.
Georg Brandl [Sun, 6 Oct 2013 17:34:19 +0000 (19:34 +0200)]
merge with 3.3
Georg Brandl [Sun, 6 Oct 2013 17:33:56 +0000 (19:33 +0200)]
Use the platform-independent way of calling a script from the shell: "python prog.py", not "prog.py"
Found by Micheal Wells on docs@.
Georg Brandl [Sun, 6 Oct 2013 17:27:17 +0000 (19:27 +0200)]
merge with 3.3
Georg Brandl [Sun, 6 Oct 2013 17:27:13 +0000 (19:27 +0200)]
Fix name of the "exist_ok" argument. Found by Neil Bushong on docs@.
Georg Brandl [Sun, 6 Oct 2013 17:24:00 +0000 (19:24 +0200)]
merge with 3.3
Georg Brandl [Sun, 6 Oct 2013 17:23:57 +0000 (19:23 +0200)]
Fix: >= and so on are usually called "comparison operators", not "logical operators". Found by Tom Kalt on docs@.
Georg Brandl [Sun, 6 Oct 2013 17:21:20 +0000 (19:21 +0200)]
merge with 3.3
Georg Brandl [Sun, 6 Oct 2013 17:21:14 +0000 (19:21 +0200)]
Fix typo in example file name. Found by John Bokma on docs@.
Georg Brandl [Sun, 6 Oct 2013 17:19:26 +0000 (19:19 +0200)]
merge with 3.3
Georg Brandl [Sun, 6 Oct 2013 17:19:18 +0000 (19:19 +0200)]
Fix: win32_ver returns a 4-tuple. Found by Andrew Berg on docs@.
Georg Brandl [Sun, 6 Oct 2013 17:14:46 +0000 (19:14 +0200)]
merge with 3.3
Georg Brandl [Sun, 6 Oct 2013 17:14:35 +0000 (19:14 +0200)]
Fix typo in function name.
Georg Brandl [Sun, 6 Oct 2013 17:02:13 +0000 (19:02 +0200)]
merge with 3.3
Georg Brandl [Sun, 6 Oct 2013 17:02:08 +0000 (19:02 +0200)]
Closes #15432: GzipFile mtime argument is new in 3.1.
Georg Brandl [Sun, 6 Oct 2013 16:58:03 +0000 (18:58 +0200)]
merge with 3.3
Georg Brandl [Sun, 6 Oct 2013 16:57:49 +0000 (18:57 +0200)]
Closes #15228: remove reference to Unix "touch"; it is confusing since the path needs to exist for os.utime() to succeed
Georg Brandl [Sun, 6 Oct 2013 16:57:02 +0000 (18:57 +0200)]
merge with 3.3
Georg Brandl [Sun, 6 Oct 2013 16:51:39 +0000 (18:51 +0200)]
Closes #11807: document argparse add_subparsers method better.
Patch by Filip GruszczyĆski.
Georg Brandl [Sun, 6 Oct 2013 16:48:30 +0000 (18:48 +0200)]
merge with 3.3
Georg Brandl [Sun, 6 Oct 2013 16:43:19 +0000 (18:43 +0200)]
Closes #15213: update comment for _PyOS_URandom
Georg Brandl [Sun, 6 Oct 2013 16:37:30 +0000 (18:37 +0200)]
merge with 3.3
Georg Brandl [Sun, 6 Oct 2013 16:36:34 +0000 (18:36 +0200)]
Closes #17725: small grammar fix.
Georg Brandl [Sun, 6 Oct 2013 16:26:43 +0000 (18:26 +0200)]
merge with 3.3
Georg Brandl [Sun, 6 Oct 2013 16:26:36 +0000 (18:26 +0200)]
The "FAQ" link at the end was changed to a Wikipedia link; reflect that.
Georg Brandl [Sun, 6 Oct 2013 16:20:39 +0000 (18:20 +0200)]
merge with 3.3
Georg Brandl [Sun, 6 Oct 2013 16:20:31 +0000 (18:20 +0200)]
Closes #19177: replace dead link to SSL/TLS introduction with the version from Apache.
Georg Brandl [Sun, 6 Oct 2013 16:18:16 +0000 (18:18 +0200)]
merge with 3.3
Georg Brandl [Sun, 6 Oct 2013 16:17:56 +0000 (18:17 +0200)]
Closes #19181: replace non-existing host ftp.cwi.nl with ftp.debian.org in ftplib example.
Georg Brandl [Sun, 6 Oct 2013 16:12:13 +0000 (18:12 +0200)]
merge with 3.3
Georg Brandl [Sun, 6 Oct 2013 16:11:32 +0000 (18:11 +0200)]
Closes #12350: clarify blocks/block size members of stat result.
Georg Brandl [Sun, 6 Oct 2013 11:24:52 +0000 (13:24 +0200)]
merge with 3.3
Georg Brandl [Sun, 6 Oct 2013 11:24:49 +0000 (13:24 +0200)]
Fix typo. Spotted by Bo Bayles on docs@.
Georg Brandl [Sun, 6 Oct 2013 11:20:55 +0000 (13:20 +0200)]
merge with 3.3
Georg Brandl [Sun, 6 Oct 2013 11:20:49 +0000 (13:20 +0200)]
Fix link to the "pexports" tool. Found by Joe Aikkaravelil on docs@.
Georg Brandl [Sun, 6 Oct 2013 11:17:14 +0000 (13:17 +0200)]
merge with 3.3
Georg Brandl [Sun, 6 Oct 2013 11:17:04 +0000 (13:17 +0200)]
Fix order of required StreamReader/StreamWriter base classes. Spotted by Edward Welbourne on docs@.