]>
git.ipfire.org Git - thirdparty/Python/cpython.git/log
Jason R. Coombs [Tue, 13 May 2014 02:41:49 +0000 (22:41 -0400)]
Merge doc change from 3.3
Jason R. Coombs [Tue, 13 May 2014 02:41:15 +0000 (22:41 -0400)]
Merge doc change from 3.3
Jason R. Coombs [Tue, 13 May 2014 02:40:49 +0000 (22:40 -0400)]
Update docs to reflect resurrection of Setuptools over Distribute
Eric Snow [Tue, 13 May 2014 00:25:00 +0000 (18:25 -0600)]
Merge from 3.4 (for #21226).
Victor Stinner [Tue, 13 May 2014 00:06:33 +0000 (02:06 +0200)]
(Merge 3.4) Issue #21398: Fix an unicode error in the pydoc pager when the
documentation contains characters not encodable to the stdout encoding.
Victor Stinner [Tue, 13 May 2014 00:05:35 +0000 (02:05 +0200)]
Issue #21398: Fix an unicode error in the pydoc pager when the documentation
contains characters not encodable to the stdout encoding.
Eric Snow [Mon, 12 May 2014 23:54:55 +0000 (17:54 -0600)]
Issue #21226: Set all attrs in PyImport_ExecCodeModuleObject.
Victor Stinner [Mon, 12 May 2014 23:32:54 +0000 (01:32 +0200)]
(Merge 3.4) Issue #21418: Fix a crash in the builtin function super() when
called without argument and without current frame (ex: embedded Python).
Victor Stinner [Mon, 12 May 2014 23:32:36 +0000 (01:32 +0200)]
Issue #21418: Fix a crash in the builtin function super() when called without
argument and without current frame (ex: embedded Python).
Victor Stinner [Mon, 12 May 2014 21:25:25 +0000 (23:25 +0200)]
(Merge 3.4) Issue #21485: remove unnecesary .flush() calls in the asyncio
subprocess code example
Victor Stinner [Mon, 12 May 2014 21:25:09 +0000 (23:25 +0200)]
Issue #21485: remove unnecesary .flush() calls in the asyncio subprocess code
example
Victor Stinner [Mon, 12 May 2014 20:43:07 +0000 (22:43 +0200)]
(Merge 3.4) Issue #21422: Add a test to check that bool << int and bool >> int
return an int
Victor Stinner [Mon, 12 May 2014 20:35:40 +0000 (22:35 +0200)]
Issue #21422: Add a test to check that bool << int and bool >> int return an int
Antoine Pitrou [Mon, 12 May 2014 18:36:46 +0000 (20:36 +0200)]
Issue #16531: ipaddress.IPv4Network and ipaddress.IPv6Network now accept an (address, netmask) tuple argument, so as to easily construct network objects from existing addresses.
Guido van Rossum [Mon, 12 May 2014 17:05:04 +0000 (10:05 -0700)]
Merge 3.4->default: asyncio: Fix upstream issue 168: StreamReader.read(-1) from pipe may hang if data exceeds buffer limit.
Guido van Rossum [Mon, 12 May 2014 17:04:37 +0000 (10:04 -0700)]
asyncio: Fix upstream issue 168: StreamReader.read(-1) from pipe may hang if data exceeds buffer limit.
Ned Deily [Mon, 12 May 2014 04:47:21 +0000 (21:47 -0700)]
Issue 21383: merge from 3.4
Ned Deily [Mon, 12 May 2014 04:45:13 +0000 (21:45 -0700)]
Issue #21383: Allow "make touch" to work when building outside of the
source directory.
Terry Jan Reedy [Mon, 12 May 2014 03:47:31 +0000 (23:47 -0400)]
Issue #18104: News for 3.4, in proper place.
Terry Jan Reedy [Mon, 12 May 2014 03:46:22 +0000 (23:46 -0400)]
#18104: null merge of 3.4 News entry
Terry Jan Reedy [Mon, 12 May 2014 03:42:43 +0000 (23:42 -0400)]
Issue #18104: News for 3.4 (which will not merge forward).
Terry Jan Reedy [Mon, 12 May 2014 03:35:35 +0000 (23:35 -0400)]
Merge with 3.4
Terry Jan Reedy [Mon, 12 May 2014 03:35:09 +0000 (23:35 -0400)]
whitespace
Terry Jan Reedy [Mon, 12 May 2014 03:32:58 +0000 (23:32 -0400)]
Merge with 3.4
Terry Jan Reedy [Mon, 12 May 2014 03:32:32 +0000 (23:32 -0400)]
Issue #18104: Add idlelib/idle_test/htest.py with a few sample tests to begin
consolidating and improving human-validated tests of Idle. Change other files
as needed to work with htest. Running the module as __main__ runs all tests.
Benjamin Peterson [Sun, 11 May 2014 23:17:34 +0000 (16:17 -0700)]
merge 3.4
Benjamin Peterson [Sun, 11 May 2014 23:17:02 +0000 (16:17 -0700)]
use logical rather than bit and
Raymond Hettinger [Sun, 11 May 2014 21:21:23 +0000 (14:21 -0700)]
Issue 21424: Apply the nlargest() optimizations to nsmallest() as well.
Gregory P. Smith [Sun, 11 May 2014 20:29:36 +0000 (13:29 -0700)]
merge from 3.4 - clean up the subprocess docs warning-soup and
s/Unix/POSIX/.
Gregory P. Smith [Sun, 11 May 2014 20:28:35 +0000 (13:28 -0700)]
Change all references to Unix to POSIX in the subprocess docs. It's
more accurate and sounds less like a strange tale of yore.
Gregory P. Smith [Sun, 11 May 2014 20:26:21 +0000 (13:26 -0700)]
Remove the warning-soup from the subprocess documentation by adding
a Security Considerations section as preferred by both the devguide
and documentation users who do not wish to go insane.
Benjamin Peterson [Sun, 11 May 2014 18:19:17 +0000 (11:19 -0700)]
merge 3.4
Benjamin Peterson [Sun, 11 May 2014 18:18:51 +0000 (11:18 -0700)]
remove confusing delete indexing (closes #21466)
Antoine Pitrou [Sun, 11 May 2014 17:39:13 +0000 (19:39 +0200)]
Null merge
Antoine Pitrou [Sun, 11 May 2014 17:13:43 +0000 (19:13 +0200)]
Try to fix issue #21425 workaround for shared library builds
Antoine Pitrou [Sun, 11 May 2014 17:13:43 +0000 (19:13 +0200)]
Try to fix issue #21425 workaround for shared library builds
Antoine Pitrou [Sun, 11 May 2014 17:05:50 +0000 (19:05 +0200)]
Fix printing out error message when test fails and run with -bb
Antoine Pitrou [Sun, 11 May 2014 17:05:23 +0000 (19:05 +0200)]
Fix printing out error message when test fails and run with -bb
Antoine Pitrou [Sun, 11 May 2014 15:30:41 +0000 (17:30 +0200)]
Null merge
Antoine Pitrou [Sun, 11 May 2014 15:29:57 +0000 (17:29 +0200)]
Remove debugging output
Antoine Pitrou [Sun, 11 May 2014 14:59:16 +0000 (16:59 +0200)]
Try workaround for test issues in #21425
Antoine Pitrou [Sun, 11 May 2014 14:59:16 +0000 (16:59 +0200)]
Try workaround for test issues in #21425
Antoine Pitrou [Sun, 11 May 2014 14:36:22 +0000 (16:36 +0200)]
Fix debugging output to work with -W
Antoine Pitrou [Sun, 11 May 2014 14:24:45 +0000 (16:24 +0200)]
Fix debugging output to work with -bb
Antoine Pitrou [Sun, 11 May 2014 14:09:15 +0000 (16:09 +0200)]
Add debugging output for #21425
Antoine Pitrou [Sun, 11 May 2014 11:43:31 +0000 (13:43 +0200)]
Issue #21425: Fix flushing of standard streams in the interactive interpreter.
Antoine Pitrou [Sun, 11 May 2014 11:42:17 +0000 (13:42 +0200)]
Issue #21425: Fix flushing of standard streams in the interactive interpreter.
Raymond Hettinger [Sun, 11 May 2014 09:26:23 +0000 (02:26 -0700)]
By popular demand, add back a security warning.
Raymond Hettinger [Sun, 11 May 2014 08:55:46 +0000 (01:55 -0700)]
Issue #21424: Optimize heaqp.nlargest() to make fewer tuple comparisons.
Consolidates the logic for nlargest() into a single function so that
decoration tuples (elem,order) or (key, order, elem) only need to
be formed when a new element is added to the heap. Formerly, a tuple
was created for every element regardless of whether it was added to
the heap.
The change reduces the number of tuples created, the number of ordering
integers created, and total number of tuple comparisons.
Guido van Rossum [Sat, 10 May 2014 22:48:03 +0000 (15:48 -0700)]
Merge 3.4 -> default: asyncio: Upstream issue #167: remove dead code, by Marc Schlaich.
Guido van Rossum [Sat, 10 May 2014 22:47:15 +0000 (15:47 -0700)]
asyncio: Upstream issue #167: remove dead code, by Marc Schlaich.
Raymond Hettinger [Sat, 10 May 2014 21:05:28 +0000 (14:05 -0700)]
Remove the redundant and poorly worded warning message.
The paragraph above already says, clearly and correctly, that
"However, being completely deterministic, it is not suitable for
all purposes, and is completely unsuitable for cryptographic purposes."
Also we should make any promises about SystemRandom or os.urandom()
being cryptographically secure (they may be, but be can't validate
that promise). Further, those are actual random number generators
not psuedo-random number generators.
Jason R. Coombs [Sat, 10 May 2014 17:24:58 +0000 (13:24 -0400)]
Reindent long line
Jason R. Coombs [Sat, 10 May 2014 17:24:18 +0000 (13:24 -0400)]
Replace overly-aggressive comparison for type equality with an isinstance check.
Jason R. Coombs [Sat, 10 May 2014 17:22:43 +0000 (13:22 -0400)]
Drop support for Python 2.4 in upload command.
Jason R. Coombs [Sat, 10 May 2014 17:21:02 +0000 (13:21 -0400)]
Replace import * with explicit import
Jason R. Coombs [Sat, 10 May 2014 17:20:28 +0000 (13:20 -0400)]
Clean up style in distutils upload command
Eli Bendersky [Sat, 10 May 2014 02:03:25 +0000 (19:03 -0700)]
Issue #19655: Add tests for the new asdl parser.
This unit test runs only for source builds of Python, similarly to test_tools.
Eli Bendersky [Sat, 10 May 2014 00:58:22 +0000 (17:58 -0700)]
Issue #19655: Replace the ASDL parser carried with CPython
The new parser does not rely on Spark (which is now removed from our repo),
uses modern 3.x idioms and is significantly smaller and simpler.
It generates exactly the same AST files (.h and .c), so in practice no builds
should be affected.
Brett Cannon [Fri, 9 May 2014 18:32:57 +0000 (14:32 -0400)]
Issue #19721: Consolidate test_importlib utility code into a single
module.
Brett Cannon [Fri, 9 May 2014 17:38:11 +0000 (13:38 -0400)]
Issue #20776: Flesh out tests for importlib.machinery.PathFinder.
Tim Golden [Fri, 9 May 2014 17:19:31 +0000 (18:19 +0100)]
Issue21452 Add missing backslash to build path for make_buildinfo
Tim Golden [Fri, 9 May 2014 17:19:13 +0000 (18:19 +0100)]
Merge
Tim Golden [Fri, 9 May 2014 17:18:11 +0000 (18:18 +0100)]
Issue21452 Add missing backslash to build path for make_buildinfo
Tim Golden [Fri, 9 May 2014 17:01:44 +0000 (18:01 +0100)]
Issue10752 Be more robust when finding a PERL interpreter to build OpenSSL. Initial patch by Gabi Davar
Tim Golden [Fri, 9 May 2014 17:01:19 +0000 (18:01 +0100)]
Issue10752 Be more robust when finding a PERL interpreter to build OpenSSL. Initial patch by Gabi Davar
Brett Cannon [Fri, 9 May 2014 16:28:22 +0000 (12:28 -0400)]
Issue #21156: importlib.abc.InspectLoader.source_to_code() is now a
staticmethod.
Brett Cannon [Fri, 9 May 2014 15:56:07 +0000 (11:56 -0400)]
Merge for issue #21438
Brett Cannon [Fri, 9 May 2014 15:55:49 +0000 (11:55 -0400)]
Issue #21438: Document what loaders don't require a module name for
load_module().
Brett Cannon [Fri, 9 May 2014 14:37:55 +0000 (10:37 -0400)]
Merge for issue #21157
Brett Cannon [Fri, 9 May 2014 14:37:31 +0000 (10:37 -0400)]
Issue #21157: Touch up imp docs to be more explicit about importlib
alternatives.
Zachary Ware [Fri, 9 May 2014 14:07:50 +0000 (09:07 -0500)]
Issue #21141: The Windows build process no longer attempts to find Perl,
instead relying on OpenSSL source being configured and ready to build. The
``PCbuild\build_ssl.py`` script has been re-written and re-named to
``PCbuild\prepare_ssl.py``, and takes care of configuring OpenSSL source
for both 32 and 64 bit platforms. OpenSSL sources obtained from
svn.python.org will always be pre-configured and ready to build.
Tim Peters [Thu, 8 May 2014 22:43:25 +0000 (17:43 -0500)]
Merge from 3.4.
Issue #21435: Segfault in gc with cyclic trash
Changed the iteration logic in finalize_garbage() to tolerate objects vanishing
from the list as a side effect of executing a finalizer.
Tim Peters [Thu, 8 May 2014 22:42:19 +0000 (17:42 -0500)]
Issue #21435: Segfault in gc with cyclic trash
Changed the iteration logic in finalize_garbage() to tolerate objects vanishing
from the list as a side effect of executing a finalizer.
Antoine Pitrou [Thu, 8 May 2014 22:31:32 +0000 (00:31 +0200)]
Issue #21396: Fix TextIOWrapper(..., write_through=True) to not force a flush() on the underlying binary stream.
Patch by akira.
Antoine Pitrou [Thu, 8 May 2014 22:24:50 +0000 (00:24 +0200)]
Issue #21396: Fix TextIOWrapper(..., write_through=True) to not force a flush() on the underlying binary stream.
Patch by akira.
Charles-François Natali [Thu, 8 May 2014 22:08:51 +0000 (23:08 +0100)]
Issue #21037: Add a build option to enable AddressSanitizer support.
R David Murray [Thu, 8 May 2014 14:06:17 +0000 (10:06 -0400)]
Merge #21300: fix typo
R David Murray [Thu, 8 May 2014 14:05:47 +0000 (10:05 -0400)]
#21300: fix typo
Kristján Valur Jónsson [Thu, 8 May 2014 11:18:27 +0000 (11:18 +0000)]
Merge with 3.4
Kristján Valur Jónsson [Thu, 8 May 2014 10:59:52 +0000 (10:59 +0000)]
Merging from 3.3: The PyCOND_TIMEDWAIT must use microseconds for the timeout argument
in order to have the same resolution as pthreads condition variables.
At the same time, it must be large enough to accept 31 bits of
milliseconds, which is the maximum timeout value in the windows API.
A PY_LONG_LONG of microseconds fullfills both requirements.
This closes issue #20737
Kristján Valur Jónsson [Thu, 8 May 2014 10:36:27 +0000 (10:36 +0000)]
The PyCOND_TIMEDWAIT must use microseconds for the timeout argument
in order to have the same resolution as pthreads condition variables.
At the same time, it must be large enough to accept 31 bits of
milliseconds, which is the maximum timeout value in the windows API.
A PY_LONG_LONG of microseconds fullfills both requirements.
This closes issue #20737
Kristján Valur Jónsson [Thu, 8 May 2014 10:36:27 +0000 (10:36 +0000)]
The PyCOND_TIMEDWAIT must use microseconds for the timeout argument
in order to have the same resolution as pthreads condition variables.
At the same time, it must be large enough to accept 31 bits of
milliseconds, which is the maximum timeout value in the windows API.
A PY_LONG_LONG of microseconds fullfills both requirements.
This closes issue #20737
Tim Golden [Wed, 7 May 2014 17:08:08 +0000 (18:08 +0100)]
Issue19643 Fix whitespace
Tim Golden [Wed, 7 May 2014 17:05:45 +0000 (18:05 +0100)]
Issue19643 Add an example of shutil.rmtree which shows how to cope with readonly files on Windows
doko@ubuntu.com [Wed, 7 May 2014 11:08:51 +0000 (13:08 +0200)]
- Issue #17752: Fix distutils tests when run from the installed location.
doko@ubuntu.com [Wed, 7 May 2014 10:57:44 +0000 (12:57 +0200)]
- Issue #17752: Fix distutils tests when run from the installed location.
doko@ubuntu.com [Wed, 7 May 2014 02:44:42 +0000 (04:44 +0200)]
- Issue #17752: Fix distutils tests when run from the installed location.
R David Murray [Wed, 7 May 2014 01:33:50 +0000 (21:33 -0400)]
Merge: #21300: Clean up the docs for the email "policy" arguments.
R David Murray [Wed, 7 May 2014 01:33:18 +0000 (21:33 -0400)]
#21300: Clean up the docs for the email "policy" arguments.
Guido van Rossum [Tue, 6 May 2014 21:45:39 +0000 (14:45 -0700)]
Merge 3.4->default: asyncio: Fix the second half of issue #21447: race in _write_to_self().
Guido van Rossum [Tue, 6 May 2014 21:42:40 +0000 (14:42 -0700)]
asyncio: Fix the second half of issue #21447: race in _write_to_self().
Zachary Ware [Tue, 6 May 2014 16:42:37 +0000 (11:42 -0500)]
Issue #21442: Fix MSVC compiler warning introduced by issue21377.
Zachary Ware [Tue, 6 May 2014 14:19:16 +0000 (09:19 -0500)]
Merge with 3.4
Zachary Ware [Tue, 6 May 2014 14:18:17 +0000 (09:18 -0500)]
Add prompts to interactive example.
This makes it match the new example below, and allows Sphinx's
"hide the prompts and output" feature to work.
Zachary Ware [Tue, 6 May 2014 14:07:51 +0000 (09:07 -0500)]
Issue #21366: Document the fact that ``return`` in a ``finally`` clause
overrides a ``return`` in the ``try`` suite.
Zachary Ware [Tue, 6 May 2014 14:07:13 +0000 (09:07 -0500)]
Issue #21366: Document the fact that ``return`` in a ``finally`` clause
overrides a ``return`` in the ``try`` suite.
Tim Golden [Tue, 6 May 2014 12:29:45 +0000 (13:29 +0100)]
Issue21393 Use CryptReleaseContext to release Crypt handle on Windows
Tim Golden [Tue, 6 May 2014 12:24:26 +0000 (13:24 +0100)]
Issue21440 Use support.rmtree in test_zipfile & test_tarfile
Victor Stinner [Tue, 6 May 2014 09:32:29 +0000 (11:32 +0200)]
Issue #21233: Fix _PyObject_Alloc() when compiled with WITH_VALGRIND defined