[Python-ideas] Function multiple arguments assignment

Giampaolo Rodolà g.rodola at gmail.com
Tue Mar 22 10:16:08 CET 2011


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



More information about the Python-ideas mailing list