This requires adding a bit of complexity in how Stream.send_all methods respond to cancellation in general. (It might also help with #147...) See discussion here: #107 (comment)
The motivating use case is that it would make it pretty straightforward to add trio support to the next generation of urllib3. (If I can convince @Lukasa that this isn't a terrible idea to start with. Stay tuned...)
This requires adding a bit of complexity in how
Stream.send_allmethods respond to cancellation in general. (It might also help with #147...) See discussion here: #107 (comment)The motivating use case is that it would make it pretty straightforward to add trio support to the next generation of urllib3. (If I can convince @Lukasa that this isn't a terrible idea to start with. Stay tuned...)