]>
granicus.if.org Git - python/log
Martin Panter [Thu, 10 Dec 2015 06:47:06 +0000 (06:47 +0000)]
Issue #14285: Do not catch exceptions initializing any ancestor package
The previous fix only handled the case of the parent package of __main__
failing to initialize.
Also make the "Error while finding spec" formatting slightly more appealing,
and document and test that the module name must be absolute.
Serhiy Storchaka [Wed, 9 Dec 2015 17:44:30 +0000 (19:44 +0200)]
Fixed possible leaks in ElementTree parser.
Serhiy Storchaka [Wed, 9 Dec 2015 09:27:07 +0000 (11:27 +0200)]
Fixed possible leak in ElementTree.Element.iter().
Zachary Ware [Wed, 9 Dec 2015 07:53:44 +0000 (01:53 -0600)]
Clarify that only *documentation* bugs should go to docs@python.org
Martin Panter [Tue, 8 Dec 2015 21:54:42 +0000 (21:54 +0000)]
Issue #25820: Remove unused assignment and redundant GDB CLI arguments
These were added in revision
b71cda2f48c6 .
Berker Peksag [Tue, 8 Dec 2015 10:14:50 +0000 (12:14 +0200)]
Issue #21240: Add an abstractmethod directive to mark abstract methods in the docs more explicitly
Martin Panter [Tue, 8 Dec 2015 00:03:20 +0000 (00:03 +0000)]
Issue #25701: Document C API functions that both set and delete objects
Also document that the separate functions that delete objects are preferred;
using PyObject_SetAttr(), _SetAttrString(), and PySequence_SetItem() to
delete is deprecated.
doko@ubuntu.com [Mon, 7 Dec 2015 11:20:44 +0000 (12:20 +0100)]
merge 3.4
doko@ubuntu.com [Mon, 7 Dec 2015 11:19:49 +0000 (12:19 +0100)]
Remove x permissions from Lib/test/test_script_helper.py
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.)
Larry Hastings [Mon, 7 Dec 2015 06:00:57 +0000 (22:00 -0800)]
Merge.
Larry Hastings [Mon, 7 Dec 2015 05:58:18 +0000 (21:58 -0800)]
Merge.
Larry Hastings [Mon, 7 Dec 2015 05:54:29 +0000 (21:54 -0800)]
Post-release fixups for Python 3.4.4rc1.
Larry Hastings [Mon, 7 Dec 2015 05:53:27 +0000 (21:53 -0800)]
Post-release fixups for Python 3.5.1.
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().
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().
Larry Hastings [Sun, 6 Dec 2015 13:53:49 +0000 (05:53 -0800)]
Added tag v3.4.4rc1 for changeset
04f3f725896c
Larry Hastings [Sun, 6 Dec 2015 13:53:35 +0000 (05:53 -0800)]
Version bump for 3.4.4rc1.
Larry Hastings [Sun, 6 Dec 2015 13:51:56 +0000 (05:51 -0800)]
Rebuilt pydoc topics for 3.4.4rc1.
Martin Panter [Sun, 6 Dec 2015 11:12:15 +0000 (11:12 +0000)]
Issue #25717: Add comment explaining why errors are ignored
Ned Deily [Sun, 6 Dec 2015 04:55:33 +0000 (23:55 -0500)]
Issue #25798: merge from 3.4
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.
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.
Larry Hastings [Sun, 6 Dec 2015 01:05:33 +0000 (17:05 -0800)]
Added tag v3.5.1 for changeset
37a07cee5969
Larry Hastings [Sun, 6 Dec 2015 01:05:23 +0000 (17:05 -0800)]
Version bump 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.
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
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.
Benjamin Peterson [Sat, 5 Dec 2015 08:27:33 +0000 (00:27 -0800)]
merge 3.4
Benjamin Peterson [Sat, 5 Dec 2015 08:27:23 +0000 (00:27 -0800)]
merge 3.3
Benjamin Peterson [Sat, 5 Dec 2015 08:27:11 +0000 (00:27 -0800)]
fix reordering
Benjamin Peterson [Sat, 5 Dec 2015 08:24:01 +0000 (00:24 -0800)]
merge 3.4
Benjamin Peterson [Sat, 5 Dec 2015 08:23:11 +0000 (00:23 -0800)]
merge 3.3
Benjamin Peterson [Sat, 5 Dec 2015 08:21:12 +0000 (00:21 -0800)]
merge 3.2
Benjamin Peterson [Sat, 5 Dec 2015 08:17:57 +0000 (00:17 -0800)]
add CVE and issue number
Zachary Ware [Sat, 5 Dec 2015 06:18:29 +0000 (00:18 -0600)]
Issue #25800: Merge with 3.4
Zachary Ware [Sat, 5 Dec 2015 06:16:55 +0000 (00:16 -0600)]
Issue #25800: Fix running test_capi directly
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.
R David Murray [Sat, 5 Dec 2015 04:04:37 +0000 (23:04 -0500)]
Merge: #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.
Martin Panter [Sat, 5 Dec 2015 02:03:42 +0000 (02:03 +0000)]
Issue #25764: Merge subprocess fix from 3.4 into 3.5
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.
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.
Guido van Rossum [Fri, 4 Dec 2015 01:31:24 +0000 (17:31 -0800)]
Add Awaitable, AsyncIterable, AsyncIterator to typing.py.
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().
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().
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.
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.
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.
Larry Hastings [Sun, 6 Dec 2015 00:49:19 +0000 (16:49 -0800)]
Merge.
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.
Serhiy Storchaka [Wed, 2 Dec 2015 22:57:41 +0000 (00:57 +0200)]
Null merge
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.
Victor Stinner [Wed, 2 Dec 2015 13:37:17 +0000 (14:37 +0100)]
Fix test_doctest in verbose mode
Steven D'Aprano [Tue, 1 Dec 2015 14:10:09 +0000 (01:10 +1100)]
Merge heads.
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.
Zachary Ware [Tue, 1 Dec 2015 04:57:01 +0000 (22:57 -0600)]
Issue #25767: Merge with 3.4
Zachary Ware [Tue, 1 Dec 2015 04:56:17 +0000 (22:56 -0600)]
Issue #25767: Link to English Wikipedia instead of French.
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.
Serhiy Storchaka [Mon, 30 Nov 2015 22:39:45 +0000 (00:39 +0200)]
Removed 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.
Serhiy Storchaka [Mon, 30 Nov 2015 22:20:36 +0000 (00:20 +0200)]
Fixed 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.
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.
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.
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.
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).
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).
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.
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.
Martin Panter [Thu, 26 Nov 2015 11:03:50 +0000 (11:03 +0000)]
Issue #22989, #21228: Merge urlopen() doc from 3.4 into 3.5
Martin Panter [Thu, 26 Nov 2015 11:01:58 +0000 (11:01 +0000)]
Issues #22989, #21228: Document HTTP response object for urlopen()
Previous documentation was not clear if the geturl(), info() and getcode()
were valid for HTTP responses. The “msg” attribute is different to the usual
HTTPResponse.msg attribute. Based on patch by Evens Fortuné.
Martin Panter [Thu, 26 Nov 2015 02:36:26 +0000 (02:36 +0000)]
Issue #25622: Use repr(bytes) to avoid BytesWarning
Martin Panter [Thu, 26 Nov 2015 10:26:33 +0000 (10:26 +0000)]
Issue #25622: Merge ctypes test from 3.4 into 3.5
Martin Panter [Thu, 26 Nov 2015 02:36:26 +0000 (02:36 +0000)]
Issue #25622: Rename to PythonValuesTestCase and enable for non-Windows
Serhiy Storchaka [Wed, 25 Nov 2015 18:16:22 +0000 (20:16 +0200)]
Null merge
Serhiy Storchaka [Wed, 25 Nov 2015 18:12:37 +0000 (20:12 +0200)]
Issue #19687: Fixed possible integer overflows in ElementTree.
Based on patch by Christian Heimes.
Serhiy Storchaka [Wed, 25 Nov 2015 16:34:19 +0000 (18:34 +0200)]
Issue #24097: Fixed crash in object.__reduce__() if slot name is freed inside
__getattr__. Original patch by Antoine Pitrou.
Serhiy Storchaka [Wed, 25 Nov 2015 16:33:29 +0000 (18:33 +0200)]
Issue #24097: Fixed crash in object.__reduce__() if slot name is freed inside
__getattr__. Original patch by Antoine Pitrou.
Serhiy Storchaka [Wed, 25 Nov 2015 15:12:02 +0000 (17:12 +0200)]
Issue #25616: Tests for OrderedDict are extracted from test_collections
into separate file test_ordered_dict.
Serhiy Storchaka [Wed, 25 Nov 2015 15:09:01 +0000 (17:09 +0200)]
Issue #25616: Tests for OrderedDict are extracted from test_collections
into separate file test_ordered_dict.
Serhiy Storchaka [Wed, 25 Nov 2015 14:12:30 +0000 (16:12 +0200)]
Issue #25697: Fixed rough alphabetical order in Misc/ACKS.
Serhiy Storchaka [Wed, 25 Nov 2015 14:11:29 +0000 (16:11 +0200)]
Issue #25697: Fixed rough alphabetical order in Misc/ACKS.
Serhiy Storchaka [Wed, 25 Nov 2015 13:52:04 +0000 (15:52 +0200)]
Issue #24731: Fixed crash on converting objects with special methods
__bytes__, __trunc__, and __float__ returning instances of subclasses of
bytes, int, and float to subclasses of bytes, int, and float correspondingly.
Serhiy Storchaka [Wed, 25 Nov 2015 13:47:01 +0000 (15:47 +0200)]
Issue #24731: Fixed crash on converting objects with special methods
__bytes__, __trunc__, and __float__ returning instances of subclasses of
bytes, int, and float to subclasses of bytes, int, and float correspondingly.
Serhiy Storchaka [Wed, 25 Nov 2015 13:06:49 +0000 (15:06 +0200)]
Issue #25725: Fixed a reference leak in pickle.loads() when unpickling
invalid data including tuple instructions.
Serhiy Storchaka [Wed, 25 Nov 2015 13:01:53 +0000 (15:01 +0200)]
Issue #25725: Fixed a reference leak in pickle.loads() when unpickling
invalid data including tuple instructions.
Vinay Sajip [Tue, 24 Nov 2015 23:22:48 +0000 (23:22 +0000)]
Issue #25508: Merged documentation fix from 3.4.
Vinay Sajip [Tue, 24 Nov 2015 23:21:15 +0000 (23:21 +0000)]
Issue #25508: Clarify documentation on LogRecord args attribute.
Martin Panter [Tue, 24 Nov 2015 22:57:46 +0000 (22:57 +0000)]
Issue #25576: Merge www-form-urlencoded doc from 3.4 into 3.5
Martin Panter [Tue, 24 Nov 2015 22:33:18 +0000 (22:33 +0000)]
Issue #25576: Remove application/x-www-form-urlencoded charset advice
No charset parameter is standardized for this Content-Type value. Also
clarify that urlencode() outputs ASCII.
Raymond Hettinger [Tue, 24 Nov 2015 06:18:55 +0000 (22:18 -0800)]
Issue #25700: Clarify that namedtuple property docstrings became writeable in 3.5
Raymond Hettinger [Tue, 24 Nov 2015 05:03:09 +0000 (21:03 -0800)]
Fix non-ascii character
Raymond Hettinger [Tue, 24 Nov 2015 04:43:28 +0000 (20:43 -0800)]
Add a missing docstring
Martin Panter [Tue, 24 Nov 2015 00:10:45 +0000 (00:10 +0000)]
Issue #25663: Merge rlcompleter fix from 3.4 into 3.5
Martin Panter [Mon, 23 Nov 2015 23:50:26 +0000 (23:50 +0000)]
Issue #25663: Make rlcompleter avoid duplicate global names
Serhiy Storchaka [Mon, 23 Nov 2015 14:43:54 +0000 (16:43 +0200)]
Issue #25706: Fixed markup in the documentation.
Serhiy Storchaka [Mon, 23 Nov 2015 14:43:05 +0000 (16:43 +0200)]
Issue #25706: Fixed markup in the documentation.
Serhiy Storchaka [Mon, 23 Nov 2015 13:45:12 +0000 (15:45 +0200)]
Issue #25688: Fixed file leak in ElementTree.iterparse() raising an error.
Serhiy Storchaka [Mon, 23 Nov 2015 13:44:03 +0000 (15:44 +0200)]
Issue #25688: Fixed file leak in ElementTree.iterparse() raising an error.