Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Update __versionTime__; blacken core code and examples | ptmcg | 2021-08-01 | 1 | -1/+1 |
| | |||||
* | import and exception types cleanup in statemachine examples | ptmcg | 2020-04-27 | 2 | -1/+2 |
| | |||||
* | Blacken the project (#141) | Jon Dufresne | 2019-10-31 | 6 | -152/+200 |
| | |||||
* | Use pyupgrade to upgrade the code to use Python3 conventions (#138) | Jon Dufresne | 2019-10-24 | 4 | -14/+14 |
| | | | | | | | | | | | | The pyupgrade project is available at https://github.com/asottile/pyupgrade and can be installed through pip. The pyupgrade tool automatically upgrades syntax for newer versions of the language. As pyparsing is now Python 3 only, can apply some cleanups and simplifications. Ran the tool using the following command: $ find . -name \*.py -exec pyupgrade --py3-plus {} \; For now, pyparsing.py was skipped while it is refactored to a package. | ||||
* | Py3 cleanup: Remove workaround for Python2 urllib (#143) | Jon Dufresne | 2019-10-19 | 1 | -9/+2 |
| | | | | For Python 3 only code, the import path is known and stable. Can remove the ImportError workaround. | ||||
* | Fix description in module header | Paul McGuire | 2019-05-28 | 1 | -1/+3 |
| | |||||
* | Update generated code for both unnamed and named state transition state machines | Paul McGuire | 2019-05-27 | 1 | -1/+9 |
| | |||||
* | Typo - `isinstance` should be `issubclass` | Paul McGuire | 2019-05-27 | 1 | -1/+1 |
| | |||||
* | Fine tuning of statemachine example, moving InvalidStateTransition ↵ | Paul McGuire | 2019-05-27 | 7 | -12/+167 |
| | | | | declaration inside generated class; added video state machine demo; added vending machine state machine demo showing how to using statemachine without importing a .pystate file | ||||
* | Fix generated stateMixin class to properly implement overridable transition ↵ | Paul McGuire | 2019-04-17 | 2 | -9/+7 |
| | | | | methods instead of messing with getattr; allows use of `super().transition_name()` in classes that subclass from the Mixin | ||||
* | Added change note re: changes to statemachine example; some code ↵ | Paul McGuire | 2019-04-16 | 1 | -1/+13 |
| | | | | reformat/cleanup/commenting in statemachine.py | ||||
* | Refactor generated State code to use overridden transition methods instead ↵ | Paul McGuire | 2019-04-15 | 4 | -78/+117 |
| | | | | of overriding getattr; add generation of state-managing mixin class to delegate to _state instance variable, and reworked demos to use mixin instead of replicating state code | ||||
* | Add enumerated place holders for strings that invoke str.format(), for Py2 ↵ | ptmcg | 2019-01-09 | 4 | -11/+11 |
| | | | | compatibility | ||||
* | Clean up CHANGES notes for new examples | ptmcg | 2018-12-31 | 1 | -3/+0 |
| | |||||
* | Add document signoff and library book state examples; | ptmcg | 2018-12-31 | 7 | -38/+277 |
| | |||||
* | Update statemachine demo code to Py3 | Paul McGuire | 2018-12-31 | 3 | -29/+60 |
| | |||||
* | Fix partial named results when And embedded in named MatchFirst or Or | ptmcg | 2018-12-28 | 3 | -0/+307 |