]>
granicus.if.org Git - python/log
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:37 +0000 (15:58 +0300)]
Issue #24692: Add more tests for types.coroutine
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.
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:54:35 +0000 (08:54 +0300)]
Issue #24688: ast.get_docstring() for 'async def' functions.
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: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: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.
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.
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: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: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: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: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: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:01:52 +0000 (19:01 +0300)]
Issue #24669: Fix inspect.getsource() for 'async def' functions.
Patch by Kai Groner.
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:34:45 +0000 (21:34 -0700)]
Fixes argument handling in build.bat and HHC search
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: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: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: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 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.
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: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:33 +0000 (23:18 +0300)]
Fixed typos in Misc/NEWS.
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: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: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: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: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: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: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: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:50:14 +0000 (23:50 -0700)]
Issue #24583: Fix crash when set is mutated while being updated.
Serhiy Storchaka [Wed, 15 Jul 2015 19:11:36 +0000 (22:11 +0300)]
Issue #24631: Fixed regression in the timeit modulu with multyline setup.
Robert Collins [Tue, 14 Jul 2015 23:49:43 +0000 (11:49 +1200)]
- Issue #18622: unittest.mock.mock_open().reset_mock would recurse infinitely.
Patch from Nicola Palumbo and Laurent De Buyst.
Robert Collins [Tue, 14 Jul 2015 23:42:28 +0000 (11:42 +1200)]
- Issue #18622: unittest.mock.mock_open().reset_mock would recurse infinitely.
Patch from Nicola Palumbo and Laurent De Buyst.
Robert Collins [Tue, 14 Jul 2015 01:51:40 +0000 (13:51 +1200)]
Issue #23661: unittest.mock side_effects can now be exceptions again.
This was a regression vs Python 3.4. Patch from Ignacio Rossi
Benjamin Peterson [Sat, 11 Jul 2015 23:33:39 +0000 (16:33 -0700)]
merge 3.4 (#24610)
Benjamin Peterson [Sat, 11 Jul 2015 23:32:55 +0000 (16:32 -0700)]
fix normalization example (closes #24610)
Patch by Chris Angelico
Serhiy Storchaka [Fri, 10 Jul 2015 19:26:08 +0000 (22:26 +0300)]
Issue #24608: chunk.Chunk.read() now always returns bytes, not str.
Serhiy Storchaka [Fri, 10 Jul 2015 19:24:47 +0000 (22:24 +0300)]
Issue #24608: chunk.Chunk.read() now always returns bytes, not str.
Serhiy Storchaka [Fri, 10 Jul 2015 19:13:52 +0000 (22:13 +0300)]
Corrected docstrings of audio modules. writeframes() accepts bytes, not str.
Serhiy Storchaka [Fri, 10 Jul 2015 19:13:40 +0000 (22:13 +0300)]
Corrected docstrings of audio modules. writeframes() accepts bytes, not str.
Victor Stinner [Thu, 9 Jul 2015 21:14:50 +0000 (23:14 +0200)]
Merge 3.4 (asyncio)
Victor Stinner [Thu, 9 Jul 2015 21:13:50 +0000 (23:13 +0200)]
asyncio: sync with github asyncio
* queues: get coroutine from asyncio.coroutines, not from asyncio.tasks
* tets: replace tulip with asyncio in comments
Barry Warsaw [Thu, 9 Jul 2015 14:39:55 +0000 (10:39 -0400)]
- Issue #15014: SMTP.auth() and SMTP.login() now support RFC 4954's optional
initial-response argument to the SMTP AUTH command.
Steve Dower [Thu, 9 Jul 2015 05:43:48 +0000 (22:43 -0700)]
Fixes installer rebuild, snapshot versioning, and the README.txt file.
Steve Dower [Thu, 9 Jul 2015 03:18:44 +0000 (20:18 -0700)]
Issue #24585: Enables build-to-build upgrades that preserve settings.
Rather than using Burn "Persisted" variables we now add registry keys for each added feature. These can be detected by the installer regardless of which version installed them, and we use this for Modify and Upgrade. In particular, Upgrades can't access the Persisted variables, but can find well-known registry keys.
There are also some changes to the bootstrap app to properly handle upgrades.
Finally, a few minor improvements to the Windows build to keep things tidier.
Serhiy Storchaka [Wed, 8 Jul 2015 20:02:18 +0000 (23:02 +0300)]
Added regression test for issue24581.
Serhiy Storchaka [Wed, 8 Jul 2015 19:58:55 +0000 (22:58 +0300)]
Added regression test for issue24581.
Steve Dower [Wed, 8 Jul 2015 03:47:28 +0000 (20:47 -0700)]
Closes 24584: Windows installer incorrectly detects CRT version on Windows 10
Zachary Ware [Tue, 7 Jul 2015 05:34:25 +0000 (00:34 -0500)]
Update ignored suspicious markup
Zachary Ware [Tue, 7 Jul 2015 05:11:36 +0000 (00:11 -0500)]
Fix versionchanged directives
Zachary Ware [Tue, 7 Jul 2015 05:07:25 +0000 (00:07 -0500)]
Fix usage of the default role.
Zachary Ware [Tue, 7 Jul 2015 05:00:43 +0000 (00:00 -0500)]
Merge 3.4
Zachary Ware [Tue, 7 Jul 2015 04:58:12 +0000 (23:58 -0500)]
Fix usage of the default role.
The changes to Doc/library/unittest.mock.rst are almost entirely a
selective backport of the 3.5 page.
Zachary Ware [Tue, 7 Jul 2015 04:30:16 +0000 (23:30 -0500)]
Merge 3.4
Zachary Ware [Tue, 7 Jul 2015 04:27:15 +0000 (23:27 -0500)]
Fix suspicious markup
Serhiy Storchaka [Mon, 6 Jul 2015 17:02:50 +0000 (20:02 +0300)]
Corrected empty lines in Misc/NEWS.
Serhiy Storchaka [Mon, 6 Jul 2015 16:58:11 +0000 (19:58 +0300)]
Corrected empty lines in Misc/NEWS.
Benjamin Peterson [Mon, 6 Jul 2015 16:28:40 +0000 (11:28 -0500)]
merge 3.4
Benjamin Peterson [Mon, 6 Jul 2015 16:28:07 +0000 (11:28 -0500)]
'not' is very important here
Benjamin Peterson [Mon, 6 Jul 2015 14:41:07 +0000 (09:41 -0500)]
merge 3.4
Benjamin Peterson [Mon, 6 Jul 2015 14:40:43 +0000 (09:40 -0500)]
tighten warning
Serhiy Storchaka [Mon, 6 Jul 2015 11:03:01 +0000 (14:03 +0300)]
Issue #18684: Fixed reading out of the buffer in the re module.
Serhiy Storchaka [Mon, 6 Jul 2015 10:58:33 +0000 (13:58 +0300)]
Issue #18684: Fixed reading out of the buffer in the re module.
Lars Gustäbel [Mon, 6 Jul 2015 07:29:41 +0000 (09:29 +0200)]
Merge with 3.4: Issue #24259: tarfile now raises a ReadError if an archive is truncated inside a data segment.
Lars Gustäbel [Mon, 6 Jul 2015 07:27:24 +0000 (09:27 +0200)]
Issue #24259: tarfile now raises a ReadError if an archive is truncated inside a data segment.
Ned Deily [Sun, 5 Jul 2015 18:45:31 +0000 (11:45 -0700)]
Issue #24540: merger from 3.4
Ned Deily [Sun, 5 Jul 2015 18:45:01 +0000 (11:45 -0700)]
Issue #24540: fix typo in json.dumps docstring
Larry Hastings [Sun, 5 Jul 2015 17:31:09 +0000 (10:31 -0700)]
Merge with ongoing work in 3.5 branch.
Larry Hastings [Sun, 5 Jul 2015 17:26:00 +0000 (10:26 -0700)]
Post-release fixes for Python 3.5.0b3.
Benjamin Peterson [Sun, 5 Jul 2015 15:39:13 +0000 (10:39 -0500)]
merge heads
Benjamin Peterson [Sun, 5 Jul 2015 15:37:25 +0000 (10:37 -0500)]
set items in dict displays from left to right (closes #24569)
Benjamin Peterson [Sun, 5 Jul 2015 15:37:00 +0000 (10:37 -0500)]
add news section for next beta
Steve Dower [Sun, 5 Jul 2015 14:24:17 +0000 (07:24 -0700)]
Fixes rebuild of strings for Windows installer.
Benjamin Peterson [Sun, 5 Jul 2015 03:53:37 +0000 (22:53 -0500)]
merge 3.4
Benjamin Peterson [Sun, 5 Jul 2015 03:53:11 +0000 (22:53 -0500)]
merge heads
Benjamin Peterson [Sun, 5 Jul 2015 03:52:33 +0000 (22:52 -0500)]
merge heads
Larry Hastings [Sun, 5 Jul 2015 02:13:23 +0000 (19:13 -0700)]
Added tag v3.5.0b3 for changeset
0035fcd9b924