]>
granicus.if.org Git - python/log
R David Murray [Sat, 4 Oct 2014 21:43:54 +0000 (17:43 -0400)]
#11866: Eliminate race condition in the computation of names for new threads.
Original patch by Peter Saveliev.
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.
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:20:10 +0000 (14:20 +0300)]
Merge heads
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: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: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:15 +0000 (18:17 -0400)]
separate cert loading tests into Windows and non-Windows cases
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.
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: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.
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:37:50 +0000 (12:37 +0200)]
Closes #18729: minor markup improvement.
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:12 +0000 (11:36 +0300)]
Issue #20079: Fixed tests.
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: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:38:39 +0000 (08:38 +0200)]
closes #22528: add source links to symtable and compileall
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:05 +0000 (08:27 +0200)]
Remove unused and now removed config value.
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: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:00:14 +0000 (02:00 +0200)]
- Issue #18096: Fix library order returned by python-config.
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:43:35 +0000 (23:43 +0300)]
Issue #20079: Added locales supported in glibc 2.18 to locale alias table.
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: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:23 +0000 (19:28 +0200)]
Make pydoctheme compatible with Sphinx 1.3 HTML output 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:11:13 +0000 (05:11 +0300)]
Issue #16537: Use the new *default* parameter of max().
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: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:21 +0000 (20:53 -0400)]
#22512: move distutils rpm test's .rpmdb to testing tmpdir.
Patch by Francis MB.
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: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: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:41 +0000 (22:17 +0200)]
Prepare sphinx extensions for 1.3.
Benjamin Peterson [Tue, 30 Sep 2014 20:02:06 +0000 (16:02 -0400)]
add link to pdb source (closes #22528)
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.
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
Victor Stinner [Tue, 30 Sep 2014 10:20:05 +0000 (12:20 +0200)]
Issue #22396: On 32-bit AIX platform, don't expose os.posix_fadvise() nor
os.posix_fallocate() because their prototypes in system headers are wrong.
Benjamin Peterson [Tue, 30 Sep 2014 03:02:35 +0000 (23:02 -0400)]
merge 3.3 (#22520)
Benjamin Peterson [Tue, 30 Sep 2014 03:02:15 +0000 (23:02 -0400)]
prevent overflow in unicode_repr (closes #22520)
Benjamin Peterson [Tue, 30 Sep 2014 02:48:51 +0000 (22:48 -0400)]
merge 3.3 (#22517)
Benjamin Peterson [Tue, 30 Sep 2014 02:46:57 +0000 (22:46 -0400)]
clear BufferedRWPair weakrefs on deallocation (closes #22517)
Benjamin Peterson [Mon, 29 Sep 2014 23:12:37 +0000 (19:12 -0400)]
merge 3.3
Benjamin Peterson [Mon, 29 Sep 2014 23:12:26 +0000 (19:12 -0400)]
these variables ought to be Py_ssize_t
Benjamin Peterson [Mon, 29 Sep 2014 23:09:49 +0000 (19:09 -0400)]
merge 3.3 (closes #22519)
Benjamin Peterson [Mon, 29 Sep 2014 23:01:18 +0000 (19:01 -0400)]
fix overflow checking in PyBytes_Repr (closes #22519)
Benjamin Peterson [Mon, 29 Sep 2014 22:50:06 +0000 (18:50 -0400)]
merge 3.3 (closes #22518)
Benjamin Peterson [Mon, 29 Sep 2014 22:42:35 +0000 (18:42 -0400)]
NEWS issue for #22518
Benjamin Peterson [Mon, 29 Sep 2014 22:18:57 +0000 (18:18 -0400)]
cleanup overflowing handling in unicode_decode_call_errorhandler and unicode_encode_ucs1 (closes #22518)
R David Murray [Mon, 29 Sep 2014 14:17:28 +0000 (10:17 -0400)]
#20135: FAQ entry for list mutation. (See also
6375bf34fff6 .)
I accidentally committed this in
6375bf34fff6 ; this changeset addresses the
last review comments on the patch.
This is a perennial question and something someone opens a ticket for probably
every other month or so, so I'm surprised we didn't already have a FAQ entry
for it.
The original patch was written by M. Votz, refined first by Ezio Melotti and
further refined by me.
Benjamin Peterson [Sun, 28 Sep 2014 16:56:42 +0000 (12:56 -0400)]
check that exception messages are not empty (#22379)
Patch by Yongzhi Pan.
R David Murray [Sun, 28 Sep 2014 15:01:11 +0000 (11:01 -0400)]
#10510: Fix bug in forward port of 2.7 distutils patch.
Pointed out by Arfrever.
Berker Peksag [Sat, 27 Sep 2014 21:00:58 +0000 (00:00 +0300)]
Revert #22251
R David Murray [Sat, 27 Sep 2014 20:56:15 +0000 (16:56 -0400)]
#10510: make distuitls upload/register use HTML standards compliant CRLF.
Patch by Ian Cordasco, approved by Éric Araujo.
Berker Peksag [Sat, 27 Sep 2014 20:21:35 +0000 (23:21 +0300)]
Issue #22251: Fix ReST markup to avoid errors building docs.
Berker Peksag [Sat, 27 Sep 2014 19:47:59 +0000 (22:47 +0300)]
Merge heads.
R David Murray [Sat, 27 Sep 2014 19:37:40 +0000 (15:37 -0400)]
#18854: make it explicit that is_multipart does not mean 'multipart/xxx'.
Original patch (and the idea of using _structure) by Abhilash Raj.
Berker Peksag [Sat, 27 Sep 2014 19:37:15 +0000 (22:37 +0300)]
Issue #16537: Check whether self.extensions is empty in setup.py.
Patch by Jonathan Hosmer.
R David Murray [Sat, 27 Sep 2014 18:59:36 +0000 (14:59 -0400)]
#20974: Update version table in email intro.
Note that the email version string in 3.3 and 3.4 is inaccurate, since it
still exists but wasn't updated while the code was.
Serhiy Storchaka [Sat, 27 Sep 2014 15:53:23 +0000 (18:53 +0300)]
Issue #9850: Fixed macpath.join() for empty first component. Patch by
Oleg Oshmyan.
Yury Selivanov [Fri, 26 Sep 2014 21:08:02 +0000 (17:08 -0400)]
tempfile: Fix docstring. Issue #21397, patch by R. David Murray.
Berker Peksag [Fri, 26 Sep 2014 12:34:26 +0000 (15:34 +0300)]
Issue #17462: Add a paragraph about advantages of argparse over optparse.
Patch by Anastasia Filatova.
Yury Selivanov [Thu, 25 Sep 2014 23:12:10 +0000 (19:12 -0400)]
asyncio.test_tasks: Fix test_env_var_debug to use correct asyncio module
Yury Selivanov [Thu, 25 Sep 2014 16:07:56 +0000 (12:07 -0400)]
asyncio: Improve canceled timer handles cleanup. Closes issue #22448.
Patch by Joshua Moore-Oliva.
Yury Selivanov [Thu, 25 Sep 2014 03:21:39 +0000 (23:21 -0400)]
asyncio.unix_events: Move import statement to match tulip code
Benjamin Peterson [Thu, 25 Sep 2014 00:22:24 +0000 (20:22 -0400)]
allow archives for rc releases to be built (closes #22484)
Victor Stinner [Wed, 24 Sep 2014 22:38:48 +0000 (00:38 +0200)]
test_faulthandler: fix typo
R David Murray [Wed, 24 Sep 2014 17:13:45 +0000 (13:13 -0400)]
Apply asyncio Task English fixes to docstrings as well.
Also fixed the phrasing in a comment.
R David Murray [Wed, 24 Sep 2014 15:09:09 +0000 (11:09 -0400)]
Improve English phrasing in asyncio task docs.
Berker Peksag [Wed, 24 Sep 2014 12:03:25 +0000 (15:03 +0300)]
Issue #16056: Rename test method in test_statistics to avoid conflict.
Serhiy Storchaka [Wed, 24 Sep 2014 10:26:25 +0000 (13:26 +0300)]
Issue #22427: TemporaryDirectory no longer attempts to clean up twice when
used in the with statement in generator.
Berker Peksag [Wed, 24 Sep 2014 09:43:29 +0000 (12:43 +0300)]
Issue #21860: Correct docstrings of FileIO.seek() and FileIO.truncate() methods.
Patch by Terry Chia.
Serhiy Storchaka [Tue, 23 Sep 2014 20:23:41 +0000 (23:23 +0300)]
Merge heads
Serhiy Storchaka [Tue, 23 Sep 2014 20:04:21 +0000 (23:04 +0300)]
Fixed bytes literals in tests.
Ned Deily [Tue, 23 Sep 2014 19:48:54 +0000 (12:48 -0700)]
Issue #22471: Avoid Python Launcher.app install problems by removing
vestigial Makefile step.
Serhiy Storchaka [Tue, 23 Sep 2014 19:40:23 +0000 (22:40 +0300)]
Issue #20912: Now directories added to ZIP file have correct Unix and MS-DOS
directory attributes.
Serhiy Storchaka [Tue, 23 Sep 2014 19:27:34 +0000 (22:27 +0300)]
Fixed test_large_file_exception. Ported tests for large count of files
to AbstractTestZip64InSmallFiles.
Serhiy Storchaka [Tue, 23 Sep 2014 18:34:24 +0000 (21:34 +0300)]
Issue #21866: ZipFile.close() no longer writes ZIP64 central directory
records if allowZip64 is false.
Serhiy Storchaka [Tue, 23 Sep 2014 16:59:09 +0000 (19:59 +0300)]
Fixed reference leak in the "backslashreplace" error handler.
Benjamin Peterson [Tue, 23 Sep 2014 02:43:50 +0000 (22:43 -0400)]
fix error in split() examples (closes #22459)
Patch by Raúl Cumplido.
Larry Hastings [Mon, 22 Sep 2014 22:51:20 +0000 (23:51 +0100)]
Fix pydoc topics. I'll regenerate this again for 3.4.2 final,
but fixing it now means the test suite can have zero errors
during the next two weeks.
Ned Deily [Mon, 22 Sep 2014 22:34:19 +0000 (15:34 -0700)]
Fix formatting typo in Misc/NEWS.
Georg Brandl [Mon, 22 Sep 2014 19:18:24 +0000 (21:18 +0200)]
Closes #21431: make docs depend on Sphinx 1.2 and fix pydoc-topics builder to
return Unicode strings on Python 3.
Larry Hastings [Mon, 22 Sep 2014 14:21:08 +0000 (15:21 +0100)]
Merge.
Larry Hastings [Mon, 22 Sep 2014 14:19:30 +0000 (15:19 +0100)]
Post-release engineering work for 3.4.2rc1.
Jesus Cea [Sun, 21 Sep 2014 22:43:39 +0000 (00:43 +0200)]
Typo: headeronly -> headersonly
Serhiy Storchaka [Sun, 21 Sep 2014 19:58:31 +0000 (22:58 +0300)]
Fixed issue #22415 number in Misc/NEWS for changeset
e99a1df8db36 .
Serhiy Storchaka [Sun, 21 Sep 2014 19:47:55 +0000 (22:47 +0300)]
Issue #22423: Fixed debugging output of the GROUPREF_EXISTS opcode in the re
module.
Serhiy Storchaka [Sun, 21 Sep 2014 19:25:25 +0000 (22:25 +0300)]
Merge heads
Antoine Pitrou [Sun, 21 Sep 2014 19:10:56 +0000 (21:10 +0200)]
Issue #21332: Ensure that ``bufsize=1`` in subprocess.Popen() selects line buffering, rather than block buffering.
Serhiy Storchaka [Sun, 21 Sep 2014 19:08:13 +0000 (22:08 +0300)]
Issue #22423: Unhandled exception in thread no longer causes unhandled
AttributeError when sys.stderr is None.
Larry Hastings [Sat, 20 Sep 2014 23:10:20 +0000 (00:10 +0100)]
Added tag v3.4.2rc1 for changeset
8711a0951384
Larry Hastings [Sat, 20 Sep 2014 23:09:56 +0000 (00:09 +0100)]
Bump version number for 3.4.2rc1 release.
Larry Hastings [Sat, 20 Sep 2014 23:05:05 +0000 (00:05 +0100)]
Updated pydoc topics for 3.4.1rc1 release.
Georg Brandl [Sat, 20 Sep 2014 22:35:08 +0000 (00:35 +0200)]
Doc: remove invalid uses of ":option:" which will emit warnings in Sphinx 1.3.