[Python-ideas] Make "yield" inside a with statement a SyntaxError

Abdur-Rahmaan Janhangeer arj.python at gmail.com
Wed Aug 8 02:24:16 EDT 2018


i think a SyntaxError won't be appropriate as it is valid syntax as the
lexer finds nothing wrong

it falls more i think like out of index errors and the like, a
ContextManagerError ?

else, a request to add headings like

EXAMPLES
=========

in your discussion

yours,

-- 
Abdur-Rahmaan Janhangeer
https://github.com/abdur-rahmaanj
Mauritius
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-ideas/attachments/20180808/8242c143/attachment.html>


More information about the Python-ideas mailing list