You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Stop: small follow-ups from the last check of #80 #81
Left from the last independent check of #80 (none affects a normal stop):
If code (not the command line) sets the stop limit to nan, the watching thread spins: min(nan, 1.0) is nan and Event.wait(nan) returns at once. A math.isfinite guard in watch closes it. The command line already refuses nan.
own_tasks is never pruned (one task per break-in try).
finish() runs the stop task in a copy of the thread's context instead of the Runner's. Nothing depends on this today.
-0 is accepted as 0; --stop-limit -inf given as two words gets argparse's "expected one argument".
Activity
Stop: a nan limit, the stop's own tasks and context, -0 and "--stop-l…