[proxy] github.com← back | site home | direct (HTTPS) ↗ | proxy home | ◑ dark◐ light

bpo-38013: make async_generator_athrow object tolerant to throwing exceptions by asvetlov · Pull Request #16070 · python/cpython

asvetlov

…ceptions when the helper is not started yet

1st1 approved these changes Sep 17, 2019

miss-islington pushed a commit to miss-islington/cpython that referenced this pull request

Sep 17, 2019
…ceptions (pythonGH-16070)

Even when the helper is not started yet.

This behavior follows conventional generator one.
There is no reason for `async_generator_athrow` to handle `gen.throw()` differently.

https://bugs.python.org/issue38013
(cherry picked from commit c275312)

Co-authored-by: Andrew Svetlov <andrew.svetlov@gmail.com>

miss-islington added a commit that referenced this pull request

Sep 17, 2019
…ceptions (GH-16070)

Even when the helper is not started yet.

This behavior follows conventional generator one.
There is no reason for `async_generator_athrow` to handle `gen.throw()` differently.

https://bugs.python.org/issue38013
(cherry picked from commit c275312)

Co-authored-by: Andrew Svetlov <andrew.svetlov@gmail.com>

miss-islington added a commit that referenced this pull request

Sep 17, 2019
…ceptions (GH-16070)

Even when the helper is not started yet.

This behavior follows conventional generator one.
There is no reason for `async_generator_athrow` to handle `gen.throw()` differently.

https://bugs.python.org/issue38013
(cherry picked from commit c275312)

Co-authored-by: Andrew Svetlov <andrew.svetlov@gmail.com>