On 2020-05-02 7:29 p.m., Steven D'Aprano wrote:
On Sat, May 02, 2020 at 03:39:50PM -0300, Soni L. wrote:

> def foo():
>   yield from ()
>   raise ValueError

     def foo():
         yield from ()
         raise ValueUnpackingError

Does that help?


the idea is that it'd become a RuntimeError when you unpack it.
_______________________________________________
Python-ideas mailing list -- [email protected]
To unsubscribe send an email to [email protected]
https://mail.python.org/mailman3/lists/python-ideas.python.org/
Message archived at 
https://mail.python.org/archives/list/[email protected]/message/GQVFEDUZGVND7Q2ZCTVDSHOXWWUOCQDU/
Code of Conduct: http://python.org/psf/codeofconduct/

Reply via email to