]>
granicus.if.org Git - python/log
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
Victor Stinner [Tue, 30 Sep 2014 11:40:12 +0000 (13:40 +0200)]
faulthandler: suppress crash reporter directly in test functions written to
crash.
Victor Stinner [Tue, 30 Sep 2014 10:35:58 +0000 (12:35 +0200)]
(Merge 3.4) 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.
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.
Gregory P. Smith [Tue, 30 Sep 2014 07:33:24 +0000 (00:33 -0700)]
Fix "warning: comparison between signed and unsigned integer expressions"
-Wsign-compare warnings in unicodeobject.c. These were all a result
of sizeof() being unsigned and being compared to a Py_ssize_t.
Not actual problems.
Benjamin Peterson [Tue, 30 Sep 2014 03:02:56 +0000 (23:02 -0400)]
merge 3.4 (#22520)
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:49:05 +0000 (22:49 -0400)]
merge 3.4 (#22517)
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 [Tue, 30 Sep 2014 01:54:28 +0000 (21:54 -0400)]
fix windows tests (#16662)
From Robert Collins.
Benjamin Peterson [Mon, 29 Sep 2014 23:12:44 +0000 (19:12 -0400)]
merge 3.4
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:11:05 +0000 (19:11 -0400)]
merge 3.4 (#22519)
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:53:58 +0000 (18:53 -0400)]
merge 3.4 (closes #22518)
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)
Serhiy Storchaka [Mon, 29 Sep 2014 19:49:23 +0000 (22:49 +0300)]
Issue #22437: Number of capturing groups in regular expression is no longer
limited by 100.
R David Murray [Mon, 29 Sep 2014 15:25:00 +0000 (11:25 -0400)]
#17442: Add chained traceback support to InteractiveInterpreter.
Patch by Claudiu Popa.
Serhiy Storchaka [Mon, 29 Sep 2014 15:13:02 +0000 (18:13 +0300)]
Issue #22510: Get rid of little overhead of testing re.DEBUG flag.
R David Murray [Mon, 29 Sep 2014 14:19:20 +0000 (10:19 -0400)]
Merge: #20135: FAQ entry for list mutation. (See also
90b07d422bd9 .)
I accidentally merged this in
90b07d422bd9 ; this merge addresses the
last review comments on the patch.
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.
Alexander Belopolsky [Sun, 28 Sep 2014 23:11:56 +0000 (19:11 -0400)]
Closes issue #20858: Enhancements/fixes to pure-python datetime module
This patch brings the pure-python datetime more in-line with the C
module. Patch contributed by Brian Kearns, a PyPy developer. PyPy
project has been running these modifications in PyPy2 stdlib.
This commit includes:
- General PEP8/cleanups;
- Better testing of argument types passed to constructors;
- Removal of duplicate operations;
- Optimization of timedelta creation;
- Caching the result of __hash__ like the C accelerator;
- Enhancements/bug fixes in tests.
Benjamin Peterson [Sun, 28 Sep 2014 16:57:22 +0000 (12:57 -0400)]
merge 3.4 (#22379)
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:42 +0000 (11:01 -0400)]
#10510: Fix bug in forward port of 2.7 distutils patch.
Pointed out by Arfrever.
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.
Serhiy Storchaka [Sun, 28 Sep 2014 12:36:18 +0000 (15:36 +0300)]
Removed a code for suport Python version <2.2.
Serhiy Storchaka [Sun, 28 Sep 2014 08:27:24 +0000 (11:27 +0300)]
Removed redundant casts to `char *`.
Corresponding functions now accept `const char *` (issue #
1772673 ).
Berker Peksag [Sat, 27 Sep 2014 21:01:55 +0000 (00:01 +0300)]
Revert #22251
Berker Peksag [Sat, 27 Sep 2014 21:00:58 +0000 (00:00 +0300)]
Revert #22251
R David Murray [Sat, 27 Sep 2014 20:57:51 +0000 (16:57 -0400)]
Merge: #10510: make distuitls upload/register use HTML standards compliant CRLF.
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:22:35 +0000 (23:22 +0300)]
Issue #22251: Fix ReST markup to avoid errors building docs.
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:49:33 +0000 (22:49 +0300)]
Merge with 3.4.
Berker Peksag [Sat, 27 Sep 2014 19:48:58 +0000 (22:48 +0300)]
Merge heads.
Berker Peksag [Sat, 27 Sep 2014 19:47:59 +0000 (22:47 +0300)]
Merge heads.
Berker Peksag [Sat, 27 Sep 2014 19:39:38 +0000 (22:39 +0300)]
Issue #16537: Check whether self.extensions is empty in setup.py.
Patch by Jonathan Hosmer.
R David Murray [Sat, 27 Sep 2014 19:38:15 +0000 (15:38 -0400)]
Merge: #18854: make it explicit that is_multipart does not mean 'multipart/xxx'.
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.