]>
granicus.if.org Git - python/log
Robert Collins [Sat, 25 Jul 2015 18:50:51 +0000 (06:50 +1200)]
Issue #24710: Use cls in TracebackException.from_exception.
Minor cleanup patch from Berker Peksag.
Robert Collins [Sat, 25 Jul 2015 18:43:13 +0000 (06:43 +1200)]
- Issue #2091: error correctly on open() with mode 'U' and '+'
open() accepted a 'U' mode string containing '+', but 'U' can only be used with
'r'. Patch from Jeff Balogh and John O'Connor.
Berker Peksag [Sat, 25 Jul 2015 11:55:32 +0000 (14:55 +0300)]
Issue #21697: shutil.copytree() now correctly handles symbolic links that point to directories.
Patch by Eduardo Seabra and Thomas Kluyver.
Berker Peksag [Sat, 25 Jul 2015 11:55:06 +0000 (14:55 +0300)]
Issue #21697: shutil.copytree() now correctly handles symbolic links that point to directories.
Patch by Eduardo Seabra and Thomas Kluyver.
Berker Peksag [Sat, 25 Jul 2015 11:53:48 +0000 (14:53 +0300)]
Issue #21697: shutil.copytree() now correctly handles symbolic links that point to directories.
Patch by Eduardo Seabra and Thomas Kluyver.
Berker Peksag [Sat, 25 Jul 2015 11:27:32 +0000 (14:27 +0300)]
Issue #24420: Fix documentation regression introduced by
f0a00ee094ff .
These functions accept same arguments as subprocess.Popen().
Patch by Martin Panter.
Berker Peksag [Sat, 25 Jul 2015 11:27:07 +0000 (14:27 +0300)]
Issue #24420: Fix documentation regression introduced by
f0a00ee094ff .
These functions accept same arguments as subprocess.Popen().
Patch by Martin Panter.
Berker Peksag [Sat, 25 Jul 2015 11:14:50 +0000 (14:14 +0300)]
Issue #24279: Update test_base64 to use test.support.script_helper.
Initial patch by Christie.
Berker Peksag [Sat, 25 Jul 2015 11:14:24 +0000 (14:14 +0300)]
Issue #24279: Update test_base64 to use test.support.script_helper.
Initial patch by Christie.
Berker Peksag [Sat, 25 Jul 2015 10:03:30 +0000 (13:03 +0300)]
Issue #24713: Use importlib.reload() in import reference document.
imp.reload() was deprecated in Python 3.4 and changed to call
importlib.reload().
Patch by Petr Viktorin.
Berker Peksag [Sat, 25 Jul 2015 10:03:08 +0000 (13:03 +0300)]
Issue #24713: Use importlib.reload() in import reference document.
imp.reload() was deprecated in Python 3.4 and changed to call
importlib.reload().
Patch by Petr Viktorin.
Berker Peksag [Sat, 25 Jul 2015 10:02:37 +0000 (13:02 +0300)]
Issue #24713: Use importlib.reload() in import reference document.
imp.reload() was deprecated in Python 3.4 and changed to call
importlib.reload().
Patch by Petr Viktorin.
Serhiy Storchaka [Sat, 25 Jul 2015 09:11:00 +0000 (12:11 +0300)]
Issue #14373: Fixed segmentation fault when gc.collect() is called during
constructing lru_cache (C implementation).
Serhiy Storchaka [Sat, 25 Jul 2015 09:10:21 +0000 (12:10 +0300)]
Issue #14373: Fixed segmentation fault when gc.collect() is called during
constructing lru_cache (C implementation).
Victor Stinner [Sat, 25 Jul 2015 00:45:18 +0000 (02:45 +0200)]
Merge 3.5 (asyncio)
Victor Stinner [Sat, 25 Jul 2015 00:43:31 +0000 (02:43 +0200)]
Merge 3.4
Victor Stinner [Sat, 25 Jul 2015 00:40:40 +0000 (02:40 +0200)]
asyncio: sync with github
* Fix ResourceWarning warnings in test_streams
* Return True from StreamReader.eof_received() to fix
http://bugs.python.org/issue24539 (but still needs a unittest).
Add StreamReader.__repr__() for easy debugging.
* remove unused imports
* Issue #234: Drop JoinableQueue on Python 3.5+
Victor Stinner [Sat, 25 Jul 2015 00:23:21 +0000 (02:23 +0200)]
asyncio: Add asyncio.compat module
Move compatibility helpers for the different Python versions to a new
asyncio.compat module.
Ned Deily [Fri, 24 Jul 2015 23:25:30 +0000 (16:25 -0700)]
Issue #24603: merge from 3.5
Ned Deily [Fri, 24 Jul 2015 23:24:47 +0000 (16:24 -0700)]
Issue #24603: merge from 3.4
Ned Deily [Fri, 24 Jul 2015 23:21:18 +0000 (16:21 -0700)]
Issue #24603: Update the OS X 32-bit installer build to use OpenSSL 1.0.2d.
Berker Peksag [Fri, 24 Jul 2015 14:37:27 +0000 (17:37 +0300)]
Issue #24695: Fix a regression in traceback.print_exception()
If exc_traceback is None we shouldn't print a traceback header
like described in the documentation.
Berker Peksag [Fri, 24 Jul 2015 14:36:21 +0000 (17:36 +0300)]
Issue #24695: Fix a regression in traceback.print_exception()
If exc_traceback is None we shouldn't print a traceback header
like described in the documentation.
Serhiy Storchaka [Fri, 24 Jul 2015 06:07:12 +0000 (09:07 +0300)]
Issue #24620: Random.setstate() now validates the value of state last element.
Serhiy Storchaka [Fri, 24 Jul 2015 06:05:59 +0000 (09:05 +0300)]
Issue #24620: Random.setstate() now validates the value of state last element.
Serhiy Storchaka [Fri, 24 Jul 2015 06:02:53 +0000 (09:02 +0300)]
Issue #24620: Random.setstate() now validates the value of state last element.
Raymond Hettinger [Fri, 24 Jul 2015 04:43:44 +0000 (00:43 -0400)]
Issue #24300: Minor refactoring.
Meador Inge [Fri, 24 Jul 2015 03:52:49 +0000 (22:52 -0500)]
Issue #24485: Function source inspection fails on closures.
The fix for Issue #21217 introduced a regression that caused
`inspect.getsource` to return incorrect results on nested
functions. The root cause of the regression was due to
switching the implementation to analyze the underlying
bytecode instead of the source code.
This commit switches things back to analyzing the source code
in a more complete way. The original bug and the regression
are both fixed by the new source code analysis.
Meador Inge [Fri, 24 Jul 2015 03:49:37 +0000 (22:49 -0500)]
Issue #24485: Function source inspection fails on closures.
The fix for Issue #21217 introduced a regression that caused
`inspect.getsource` to return incorrect results on nested
functions. The root cause of the regression was due to
switching the implementation to analyze the underlying
bytecode instead of the source code.
This commit switches things back to analyzing the source code
in a more complete way. The original bug and the regression
are both fixed by the new source code analysis.
Robert Collins [Thu, 23 Jul 2015 16:10:49 +0000 (04:10 +1200)]
Add versionchanged information for mock_open.
Robert Collins [Thu, 23 Jul 2015 16:10:27 +0000 (04:10 +1200)]
Add versionchanged information for mock_open.
Robert Collins [Thu, 23 Jul 2015 16:09:59 +0000 (04:09 +1200)]
Add versionchanged information for mock_open.
Robert Collins [Thu, 23 Jul 2015 15:49:01 +0000 (03:49 +1200)]
Issue #21750: Further fixup to be styled like other mock APIs.
Robert Collins [Thu, 23 Jul 2015 15:48:45 +0000 (03:48 +1200)]
Issue #21750: Further fixup to be styled like other mock APIs.
Robert Collins [Thu, 23 Jul 2015 15:48:20 +0000 (03:48 +1200)]
Issue #21750: Further fixup to be styled like other mock APIs.
Yury Selivanov [Thu, 23 Jul 2015 14:51:34 +0000 (17:51 +0300)]
Sync NEWS (re removed inspect.getargspec and inspect.getmoduleinfo)
Yury Selivanov [Thu, 23 Jul 2015 14:49:00 +0000 (17:49 +0300)]
Issue #13248: Remove inspect.getmoduleinfo() from 3.6 (deprecated in 3.3)
Yury Selivanov [Thu, 23 Jul 2015 14:36:02 +0000 (17:36 +0300)]
Issue #13248: Remove inspect.getargspec from 3.6 (deprecated from 3.0)
Yury Selivanov [Thu, 23 Jul 2015 14:10:24 +0000 (17:10 +0300)]
Merge 3.5 (issues #21217, #24485).
Yury Selivanov [Thu, 23 Jul 2015 14:10:00 +0000 (17:10 +0300)]
Issue #24485: Revert backwards compatibility breaking changes of #21217.
Yury Selivanov [Thu, 23 Jul 2015 12:58:57 +0000 (15:58 +0300)]
Merge 3.5 (Issue #24692)
Yury Selivanov [Thu, 23 Jul 2015 12:58:37 +0000 (15:58 +0300)]
Issue #24692: Add more tests for types.coroutine
Yury Selivanov [Thu, 23 Jul 2015 12:02:25 +0000 (15:02 +0300)]
Merge 3.5 (Issue #24619)
Yury Selivanov [Thu, 23 Jul 2015 12:01:58 +0000 (15:01 +0300)]
Issue #24619: Simplify async/await tokenization.
This commit simplifies async/await tokenization in tokenizer.c,
tokenize.py & lib2to3/tokenize.py. Previous solution was to keep
a stack of async-def & def blocks, whereas the new approach is just
to remember position of the outermost async-def block.
This change won't bring any parsing performance improvements, but
it makes the code much easier to read and validate.
Raymond Hettinger [Thu, 23 Jul 2015 11:42:23 +0000 (07:42 -0400)]
Issue #24681: Move the store of so->table to the code block where it is used.
Yury Selivanov [Thu, 23 Jul 2015 06:11:13 +0000 (09:11 +0300)]
Merge 3.5 (Issue #24687)
Yury Selivanov [Thu, 23 Jul 2015 06:10:44 +0000 (09:10 +0300)]
Issue #24687: Plug refleak on SyntaxError in function parameters annotations.
Yury Selivanov [Thu, 23 Jul 2015 05:55:07 +0000 (08:55 +0300)]
Merge 3.5 (Issue #24688)
Yury Selivanov [Thu, 23 Jul 2015 05:54:35 +0000 (08:54 +0300)]
Issue #24688: ast.get_docstring() for 'async def' functions.
Robert Collins [Wed, 22 Jul 2015 20:09:05 +0000 (08:09 +1200)]
Remove line numbers from unittest in susp-ignored.
Robert Collins [Wed, 22 Jul 2015 20:08:59 +0000 (08:08 +1200)]
Remove line numbers from unittest in susp-ignored.
Robert Collins [Wed, 22 Jul 2015 20:08:38 +0000 (08:08 +1200)]
Remove line numbers from unittest in susp-ignored.
Robert Collins [Wed, 22 Jul 2015 19:32:39 +0000 (07:32 +1200)]
Merge unittest docs suspicious fix.
Robert Collins [Wed, 22 Jul 2015 19:32:27 +0000 (07:32 +1200)]
Merge unittest docs suspicious fix.
Robert Collins [Wed, 22 Jul 2015 19:07:07 +0000 (07:07 +1200)]
Fix suspicious after the unittest docs change.
Robert Collins [Wed, 22 Jul 2015 18:40:13 +0000 (06:40 +1200)]
Issue #22153: Improve unittest docs. Patch from Martin Panter and evilzero.
Robert Collins [Wed, 22 Jul 2015 18:39:06 +0000 (06:39 +1200)]
Issue #22153: Improve unittest docs. Patch from Martin Panter and evilzero.
Robert Collins [Wed, 22 Jul 2015 18:37:26 +0000 (06:37 +1200)]
Issue #22153: Improve unittest docs. Patch from Martin Panter and evilzero.
Robert Collins [Wed, 22 Jul 2015 18:19:18 +0000 (06:19 +1200)]
Issue #13938: 2to3 converts StringTypes to a tuple. Patch from Mark Hammond.
Berker Peksag [Wed, 22 Jul 2015 16:26:09 +0000 (19:26 +0300)]
Issue #23440: Improve http.server.SimpleHTTPRequestHandler tests
* Tests that index.html is served, rather than an automatic directory listing
* Tests that there is no extra data sent after the response
Patch by Martin Panter.
Berker Peksag [Wed, 22 Jul 2015 16:25:37 +0000 (19:25 +0300)]
Issue #23440: Improve http.server.SimpleHTTPRequestHandler tests
* Tests that index.html is served, rather than an automatic directory listing
* Tests that there is no extra data sent after the response
Patch by Martin Panter.
Robert Collins [Wed, 22 Jul 2015 14:57:56 +0000 (02:57 +1200)]
Issue #8585: improved tests for zipimporter2. Patch from Mark Lawrence.
Yury Selivanov [Wed, 22 Jul 2015 11:49:13 +0000 (14:49 +0300)]
Merge 3.5 (Issue #24619)
Yury Selivanov [Wed, 22 Jul 2015 11:48:57 +0000 (14:48 +0300)]
Issue #24619: More tests; fix nits in compiler.c
Yury Selivanov [Wed, 22 Jul 2015 10:38:18 +0000 (13:38 +0300)]
Merge 3.5 (Issue #24619)
Yury Selivanov [Wed, 22 Jul 2015 10:33:45 +0000 (13:33 +0300)]
Issue #24619: New approach for tokenizing async/await.
This commit fixes how one-line async-defs and defs are tracked
by tokenizer. It allows to correctly parse invalid code such
as:
>>> async def f():
... def g(): pass
... async = 10
and valid code such as:
>>> async def f():
... async def g(): pass
... await z
As a consequence, is is now possible to have one-line
'async def foo(): await ..' functions:
>>> async def foo(): return await bar()
Zachary Ware [Wed, 22 Jul 2015 04:28:28 +0000 (23:28 -0500)]
Issue #24603: Merge with 3.5
Zachary Ware [Wed, 22 Jul 2015 04:27:08 +0000 (23:27 -0500)]
Issue #24603: Update the Windows build to use OpenSSL 1.0.2d
Zachary Ware [Wed, 22 Jul 2015 04:20:47 +0000 (23:20 -0500)]
Issue #24603: Update the Windows build to use OpenSSL 1.0.2d
Zachary Ware [Wed, 22 Jul 2015 03:50:54 +0000 (22:50 -0500)]
Merge with 3.5
Zachary Ware [Wed, 22 Jul 2015 03:50:43 +0000 (22:50 -0500)]
Merge with 3.4
Zachary Ware [Wed, 22 Jul 2015 03:50:29 +0000 (22:50 -0500)]
rstlint: explicitly open files as UTF8
Zachary Ware [Wed, 22 Jul 2015 03:34:48 +0000 (22:34 -0500)]
Closes #24680: Merge with 3.5
Zachary Ware [Wed, 22 Jul 2015 03:34:16 +0000 (22:34 -0500)]
Issue #24680: Merge with 3.4
Zachary Ware [Wed, 22 Jul 2015 03:33:16 +0000 (22:33 -0500)]
Issue #24680: Remove random backslash. Patch by cdz.
Serhiy Storchaka [Tue, 21 Jul 2015 19:41:39 +0000 (22:41 +0300)]
Issue #24678: Fixed raiseExceptions typo in logging tests.
Patch by Jacek Kołodziej.
Serhiy Storchaka [Tue, 21 Jul 2015 19:40:18 +0000 (22:40 +0300)]
Issue #24678: Fixed raiseExceptions typo in logging tests.
Patch by Jacek Kołodziej.
Serhiy Storchaka [Tue, 21 Jul 2015 19:39:26 +0000 (22:39 +0300)]
Issue #24678: Fixed raiseExceptions typo in logging tests.
Patch by Jacek Kołodziej.
Yury Selivanov [Tue, 21 Jul 2015 16:04:22 +0000 (19:04 +0300)]
Merge 3.5 (Issue #24669)
Yury Selivanov [Tue, 21 Jul 2015 16:01:52 +0000 (19:01 +0300)]
Issue #24669: Fix inspect.getsource() for 'async def' functions.
Patch by Kai Groner.
Ethan Furman [Tue, 21 Jul 2015 07:54:19 +0000 (00:54 -0700)]
Close issue6549: minor ttk.Style fixes
Berker Peksag [Tue, 21 Jul 2015 06:30:09 +0000 (09:30 +0300)]
Use setUpClass and tearDownClass correctly in test_os.
According to the documentation, they must be decorated as classmethods.
Berker Peksag [Tue, 21 Jul 2015 06:29:48 +0000 (09:29 +0300)]
Use setUpClass and tearDownClass correctly in test_os.
According to the documentation, they must be decorated as classmethods.
Steve Dower [Tue, 21 Jul 2015 04:35:38 +0000 (21:35 -0700)]
Fixes argument handling in build.bat and HHC search
Steve Dower [Tue, 21 Jul 2015 04:34:45 +0000 (21:34 -0700)]
Fixes argument handling in build.bat and HHC search
Steve Dower [Tue, 21 Jul 2015 02:53:26 +0000 (19:53 -0700)]
Updates get_wix.py for newer version of WiX.
Steve Dower [Tue, 21 Jul 2015 02:52:15 +0000 (19:52 -0700)]
Updates get_wix.py for newer version of WiX.
Terry Jan Reedy [Mon, 20 Jul 2015 21:45:38 +0000 (17:45 -0400)]
Merge with 3.5
Terry Jan Reedy [Mon, 20 Jul 2015 21:45:22 +0000 (17:45 -0400)]
Merge with 3.4
Terry Jan Reedy [Mon, 20 Jul 2015 21:44:59 +0000 (17:44 -0400)]
Issue #20792: Expand idle_test.test_pathbowser. Tweak file to not copy twice.
Original patch by Saimadhav Heblikar.
Serhiy Storchaka [Mon, 20 Jul 2015 19:58:29 +0000 (22:58 +0300)]
Issue #23573: Restored optimization of bytes.rfind() and bytearray.rfind()
for single-byte argument on Linux.
Serhiy Storchaka [Mon, 20 Jul 2015 19:58:02 +0000 (22:58 +0300)]
Issue #23573: Restored optimization of bytes.rfind() and bytearray.rfind()
for single-byte argument on Linux.
Victor Stinner [Mon, 20 Jul 2015 15:13:28 +0000 (17:13 +0200)]
Merge 3.5
Victor Stinner [Mon, 20 Jul 2015 15:13:16 +0000 (17:13 +0200)]
Merge 3.4
Victor Stinner [Mon, 20 Jul 2015 15:12:57 +0000 (17:12 +0200)]
Issue #24675: Avoid DeprecationWarning in test_os
Patch written by Martin Panter. I replace tearDown() with addCleanup().
Raymond Hettinger [Mon, 20 Jul 2015 11:34:05 +0000 (07:34 -0400)]
Issue #24583: Consolidate previous set object updates into a single function
with a single entry point, named exit points at the bottom, more self-evident
refcount adjustments, and a comment describing why the pre-increment was
necessary at all.
Raymond Hettinger [Mon, 20 Jul 2015 07:11:16 +0000 (03:11 -0400)]
merge
Raymond Hettinger [Mon, 20 Jul 2015 07:10:48 +0000 (03:10 -0400)]
merge
Raymond Hettinger [Mon, 20 Jul 2015 07:09:22 +0000 (03:09 -0400)]
Issue #19663: Improve error message for defaultdict.
Raymond Hettinger [Mon, 20 Jul 2015 05:23:32 +0000 (01:23 -0400)]
Issue #24583: Fix refcount leak.