[issue30406] async and await should be keywords in 3.7

2019-02-27 Thread Guido van Rossum


Guido van Rossum  added the comment:

Sadly if I get my way this will all be reverted -- see 
https://bugs.python.org/issue35975.  I'm working on a PR.

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue30406] async and await should be keywords in 3.7

2018-03-18 Thread miss-islington

miss-islington  added the comment:


New changeset a90df5085b51e8bb9de1c04c408bbef42ce6cbc3 by Miss Islington (bot) 
in branch '3.7':
Revert "bpo-30406: Make async and await proper keywords (GH-1669)" (GH-6143)
https://github.com/python/cpython/commit/a90df5085b51e8bb9de1c04c408bbef42ce6cbc3


--
nosy: +miss-islington

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue30406] async and await should be keywords in 3.7

2018-03-18 Thread Łukasz Langa

Łukasz Langa  added the comment:


New changeset f64aae46da292f71f6be750026cd052362e066bc by Łukasz Langa (Jelle 
Zijlstra) in branch 'master':
Revert "bpo-30406: Make async and await proper keywords (#1669)" (GH-6143)
https://github.com/python/cpython/commit/f64aae46da292f71f6be750026cd052362e066bc


--
nosy: +lukasz.langa

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue30406] async and await should be keywords in 3.7

2018-03-18 Thread miss-islington

Change by miss-islington :


--
pull_requests: +5903

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue30406] async and await should be keywords in 3.7

2018-03-18 Thread Jelle Zijlstra

Change by Jelle Zijlstra :


--
pull_requests: +5900

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue30406] async and await should be keywords in 3.7

2017-11-06 Thread STINNER Victor

STINNER Victor  added the comment:

> (...) don't raise any deprecation warning in 3.6.

python3 requires -Wd to display DeprecationWarning:

https://mail.python.org/pipermail/python-dev/2017-November/150149.html

Yury Selivanov: "We had PendingDeprecationWarning for async/await names in 3.5, 
and DeprecationWarning in 3.6."

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue30406] async and await should be keywords in 3.7

2017-11-04 Thread Pierre Quentel

Pierre Quentel  added the comment:

According to PEP 492, async and await should have been deprecated in 3.5 and 
3.6, but I don't think they have been :

await = 1
def f(async=True):
...

don't raise any deprecation warning in 3.6.

Since version 3.7 will break existing code with a SyntaxError, could it be 
possible to have something explicit in the SyntaxError message for these new 
keywords, for instance

SyntaxError : 'async' is a keyword

I don't speack C so I can't provide a patch, sorry.

--
nosy: +quentel

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue30406] async and await should be keywords in 3.7

2017-10-05 Thread Yury Selivanov

Yury Selivanov  added the comment:

Thanks a lot, Jelle!

--
resolution:  -> fixed
stage:  -> resolved
status: open -> closed
type:  -> behavior

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue30406] async and await should be keywords in 3.7

2017-10-05 Thread Yury Selivanov

Yury Selivanov  added the comment:


New changeset ac317700ce7439e38a8b420218d9a5035bba92ed by Yury Selivanov (Jelle 
Zijlstra) in branch 'master':
bpo-30406: Make async and await proper keywords (#1669)
https://github.com/python/cpython/commit/ac317700ce7439e38a8b420218d9a5035bba92ed


--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue30406] async and await should be keywords in 3.7

2017-05-19 Thread STINNER Victor

STINNER Victor added the comment:

It's time to remove Yury's hacks from the parser and get a sane syntax ;-) I 
agree to make async and await real keywords!

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue30406] async and await should be keywords in 3.7

2017-05-19 Thread Guido van Rossum

Guido van Rossum added the comment:

Yes, I signed off on this when I approved that PEP.

On May 19, 2017 20:10, "Raymond Hettinger"  wrote:

>
> Raymond Hettinger added the comment:
>
> +1 These words are here to stay.
>
> That said, Guido needs to explicitly sign-off on any new language keywords.
>
> --
> assignee:  -> gvanrossum
> nosy: +gvanrossum, rhettinger
>
> ___
> Python tracker 
> 
> ___
>

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue30406] async and await should be keywords in 3.7

2017-05-19 Thread Raymond Hettinger

Raymond Hettinger added the comment:

+1 These words are here to stay.   

That said, Guido needs to explicitly sign-off on any new language keywords.

--
assignee:  -> gvanrossum
nosy: +gvanrossum, rhettinger

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue30406] async and await should be keywords in 3.7

2017-05-19 Thread Jelle Zijlstra

Changes by Jelle Zijlstra :


--
pull_requests: +1763

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue30406] async and await should be keywords in 3.7

2017-05-19 Thread Jelle Zijlstra

New submission from Jelle Zijlstra:

According to PEP 492, async and await should be full keywords in Python 3.7, 
but this hasn't been implemented yet. I have a patch ready that I'll submit as 
a PR soon.

--
components: Interpreter Core
messages: 293976
nosy: Jelle Zijlstra, giampaolo.rodola, haypo, yselivanov
priority: normal
severity: normal
status: open
title: async and await should be keywords in 3.7
versions: Python 3.7

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com