[issue13449] sched - provide an "async" argument for run() method

Giampaolo Rodola' report at bugs.python.org
Wed Dec 14 13:54:21 CET 2011


Giampaolo Rodola' <g.rodola at gmail.com> added the comment:

What about run(nowait=...) or run(only_ready=...)?
Doing this as a separate method seems unnecessarily complicated to me in terms of implementation (move run logic into _run, add "run" and "run_nowait", etc...).
Most importantly, the user will have to remember two methods which are basically equivalent in terms of "what they actually do".

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue13449>
_______________________________________


More information about the Python-bugs-list mailing list