[Python-ideas] Function multiple arguments assignment

Calvin Spealman ironfroggy at gmail.com
Tue Mar 22 10:31:49 CET 2011


+0

While this makes sense when I think it about it, it doesn't make sense when
I feel about it.

On Tue, Mar 22, 2011 at 5:16 AM, Giampaolo Rodolà <g.rodola at gmail.com>wrote:

> It's likely this has already been proposed in past, I don't know, anyway...
> This occurred to me while using subprocess module yesterday.
> I had to do something like this:
>
> subprocess.Popen(["exe"], stdin=subprocess.PIPE,
> stdout=subprocess.PIPE, stderr=subprocess.PIPE)
>
> Would it be appropriate to permit something similar to multiple
> variable assignment such as:
>
> subprocess.Popen(["exe"], stdin=stdout=stderr=subprocess.PIPE)
>
> ...?
>
>
> Regards
>
>
> --- Giampaolo
> http://code.google.com/p/pyftpdlib/
> http://code.google.com/psutil
> _______________________________________________
> Python-ideas mailing list
> Python-ideas at python.org
> http://mail.python.org/mailman/listinfo/python-ideas
>



-- 
Read my blog! I depend on your acceptance of my opinion! I am interesting!
http://techblog.ironfroggy.com/
Follow me if you're into that sort of thing:
http://www.twitter.com/ironfroggy
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-ideas/attachments/20110322/e6abc550/attachment.html>


More information about the Python-ideas mailing list