[Python-ideas] Return for assignment blocks
Virendra Tripathi
tripsvt at gmail.com
Wed Oct 24 21:15:09 EDT 2018
In addition to what GVR wrote, a generator function would have to have its
own syntax - backward compatibility would be another issue.
Virendra Tripathi
Santa Clara, CA
415-910-4955
tripsvt at gmail.com
On Wed, Oct 24, 2018 at 2:31 PM Greg Ewing <greg.ewing at canterbury.ac.nz>
wrote:
> Calvin Spealman wrote:
>
> > def ignore_exc(exc_type):
> > return def (func):
> > ...
>
> Something very similar has been suggested before, you might
> like to review the previous discussion.
>
> --
> Greg
>
> _______________________________________________
> Python-ideas mailing list
> Python-ideas at python.org
> https://mail.python.org/mailman/listinfo/python-ideas
> Code of Conduct: http://python.org/psf/codeofconduct/
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-ideas/attachments/20181024/f8474ce5/attachment.html>
More information about the Python-ideas
mailing list