[Python-Dev] async __setitem__

Greg Ewing greg.ewing at canterbury.ac.nz
Sun Jun 21 00:48:19 CEST 2015


Nick Coghlan wrote:
> What if we're assigning to
> multiple targets, do the run in parallel? How is tuple unpacking
> handled? How is augmented assignment handled?
> 
> If we allow asynchronous assignment, do we allow asynchronous deletion as well?

Yeah, we'd kind of be letting the camel's nose in
here. There's no obvious place to stop until *every*
dunder method has an async counterpart.

-- 
Greg


More information about the Python-Dev mailing list