[issue39545] await is not supported in f-string in 3.6

2020-02-14 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed versions: +Python 3.6 ___ Python tracker ___ __

[issue39545] await is not supported in f-string in 3.6

2020-02-13 Thread miss-islington
miss-islington added the comment: New changeset 581b8606ca0609cf36c4eb9a5bb025eb77540e5e by Miss Islington (bot) in branch '3.8': bpo-39545: Document changes in the support of await in f-strings. (GH-18456) https://github.com/python/cpython/commit/581b8606ca0609cf36c4eb9a5bb025eb77540e5e --

[issue39545] await is not supported in f-string in 3.6

2020-02-13 Thread miss-islington
miss-islington added the comment: New changeset 46cf4fc8a5646ca35f7d1ac06d2ef33eb9efca1d by Miss Islington (bot) in branch '3.7': bpo-39545: Document changes in the support of await in f-strings. (GH-18456) https://github.com/python/cpython/commit/46cf4fc8a5646ca35f7d1ac06d2ef33eb9efca1d --

[issue39545] await is not supported in f-string in 3.6

2020-02-13 Thread miss-islington
Change by miss-islington : -- pull_requests: +17882 pull_request: https://github.com/python/cpython/pull/18506 ___ Python tracker ___ __

[issue39545] await is not supported in f-string in 3.6

2020-02-13 Thread miss-islington
miss-islington added the comment: New changeset f632736023502816f2e6bd714d1b48c81aa2ccc1 by Serhiy Storchaka in branch 'master': bpo-39545: Document changes in the support of await in f-strings. (GH-18456) https://github.com/python/cpython/commit/f632736023502816f2e6bd714d1b48c81aa2ccc1 ---

[issue39545] await is not supported in f-string in 3.6

2020-02-13 Thread miss-islington
Change by miss-islington : -- pull_requests: +17881 pull_request: https://github.com/python/cpython/pull/18505 ___ Python tracker ___ __

[issue39545] await is not supported in f-string in 3.6

2020-02-13 Thread Ned Deily
Ned Deily added the comment: New changeset cebe9ee988837b292f2c571e194ed11e7cd4abbb by Serhiy Storchaka in branch '3.6': bpo-39545: Document restrictions on "await" and "async for" in f-strings. (GH-18459) https://github.com/python/cpython/commit/cebe9ee988837b292f2c571e194ed11e7cd4abbb --

[issue39545] await is not supported in f-string in 3.6

2020-02-11 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- pull_requests: +17833 pull_request: https://github.com/python/cpython/pull/18459 ___ Python tracker ___

[issue39545] await is not supported in f-string in 3.6

2020-02-11 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- pull_requests: +17830 stage: -> patch review pull_request: https://github.com/python/cpython/pull/18456 ___ Python tracker ___

[issue39545] await is not supported in f-string in 3.6

2020-02-11 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Needed also notes in 3.7+. -- resolution: fixed -> stage: resolved -> status: closed -> open versions: +Python 3.7, Python 3.8, Python 3.9 -Python 3.6 ___ Python tracker ___

[issue39545] await is not supported in f-string in 3.6

2020-02-10 Thread Ned Deily
Ned Deily added the comment: Thanks for the PR! We don't normally accept doc changes for branches in security-fix mode but this seems like a worthwhile exception. -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___

[issue39545] await is not supported in f-string in 3.6

2020-02-10 Thread Ned Deily
Ned Deily added the comment: New changeset a2963f09629a0a8c63e9acef79c1dcc0a040ddb6 by Elena Oat in branch '3.6': bpo-39545: docs: do not use await in f-strings (GH-18434) https://github.com/python/cpython/commit/a2963f09629a0a8c63e9acef79c1dcc0a040ddb6 -- nosy: +ned.deily

[issue39545] await is not supported in f-string in 3.6

2020-02-10 Thread Elena Oat
Change by Elena Oat : -- pull_requests: +17808 pull_request: https://github.com/python/cpython/pull/18434 ___ Python tracker ___ ___

[issue39545] await is not supported in f-string in 3.6

2020-02-10 Thread Elena Oat
Change by Elena Oat : -- keywords: +patch pull_requests: +17807 stage: -> patch review pull_request: https://github.com/python/cpython/pull/18433 ___ Python tracker ___ __

[issue39545] await is not supported in f-string in 3.6

2020-02-10 Thread Elena Oat
Elena Oat added the comment: There was no update on this since 02/04, so I will work on this as I am at the PyCascades sprints right now. -- nosy: +Elena.Oat ___ Python tracker _

[issue39545] await is not supported in f-string in 3.6

2020-02-04 Thread Rohit Sanjay
Rohit Sanjay added the comment: Hey, I'd like to work on this issue. Seems like an easy fix. Can you please help me out with where I will need to add the documentation for this? -- nosy: +rohitsanjay ___ Python tracker

[issue39545] await is not supported in f-string in 3.6

2020-02-04 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- nosy: +yselivanov ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: htt

[issue39545] await is not supported in f-string in 3.6

2020-02-03 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Yes, await was recognized only in asynchronous functions. f-strings involve a separate parsing step for subexpressions, and it is not aware that it is in an asynchronous function. Seems the fix was unintentional, but it should documented in any case.

[issue39545] await is not supported in f-string in 3.6

2020-02-03 Thread Mariatta
Mariatta added the comment: The answer I got from Yury before was: "Before 3.7 async and await were not proper keywords, so the interpreter did not recognize them in some contexts." -- nosy: +Mariatta ___ Python tracker

[issue39545] await is not supported in f-string in 3.6

2020-02-03 Thread Serhiy Storchaka
New submission from Serhiy Storchaka : The following code is compiled in 3.7, but is a syntax error in 3.6. async def f(x): f"{await x}" I have not found mentioning this change in What's New, and it looks grammatically correct. It looks as a bug in 3.6. It may be too later to fix it in 3