Commit graph

90162 commits

Author SHA1 Message Date
Robert Collins
6cd5635333 Merge unittest docs suspicious fix. 2015-07-23 07:32:27 +12:00
Robert Collins
38de40db00 Issue #22153: Improve unittest docs. Patch from Martin Panter and evilzero. 2015-07-23 06:39:06 +12:00
Berker Peksag
b5754321d0 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.
2015-07-22 19:25:37 +03:00
Yury Selivanov
b7666a3093 Issue #24619: More tests; fix nits in compiler.c 2015-07-22 14:48:57 +03:00
Yury Selivanov
8fb307cd65 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()
2015-07-22 13:33:45 +03:00
Zachary Ware
80acc3ebbc Issue #24603: Update the Windows build to use OpenSSL 1.0.2d 2015-07-21 23:27:08 -05:00
Zachary Ware
d7841ef48b Merge with 3.4 2015-07-21 22:50:43 -05:00
Zachary Ware
c8115b8ba5 Issue #24680: Merge with 3.4 2015-07-21 22:34:16 -05:00
Serhiy Storchaka
296b347db7 Issue #24678: Fixed raiseExceptions typo in logging tests.
Patch by Jacek Kołodziej.
2015-07-21 22:40:18 +03:00
Yury Selivanov
e4e811d65b Issue #24669: Fix inspect.getsource() for 'async def' functions.
Patch by Kai Groner.
2015-07-21 19:01:52 +03:00
Berker Peksag
036a71bf25 Use setUpClass and tearDownClass correctly in test_os.
According to the documentation, they must be decorated as classmethods.
2015-07-21 09:29:48 +03:00
Steve Dower
e1f6805776 Fixes argument handling in build.bat and HHC search 2015-07-20 21:34:45 -07:00
Steve Dower
c79dbc7941 Updates get_wix.py for newer version of WiX. 2015-07-20 19:52:15 -07:00
Terry Jan Reedy
fd580cbd17 Merge with 3.4 2015-07-20 17:45:22 -04:00
Serhiy Storchaka
d92d4efe3d Issue #23573: Restored optimization of bytes.rfind() and bytearray.rfind()
for single-byte argument on Linux.
2015-07-20 22:58:02 +03:00
Victor Stinner
3d0b8422bc Merge 3.4 2015-07-20 17:13:16 +02:00
Raymond Hettinger
043e800860 merge 2015-07-20 03:10:48 -04:00
Serhiy Storchaka
485407ce1e Issue #24580: Symbolic group references to open group in re patterns now are
explicitly forbidden as well as numeric group references.
2015-07-18 23:27:00 +03:00
Serhiy Storchaka
2489bd5d4e Issue #24206: Fixed __eq__ and __ne__ methods of inspect classes. 2015-07-18 23:20:50 +03:00
Serhiy Storchaka
f12e3e2b69 Fixed typos in Misc/NEWS. 2015-07-18 23:18:33 +03:00
Benjamin Peterson
0544cf0eb9 merge 3.4 (#24655) 2015-07-18 11:00:00 -07:00
Steve Dower
61ca207090 Issue #24642: Improves help text displayed in the Windows installer. 2015-07-18 09:28:41 -07:00
Steve Dower
2434aa24e0 Adds support for an unattend.xml file to control the Windows installer options. 2015-07-18 09:28:19 -07:00
Steve Dower
a3d03ec6b1 Adds option to only install the launcher. 2015-07-18 09:27:52 -07:00
Steve Dower
313fbf4548 Issue #24642: Adds installer notes and links to What's New for 3.5 2015-07-17 16:48:48 -07:00
Steve Dower
af75a54193 Removes my username from the documentation. 2015-07-17 11:59:35 -07:00
Steve Dower
2d37cb2e1d Fixes sys.path for applocal environments. 2015-07-17 11:59:21 -07:00
Robert Collins
1a80081272 Typo fix in mock.patch.
Patch from https://github.com/testing-cabal/mock/issues/215
2015-07-17 22:00:28 +12:00
Robert Collins
4838717b53 Issue #21750: mock_open.read_data can now be read from each instance, as it
could in Python 3.3.
2015-07-17 20:10:23 +12:00
Steve Dower
2237bdc595 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.
2015-07-16 16:33:55 -07:00
Victor Stinner
8cc80f1d81 Merge 3.4 2015-07-16 22:20:19 +02:00
Raymond Hettinger
a3626bc5bd Issue #24583: Fix crash when set is mutated while being updated. 2015-07-15 23:50:14 -07:00
Serhiy Storchaka
ced770da07 Issue #24631: Fixed regression in the timeit modulu with multyline setup. 2015-07-15 22:11:36 +03:00
Robert Collins
76d508b5d4 - Issue #18622: unittest.mock.mock_open().reset_mock would recurse infinitely.
Patch from Nicola Palumbo and Laurent De Buyst.
2015-07-15 11:49:43 +12:00
Robert Collins
f58f88c4c7 Issue #23661: unittest.mock side_effects can now be exceptions again.
This was a regression vs Python 3.4. Patch from Ignacio Rossi
2015-07-14 13:51:40 +12:00
Benjamin Peterson
47066ee3db merge 3.4 (#24610) 2015-07-11 16:33:39 -07:00
Benjamin Peterson
acb3a4d88b fix normalization example (closes #24610)
Patch by Chris Angelico
2015-07-11 16:32:55 -07:00
Serhiy Storchaka
05121159b3 Issue #24608: chunk.Chunk.read() now always returns bytes, not str. 2015-07-10 22:26:08 +03:00
Serhiy Storchaka
d44768ff16 Issue #24608: chunk.Chunk.read() now always returns bytes, not str. 2015-07-10 22:24:47 +03:00
Serhiy Storchaka
3d031e6199 Corrected docstrings of audio modules. writeframes() accepts bytes, not str. 2015-07-10 22:13:52 +03:00
Serhiy Storchaka
e0fd7ef6bb Corrected docstrings of audio modules. writeframes() accepts bytes, not str. 2015-07-10 22:13:40 +03:00
Victor Stinner
fb578f0a05 Merge 3.4 (asyncio) 2015-07-09 23:14:50 +02:00
Victor Stinner
e6ecea53c8 asyncio: sync with github asyncio
* queues: get coroutine from asyncio.coroutines, not from asyncio.tasks
* tets: replace tulip with asyncio in comments
2015-07-09 23:13:50 +02:00
Barry Warsaw
c5ea754e48 - Issue #15014: SMTP.auth() and SMTP.login() now support RFC 4954's optional
initial-response argument to the SMTP AUTH command.
2015-07-09 10:39:55 -04:00
Steve Dower
b85b427507 Fixes installer rebuild, snapshot versioning, and the README.txt file. 2015-07-08 22:43:48 -07:00
Steve Dower
494374922c 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.
2015-07-08 20:18:44 -07:00
Serhiy Storchaka
9e7a0468ef Added regression test for issue24581. 2015-07-08 23:02:18 +03:00
Serhiy Storchaka
af320b389b Added regression test for issue24581. 2015-07-08 22:58:55 +03:00
Steve Dower
b257eed043 Closes 24584: Windows installer incorrectly detects CRT version on Windows 10 2015-07-07 20:47:28 -07:00
Zachary Ware
80d0651117 Update ignored suspicious markup 2015-07-07 00:34:25 -05:00