Ron Adam <[email protected]> added the comment:
Yes, you are correct. Pulling the first value off of args would work.
This is new for 3.2, can it still be changed?
One more thing to consider...
One of the things I look at for functions like these is, how easy is it to
separate the data from the program interface?
I prefer:
submit_data = [fn, args, kwds]
e.submit(*submit_data)
or..
submit_args = [(a, k), (a, k), ... ]
for args, kwds in submit_args:
e.submit(fn, args, kwds)
But its a trade off against easier direct calling. My feelings, is submit will
be used more in an indirect way, like these examples, rather than being used
directly by writing out each submit separately.
----------
_______________________________________
Python tracker <[email protected]>
<http://bugs.python.org/issue10918>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com