Yury Selivanov
3f1701a1fb
Merge 3.5 (Issue #24619 )
2015-07-22 13:38:18 +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
cafc34fa3d
Merge with 3.5
2015-07-21 22:50:54 -05:00
Zachary Ware
d7841ef48b
Merge with 3.4
2015-07-21 22:50:43 -05:00
Zachary Ware
4aa30dc275
rstlint: explicitly open files as UTF8
2015-07-21 22:50:29 -05:00
Zachary Ware
97efb8939c
Closes #24680 : Merge with 3.5
2015-07-21 22:34:48 -05:00
Zachary Ware
c8115b8ba5
Issue #24680 : Merge with 3.4
2015-07-21 22:34:16 -05:00
Zachary Ware
c75e2dd4c6
Issue #24680 : Remove random backslash. Patch by cdz.
2015-07-21 22:33:16 -05:00
Steve Dower
8a40b6bbcc
Fixes argument handling in build.bat and HHC search
2015-07-20 21:35:38 -07:00
Steve Dower
e1f6805776
Fixes argument handling in build.bat and HHC search
2015-07-20 21:34:45 -07:00
Steve Dower
7066cd7d54
Merge with 3.5
2015-07-18 09:29:03 -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
752dfda2d4
Issue #24642 : Adds installer notes and links to What's New for 3.5
2015-07-17 16:49:24 -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
6160b357b9
Merge with 3.5
2015-07-17 11:59:57 -07:00
Steve Dower
af75a54193
Removes my username from the documentation.
2015-07-17 11:59:35 -07:00
Steve Dower
c959769297
Merge with 3.5
2015-07-16 16:34:09 -07: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
Charles-François Natali
dc87e4b885
Issue #23530 : Improve os.cpu_count() description.
...
Patch by Julian Taylor.
2015-07-13 21:01:39 +01:00
Benjamin Peterson
de2691d6f7
merge 3.5 ( #24610 )
2015-07-11 16:33:50 -07: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
Barry Warsaw
f5b062997b
- 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:42:37 -04: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
Zachary Ware
9f20bdb321
Merge 3.5
2015-07-07 00:34:37 -05:00
Zachary Ware
80d0651117
Update ignored suspicious markup
2015-07-07 00:34:25 -05:00
Zachary Ware
2807321dc6
Merge 3.5
2015-07-07 00:11:49 -05:00
Zachary Ware
7f142c7a80
Fix versionchanged directives
2015-07-07 00:11:36 -05:00
Zachary Ware
f149ae410b
Merge 3.5
2015-07-07 00:08:50 -05:00
Zachary Ware
3d3aedc8ba
Fix usage of the default role.
2015-07-07 00:07:25 -05:00
Zachary Ware
4ffc3d4480
Merge 3.4
2015-07-07 00:00:43 -05:00
Zachary Ware
e36402a830
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.
2015-07-06 23:58:12 -05:00
Zachary Ware
5c676f67d1
Fix suspicious markup
2015-07-06 23:27:15 -05:00
Benjamin Peterson
809868ab63
merge 3.5
2015-07-06 11:28:47 -05:00
Benjamin Peterson
2dd6e477df
merge 3.4
2015-07-06 11:28:40 -05:00
Benjamin Peterson
7dcbf900ac
'not' is very important here
2015-07-06 11:28:07 -05:00
Benjamin Peterson
df48b8571e
merge 3.5
2015-07-06 09:41:20 -05:00
Benjamin Peterson
c0a446a7d9
merge 3.4
2015-07-06 09:41:07 -05:00
Benjamin Peterson
b8fd26256e
tighten warning
2015-07-06 09:40:43 -05:00
Ned Deily
da2d51f97a
merge 3.5.0b3 changes from 3.5
2015-07-05 11:17:43 -07:00
Larry Hastings
aaa377f01d
Documentation fixes for 3.5.0b3.
2015-07-04 19:11:41 -07:00
Ned Deily
7fe0507d07
Issue #24330 : merge from 3.5
2015-07-04 15:06:43 -07:00
Ned Deily
2e770ce9a0
Issue #24330 : merge from 3.4
2015-07-04 15:06:21 -07:00
Ned Deily
f1ce6deb41
Issue #24330 : Update IDLE doc and help to note "Configure IDLE" difference
...
on OS X. Original patch by André Freitas.
2015-07-04 15:05:07 -07:00
R David Murray
fb85509242
Merge: #24584 : replace dead link with pointer to archive.org.
2015-07-04 15:46:14 -04:00
R David Murray
ac4f550bfc
Merge: #24584 : replace dead link with pointer to archive.org.
2015-07-04 15:45:41 -04:00
R David Murray
a1005ed1aa
#24584 : replace dead link with pointer to archive.org.
2015-07-04 15:44:14 -04:00
Yury Selivanov
d48fb485d9
Merge 3.5 (Issue #24400 )
2015-07-03 13:11:54 -04:00
Yury Selivanov
fdbeb2b4b6
Issue #24400 : Resurrect inspect.isawaitable()
...
collections.abc.Awaitable and collections.abc.Coroutine no longer
use __instancecheck__ hook to detect generator-based coroutines.
inspect.isawaitable() can be used to detect generator-based coroutines
and to distinguish them from regular generator objects.
2015-07-03 13:11:35 -04:00