]>
granicus.if.org Git - python/log
Antoine Pitrou [Sat, 4 Oct 2014 20:17:26 +0000 (22:17 +0200)]
Issue #21905: Avoid RuntimeError in pickle.whichmodule() when sys.modules is mutated while iterating.
Patch by Olivier Grisel.
Antoine Pitrou [Sat, 4 Oct 2014 20:16:14 +0000 (22:16 +0200)]
Add NEWS entry I forgot to commit.
Antoine Pitrou [Sat, 4 Oct 2014 20:15:27 +0000 (22:15 +0200)]
Issue #21905: Avoid RuntimeError in pickle.whichmodule() when sys.modules is mutated while iterating.
Patch by Olivier Grisel.
Antoine Pitrou [Sat, 4 Oct 2014 18:20:10 +0000 (20:20 +0200)]
Issue #11271: concurrent.futures.Executor.map() now takes a *chunksize*
argument to allow batching of tasks in child processes and improve
performance of ProcessPoolExecutor. Patch by Dan O'Reilly.
Serhiy Storchaka [Sat, 4 Oct 2014 13:09:02 +0000 (16:09 +0300)]
Fixed tests on Windows for issue #21883.
Serhiy Storchaka [Sat, 4 Oct 2014 12:05:22 +0000 (15:05 +0300)]
Fixed issue number for issue #22470 in Misc/NEWS.
Serhiy Storchaka [Sat, 4 Oct 2014 12:05:00 +0000 (15:05 +0300)]
Fixed issue number for issue #22470 in Misc/NEWS.
Serhiy Storchaka [Sat, 4 Oct 2014 11:58:43 +0000 (14:58 +0300)]
Issue #21883: os.path.join() and os.path.relpath() now raise a TypeError with
more helpful error message for unsupported or mismatched types of arguments.
Serhiy Storchaka [Sat, 4 Oct 2014 11:20:41 +0000 (14:20 +0300)]
Null merge
Serhiy Storchaka [Sat, 4 Oct 2014 11:20:23 +0000 (14:20 +0300)]
Merge heads
Serhiy Storchaka [Sat, 4 Oct 2014 11:20:10 +0000 (14:20 +0300)]
Merge heads
Serhiy Storchaka [Sat, 4 Oct 2014 11:17:50 +0000 (14:17 +0300)]
Issue #22518: Fixed integer overflow issues in "backslashreplace",
"xmlcharrefreplace", and "surrogatepass" error handlers.
Nick Coghlan [Sat, 4 Oct 2014 11:16:08 +0000 (21:16 +1000)]
Merge packaging doc updates from 3.4
Serhiy Storchaka [Sat, 4 Oct 2014 11:15:49 +0000 (14:15 +0300)]
Issue #22518: Fixed integer overflow issues in "backslashreplace",
"xmlcharrefreplace", and "surrogatepass" error handlers.
Nick Coghlan [Sat, 4 Oct 2014 11:11:25 +0000 (21:11 +1000)]
Realign packaging docs with PyPUG changes
Serhiy Storchaka [Sat, 4 Oct 2014 10:42:28 +0000 (13:42 +0300)]
Issue #22219: The zipfile module CLI now adds entries for directories
(including empty directories) in ZIP file.
Serhiy Storchaka [Sat, 4 Oct 2014 10:39:34 +0000 (13:39 +0300)]
Issue #22219: The zipfile module CLI now adds entries for directories
(including empty directories) in ZIP file.
R David Murray [Sat, 4 Oct 2014 00:19:09 +0000 (20:19 -0400)]
Merge: #14056: Small improvements to the tarfile documentation.
R David Murray [Sat, 4 Oct 2014 00:18:48 +0000 (20:18 -0400)]
#14056: Small improvements to the tarfile documentation.
Patch by Éric Araujo with help from Lars Gustäbel.
Benjamin Peterson [Fri, 3 Oct 2014 22:17:30 +0000 (18:17 -0400)]
merge 3.4
Benjamin Peterson [Fri, 3 Oct 2014 22:17:15 +0000 (18:17 -0400)]
separate cert loading tests into Windows and non-Windows cases
Benjamin Peterson [Fri, 3 Oct 2014 21:33:45 +0000 (17:33 -0400)]
merge 3.4 (#22449)
Benjamin Peterson [Fri, 3 Oct 2014 21:27:05 +0000 (17:27 -0400)]
also use openssl envvars to find certs on windows (closes #22449)
Patch by Christian Heimes and Alex Gaynor.
R David Murray [Fri, 3 Oct 2014 17:02:47 +0000 (13:02 -0400)]
#22508: Drop email __version__ string. It no longer means anything.
A debian code search (by Tshepang Lekhonkhobe) turned up only one package
checking email.__version__...and it was the 2.7-only mailman package. Since
Barry approves this change, it seems safe enough to make it...
Zachary Ware [Fri, 3 Oct 2014 15:56:22 +0000 (10:56 -0500)]
Merge with 3.4
Zachary Ware [Fri, 3 Oct 2014 15:55:12 +0000 (10:55 -0500)]
Fix a few typo/grammar issues in the multiprocessing docs.
Reported by Scott Hinton on docs@.
R David Murray [Fri, 3 Oct 2014 15:16:08 +0000 (11:16 -0400)]
Merge: #12780: update inspect test skipIf for PEP 3147.
R David Murray [Fri, 3 Oct 2014 15:15:38 +0000 (11:15 -0400)]
#12780: update inspect test skipIf for PEP 3147.
The test needs to be skipped if unicodedata is either part of the
main binary (a repackaging of cpython on Windows?) or has python
source (pypy?). PEP 3147 makes __file__ point to the .py source,
so we need to change the extension check from looking for the
old .pyc/.pyo to just looking for .py.
Note that this skip should never trigger on CPython itself, so
one could argue it should be dropped instead. But since it exists,
why risk breaking someone else's python.
Victor Stinner [Fri, 3 Oct 2014 12:18:09 +0000 (14:18 +0200)]
faulthandler: enhance dump_ascii() to escape also non-printable ASCII
characters (U+0000..U+001f and U+007f).
Antoine Pitrou [Fri, 3 Oct 2014 09:25:30 +0000 (11:25 +0200)]
Make test_datetime a better citizen (issue #22540)
Georg Brandl [Fri, 3 Oct 2014 07:26:37 +0000 (09:26 +0200)]
Closes #22540: speed up PyObject_IsInstance and PyObject_IsSubclass in the common case that the second argument has metaclass "type".
R David Murray [Fri, 3 Oct 2014 02:43:51 +0000 (22:43 -0400)]
Merge: #8473: Add tests that doctest uses universal newlines in testfile.
R David Murray [Fri, 3 Oct 2014 02:42:42 +0000 (22:42 -0400)]
#8473: Add tests that doctest uses universal newlines in testfile.
Python3 does not have the bug covered by the issue.
Georg Brandl [Thu, 2 Oct 2014 10:39:02 +0000 (12:39 +0200)]
merge 3.4
Georg Brandl [Thu, 2 Oct 2014 10:37:50 +0000 (12:37 +0200)]
Closes #18729: minor markup improvement.
Georg Brandl [Thu, 2 Oct 2014 10:35:54 +0000 (12:35 +0200)]
merge 3.4
Georg Brandl [Thu, 2 Oct 2014 10:35:08 +0000 (12:35 +0200)]
Closes #19434: fix copy-paste error in MIMENonMultipart docstring.
Serhiy Storchaka [Thu, 2 Oct 2014 08:36:31 +0000 (11:36 +0300)]
Issue #20079: Fixed tests.
Serhiy Storchaka [Thu, 2 Oct 2014 08:36:12 +0000 (11:36 +0300)]
Issue #20079: Fixed tests.
Serhiy Storchaka [Thu, 2 Oct 2014 07:49:44 +0000 (10:49 +0300)]
Issue #20079: Updated alias mapping to glibc 2.19 SUPPORTED file.
Serhiy Storchaka [Thu, 2 Oct 2014 07:49:26 +0000 (10:49 +0300)]
Issue #20079: Updated alias mapping to glibc 2.19 SUPPORTED file.
Serhiy Storchaka [Thu, 2 Oct 2014 07:38:12 +0000 (10:38 +0300)]
Issue #20079: makelocalealias.py now supports installed SUPPORTED file,
not only source SUPPORTED file in glibc sources tree.
Serhiy Storchaka [Thu, 2 Oct 2014 07:21:43 +0000 (10:21 +0300)]
Issue #20076: Apply optimization in makelocalealias.py repeatedly.
Remove just added the sr_rs.utf8@latn alias because it is
derived from sr_rs@latin.
Serhiy Storchaka [Thu, 2 Oct 2014 07:19:29 +0000 (10:19 +0300)]
Issue #20076: Remove just added the sr_rs.utf8@latn alias because it is
derived from sr_rs@latin.
Georg Brandl [Thu, 2 Oct 2014 06:39:01 +0000 (08:39 +0200)]
merge with 3.4
Georg Brandl [Thu, 2 Oct 2014 06:38:39 +0000 (08:38 +0200)]
closes #22528: add source links to symtable and compileall
Georg Brandl [Thu, 2 Oct 2014 06:35:31 +0000 (08:35 +0200)]
merge with 3.4
Georg Brandl [Thu, 2 Oct 2014 06:34:41 +0000 (08:34 +0200)]
Closes #19342: improve docstrings in grp module.
Georg Brandl [Thu, 2 Oct 2014 06:27:11 +0000 (08:27 +0200)]
merge with 3.4
Georg Brandl [Thu, 2 Oct 2014 06:27:05 +0000 (08:27 +0200)]
Remove unused and now removed config value.
Terry Jan Reedy [Thu, 2 Oct 2014 04:17:08 +0000 (00:17 -0400)]
Merge with 3.4
Terry Jan Reedy [Thu, 2 Oct 2014 04:16:31 +0000 (00:16 -0400)]
Issue #21971: Index and update turtledemo doc.
doko@ubuntu.com [Thu, 2 Oct 2014 00:12:34 +0000 (02:12 +0200)]
- Issue #17219: Add library build dir for Python extension cross-builds.
doko@ubuntu.com [Thu, 2 Oct 2014 00:10:47 +0000 (02:10 +0200)]
- Issue #17219: Add library build dir for Python extension cross-builds.
doko@ubuntu.com [Thu, 2 Oct 2014 00:02:45 +0000 (02:02 +0200)]
- Issue #18096: Fix library order returned by python-config.
doko@ubuntu.com [Thu, 2 Oct 2014 00:00:14 +0000 (02:00 +0200)]
- Issue #18096: Fix library order returned by python-config.
Serhiy Storchaka [Wed, 1 Oct 2014 21:11:21 +0000 (00:11 +0300)]
Issue #20076: Added non derived UTF-8 aliases to locale aliases table.
The makelocalealias.py script no longer ignores UTF-8 mapping.
Serhiy Storchaka [Wed, 1 Oct 2014 21:09:37 +0000 (00:09 +0300)]
Issue #20076: Added non derived UTF-8 aliases to locale aliases table.
Serhiy Storchaka [Wed, 1 Oct 2014 20:45:34 +0000 (23:45 +0300)]
Null merge
Serhiy Storchaka [Wed, 1 Oct 2014 20:43:35 +0000 (23:43 +0300)]
Issue #20079: Added locales supported in glibc 2.18 to locale alias table.
Serhiy Storchaka [Wed, 1 Oct 2014 20:42:30 +0000 (23:42 +0300)]
Issue #20079: Added locales supported in glibc 2.18 to locale alias table.
The makelocalealias.py script now can parse the SUPPORTED file
from glibc sources and supports command line options for source paths.
Terry Jan Reedy [Wed, 1 Oct 2014 19:39:05 +0000 (15:39 -0400)]
Merge with 3.4
Terry Jan Reedy [Wed, 1 Oct 2014 19:37:42 +0000 (15:37 -0400)]
Issue 22492: Be explicit that print does not support binary mode files.
Original patch by Georg Brandl.
Georg Brandl [Wed, 1 Oct 2014 17:42:09 +0000 (19:42 +0200)]
merge with 3.4
Georg Brandl [Wed, 1 Oct 2014 17:41:31 +0000 (19:41 +0200)]
Remove old overridden version of a Sphinx CSS file.
All Python-specific styling is now in the theme anyway.
Georg Brandl [Wed, 1 Oct 2014 17:28:33 +0000 (19:28 +0200)]
merge with 3.4
Georg Brandl [Wed, 1 Oct 2014 17:28:23 +0000 (19:28 +0200)]
Make pydoctheme compatible with Sphinx 1.3 HTML output changes.
Georg Brandl [Wed, 1 Oct 2014 17:12:33 +0000 (19:12 +0200)]
Closes #20218: Added convenience methods read_text/write_text and read_bytes/
write_bytes to pathlib.Path objects.
Thanks to Christopher Welborn and Ram Rachum for original patches.
Terry Jan Reedy [Wed, 1 Oct 2014 07:10:27 +0000 (03:10 -0400)]
Update 3.5 Idle News up to 3.4.2 changes.
Terry Jan Reedy [Wed, 1 Oct 2014 07:08:17 +0000 (03:08 -0400)]
Update Idle news for 3.4.2 (and 3.4.1).
Berker Peksag [Wed, 1 Oct 2014 02:12:18 +0000 (05:12 +0300)]
Issue #16537: Use the new *default* parameter of max().
Berker Peksag [Wed, 1 Oct 2014 02:11:13 +0000 (05:11 +0300)]
Issue #16537: Use the new *default* parameter of max().
Ned Deily [Wed, 1 Oct 2014 01:42:30 +0000 (18:42 -0700)]
null merge
Ned Deily [Wed, 1 Oct 2014 01:41:37 +0000 (18:41 -0700)]
Fix overlooked conf.py setting in flattening of Doc directory.
R David Murray [Wed, 1 Oct 2014 01:26:24 +0000 (21:26 -0400)]
Merge #21739: mention subtle difference between loops and listcomps in tutorial.
R David Murray [Wed, 1 Oct 2014 01:25:38 +0000 (21:25 -0400)]
#21739: mention subtle difference between loops and listcomps in tutorial.
We don't want to go into a full explanation of scopes at this point in the
tutorial, so we just mention that the loop creates or overwrites a persistent
variable while the listcomp doesn't. Not mentioning this would lead someone
to incorrectly assume loops and listcomps were *completely* equivalent, which
would confuse them later.
Original patch by Rose Ames, tweaked to remove the word 'scope'.
R David Murray [Wed, 1 Oct 2014 00:53:55 +0000 (20:53 -0400)]
Merge: #22512: move distutils rpm test's .rpmdb to testing tmpdir.
R David Murray [Wed, 1 Oct 2014 00:53:21 +0000 (20:53 -0400)]
#22512: move distutils rpm test's .rpmdb to testing tmpdir.
Patch by Francis MB.
Victor Stinner [Tue, 30 Sep 2014 23:48:05 +0000 (01:48 +0200)]
Issue #22333: test_threaded_import now displays elapsed time in verbose mode.
Victor Stinner [Tue, 30 Sep 2014 23:45:16 +0000 (01:45 +0200)]
Issue #22333: Extend timeout in test_threaded_import
Check if the sporadic failure is related to a timeout.
The test just failed on the buildbot "x86 Windows7 3.x": 1 thread done / 20
(the 'done' condition was not signaled because 1 < 20).
Terry Jan Reedy [Tue, 30 Sep 2014 23:08:02 +0000 (19:08 -0400)]
Merge with 3.4
Terry Jan Reedy [Tue, 30 Sep 2014 23:07:49 +0000 (19:07 -0400)]
Issue 22465: grammar, number agreement.
Georg Brandl [Tue, 30 Sep 2014 20:56:47 +0000 (22:56 +0200)]
merge with 3.4
Georg Brandl [Tue, 30 Sep 2014 20:56:38 +0000 (22:56 +0200)]
Move Doc/tools/sphinxext content to Doc/tools, there is no need for the nested subdirectory anymore.
Georg Brandl [Tue, 30 Sep 2014 20:51:30 +0000 (22:51 +0200)]
Move Doc/tools/sphinxext content to Doc/tools, there is no need for the nested subdirectory anymore.
Georg Brandl [Tue, 30 Sep 2014 20:24:08 +0000 (22:24 +0200)]
merge with 3.4
Georg Brandl [Tue, 30 Sep 2014 20:23:57 +0000 (22:23 +0200)]
Dont define an empty SPHINXOPTS, which overrides a definition from the environment.
Georg Brandl [Tue, 30 Sep 2014 20:17:48 +0000 (22:17 +0200)]
merge with 3.4
Georg Brandl [Tue, 30 Sep 2014 20:17:41 +0000 (22:17 +0200)]
Prepare sphinx extensions for 1.3.
Benjamin Peterson [Tue, 30 Sep 2014 20:02:26 +0000 (16:02 -0400)]
merge 3.4 (#22528)
Benjamin Peterson [Tue, 30 Sep 2014 20:02:06 +0000 (16:02 -0400)]
add link to pdb source (closes #22528)
Antoine Pitrou [Tue, 30 Sep 2014 19:56:10 +0000 (21:56 +0200)]
Reorganize C API docs of the exception API
Antoine Pitrou [Tue, 30 Sep 2014 19:16:27 +0000 (21:16 +0200)]
Issue #18711: Add a new `PyErr_FormatV` function, similar to `PyErr_Format` but accepting a `va_list` argument.
Victor Stinner [Tue, 30 Sep 2014 16:11:00 +0000 (18:11 +0200)]
(Merge 3.4) Issue #22448: asyncio, cleanup _run_once(), only iterate once to
remove delayed calls that were cancelled.
Victor Stinner [Tue, 30 Sep 2014 16:08:36 +0000 (18:08 +0200)]
Issue #22448: asyncio, cleanup _run_once(), only iterate once to remove delayed
calls that were cancelled.
Benjamin Peterson [Tue, 30 Sep 2014 15:00:46 +0000 (11:00 -0400)]
remove merge goop from
f86fde20e9ce
Antoine Pitrou [Tue, 30 Sep 2014 12:58:22 +0000 (14:58 +0200)]
Remove pointless "vile hack" that can cause the build step to fail when some extension modules can't be imported.
See issue #5309 for the build failures, issue #458343 for the original motivation.
Victor Stinner [Tue, 30 Sep 2014 11:55:30 +0000 (13:55 +0200)]
(Merge 3.4) faulthandler: test_gil_released() now uses _sigsegv() instead of
_read_null(), because _read_null() cannot be used on AIX. On AIX, reading from
NULL is allowed: the first page of memory is a mapped read-only on AIX.
_read_null() and _sigabrt() don't accept parameters.
Victor Stinner [Tue, 30 Sep 2014 11:54:14 +0000 (13:54 +0200)]
faulthandler: test_gil_released() now uses _sigsegv() instead of _read_null(),
because _read_null() cannot be used on AIX. On AIX, reading from NULL is
allowed: the first page of memory is a mapped read-only on AIX.
Victor Stinner [Tue, 30 Sep 2014 11:49:09 +0000 (13:49 +0200)]
faulthandler: _sigsegv() and _sigabrt() don't accept parameters