Release 0.8.10
Release 0.8.10 is a minor release and contains two bug fixes for the HSM extension and changes how the 'self' literal string is handled.
- Feature #545: The literal 'self' (default model parameter of
Machine) has been replaced by the class variableMachine.self_literal = 'self'.Machinenow performs an identity check (instead of a value check) withmod is self.self_literalto determine whether it should act as a model. While 'self' should still work when passed to themodelparameter, we encourage usingMachine.self_literalfrom now on. This was done to enable easier override ofMachine.__eq__in subclasses (thanks @VKSolovev). - Bug #547: Introduce
HierarchicalMachine.prefix_pathto resolve global state names since the HSM stack is not reliable whenqueued=True(thanks @jankrejci). - Bug #548:
HSMsource states were exited even though they are parents of the destination state (thanks @wes-public-apps).