]> granicus.if.org Git - python/log
python
9 years agoIssue #25761: Fixed reference leak added in previous changeset (5c670af0100f).
Serhiy Storchaka [Mon, 7 Dec 2015 09:32:00 +0000 (11:32 +0200)]
Issue #25761: Fixed reference leak added in previous changeset (5c670af0100f).

9 years agoNull merge from 3.5.
Larry Hastings [Mon, 7 Dec 2015 06:14:58 +0000 (22:14 -0800)]
Null merge from 3.5.

9 years agoMostly-null merge from 3.4. (Only added the tag for 3.4.4rc1.)
Larry Hastings [Mon, 7 Dec 2015 06:11:21 +0000 (22:11 -0800)]
Mostly-null merge from 3.4.  (Only added the tag for 3.4.4rc1.)

9 years agoMerge.
Larry Hastings [Mon, 7 Dec 2015 06:00:57 +0000 (22:00 -0800)]
Merge.

9 years agoMerge.
Larry Hastings [Mon, 7 Dec 2015 05:58:18 +0000 (21:58 -0800)]
Merge.

9 years agoPost-release fixups for Python 3.4.4rc1.
Larry Hastings [Mon, 7 Dec 2015 05:54:29 +0000 (21:54 -0800)]
Post-release fixups for Python 3.4.4rc1.

9 years agoPost-release fixups for Python 3.5.1.
Larry Hastings [Mon, 7 Dec 2015 05:53:27 +0000 (21:53 -0800)]
Post-release fixups for Python 3.5.1.

9 years agoIssue #25638: Optimized ElementTree.iterparse(); it is now 2x faster.
Serhiy Storchaka [Mon, 7 Dec 2015 00:31:11 +0000 (02:31 +0200)]
Issue #25638: Optimized ElementTree.iterparse(); it is now 2x faster.

ElementTree.XMLParser._setevents now accepts any objects with the append
method, not just a list.

9 years agoIssue25814: Propagate all errors from custom XML parser handlers
Serhiy Storchaka [Sun, 6 Dec 2015 21:55:05 +0000 (23:55 +0200)]
Issue25814: Propagate all errors from custom XML parser handlers
in ElementTree.iterparse().

9 years agoIssue25814: Propagate all errors from custom XML parser handlers
Serhiy Storchaka [Sun, 6 Dec 2015 21:54:28 +0000 (23:54 +0200)]
Issue25814: Propagate all errors from custom XML parser handlers
in ElementTree.iterparse().

9 years agoIssue25814: Propagate all errors from custom XML parser handlers
Serhiy Storchaka [Sun, 6 Dec 2015 21:51:44 +0000 (23:51 +0200)]
Issue25814: Propagate all errors from custom XML parser handlers
in ElementTree.iterparse().

9 years agoIssue #25761: Improved detecting errors in broken pickle data.
Serhiy Storchaka [Sun, 6 Dec 2015 20:01:35 +0000 (22:01 +0200)]
Issue #25761: Improved detecting errors in broken pickle data.

9 years agoAdded tag v3.4.4rc1 for changeset 04f3f725896c
Larry Hastings [Sun, 6 Dec 2015 13:53:49 +0000 (05:53 -0800)]
Added tag v3.4.4rc1 for changeset 04f3f725896c

9 years agoVersion bump for 3.4.4rc1. v3.4.4rc1
Larry Hastings [Sun, 6 Dec 2015 13:53:35 +0000 (05:53 -0800)]
Version bump for 3.4.4rc1.

9 years agoRebuilt pydoc topics for 3.4.4rc1.
Larry Hastings [Sun, 6 Dec 2015 13:51:56 +0000 (05:51 -0800)]
Rebuilt pydoc topics for 3.4.4rc1.

9 years agoIssue #25717: Merge comment from 3.5
Martin Panter [Sun, 6 Dec 2015 11:19:31 +0000 (11:19 +0000)]
Issue #25717: Merge comment from 3.5

9 years agoIssue #25717: Add comment explaining why errors are ignored
Martin Panter [Sun, 6 Dec 2015 11:12:15 +0000 (11:12 +0000)]
Issue #25717: Add comment explaining why errors are ignored

9 years agoIssue #25798: merge from 3.5
Ned Deily [Sun, 6 Dec 2015 04:57:55 +0000 (23:57 -0500)]
Issue #25798: merge from 3.5

9 years agoIssue #25798: merge from 3.4
Ned Deily [Sun, 6 Dec 2015 04:55:33 +0000 (23:55 -0500)]
Issue #25798: merge from 3.4

9 years agoIssue #25798: Update OS X 10.5+ 32-bit-only installer to build
Ned Deily [Sun, 6 Dec 2015 04:51:23 +0000 (23:51 -0500)]
Issue #25798: Update OS X 10.5+ 32-bit-only installer to build
and link with OpenSSL 1.0.2e.

9 years agoIssue #25717: Merge fstat() fix from 3.5
Martin Panter [Sun, 6 Dec 2015 03:29:54 +0000 (03:29 +0000)]
Issue #25717: Merge fstat() fix from 3.5

9 years agoIssue #25717: Tolerate fstat() failures in the FileIO constructor
Martin Panter [Sun, 6 Dec 2015 03:15:05 +0000 (03:15 +0000)]
Issue #25717: Tolerate fstat() failures in the FileIO constructor

This restores 3.4 behaviour, which was removed by revision 3b5279b5bfd1. The
fstat() call fails with ENOENT for a Virtual Box shared folder filesystem if
the file entry has been unlinked, e.g. for a temporary file.

9 years agoAdded tag v3.5.1 for changeset 37a07cee5969
Larry Hastings [Sun, 6 Dec 2015 01:05:33 +0000 (17:05 -0800)]
Added tag v3.5.1 for changeset 37a07cee5969

9 years agoVersion bump for 3.5.1 final. v3.5.1
Larry Hastings [Sun, 6 Dec 2015 01:05:23 +0000 (17:05 -0800)]
Version bump for 3.5.1 final.

9 years agoUpdated pydoc topics for 3.5.1 final.
Larry Hastings [Sun, 6 Dec 2015 01:03:20 +0000 (17:03 -0800)]
Updated pydoc topics for 3.5.1 final.

9 years agoIssue #25764: Merge OS X test skipping from 3.4 into 3.5
Martin Panter [Sat, 5 Dec 2015 12:41:29 +0000 (12:41 +0000)]
Issue #25764: Merge OS X test skipping from 3.4 into 3.5

9 years agoIssue #25764: Remove test debugging
Martin Panter [Sat, 5 Dec 2015 10:18:25 +0000 (10:18 +0000)]
Issue #25764: Remove test debugging

9 years agoIssue #25764: Merge OS X test skipping from 3.5
Martin Panter [Sat, 5 Dec 2015 12:41:41 +0000 (12:41 +0000)]
Issue #25764: Merge OS X test skipping from 3.5

9 years agoIssue #25764: Skip the test on OS X
Martin Panter [Sat, 5 Dec 2015 09:51:52 +0000 (09:51 +0000)]
Issue #25764: Skip the test on OS X

The OS X buildbots were failing at the second setrlimit() call with EPERM, as
if they were trying to raise the hard limit. The call should be keeping the
hard limit the same and raising the soft limit back to its original value, so
I don't understand the failure.

9 years agomerge 3.5
Benjamin Peterson [Sat, 5 Dec 2015 08:27:40 +0000 (00:27 -0800)]
merge 3.5

9 years agomerge 3.4
Benjamin Peterson [Sat, 5 Dec 2015 08:27:33 +0000 (00:27 -0800)]
merge 3.4

9 years agomerge 3.3
Benjamin Peterson [Sat, 5 Dec 2015 08:27:23 +0000 (00:27 -0800)]
merge 3.3

9 years agofix reordering
Benjamin Peterson [Sat, 5 Dec 2015 08:27:11 +0000 (00:27 -0800)]
fix reordering

9 years agomerge 3.5
Benjamin Peterson [Sat, 5 Dec 2015 08:24:10 +0000 (00:24 -0800)]
merge 3.5

9 years agomerge 3.4
Benjamin Peterson [Sat, 5 Dec 2015 08:24:01 +0000 (00:24 -0800)]
merge 3.4

9 years agomerge 3.3
Benjamin Peterson [Sat, 5 Dec 2015 08:23:11 +0000 (00:23 -0800)]
merge 3.3

9 years agomerge 3.2
Benjamin Peterson [Sat, 5 Dec 2015 08:21:12 +0000 (00:21 -0800)]
merge 3.2

9 years agoadd CVE and issue number
Benjamin Peterson [Sat, 5 Dec 2015 08:17:57 +0000 (00:17 -0800)]
add CVE and issue number

9 years agoCloses #25800: Merge with 3.5
Zachary Ware [Sat, 5 Dec 2015 06:19:08 +0000 (00:19 -0600)]
Closes #25800: Merge with 3.5

9 years agoIssue #25800: Merge with 3.4
Zachary Ware [Sat, 5 Dec 2015 06:18:29 +0000 (00:18 -0600)]
Issue #25800: Merge with 3.4

9 years agoIssue #25800: Fix running test_capi directly
Zachary Ware [Sat, 5 Dec 2015 06:16:55 +0000 (00:16 -0600)]
Issue #25800: Fix running test_capi directly

9 years agoIssue #25764: OS X now failing on the second setrlimit() call
Martin Panter [Sat, 5 Dec 2015 05:42:18 +0000 (05:42 +0000)]
Issue #25764: OS X now failing on the second setrlimit() call

9 years agoCloses #25795: Merge with 3.5
Zachary Ware [Sat, 5 Dec 2015 05:33:59 +0000 (23:33 -0600)]
Closes #25795: Merge with 3.5

9 years agoIssue #25795: Fix several tests to run independently.
Zachary Ware [Sat, 5 Dec 2015 05:32:23 +0000 (23:32 -0600)]
Issue #25795: Fix several tests to run independently.

These were broken in 3aec776fc796 when they were converted
away from using support.run_unittest().  Oops :)

Initial patch by Felippe da Motta Raposo.

9 years agoIssue #25764: Attempt to debug and skip OS X setrlimit() failure
Martin Panter [Sat, 5 Dec 2015 04:16:45 +0000 (04:16 +0000)]
Issue #25764: Attempt to debug and skip OS X setrlimit() failure

9 years agoMerge: #24903: Remove misleading error message to fix regression.
R David Murray [Sat, 5 Dec 2015 04:05:20 +0000 (23:05 -0500)]
Merge: #24903: Remove misleading error message to fix regression.

9 years agoMerge: #24903: Remove misleading error message to fix regression.
R David Murray [Sat, 5 Dec 2015 04:04:37 +0000 (23:04 -0500)]
Merge: #24903: Remove misleading error message to fix regression.

9 years ago#24903: Remove misleading error message to fix regression.
R David Murray [Sat, 5 Dec 2015 03:54:38 +0000 (22:54 -0500)]
#24903: Remove misleading error message to fix regression.

Before the argparse conversion, compileall would (sometimes) accept multiple
paths when -d was specified.  Afterward, it does not.  The corresponding check
in the original code claimed to prevent multiple *directories* from being
specified...but it didn't really work even to do that.  So this patch fixes
the regression by invoking the consenting adults rule: if you specify a
combination of arguments to compileall that produces files with inconsistent
destdirs (which you could do before), it is on you.

Patch by Jake Garver.

9 years agoIssue #25764: Merge subprocess fix from 3.5
Martin Panter [Sat, 5 Dec 2015 02:27:58 +0000 (02:27 +0000)]
Issue #25764: Merge subprocess fix from 3.5

9 years agoIssue #25764: Merge subprocess fix from 3.4 into 3.5
Martin Panter [Sat, 5 Dec 2015 02:03:42 +0000 (02:03 +0000)]
Issue #25764: Merge subprocess fix from 3.4 into 3.5

9 years agoMerge for issue #23936
Brett Cannon [Fri, 4 Dec 2015 23:46:43 +0000 (15:46 -0800)]
Merge for issue #23936

9 years agoIssue #23936: Clarify what finders are.
Brett Cannon [Fri, 4 Dec 2015 23:46:21 +0000 (15:46 -0800)]
Issue #23936: Clarify what finders are.

Thanks to Raúl Cumplido for the bug report and Thomas Kluyver for the
patch.

9 years agoIssue #25771: Tweak ValueError message when package isn't specified
Brett Cannon [Fri, 4 Dec 2015 23:19:42 +0000 (15:19 -0800)]
Issue #25771: Tweak ValueError message when package isn't specified
for importlib.util.resolve_name() but is needed.

Thanks to Martin Panter for the bug report.

9 years agoMerge for issue #25500
Brett Cannon [Fri, 4 Dec 2015 22:52:07 +0000 (14:52 -0800)]
Merge for issue #25500

9 years agoIssue #25500: Fix the language reference to not claim that import
Brett Cannon [Fri, 4 Dec 2015 22:51:26 +0000 (14:51 -0800)]
Issue #25500: Fix the language reference to not claim that import
statements search for __import__ in the global scope.

Thanks to Sergei Lebedev for finding the documentation bug.

9 years agoAdd Awaitable, AsyncIterable, AsyncIterator to typing.py. (Merge 3.5->3.6)
Guido van Rossum [Fri, 4 Dec 2015 01:32:05 +0000 (17:32 -0800)]
Add Awaitable, AsyncIterable, AsyncIterator to typing.py. (Merge 3.5->3.6)

9 years agoAdd Awaitable, AsyncIterable, AsyncIterator to typing.py.
Guido van Rossum [Fri, 4 Dec 2015 01:31:24 +0000 (17:31 -0800)]
Add Awaitable, AsyncIterable, AsyncIterator to typing.py.

9 years agoIssue #6478: _strptime's regexp cache now is reset after changing timezone
Serhiy Storchaka [Thu, 3 Dec 2015 20:27:31 +0000 (22:27 +0200)]
Issue #6478: _strptime's regexp cache now is reset after changing timezone
with time.tzset().

9 years agoIssue #6478: _strptime's regexp cache now is reset after changing timezone
Serhiy Storchaka [Thu, 3 Dec 2015 20:26:36 +0000 (22:26 +0200)]
Issue #6478: _strptime's regexp cache now is reset after changing timezone
with time.tzset().

9 years agoIssue #6478: _strptime's regexp cache now is reset after changing timezone
Serhiy Storchaka [Thu, 3 Dec 2015 20:21:07 +0000 (22:21 +0200)]
Issue #6478: _strptime's regexp cache now is reset after changing timezone
with time.tzset().

9 years agoIssue #14285: Merge runpy exception fix from 3.5
Martin Panter [Thu, 3 Dec 2015 01:36:03 +0000 (01:36 +0000)]
Issue #14285: Merge runpy exception fix from 3.5

9 years agoIssue #14285: Do not catch __init__.py exceptions in runpy
Martin Panter [Thu, 3 Dec 2015 01:23:10 +0000 (01:23 +0000)]
Issue #14285: Do not catch __init__.py exceptions in runpy

Initialize package before calling find_spec() for __main__, so that we do not
incorrectly handle exceptions from __init__.py. When runpy is used from the
Python CLI, use an internal exception rather than ImportError, to avoid
catching unexpected exceptions.

Also remove exception message rewriting in _run_module_as_main(), because it
seems to be redundant with the _get_main_module_details() function.

9 years agoIssue #25709: Fixed problem with in-place string concatenation and utf-8 cache.
Serhiy Storchaka [Wed, 2 Dec 2015 23:05:52 +0000 (01:05 +0200)]
Issue #25709: Fixed problem with in-place string concatenation and utf-8 cache.

9 years agoIssue #25709: Fixed problem with in-place string concatenation and utf-8 cache.
Serhiy Storchaka [Wed, 2 Dec 2015 23:04:37 +0000 (01:04 +0200)]
Issue #25709: Fixed problem with in-place string concatenation and utf-8 cache.

9 years agoIssue #25709: Fixed problem with in-place string concatenation and utf-8 cache.
Serhiy Storchaka [Wed, 2 Dec 2015 23:02:03 +0000 (01:02 +0200)]
Issue #25709: Fixed problem with in-place string concatenation and utf-8 cache.

9 years agoMerge.
Larry Hastings [Sun, 6 Dec 2015 00:49:19 +0000 (16:49 -0800)]
Merge.

9 years agoIssue #25709: Fixed problem with in-place string concatenation and utf-8 cache.
Serhiy Storchaka [Wed, 2 Dec 2015 23:02:03 +0000 (01:02 +0200)]
Issue #25709: Fixed problem with in-place string concatenation and utf-8 cache.

9 years agoNull merge
Serhiy Storchaka [Wed, 2 Dec 2015 22:58:13 +0000 (00:58 +0200)]
Null merge

9 years agoNull merge
Serhiy Storchaka [Wed, 2 Dec 2015 22:57:41 +0000 (00:57 +0200)]
Null merge

9 years agoMerge from 3.5 (including all NEWS entries)
Steve Dower [Wed, 2 Dec 2015 17:19:07 +0000 (09:19 -0800)]
Merge from 3.5 (including all NEWS entries)

9 years agoIssue #25715: Python 3.5.1 installer shows wrong upgrade path and incorrect logic...
Steve Dower [Wed, 2 Dec 2015 16:28:51 +0000 (08:28 -0800)]
Issue #25715: Python 3.5.1 installer shows wrong upgrade path and incorrect logic for launcher detection.

9 years ago(Merge 3.5) Fix test_doctest in verbose mode
Victor Stinner [Wed, 2 Dec 2015 13:37:35 +0000 (14:37 +0100)]
(Merge 3.5) Fix test_doctest in verbose mode

9 years agoFix test_doctest in verbose mode
Victor Stinner [Wed, 2 Dec 2015 13:37:17 +0000 (14:37 +0100)]
Fix test_doctest in verbose mode

9 years agoNull merge 3.5, patch was already applied to default (isuse #25177)
Victor Stinner [Wed, 2 Dec 2015 13:36:15 +0000 (14:36 +0100)]
Null merge 3.5, patch was already applied to default (isuse #25177)

9 years agoMerge heads.
Steven D'Aprano [Tue, 1 Dec 2015 14:10:09 +0000 (01:10 +1100)]
Merge heads.

9 years agoIssue #25177: Fixed problem with the mean of very small and very large numbers.
Steven D'Aprano [Tue, 1 Dec 2015 08:59:53 +0000 (19:59 +1100)]
Issue #25177: Fixed problem with the mean of very small and very large numbers.

9 years agoFixed issue #25177, problems with the mean of very small and very large numbers.
Steven D'Aprano [Tue, 1 Dec 2015 06:04:32 +0000 (17:04 +1100)]
Fixed issue #25177, problems with the mean of very small and very large numbers.

9 years agoCloses #25767: Merge with 3.5
Zachary Ware [Tue, 1 Dec 2015 04:57:22 +0000 (22:57 -0600)]
Closes #25767: Merge with 3.5

9 years agoIssue #25767: Merge with 3.4
Zachary Ware [Tue, 1 Dec 2015 04:57:01 +0000 (22:57 -0600)]
Issue #25767: Merge with 3.4

9 years agoIssue #25767: Link to English Wikipedia instead of French.
Zachary Ware [Tue, 1 Dec 2015 04:56:17 +0000 (22:56 -0600)]
Issue #25767: Link to English Wikipedia instead of French.

9 years agoFix for issue #25177 with the mean of very small and very large numbers.
Steven D'Aprano [Tue, 1 Dec 2015 02:48:48 +0000 (13:48 +1100)]
Fix for issue #25177 with the mean of very small and very large numbers.

9 years agoRemoved debugging output of exception raised by __reduce__ method.
Serhiy Storchaka [Mon, 30 Nov 2015 22:40:50 +0000 (00:40 +0200)]
Removed debugging output of exception raised by __reduce__ method.

9 years agoRemoved debugging output of exception raised by __reduce__ method.
Serhiy Storchaka [Mon, 30 Nov 2015 22:39:45 +0000 (00:39 +0200)]
Removed debugging output of exception raised by __reduce__ method.

9 years agoRemoved debugging output of exception raised by __reduce__ method.
Serhiy Storchaka [Mon, 30 Nov 2015 22:39:25 +0000 (00:39 +0200)]
Removed debugging output of exception raised by __reduce__ method.

9 years agoFixed reference leak when read truncated pickle.
Serhiy Storchaka [Mon, 30 Nov 2015 22:20:49 +0000 (00:20 +0200)]
Fixed reference leak when read truncated pickle.

9 years agoFixed reference leak when read truncated pickle.
Serhiy Storchaka [Mon, 30 Nov 2015 22:20:36 +0000 (00:20 +0200)]
Fixed reference leak when read truncated pickle.

9 years agoFixed reference leak when read truncated pickle.
Serhiy Storchaka [Mon, 30 Nov 2015 22:18:23 +0000 (00:18 +0200)]
Fixed reference leak when read truncated pickle.

9 years agoIssue #25718: Fixed copying object with state with boolean value is false.
Serhiy Storchaka [Mon, 30 Nov 2015 15:37:13 +0000 (17:37 +0200)]
Issue #25718: Fixed copying object with state with boolean value is false.

9 years agoIssue #25718: Fixed copying object with state with boolean value is false.
Serhiy Storchaka [Mon, 30 Nov 2015 15:35:40 +0000 (17:35 +0200)]
Issue #25718: Fixed copying object with state with boolean value is false.

9 years agoIssue #25718: Fixed copying object with state with boolean value is false.
Serhiy Storchaka [Mon, 30 Nov 2015 15:20:02 +0000 (17:20 +0200)]
Issue #25718: Fixed copying object with state with boolean value is false.

9 years agoIssue #5319: New Py_FinalizeEx() API to exit with status 120 on failure
Martin Panter [Mon, 30 Nov 2015 03:18:29 +0000 (03:18 +0000)]
Issue #5319: New Py_FinalizeEx() API to exit with status 120 on failure

9 years agoIssue #25764: Preserve subprocess fork exception when preexec_fn used
Martin Panter [Mon, 30 Nov 2015 02:21:41 +0000 (02:21 +0000)]
Issue #25764: Preserve subprocess fork exception when preexec_fn used

Also fix handling of failure to release the import lock.

9 years agoIssue #25761: Added more test cases for testing unpickling broken data.
Serhiy Storchaka [Sun, 29 Nov 2015 11:14:00 +0000 (13:14 +0200)]
Issue #25761: Added more test cases for testing unpickling broken data.
Output raised exception at verbose level 2 (-vv).

9 years agoIssue #25761: Added more test cases for testing unpickling broken data.
Serhiy Storchaka [Sun, 29 Nov 2015 11:13:24 +0000 (13:13 +0200)]
Issue #25761: Added more test cases for testing unpickling broken data.
Output raised exception at verbose level 2 (-vv).

9 years agoIssue #25761: Added more test cases for testing unpickling broken data.
Serhiy Storchaka [Sun, 29 Nov 2015 11:12:10 +0000 (13:12 +0200)]
Issue #25761: Added more test cases for testing unpickling broken data.
Output raised exception at verbose level 2 (-vv).

9 years agoIssue #25754: Allow test_rlcompleter to be run multiple times
Martin Panter [Sat, 28 Nov 2015 22:38:24 +0000 (22:38 +0000)]
Issue #25754: Allow test_rlcompleter to be run multiple times

9 years ago#25485: Add context manager support to Telnet class.
R David Murray [Sat, 28 Nov 2015 17:24:52 +0000 (12:24 -0500)]
#25485: Add context manager support to Telnet class.

Patch by Stéphane Wirtel.

9 years agoIssue #10131: Fixed deep copying of minidom documents. Based on patch
Serhiy Storchaka [Thu, 26 Nov 2015 21:52:34 +0000 (23:52 +0200)]
Issue #10131: Fixed deep copying of minidom documents.  Based on patch
by Marian Ganisin.

9 years agoIssue #10131: Fixed deep copying of minidom documents. Based on patch
Serhiy Storchaka [Thu, 26 Nov 2015 21:50:54 +0000 (23:50 +0200)]
Issue #10131: Fixed deep copying of minidom documents.  Based on patch
by Marian Ganisin.

9 years agoIssue #10131: Fixed deep copying of minidom documents. Based on patch
Serhiy Storchaka [Thu, 26 Nov 2015 21:49:42 +0000 (23:49 +0200)]
Issue #10131: Fixed deep copying of minidom documents.  Based on patch
by Marian Ganisin.