Done:

2014-02-10 3:07 GMT+01:00 Victor Stinner <[email protected]>:
>>> Similar trap: subprocess.Popen(args) expects a list whereas
>>> EventLoop.subprocess_exec(*args) expects multiple paramters.
>>> EventLoop.subprocess_exec() should maybe also raise an error if the
>>> first argument is a iterable (but not bytes or str).
>>
>> For those it would be a good idea to add strict type checking. (But note
>> that there are no Futures involved.)

http://code.google.com/p/tulip/issues/detail?id=130

>> For wait() and as_completed(), I suppose you could add an explicit
>>
>> assert not isinstance(fs, futures.Future) and not iscoroutine(fs)
>>
>> at the top (or raise an explicit TypeError).

http://code.google.com/p/tulip/issues/detail?id=131

Victor

Reply via email to