[prev in list] [next in list] [prev in thread] [next in thread] 

List:       python-dev
Subject:    Re: [Python-Dev] async __setitem__
From:       Guido van Rossum <guido () python ! org>
Date:       2015-06-21 9:08:00
Message-ID: CAP7+vJLTuqvJNeVCR109wrmFne0gSF1e95P8CLm_H2Yc3qTUGw () mail ! gmail ! com
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


On Sun, Jun 21, 2015 at 12:48 AM, Greg Ewing <greg.ewing@canterbury.ac.nz>
wrote:

> 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.


Exactly. We should not go here at all.

-- 
--Guido van Rossum (python.org/~guido)

[Attachment #5 (text/html)]

<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Sun, Jun 21, 2015 \
at 12:48 AM, Greg Ewing <span dir="ltr">&lt;<a \
href="mailto:greg.ewing@canterbury.ac.nz" \
target="_blank">greg.ewing@canterbury.ac.nz</a>&gt;</span> wrote:<br><blockquote \
class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc \
solid;padding-left:1ex"><span class="">Nick Coghlan wrote:<br> <blockquote \
class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc \
solid;padding-left:1ex"> What if we&#39;re assigning to<br>
multiple targets, do the run in parallel? How is tuple unpacking<br>
handled? How is augmented assignment handled?<br>
<br>
If we allow asynchronous assignment, do we allow asynchronous deletion as well?<br>
</blockquote>
<br></span>
Yeah, we&#39;d kind of be letting the camel&#39;s nose in<br>
here. There&#39;s no obvious place to stop until *every*<br>
dunder method has an async counterpart.<span class="HOEnZb"><font \
color="#888888"></font></span></blockquote><div><br></div><div>Exactly. We should not \
go here at all.<br></div><div>  </div></div>-- <br><div \
class="gmail_signature">--Guido van Rossum (<a href="http://python.org/~guido" \
target="_blank">python.org/~guido</a>)</div> </div></div>



_______________________________________________
Python-Dev mailing list
Python-Dev@python.org
https://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: https://mail.python.org/mailman/options/python-dev/python-dev-marcsub-zyf4%40marc.info


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic