Thom Nichols
|
34dc236126
|
added documentation for transition_ctx and removed some superfluous comment lines
|
2010-06-07 14:41:42 -04:00 |
|
Thom Nichols
|
9464736551
|
added __str__
|
2010-06-07 13:58:15 -04:00 |
|
Thom Nichols
|
47f1fb1690
|
context manager now returns a boolean 'result' as the context variable to indicate whether the transition timed out or if you are actually locked when entering the context body
|
2010-06-07 13:43:37 -04:00 |
|
Thom Nichols
|
66cf0c2021
|
context manager is working but there's a fatal flaw: inside the body of the 'with' statement, there's no way to tell whether or not the transition occurred or timed out.
|
2010-06-07 13:16:02 -04:00 |
|
Thom Nichols
|
d20cd6b3e6
|
added function execution on transition, and more unit tests.
|
2010-06-03 13:51:11 -04:00 |
|
Thom Nichols
|
7930ed22f2
|
overhauled state machine. Now allows for atomic transitions.
Next step: atomic function calls (and maybe 'handlers') on state transition.
|
2010-06-02 12:39:54 -04:00 |
|