Message258989
According to PEP 492, “await” is still allowed to be an ordinary identifier in non-async functions until Python 3.7. Which means you are still allowed to write
def oh_hai():
await = "something"
The proposed error message would need to be smart enough to distinguish the two cases. |
|
| Date |
User |
Action |
Args |
| 2016-01-27 02:28:31 | martin.panter | set | recipients:
+ martin.panter, gvanrossum, pitrou, vstinner, giampaolo.rodola, yselivanov, nchammas, aditya gupta |
| 2016-01-27 02:28:31 | martin.panter | set | messageid: <1453861711.75.0.83842820395.issue26188@psf.upfronthosting.co.za> |
| 2016-01-27 02:28:31 | martin.panter | link | issue26188 messages |
| 2016-01-27 02:28:31 | martin.panter | create | |
|