]>
granicus.if.org Git - python/log
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.
Raymond Hettinger [Mon, 20 Jul 2015 04:25:50 +0000 (00:25 -0400)]
Divisions-by-two for a positive Py_ssize_t compile more cleanly with >>1 than /2.
Serhiy Storchaka [Sat, 18 Jul 2015 20:37:31 +0000 (23:37 +0300)]
Issue #24580: Symbolic group references to open group in re patterns now are
explicitly forbidden as well as numeric group references.
Serhiy Storchaka [Sat, 18 Jul 2015 20:27:00 +0000 (23:27 +0300)]
Issue #24580: Symbolic group references to open group in re patterns now are
explicitly forbidden as well as numeric group references.
Serhiy Storchaka [Sat, 18 Jul 2015 20:21:16 +0000 (23:21 +0300)]
Issue #24206: Fixed __eq__ and __ne__ methods of inspect classes.
Serhiy Storchaka [Sat, 18 Jul 2015 20:20:50 +0000 (23:20 +0300)]
Issue #24206: Fixed __eq__ and __ne__ methods of inspect classes.
Serhiy Storchaka [Sat, 18 Jul 2015 20:19:05 +0000 (23:19 +0300)]
Issue #24206: Fixed __eq__ and __ne__ methods of inspect classes.
Serhiy Storchaka [Sat, 18 Jul 2015 20:18:49 +0000 (23:18 +0300)]
Fixed typos in Misc/NEWS.
Serhiy Storchaka [Sat, 18 Jul 2015 20:18:33 +0000 (23:18 +0300)]
Fixed typos in Misc/NEWS.
Benjamin Peterson [Sat, 18 Jul 2015 18:00:19 +0000 (11:00 -0700)]
merge 3.5 (#24655)
Benjamin Peterson [Sat, 18 Jul 2015 18:00:00 +0000 (11:00 -0700)]
merge 3.4 (#24655)
Benjamin Peterson [Sat, 18 Jul 2015 17:59:13 +0000 (10:59 -0700)]
improve style of the convert macro (#24655)
Patch by Brian Cain.
Steve Dower [Sat, 18 Jul 2015 16:29:03 +0000 (09:29 -0700)]
Merge with 3.5
Steve Dower [Sat, 18 Jul 2015 16:28:41 +0000 (09:28 -0700)]
Issue #24642: Improves help text displayed in the Windows installer.
Steve Dower [Sat, 18 Jul 2015 16:28:19 +0000 (09:28 -0700)]
Adds support for an unattend.xml file to control the Windows installer options.
Steve Dower [Sat, 18 Jul 2015 16:27:52 +0000 (09:27 -0700)]
Adds option to only install the launcher.
Steve Dower [Fri, 17 Jul 2015 23:49:24 +0000 (16:49 -0700)]
Issue #24642: Adds installer notes and links to What's New for 3.5
Steve Dower [Fri, 17 Jul 2015 23:48:48 +0000 (16:48 -0700)]
Issue #24642: Adds installer notes and links to What's New for 3.5
Steve Dower [Fri, 17 Jul 2015 18:59:57 +0000 (11:59 -0700)]
Merge with 3.5
Steve Dower [Fri, 17 Jul 2015 18:59:35 +0000 (11:59 -0700)]
Removes my username from the documentation.
Steve Dower [Fri, 17 Jul 2015 18:59:21 +0000 (11:59 -0700)]
Fixes sys.path for applocal environments.
Robert Collins [Fri, 17 Jul 2015 10:00:45 +0000 (22:00 +1200)]
Typo fix in mock.patch.
Patch from https://github.com/testing-cabal/mock/issues/215
Robert Collins [Fri, 17 Jul 2015 10:00:28 +0000 (22:00 +1200)]
Typo fix in mock.patch.
Patch from https://github.com/testing-cabal/mock/issues/215
Robert Collins [Fri, 17 Jul 2015 09:58:36 +0000 (21:58 +1200)]
Typo fix in mock.patch.
Patch from https://github.com/testing-cabal/mock/issues/215
Robert Collins [Fri, 17 Jul 2015 08:10:57 +0000 (20:10 +1200)]
Issue #21750: mock_open.read_data can now be read from each instance, as it
could in Python 3.3.
Robert Collins [Fri, 17 Jul 2015 08:10:23 +0000 (20:10 +1200)]
Issue #21750: mock_open.read_data can now be read from each instance, as it
could in Python 3.3.
Robert Collins [Fri, 17 Jul 2015 08:08:45 +0000 (20:08 +1200)]
Issue #21750: mock_open.read_data can now be read from each instance, as it
could in Python 3.3.
Steve Dower [Thu, 16 Jul 2015 23:34:09 +0000 (16:34 -0700)]
Merge with 3.5
Steve Dower [Thu, 16 Jul 2015 23:33:55 +0000 (16:33 -0700)]
Adds option to install launcher for all users even when installing Python just-for-me. This helps mitigate issues when the incompatible Python 3.4 launcher is installed.
Enables installer builds with the the text marker.
Allows simple installs to include a custom description.
Victor Stinner [Thu, 16 Jul 2015 20:21:11 +0000 (22:21 +0200)]
Merge 3.5
Victor Stinner [Thu, 16 Jul 2015 20:20:19 +0000 (22:20 +0200)]
Merge 3.4
Victor Stinner [Thu, 16 Jul 2015 20:17:31 +0000 (22:17 +0200)]
Closes #23247: Fix a crash in the StreamWriter.reset() of CJK codecs
Raymond Hettinger [Thu, 16 Jul 2015 06:54:02 +0000 (23:54 -0700)]
Issue #24583: Fix crash when set is mutated while being updated.