python-statemachine 3.1.0__tar.gz → 3.1.1__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {python_statemachine-3.1.0 → python_statemachine-3.1.1}/PKG-INFO +1 -1
- python_statemachine-3.1.1/docs/releases/3.1.1.md +58 -0
- {python_statemachine-3.1.0 → python_statemachine-3.1.1}/docs/releases/index.md +1 -0
- {python_statemachine-3.1.0 → python_statemachine-3.1.1}/pyproject.toml +1 -1
- {python_statemachine-3.1.0 → python_statemachine-3.1.1}/statemachine/__init__.py +1 -1
- {python_statemachine-3.1.0 → python_statemachine-3.1.1}/statemachine/configuration.py +14 -6
- {python_statemachine-3.1.0 → python_statemachine-3.1.1}/statemachine/locale/en/LC_MESSAGES/statemachine.po +1 -1
- {python_statemachine-3.1.0 → python_statemachine-3.1.1}/statemachine/locale/hi_IN/LC_MESSAGES/statemachine.po +1 -1
- {python_statemachine-3.1.0 → python_statemachine-3.1.1}/statemachine/locale/pt_BR/LC_MESSAGES/statemachine.po +1 -1
- {python_statemachine-3.1.0 → python_statemachine-3.1.1}/statemachine/locale/zh_CN/LC_MESSAGES/statemachine.po +1 -1
- {python_statemachine-3.1.0 → python_statemachine-3.1.1}/tests/test_invoke.py +4 -2
- {python_statemachine-3.1.0 → python_statemachine-3.1.1}/tests/test_threading.py +77 -0
- {python_statemachine-3.1.0 → python_statemachine-3.1.1}/uv.lock +1 -1
- {python_statemachine-3.1.0 → python_statemachine-3.1.1}/.git-blame-ignore-revs +0 -0
- {python_statemachine-3.1.0 → python_statemachine-3.1.1}/.github/FUNDING.yml +0 -0
- {python_statemachine-3.1.0 → python_statemachine-3.1.1}/.github/ISSUE_TEMPLATE.md +0 -0
- {python_statemachine-3.1.0 → python_statemachine-3.1.1}/.github/workflows/python-package.yml +0 -0
- {python_statemachine-3.1.0 → python_statemachine-3.1.1}/.github/workflows/release.yml +0 -0
- {python_statemachine-3.1.0 → python_statemachine-3.1.1}/.gitignore +0 -0
- {python_statemachine-3.1.0 → python_statemachine-3.1.1}/.pre-commit-config.yaml +0 -0
- {python_statemachine-3.1.0 → python_statemachine-3.1.1}/.readthedocs.yaml +0 -0
- {python_statemachine-3.1.0 → python_statemachine-3.1.1}/AGENTS.md +0 -0
- {python_statemachine-3.1.0 → python_statemachine-3.1.1}/CLAUDE.md +0 -0
- {python_statemachine-3.1.0 → python_statemachine-3.1.1}/LICENSE +0 -0
- {python_statemachine-3.1.0 → python_statemachine-3.1.1}/README.md +0 -0
- {python_statemachine-3.1.0 → python_statemachine-3.1.1}/conftest.py +0 -0
- {python_statemachine-3.1.0 → python_statemachine-3.1.1}/contributing.md +0 -0
- {python_statemachine-3.1.0 → python_statemachine-3.1.1}/docs/_static/custom_machine.css +0 -0
- {python_statemachine-3.1.0 → python_statemachine-3.1.1}/docs/actions.md +0 -0
- {python_statemachine-3.1.0 → python_statemachine-3.1.1}/docs/api.md +0 -0
- {python_statemachine-3.1.0 → python_statemachine-3.1.1}/docs/async.md +0 -0
- {python_statemachine-3.1.0 → python_statemachine-3.1.1}/docs/authors.md +0 -0
- {python_statemachine-3.1.0 → python_statemachine-3.1.1}/docs/behaviour.md +0 -0
- {python_statemachine-3.1.0 → python_statemachine-3.1.1}/docs/concepts.md +0 -0
- {python_statemachine-3.1.0 → python_statemachine-3.1.1}/docs/conf.py +0 -0
- {python_statemachine-3.1.0 → python_statemachine-3.1.1}/docs/contributing.md +0 -0
- {python_statemachine-3.1.0 → python_statemachine-3.1.1}/docs/diagram.md +0 -0
- {python_statemachine-3.1.0 → python_statemachine-3.1.1}/docs/error_handling.md +0 -0
- {python_statemachine-3.1.0 → python_statemachine-3.1.1}/docs/events.md +0 -0
- {python_statemachine-3.1.0 → python_statemachine-3.1.1}/docs/guards.md +0 -0
- {python_statemachine-3.1.0 → python_statemachine-3.1.1}/docs/how-to/coming_from_state_pattern.md +0 -0
- {python_statemachine-3.1.0 → python_statemachine-3.1.1}/docs/how-to/coming_from_transitions.md +0 -0
- {python_statemachine-3.1.0 → python_statemachine-3.1.1}/docs/images/_oc_machine_processing.svg +0 -0
- {python_statemachine-3.1.0 → python_statemachine-3.1.1}/docs/images/internal_transition_sc.png +0 -0
- {python_statemachine-3.1.0 → python_statemachine-3.1.1}/docs/images/lab_approval_machine_accepted.png +0 -0
- {python_statemachine-3.1.0 → python_statemachine-3.1.1}/docs/images/oc_machine_processing.svg +0 -0
- {python_statemachine-3.1.0 → python_statemachine-3.1.1}/docs/images/python-statemachine.png +0 -0
- {python_statemachine-3.1.0 → python_statemachine-3.1.1}/docs/images/readme_trafficlightmachine.png +0 -0
- {python_statemachine-3.1.0 → python_statemachine-3.1.1}/docs/images/test_state_machine_internal.png +0 -0
- {python_statemachine-3.1.0 → python_statemachine-3.1.1}/docs/images/traffic_light_machine.png +0 -0
- {python_statemachine-3.1.0 → python_statemachine-3.1.1}/docs/index.md +0 -0
- {python_statemachine-3.1.0 → python_statemachine-3.1.1}/docs/installation.md +0 -0
- {python_statemachine-3.1.0 → python_statemachine-3.1.1}/docs/integrations.md +0 -0
- {python_statemachine-3.1.0 → python_statemachine-3.1.1}/docs/invoke.md +0 -0
- {python_statemachine-3.1.0 → python_statemachine-3.1.1}/docs/listeners.md +0 -0
- {python_statemachine-3.1.0 → python_statemachine-3.1.1}/docs/models.md +0 -0
- {python_statemachine-3.1.0 → python_statemachine-3.1.1}/docs/processing_model.md +0 -0
- {python_statemachine-3.1.0 → python_statemachine-3.1.1}/docs/releases/0.1.0.md +0 -0
- {python_statemachine-3.1.0 → python_statemachine-3.1.1}/docs/releases/0.2.0.md +0 -0
- {python_statemachine-3.1.0 → python_statemachine-3.1.1}/docs/releases/0.3.0.md +0 -0
- {python_statemachine-3.1.0 → python_statemachine-3.1.1}/docs/releases/0.4.2.md +0 -0
- {python_statemachine-3.1.0 → python_statemachine-3.1.1}/docs/releases/0.5.0.md +0 -0
- {python_statemachine-3.1.0 → python_statemachine-3.1.1}/docs/releases/0.5.1.md +0 -0
- {python_statemachine-3.1.0 → python_statemachine-3.1.1}/docs/releases/0.6.0.md +0 -0
- {python_statemachine-3.1.0 → python_statemachine-3.1.1}/docs/releases/0.6.1.md +0 -0
- {python_statemachine-3.1.0 → python_statemachine-3.1.1}/docs/releases/0.6.2.md +0 -0
- {python_statemachine-3.1.0 → python_statemachine-3.1.1}/docs/releases/0.7.0.md +0 -0
- {python_statemachine-3.1.0 → python_statemachine-3.1.1}/docs/releases/0.7.1.md +0 -0
- {python_statemachine-3.1.0 → python_statemachine-3.1.1}/docs/releases/0.8.0.md +0 -0
- {python_statemachine-3.1.0 → python_statemachine-3.1.1}/docs/releases/0.9.0.md +0 -0
- {python_statemachine-3.1.0 → python_statemachine-3.1.1}/docs/releases/1.0.0.md +0 -0
- {python_statemachine-3.1.0 → python_statemachine-3.1.1}/docs/releases/1.0.1.md +0 -0
- {python_statemachine-3.1.0 → python_statemachine-3.1.1}/docs/releases/1.0.2.md +0 -0
- {python_statemachine-3.1.0 → python_statemachine-3.1.1}/docs/releases/1.0.3.md +0 -0
- {python_statemachine-3.1.0 → python_statemachine-3.1.1}/docs/releases/2.0.0.md +0 -0
- {python_statemachine-3.1.0 → python_statemachine-3.1.1}/docs/releases/2.1.0.md +0 -0
- {python_statemachine-3.1.0 → python_statemachine-3.1.1}/docs/releases/2.1.1.md +0 -0
- {python_statemachine-3.1.0 → python_statemachine-3.1.1}/docs/releases/2.1.2.md +0 -0
- {python_statemachine-3.1.0 → python_statemachine-3.1.1}/docs/releases/2.2.0.md +0 -0
- {python_statemachine-3.1.0 → python_statemachine-3.1.1}/docs/releases/2.3.0.md +0 -0
- {python_statemachine-3.1.0 → python_statemachine-3.1.1}/docs/releases/2.3.1.md +0 -0
- {python_statemachine-3.1.0 → python_statemachine-3.1.1}/docs/releases/2.3.2.md +0 -0
- {python_statemachine-3.1.0 → python_statemachine-3.1.1}/docs/releases/2.3.3.md +0 -0
- {python_statemachine-3.1.0 → python_statemachine-3.1.1}/docs/releases/2.3.4.md +0 -0
- {python_statemachine-3.1.0 → python_statemachine-3.1.1}/docs/releases/2.3.5.md +0 -0
- {python_statemachine-3.1.0 → python_statemachine-3.1.1}/docs/releases/2.3.6.md +0 -0
- {python_statemachine-3.1.0 → python_statemachine-3.1.1}/docs/releases/2.4.0.md +0 -0
- {python_statemachine-3.1.0 → python_statemachine-3.1.1}/docs/releases/2.5.0.md +0 -0
- {python_statemachine-3.1.0 → python_statemachine-3.1.1}/docs/releases/2.6.0.md +0 -0
- {python_statemachine-3.1.0 → python_statemachine-3.1.1}/docs/releases/3.0.0.md +0 -0
- {python_statemachine-3.1.0 → python_statemachine-3.1.1}/docs/releases/3.1.0.md +0 -0
- {python_statemachine-3.1.0 → python_statemachine-3.1.1}/docs/releases/upgrade_2x_to_3.md +0 -0
- {python_statemachine-3.1.0 → python_statemachine-3.1.1}/docs/statechart.md +0 -0
- {python_statemachine-3.1.0 → python_statemachine-3.1.1}/docs/states.md +0 -0
- {python_statemachine-3.1.0 → python_statemachine-3.1.1}/docs/timeout.md +0 -0
- {python_statemachine-3.1.0 → python_statemachine-3.1.1}/docs/transitions.md +0 -0
- {python_statemachine-3.1.0 → python_statemachine-3.1.1}/docs/tutorial.md +0 -0
- {python_statemachine-3.1.0 → python_statemachine-3.1.1}/docs/validations.md +0 -0
- {python_statemachine-3.1.0 → python_statemachine-3.1.1}/docs/weighted_transitions.md +0 -0
- {python_statemachine-3.1.0 → python_statemachine-3.1.1}/statemachine/callbacks.py +0 -0
- {python_statemachine-3.1.0 → python_statemachine-3.1.1}/statemachine/contrib/__init__.py +0 -0
- {python_statemachine-3.1.0 → python_statemachine-3.1.1}/statemachine/contrib/diagram/__init__.py +0 -0
- {python_statemachine-3.1.0 → python_statemachine-3.1.1}/statemachine/contrib/diagram/__main__.py +0 -0
- {python_statemachine-3.1.0 → python_statemachine-3.1.1}/statemachine/contrib/diagram/extract.py +0 -0
- {python_statemachine-3.1.0 → python_statemachine-3.1.1}/statemachine/contrib/diagram/formatter.py +0 -0
- {python_statemachine-3.1.0 → python_statemachine-3.1.1}/statemachine/contrib/diagram/model.py +0 -0
- {python_statemachine-3.1.0 → python_statemachine-3.1.1}/statemachine/contrib/diagram/renderers/__init__.py +0 -0
- {python_statemachine-3.1.0 → python_statemachine-3.1.1}/statemachine/contrib/diagram/renderers/dot.py +0 -0
- {python_statemachine-3.1.0 → python_statemachine-3.1.1}/statemachine/contrib/diagram/renderers/mermaid.py +0 -0
- {python_statemachine-3.1.0 → python_statemachine-3.1.1}/statemachine/contrib/diagram/renderers/table.py +0 -0
- {python_statemachine-3.1.0 → python_statemachine-3.1.1}/statemachine/contrib/diagram/sphinx_ext.py +0 -0
- {python_statemachine-3.1.0 → python_statemachine-3.1.1}/statemachine/contrib/timeout.py +0 -0
- {python_statemachine-3.1.0 → python_statemachine-3.1.1}/statemachine/contrib/weighted.py +0 -0
- {python_statemachine-3.1.0 → python_statemachine-3.1.1}/statemachine/dispatcher.py +0 -0
- {python_statemachine-3.1.0 → python_statemachine-3.1.1}/statemachine/engines/__init__.py +0 -0
- {python_statemachine-3.1.0 → python_statemachine-3.1.1}/statemachine/engines/async_.py +0 -0
- {python_statemachine-3.1.0 → python_statemachine-3.1.1}/statemachine/engines/base.py +0 -0
- {python_statemachine-3.1.0 → python_statemachine-3.1.1}/statemachine/engines/sync.py +0 -0
- {python_statemachine-3.1.0 → python_statemachine-3.1.1}/statemachine/event.py +0 -0
- {python_statemachine-3.1.0 → python_statemachine-3.1.1}/statemachine/event_data.py +0 -0
- {python_statemachine-3.1.0 → python_statemachine-3.1.1}/statemachine/events.py +0 -0
- {python_statemachine-3.1.0 → python_statemachine-3.1.1}/statemachine/exceptions.py +0 -0
- {python_statemachine-3.1.0 → python_statemachine-3.1.1}/statemachine/factory.py +0 -0
- {python_statemachine-3.1.0 → python_statemachine-3.1.1}/statemachine/graph.py +0 -0
- {python_statemachine-3.1.0 → python_statemachine-3.1.1}/statemachine/i18n.py +0 -0
- {python_statemachine-3.1.0 → python_statemachine-3.1.1}/statemachine/invoke.py +0 -0
- {python_statemachine-3.1.0 → python_statemachine-3.1.1}/statemachine/io/__init__.py +0 -0
- {python_statemachine-3.1.0 → python_statemachine-3.1.1}/statemachine/io/scxml/__init__.py +0 -0
- {python_statemachine-3.1.0 → python_statemachine-3.1.1}/statemachine/io/scxml/actions.py +0 -0
- {python_statemachine-3.1.0 → python_statemachine-3.1.1}/statemachine/io/scxml/invoke.py +0 -0
- {python_statemachine-3.1.0 → python_statemachine-3.1.1}/statemachine/io/scxml/parser.py +0 -0
- {python_statemachine-3.1.0 → python_statemachine-3.1.1}/statemachine/io/scxml/processor.py +0 -0
- {python_statemachine-3.1.0 → python_statemachine-3.1.1}/statemachine/io/scxml/schema.py +0 -0
- {python_statemachine-3.1.0 → python_statemachine-3.1.1}/statemachine/mixins.py +0 -0
- {python_statemachine-3.1.0 → python_statemachine-3.1.1}/statemachine/model.py +0 -0
- {python_statemachine-3.1.0 → python_statemachine-3.1.1}/statemachine/orderedset.py +0 -0
- {python_statemachine-3.1.0 → python_statemachine-3.1.1}/statemachine/py.typed +0 -0
- {python_statemachine-3.1.0 → python_statemachine-3.1.1}/statemachine/registry.py +0 -0
- {python_statemachine-3.1.0 → python_statemachine-3.1.1}/statemachine/signature.py +0 -0
- {python_statemachine-3.1.0 → python_statemachine-3.1.1}/statemachine/spec_parser.py +0 -0
- {python_statemachine-3.1.0 → python_statemachine-3.1.1}/statemachine/state.py +0 -0
- {python_statemachine-3.1.0 → python_statemachine-3.1.1}/statemachine/statemachine.py +0 -0
- {python_statemachine-3.1.0 → python_statemachine-3.1.1}/statemachine/states.py +0 -0
- {python_statemachine-3.1.0 → python_statemachine-3.1.1}/statemachine/transition.py +0 -0
- {python_statemachine-3.1.0 → python_statemachine-3.1.1}/statemachine/transition_list.py +0 -0
- {python_statemachine-3.1.0 → python_statemachine-3.1.1}/statemachine/transition_mixin.py +0 -0
- {python_statemachine-3.1.0 → python_statemachine-3.1.1}/statemachine/utils.py +0 -0
- {python_statemachine-3.1.0 → python_statemachine-3.1.1}/tests/__init__.py +0 -0
- {python_statemachine-3.1.0 → python_statemachine-3.1.1}/tests/conftest.py +0 -0
- {python_statemachine-3.1.0 → python_statemachine-3.1.1}/tests/django_project/app.py +0 -0
- {python_statemachine-3.1.0 → python_statemachine-3.1.1}/tests/django_project/core/__init__,.py +0 -0
- {python_statemachine-3.1.0 → python_statemachine-3.1.1}/tests/django_project/core/settings.py +0 -0
- {python_statemachine-3.1.0 → python_statemachine-3.1.1}/tests/django_project/core/wsgi.py +0 -0
- {python_statemachine-3.1.0 → python_statemachine-3.1.1}/tests/django_project/manage.py +0 -0
- {python_statemachine-3.1.0 → python_statemachine-3.1.1}/tests/django_project/workflow/__init__.py +0 -0
- {python_statemachine-3.1.0 → python_statemachine-3.1.1}/tests/django_project/workflow/apps.py +0 -0
- {python_statemachine-3.1.0 → python_statemachine-3.1.1}/tests/django_project/workflow/models.py +0 -0
- {python_statemachine-3.1.0 → python_statemachine-3.1.1}/tests/django_project/workflow/statemachines.py +0 -0
- {python_statemachine-3.1.0 → python_statemachine-3.1.1}/tests/django_project/workflow/tests.py +0 -0
- {python_statemachine-3.1.0 → python_statemachine-3.1.1}/tests/examples/README.rst +0 -0
- {python_statemachine-3.1.0 → python_statemachine-3.1.1}/tests/examples/__init__.py +0 -0
- {python_statemachine-3.1.0 → python_statemachine-3.1.1}/tests/examples/ai_shell_machine.py +0 -0
- {python_statemachine-3.1.0 → python_statemachine-3.1.1}/tests/examples/air_conditioner_machine.py +0 -0
- {python_statemachine-3.1.0 → python_statemachine-3.1.1}/tests/examples/all_actions_machine.py +0 -0
- {python_statemachine-3.1.0 → python_statemachine-3.1.1}/tests/examples/async_guess_the_number_machine.py +0 -0
- {python_statemachine-3.1.0 → python_statemachine-3.1.1}/tests/examples/async_without_loop_machine.py +0 -0
- {python_statemachine-3.1.0 → python_statemachine-3.1.1}/tests/examples/enum_campaign_machine.py +0 -0
- {python_statemachine-3.1.0 → python_statemachine-3.1.1}/tests/examples/guess_the_number_machine.py +0 -0
- {python_statemachine-3.1.0 → python_statemachine-3.1.1}/tests/examples/lor_machine.py +0 -0
- {python_statemachine-3.1.0 → python_statemachine-3.1.1}/tests/examples/order_control_machine.py +0 -0
- {python_statemachine-3.1.0 → python_statemachine-3.1.1}/tests/examples/order_control_rich_model_machine.py +0 -0
- {python_statemachine-3.1.0 → python_statemachine-3.1.1}/tests/examples/persistent_model_machine.py +0 -0
- {python_statemachine-3.1.0 → python_statemachine-3.1.1}/tests/examples/recursive_event_machine.py +0 -0
- {python_statemachine-3.1.0 → python_statemachine-3.1.1}/tests/examples/reusing_transitions_machine.py +0 -0
- {python_statemachine-3.1.0 → python_statemachine-3.1.1}/tests/examples/sqlite_persistent_model_machine.py +0 -0
- {python_statemachine-3.1.0 → python_statemachine-3.1.1}/tests/examples/statechart_cleanup_machine.py +0 -0
- {python_statemachine-3.1.0 → python_statemachine-3.1.1}/tests/examples/statechart_compound_machine.py +0 -0
- {python_statemachine-3.1.0 → python_statemachine-3.1.1}/tests/examples/statechart_delayed_machine.py +0 -0
- {python_statemachine-3.1.0 → python_statemachine-3.1.1}/tests/examples/statechart_error_handling_machine.py +0 -0
- {python_statemachine-3.1.0 → python_statemachine-3.1.1}/tests/examples/statechart_eventless_machine.py +0 -0
- {python_statemachine-3.1.0 → python_statemachine-3.1.1}/tests/examples/statechart_history_machine.py +0 -0
- {python_statemachine-3.1.0 → python_statemachine-3.1.1}/tests/examples/statechart_in_condition_machine.py +0 -0
- {python_statemachine-3.1.0 → python_statemachine-3.1.1}/tests/examples/statechart_parallel_machine.py +0 -0
- {python_statemachine-3.1.0 → python_statemachine-3.1.1}/tests/examples/traffic_light_machine.py +0 -0
- {python_statemachine-3.1.0 → python_statemachine-3.1.1}/tests/examples/user_machine.py +0 -0
- {python_statemachine-3.1.0 → python_statemachine-3.1.1}/tests/examples/weighted_idle_machine.py +0 -0
- {python_statemachine-3.1.0 → python_statemachine-3.1.1}/tests/helpers.py +0 -0
- {python_statemachine-3.1.0 → python_statemachine-3.1.1}/tests/machines/__init__.py +0 -0
- {python_statemachine-3.1.0 → python_statemachine-3.1.1}/tests/machines/compound/__init__.py +0 -0
- {python_statemachine-3.1.0 → python_statemachine-3.1.1}/tests/machines/compound/middle_earth_journey.py +0 -0
- {python_statemachine-3.1.0 → python_statemachine-3.1.1}/tests/machines/compound/middle_earth_journey_two_compounds.py +0 -0
- {python_statemachine-3.1.0 → python_statemachine-3.1.1}/tests/machines/compound/middle_earth_journey_with_finals.py +0 -0
- {python_statemachine-3.1.0 → python_statemachine-3.1.1}/tests/machines/compound/moria_expedition.py +0 -0
- {python_statemachine-3.1.0 → python_statemachine-3.1.1}/tests/machines/compound/moria_expedition_with_escape.py +0 -0
- {python_statemachine-3.1.0 → python_statemachine-3.1.1}/tests/machines/compound/quest_for_erebor.py +0 -0
- {python_statemachine-3.1.0 → python_statemachine-3.1.1}/tests/machines/compound/shire_to_rivendell.py +0 -0
- {python_statemachine-3.1.0 → python_statemachine-3.1.1}/tests/machines/donedata/__init__.py +0 -0
- {python_statemachine-3.1.0 → python_statemachine-3.1.1}/tests/machines/donedata/destroy_the_ring.py +0 -0
- {python_statemachine-3.1.0 → python_statemachine-3.1.1}/tests/machines/donedata/destroy_the_ring_simple.py +0 -0
- {python_statemachine-3.1.0 → python_statemachine-3.1.1}/tests/machines/donedata/nested_quest_donedata.py +0 -0
- {python_statemachine-3.1.0 → python_statemachine-3.1.1}/tests/machines/donedata/quest_for_erebor_done_convention.py +0 -0
- {python_statemachine-3.1.0 → python_statemachine-3.1.1}/tests/machines/donedata/quest_for_erebor_explicit_id.py +0 -0
- {python_statemachine-3.1.0 → python_statemachine-3.1.1}/tests/machines/donedata/quest_for_erebor_multi_word.py +0 -0
- {python_statemachine-3.1.0 → python_statemachine-3.1.1}/tests/machines/donedata/quest_for_erebor_with_event.py +0 -0
- {python_statemachine-3.1.0 → python_statemachine-3.1.1}/tests/machines/error/__init__.py +0 -0
- {python_statemachine-3.1.0 → python_statemachine-3.1.1}/tests/machines/error/error_convention_event.py +0 -0
- {python_statemachine-3.1.0 → python_statemachine-3.1.1}/tests/machines/error/error_convention_transition_list.py +0 -0
- {python_statemachine-3.1.0 → python_statemachine-3.1.1}/tests/machines/error/error_in_action_sc.py +0 -0
- {python_statemachine-3.1.0 → python_statemachine-3.1.1}/tests/machines/error/error_in_action_sm_with_flag.py +0 -0
- {python_statemachine-3.1.0 → python_statemachine-3.1.1}/tests/machines/error/error_in_after_sc.py +0 -0
- {python_statemachine-3.1.0 → python_statemachine-3.1.1}/tests/machines/error/error_in_error_handler_sc.py +0 -0
- {python_statemachine-3.1.0 → python_statemachine-3.1.1}/tests/machines/error/error_in_guard_sc.py +0 -0
- {python_statemachine-3.1.0 → python_statemachine-3.1.1}/tests/machines/error/error_in_guard_sm.py +0 -0
- {python_statemachine-3.1.0 → python_statemachine-3.1.1}/tests/machines/error/error_in_on_enter_sc.py +0 -0
- {python_statemachine-3.1.0 → python_statemachine-3.1.1}/tests/machines/eventless/__init__.py +0 -0
- {python_statemachine-3.1.0 → python_statemachine-3.1.1}/tests/machines/eventless/auto_advance.py +0 -0
- {python_statemachine-3.1.0 → python_statemachine-3.1.1}/tests/machines/eventless/beacon_chain.py +0 -0
- {python_statemachine-3.1.0 → python_statemachine-3.1.1}/tests/machines/eventless/beacon_chain_lighting.py +0 -0
- {python_statemachine-3.1.0 → python_statemachine-3.1.1}/tests/machines/eventless/coordinated_advance.py +0 -0
- {python_statemachine-3.1.0 → python_statemachine-3.1.1}/tests/machines/eventless/ring_corruption.py +0 -0
- {python_statemachine-3.1.0 → python_statemachine-3.1.1}/tests/machines/eventless/ring_corruption_with_bear_ring.py +0 -0
- {python_statemachine-3.1.0 → python_statemachine-3.1.1}/tests/machines/eventless/ring_corruption_with_tick.py +0 -0
- {python_statemachine-3.1.0 → python_statemachine-3.1.1}/tests/machines/history/__init__.py +0 -0
- {python_statemachine-3.1.0 → python_statemachine-3.1.1}/tests/machines/history/deep_memory_of_moria.py +0 -0
- {python_statemachine-3.1.0 → python_statemachine-3.1.1}/tests/machines/history/gollum_personality.py +0 -0
- {python_statemachine-3.1.0 → python_statemachine-3.1.1}/tests/machines/history/gollum_personality_default_gollum.py +0 -0
- {python_statemachine-3.1.0 → python_statemachine-3.1.1}/tests/machines/history/gollum_personality_with_default.py +0 -0
- {python_statemachine-3.1.0 → python_statemachine-3.1.1}/tests/machines/history/shallow_moria.py +0 -0
- {python_statemachine-3.1.0 → python_statemachine-3.1.1}/tests/machines/in_condition/__init__.py +0 -0
- {python_statemachine-3.1.0 → python_statemachine-3.1.1}/tests/machines/in_condition/combined_guard.py +0 -0
- {python_statemachine-3.1.0 → python_statemachine-3.1.1}/tests/machines/in_condition/descendant_check.py +0 -0
- {python_statemachine-3.1.0 → python_statemachine-3.1.1}/tests/machines/in_condition/eventless_in.py +0 -0
- {python_statemachine-3.1.0 → python_statemachine-3.1.1}/tests/machines/in_condition/fellowship.py +0 -0
- {python_statemachine-3.1.0 → python_statemachine-3.1.1}/tests/machines/in_condition/fellowship_coordination.py +0 -0
- {python_statemachine-3.1.0 → python_statemachine-3.1.1}/tests/machines/in_condition/gate_of_moria.py +0 -0
- {python_statemachine-3.1.0 → python_statemachine-3.1.1}/tests/machines/parallel/__init__.py +0 -0
- {python_statemachine-3.1.0 → python_statemachine-3.1.1}/tests/machines/parallel/session.py +0 -0
- {python_statemachine-3.1.0 → python_statemachine-3.1.1}/tests/machines/parallel/session_with_done_state.py +0 -0
- {python_statemachine-3.1.0 → python_statemachine-3.1.1}/tests/machines/parallel/two_towers.py +0 -0
- {python_statemachine-3.1.0 → python_statemachine-3.1.1}/tests/machines/parallel/war_of_the_ring.py +0 -0
- {python_statemachine-3.1.0 → python_statemachine-3.1.1}/tests/machines/parallel/war_with_exit.py +0 -0
- {python_statemachine-3.1.0 → python_statemachine-3.1.1}/tests/machines/showcase_actions.py +0 -0
- {python_statemachine-3.1.0 → python_statemachine-3.1.1}/tests/machines/showcase_compound.py +0 -0
- {python_statemachine-3.1.0 → python_statemachine-3.1.1}/tests/machines/showcase_deep_history.py +0 -0
- {python_statemachine-3.1.0 → python_statemachine-3.1.1}/tests/machines/showcase_guards.py +0 -0
- {python_statemachine-3.1.0 → python_statemachine-3.1.1}/tests/machines/showcase_history.py +0 -0
- {python_statemachine-3.1.0 → python_statemachine-3.1.1}/tests/machines/showcase_internal.py +0 -0
- {python_statemachine-3.1.0 → python_statemachine-3.1.1}/tests/machines/showcase_parallel.py +0 -0
- {python_statemachine-3.1.0 → python_statemachine-3.1.1}/tests/machines/showcase_parallel_compound.py +0 -0
- {python_statemachine-3.1.0 → python_statemachine-3.1.1}/tests/machines/showcase_self_transition.py +0 -0
- {python_statemachine-3.1.0 → python_statemachine-3.1.1}/tests/machines/showcase_simple.py +0 -0
- {python_statemachine-3.1.0 → python_statemachine-3.1.1}/tests/machines/transition_from_any.py +0 -0
- {python_statemachine-3.1.0 → python_statemachine-3.1.1}/tests/machines/tutorial_coffee_order.py +0 -0
- {python_statemachine-3.1.0 → python_statemachine-3.1.1}/tests/machines/validators/__init__.py +0 -0
- {python_statemachine-3.1.0 → python_statemachine-3.1.1}/tests/machines/validators/multi_validator.py +0 -0
- {python_statemachine-3.1.0 → python_statemachine-3.1.1}/tests/machines/validators/order_validation.py +0 -0
- {python_statemachine-3.1.0 → python_statemachine-3.1.1}/tests/machines/validators/order_validation_no_error_events.py +0 -0
- {python_statemachine-3.1.0 → python_statemachine-3.1.1}/tests/machines/validators/validator_fallthrough.py +0 -0
- {python_statemachine-3.1.0 → python_statemachine-3.1.1}/tests/machines/validators/validator_with_cond.py +0 -0
- {python_statemachine-3.1.0 → python_statemachine-3.1.1}/tests/machines/validators/validator_with_error_transition.py +0 -0
- {python_statemachine-3.1.0 → python_statemachine-3.1.1}/tests/machines/workflow/__init__.py +0 -0
- {python_statemachine-3.1.0 → python_statemachine-3.1.1}/tests/machines/workflow/campaign_machine.py +0 -0
- {python_statemachine-3.1.0 → python_statemachine-3.1.1}/tests/machines/workflow/campaign_machine_with_validator.py +0 -0
- {python_statemachine-3.1.0 → python_statemachine-3.1.1}/tests/machines/workflow/campaign_machine_with_values.py +0 -0
- {python_statemachine-3.1.0 → python_statemachine-3.1.1}/tests/machines/workflow/reverse_traffic_light.py +0 -0
- {python_statemachine-3.1.0 → python_statemachine-3.1.1}/tests/models.py +0 -0
- {python_statemachine-3.1.0 → python_statemachine-3.1.1}/tests/scrape_images.py +0 -0
- {python_statemachine-3.1.0 → python_statemachine-3.1.1}/tests/scxml/__init__.py +0 -0
- {python_statemachine-3.1.0 → python_statemachine-3.1.1}/tests/scxml/conftest.py +0 -0
- {python_statemachine-3.1.0 → python_statemachine-3.1.1}/tests/scxml/test_microwave.py +0 -0
- {python_statemachine-3.1.0 → python_statemachine-3.1.1}/tests/scxml/test_scxml_cases.py +0 -0
- {python_statemachine-3.1.0 → python_statemachine-3.1.1}/tests/scxml/w3c/LICENSE +0 -0
- {python_statemachine-3.1.0 → python_statemachine-3.1.1}/tests/scxml/w3c/mandatory/test144.scxml +0 -0
- {python_statemachine-3.1.0 → python_statemachine-3.1.1}/tests/scxml/w3c/mandatory/test145.scxml +0 -0
- {python_statemachine-3.1.0 → python_statemachine-3.1.1}/tests/scxml/w3c/mandatory/test147.scxml +0 -0
- {python_statemachine-3.1.0 → python_statemachine-3.1.1}/tests/scxml/w3c/mandatory/test148.scxml +0 -0
- {python_statemachine-3.1.0 → python_statemachine-3.1.1}/tests/scxml/w3c/mandatory/test149.scxml +0 -0
- {python_statemachine-3.1.0 → python_statemachine-3.1.1}/tests/scxml/w3c/mandatory/test150.scxml +0 -0
- {python_statemachine-3.1.0 → python_statemachine-3.1.1}/tests/scxml/w3c/mandatory/test151.scxml +0 -0
- {python_statemachine-3.1.0 → python_statemachine-3.1.1}/tests/scxml/w3c/mandatory/test152.scxml +0 -0
- {python_statemachine-3.1.0 → python_statemachine-3.1.1}/tests/scxml/w3c/mandatory/test153.scxml +0 -0
- {python_statemachine-3.1.0 → python_statemachine-3.1.1}/tests/scxml/w3c/mandatory/test155.scxml +0 -0
- {python_statemachine-3.1.0 → python_statemachine-3.1.1}/tests/scxml/w3c/mandatory/test156.scxml +0 -0
- {python_statemachine-3.1.0 → python_statemachine-3.1.1}/tests/scxml/w3c/mandatory/test158.scxml +0 -0
- {python_statemachine-3.1.0 → python_statemachine-3.1.1}/tests/scxml/w3c/mandatory/test159.scxml +0 -0
- {python_statemachine-3.1.0 → python_statemachine-3.1.1}/tests/scxml/w3c/mandatory/test172.scxml +0 -0
- {python_statemachine-3.1.0 → python_statemachine-3.1.1}/tests/scxml/w3c/mandatory/test173.scxml +0 -0
- {python_statemachine-3.1.0 → python_statemachine-3.1.1}/tests/scxml/w3c/mandatory/test174.scxml +0 -0
- {python_statemachine-3.1.0 → python_statemachine-3.1.1}/tests/scxml/w3c/mandatory/test175.scxml +0 -0
- {python_statemachine-3.1.0 → python_statemachine-3.1.1}/tests/scxml/w3c/mandatory/test176.scxml +0 -0
- {python_statemachine-3.1.0 → python_statemachine-3.1.1}/tests/scxml/w3c/mandatory/test179.scxml +0 -0
- {python_statemachine-3.1.0 → python_statemachine-3.1.1}/tests/scxml/w3c/mandatory/test183.scxml +0 -0
- {python_statemachine-3.1.0 → python_statemachine-3.1.1}/tests/scxml/w3c/mandatory/test185.scxml +0 -0
- {python_statemachine-3.1.0 → python_statemachine-3.1.1}/tests/scxml/w3c/mandatory/test186.scxml +0 -0
- {python_statemachine-3.1.0 → python_statemachine-3.1.1}/tests/scxml/w3c/mandatory/test187.scxml +0 -0
- {python_statemachine-3.1.0 → python_statemachine-3.1.1}/tests/scxml/w3c/mandatory/test189.scxml +0 -0
- {python_statemachine-3.1.0 → python_statemachine-3.1.1}/tests/scxml/w3c/mandatory/test190.scxml +0 -0
- {python_statemachine-3.1.0 → python_statemachine-3.1.1}/tests/scxml/w3c/mandatory/test191.scxml +0 -0
- {python_statemachine-3.1.0 → python_statemachine-3.1.1}/tests/scxml/w3c/mandatory/test192.scxml +0 -0
- {python_statemachine-3.1.0 → python_statemachine-3.1.1}/tests/scxml/w3c/mandatory/test194.scxml +0 -0
- {python_statemachine-3.1.0 → python_statemachine-3.1.1}/tests/scxml/w3c/mandatory/test198.scxml +0 -0
- {python_statemachine-3.1.0 → python_statemachine-3.1.1}/tests/scxml/w3c/mandatory/test199.scxml +0 -0
- {python_statemachine-3.1.0 → python_statemachine-3.1.1}/tests/scxml/w3c/mandatory/test200.scxml +0 -0
- {python_statemachine-3.1.0 → python_statemachine-3.1.1}/tests/scxml/w3c/mandatory/test205.scxml +0 -0
- {python_statemachine-3.1.0 → python_statemachine-3.1.1}/tests/scxml/w3c/mandatory/test207.scxml +0 -0
- {python_statemachine-3.1.0 → python_statemachine-3.1.1}/tests/scxml/w3c/mandatory/test208.scxml +0 -0
- {python_statemachine-3.1.0 → python_statemachine-3.1.1}/tests/scxml/w3c/mandatory/test210.scxml +0 -0
- {python_statemachine-3.1.0 → python_statemachine-3.1.1}/tests/scxml/w3c/mandatory/test215.scxml +0 -0
- {python_statemachine-3.1.0 → python_statemachine-3.1.1}/tests/scxml/w3c/mandatory/test216.scxml +0 -0
- {python_statemachine-3.1.0 → python_statemachine-3.1.1}/tests/scxml/w3c/mandatory/test216sub1.scxml +0 -0
- {python_statemachine-3.1.0 → python_statemachine-3.1.1}/tests/scxml/w3c/mandatory/test220.scxml +0 -0
- {python_statemachine-3.1.0 → python_statemachine-3.1.1}/tests/scxml/w3c/mandatory/test223.scxml +0 -0
- {python_statemachine-3.1.0 → python_statemachine-3.1.1}/tests/scxml/w3c/mandatory/test224.scxml +0 -0
- {python_statemachine-3.1.0 → python_statemachine-3.1.1}/tests/scxml/w3c/mandatory/test225.scxml +0 -0
- {python_statemachine-3.1.0 → python_statemachine-3.1.1}/tests/scxml/w3c/mandatory/test226.scxml +0 -0
- {python_statemachine-3.1.0 → python_statemachine-3.1.1}/tests/scxml/w3c/mandatory/test226sub1.scxml +0 -0
- {python_statemachine-3.1.0 → python_statemachine-3.1.1}/tests/scxml/w3c/mandatory/test228.scxml +0 -0
- {python_statemachine-3.1.0 → python_statemachine-3.1.1}/tests/scxml/w3c/mandatory/test229.scxml +0 -0
- {python_statemachine-3.1.0 → python_statemachine-3.1.1}/tests/scxml/w3c/mandatory/test232.scxml +0 -0
- {python_statemachine-3.1.0 → python_statemachine-3.1.1}/tests/scxml/w3c/mandatory/test233.scxml +0 -0
- {python_statemachine-3.1.0 → python_statemachine-3.1.1}/tests/scxml/w3c/mandatory/test234.scxml +0 -0
- {python_statemachine-3.1.0 → python_statemachine-3.1.1}/tests/scxml/w3c/mandatory/test235.scxml +0 -0
- {python_statemachine-3.1.0 → python_statemachine-3.1.1}/tests/scxml/w3c/mandatory/test236.scxml +0 -0
- {python_statemachine-3.1.0 → python_statemachine-3.1.1}/tests/scxml/w3c/mandatory/test237.scxml +0 -0
- {python_statemachine-3.1.0 → python_statemachine-3.1.1}/tests/scxml/w3c/mandatory/test239.scxml +0 -0
- {python_statemachine-3.1.0 → python_statemachine-3.1.1}/tests/scxml/w3c/mandatory/test239sub1.scxml +0 -0
- {python_statemachine-3.1.0 → python_statemachine-3.1.1}/tests/scxml/w3c/mandatory/test240.scxml +0 -0
- {python_statemachine-3.1.0 → python_statemachine-3.1.1}/tests/scxml/w3c/mandatory/test241.scxml +0 -0
- {python_statemachine-3.1.0 → python_statemachine-3.1.1}/tests/scxml/w3c/mandatory/test242.scxml +0 -0
- {python_statemachine-3.1.0 → python_statemachine-3.1.1}/tests/scxml/w3c/mandatory/test242sub1.scxml +0 -0
- {python_statemachine-3.1.0 → python_statemachine-3.1.1}/tests/scxml/w3c/mandatory/test243.scxml +0 -0
- {python_statemachine-3.1.0 → python_statemachine-3.1.1}/tests/scxml/w3c/mandatory/test244.scxml +0 -0
- {python_statemachine-3.1.0 → python_statemachine-3.1.1}/tests/scxml/w3c/mandatory/test245.scxml +0 -0
- {python_statemachine-3.1.0 → python_statemachine-3.1.1}/tests/scxml/w3c/mandatory/test247.scxml +0 -0
- {python_statemachine-3.1.0 → python_statemachine-3.1.1}/tests/scxml/w3c/mandatory/test252.scxml +0 -0
- {python_statemachine-3.1.0 → python_statemachine-3.1.1}/tests/scxml/w3c/mandatory/test253.scxml +0 -0
- {python_statemachine-3.1.0 → python_statemachine-3.1.1}/tests/scxml/w3c/mandatory/test276.scxml +0 -0
- {python_statemachine-3.1.0 → python_statemachine-3.1.1}/tests/scxml/w3c/mandatory/test276sub1.scxml +0 -0
- {python_statemachine-3.1.0 → python_statemachine-3.1.1}/tests/scxml/w3c/mandatory/test277.scxml +0 -0
- {python_statemachine-3.1.0 → python_statemachine-3.1.1}/tests/scxml/w3c/mandatory/test279.scxml +0 -0
- {python_statemachine-3.1.0 → python_statemachine-3.1.1}/tests/scxml/w3c/mandatory/test280.scxml +0 -0
- {python_statemachine-3.1.0 → python_statemachine-3.1.1}/tests/scxml/w3c/mandatory/test286.scxml +0 -0
- {python_statemachine-3.1.0 → python_statemachine-3.1.1}/tests/scxml/w3c/mandatory/test287.scxml +0 -0
- {python_statemachine-3.1.0 → python_statemachine-3.1.1}/tests/scxml/w3c/mandatory/test294.scxml +0 -0
- {python_statemachine-3.1.0 → python_statemachine-3.1.1}/tests/scxml/w3c/mandatory/test298.scxml +0 -0
- {python_statemachine-3.1.0 → python_statemachine-3.1.1}/tests/scxml/w3c/mandatory/test302.scxml +0 -0
- {python_statemachine-3.1.0 → python_statemachine-3.1.1}/tests/scxml/w3c/mandatory/test303.scxml +0 -0
- {python_statemachine-3.1.0 → python_statemachine-3.1.1}/tests/scxml/w3c/mandatory/test304.scxml +0 -0
- {python_statemachine-3.1.0 → python_statemachine-3.1.1}/tests/scxml/w3c/mandatory/test309.scxml +0 -0
- {python_statemachine-3.1.0 → python_statemachine-3.1.1}/tests/scxml/w3c/mandatory/test310.scxml +0 -0
- {python_statemachine-3.1.0 → python_statemachine-3.1.1}/tests/scxml/w3c/mandatory/test311.scxml +0 -0
- {python_statemachine-3.1.0 → python_statemachine-3.1.1}/tests/scxml/w3c/mandatory/test312.scxml +0 -0
- {python_statemachine-3.1.0 → python_statemachine-3.1.1}/tests/scxml/w3c/mandatory/test318.scxml +0 -0
- {python_statemachine-3.1.0 → python_statemachine-3.1.1}/tests/scxml/w3c/mandatory/test319.scxml +0 -0
- {python_statemachine-3.1.0 → python_statemachine-3.1.1}/tests/scxml/w3c/mandatory/test321.scxml +0 -0
- {python_statemachine-3.1.0 → python_statemachine-3.1.1}/tests/scxml/w3c/mandatory/test322.scxml +0 -0
- {python_statemachine-3.1.0 → python_statemachine-3.1.1}/tests/scxml/w3c/mandatory/test323.scxml +0 -0
- {python_statemachine-3.1.0 → python_statemachine-3.1.1}/tests/scxml/w3c/mandatory/test324.scxml +0 -0
- {python_statemachine-3.1.0 → python_statemachine-3.1.1}/tests/scxml/w3c/mandatory/test325.scxml +0 -0
- {python_statemachine-3.1.0 → python_statemachine-3.1.1}/tests/scxml/w3c/mandatory/test326.scxml +0 -0
- {python_statemachine-3.1.0 → python_statemachine-3.1.1}/tests/scxml/w3c/mandatory/test329.scxml +0 -0
- {python_statemachine-3.1.0 → python_statemachine-3.1.1}/tests/scxml/w3c/mandatory/test330.scxml +0 -0
- {python_statemachine-3.1.0 → python_statemachine-3.1.1}/tests/scxml/w3c/mandatory/test331.scxml +0 -0
- {python_statemachine-3.1.0 → python_statemachine-3.1.1}/tests/scxml/w3c/mandatory/test332.scxml +0 -0
- {python_statemachine-3.1.0 → python_statemachine-3.1.1}/tests/scxml/w3c/mandatory/test333.scxml +0 -0
- {python_statemachine-3.1.0 → python_statemachine-3.1.1}/tests/scxml/w3c/mandatory/test335.scxml +0 -0
- {python_statemachine-3.1.0 → python_statemachine-3.1.1}/tests/scxml/w3c/mandatory/test336.scxml +0 -0
- {python_statemachine-3.1.0 → python_statemachine-3.1.1}/tests/scxml/w3c/mandatory/test337.scxml +0 -0
- {python_statemachine-3.1.0 → python_statemachine-3.1.1}/tests/scxml/w3c/mandatory/test338.scxml +0 -0
- {python_statemachine-3.1.0 → python_statemachine-3.1.1}/tests/scxml/w3c/mandatory/test339.scxml +0 -0
- {python_statemachine-3.1.0 → python_statemachine-3.1.1}/tests/scxml/w3c/mandatory/test342.scxml +0 -0
- {python_statemachine-3.1.0 → python_statemachine-3.1.1}/tests/scxml/w3c/mandatory/test343.scxml +0 -0
- {python_statemachine-3.1.0 → python_statemachine-3.1.1}/tests/scxml/w3c/mandatory/test344.scxml +0 -0
- {python_statemachine-3.1.0 → python_statemachine-3.1.1}/tests/scxml/w3c/mandatory/test346.scxml +0 -0
- {python_statemachine-3.1.0 → python_statemachine-3.1.1}/tests/scxml/w3c/mandatory/test347.scxml +0 -0
- {python_statemachine-3.1.0 → python_statemachine-3.1.1}/tests/scxml/w3c/mandatory/test348.scxml +0 -0
- {python_statemachine-3.1.0 → python_statemachine-3.1.1}/tests/scxml/w3c/mandatory/test349.scxml +0 -0
- {python_statemachine-3.1.0 → python_statemachine-3.1.1}/tests/scxml/w3c/mandatory/test350.scxml +0 -0
- {python_statemachine-3.1.0 → python_statemachine-3.1.1}/tests/scxml/w3c/mandatory/test351.scxml +0 -0
- {python_statemachine-3.1.0 → python_statemachine-3.1.1}/tests/scxml/w3c/mandatory/test352.scxml +0 -0
- {python_statemachine-3.1.0 → python_statemachine-3.1.1}/tests/scxml/w3c/mandatory/test354.scxml +0 -0
- {python_statemachine-3.1.0 → python_statemachine-3.1.1}/tests/scxml/w3c/mandatory/test355.scxml +0 -0
- {python_statemachine-3.1.0 → python_statemachine-3.1.1}/tests/scxml/w3c/mandatory/test364.scxml +0 -0
- {python_statemachine-3.1.0 → python_statemachine-3.1.1}/tests/scxml/w3c/mandatory/test372.scxml +0 -0
- {python_statemachine-3.1.0 → python_statemachine-3.1.1}/tests/scxml/w3c/mandatory/test375.scxml +0 -0
- {python_statemachine-3.1.0 → python_statemachine-3.1.1}/tests/scxml/w3c/mandatory/test376.scxml +0 -0
- {python_statemachine-3.1.0 → python_statemachine-3.1.1}/tests/scxml/w3c/mandatory/test377.scxml +0 -0
- {python_statemachine-3.1.0 → python_statemachine-3.1.1}/tests/scxml/w3c/mandatory/test378.scxml +0 -0
- {python_statemachine-3.1.0 → python_statemachine-3.1.1}/tests/scxml/w3c/mandatory/test387.scxml +0 -0
- {python_statemachine-3.1.0 → python_statemachine-3.1.1}/tests/scxml/w3c/mandatory/test388.scxml +0 -0
- {python_statemachine-3.1.0 → python_statemachine-3.1.1}/tests/scxml/w3c/mandatory/test396.scxml +0 -0
- {python_statemachine-3.1.0 → python_statemachine-3.1.1}/tests/scxml/w3c/mandatory/test399.scxml +0 -0
- {python_statemachine-3.1.0 → python_statemachine-3.1.1}/tests/scxml/w3c/mandatory/test401.scxml +0 -0
- {python_statemachine-3.1.0 → python_statemachine-3.1.1}/tests/scxml/w3c/mandatory/test402.scxml +0 -0
- {python_statemachine-3.1.0 → python_statemachine-3.1.1}/tests/scxml/w3c/mandatory/test403a.scxml +0 -0
- {python_statemachine-3.1.0 → python_statemachine-3.1.1}/tests/scxml/w3c/mandatory/test403b.scxml +0 -0
- {python_statemachine-3.1.0 → python_statemachine-3.1.1}/tests/scxml/w3c/mandatory/test403c.scxml +0 -0
- {python_statemachine-3.1.0 → python_statemachine-3.1.1}/tests/scxml/w3c/mandatory/test404.scxml +0 -0
- {python_statemachine-3.1.0 → python_statemachine-3.1.1}/tests/scxml/w3c/mandatory/test405.scxml +0 -0
- {python_statemachine-3.1.0 → python_statemachine-3.1.1}/tests/scxml/w3c/mandatory/test406.scxml +0 -0
- {python_statemachine-3.1.0 → python_statemachine-3.1.1}/tests/scxml/w3c/mandatory/test407.scxml +0 -0
- {python_statemachine-3.1.0 → python_statemachine-3.1.1}/tests/scxml/w3c/mandatory/test409.scxml +0 -0
- {python_statemachine-3.1.0 → python_statemachine-3.1.1}/tests/scxml/w3c/mandatory/test411.scxml +0 -0
- {python_statemachine-3.1.0 → python_statemachine-3.1.1}/tests/scxml/w3c/mandatory/test412.scxml +0 -0
- {python_statemachine-3.1.0 → python_statemachine-3.1.1}/tests/scxml/w3c/mandatory/test413.scxml +0 -0
- {python_statemachine-3.1.0 → python_statemachine-3.1.1}/tests/scxml/w3c/mandatory/test416.scxml +0 -0
- {python_statemachine-3.1.0 → python_statemachine-3.1.1}/tests/scxml/w3c/mandatory/test417.scxml +0 -0
- {python_statemachine-3.1.0 → python_statemachine-3.1.1}/tests/scxml/w3c/mandatory/test419.scxml +0 -0
- {python_statemachine-3.1.0 → python_statemachine-3.1.1}/tests/scxml/w3c/mandatory/test421.scxml +0 -0
- {python_statemachine-3.1.0 → python_statemachine-3.1.1}/tests/scxml/w3c/mandatory/test422.scxml +0 -0
- {python_statemachine-3.1.0 → python_statemachine-3.1.1}/tests/scxml/w3c/mandatory/test423.scxml +0 -0
- {python_statemachine-3.1.0 → python_statemachine-3.1.1}/tests/scxml/w3c/mandatory/test487.scxml +0 -0
- {python_statemachine-3.1.0 → python_statemachine-3.1.1}/tests/scxml/w3c/mandatory/test488.scxml +0 -0
- {python_statemachine-3.1.0 → python_statemachine-3.1.1}/tests/scxml/w3c/mandatory/test495.scxml +0 -0
- {python_statemachine-3.1.0 → python_statemachine-3.1.1}/tests/scxml/w3c/mandatory/test496.scxml +0 -0
- {python_statemachine-3.1.0 → python_statemachine-3.1.1}/tests/scxml/w3c/mandatory/test500.scxml +0 -0
- {python_statemachine-3.1.0 → python_statemachine-3.1.1}/tests/scxml/w3c/mandatory/test501.scxml +0 -0
- {python_statemachine-3.1.0 → python_statemachine-3.1.1}/tests/scxml/w3c/mandatory/test503.scxml +0 -0
- {python_statemachine-3.1.0 → python_statemachine-3.1.1}/tests/scxml/w3c/mandatory/test504.scxml +0 -0
- {python_statemachine-3.1.0 → python_statemachine-3.1.1}/tests/scxml/w3c/mandatory/test505.scxml +0 -0
- {python_statemachine-3.1.0 → python_statemachine-3.1.1}/tests/scxml/w3c/mandatory/test506.scxml +0 -0
- {python_statemachine-3.1.0 → python_statemachine-3.1.1}/tests/scxml/w3c/mandatory/test521.scxml +0 -0
- {python_statemachine-3.1.0 → python_statemachine-3.1.1}/tests/scxml/w3c/mandatory/test525.scxml +0 -0
- {python_statemachine-3.1.0 → python_statemachine-3.1.1}/tests/scxml/w3c/mandatory/test527.scxml +0 -0
- {python_statemachine-3.1.0 → python_statemachine-3.1.1}/tests/scxml/w3c/mandatory/test528.scxml +0 -0
- {python_statemachine-3.1.0 → python_statemachine-3.1.1}/tests/scxml/w3c/mandatory/test529.scxml +0 -0
- {python_statemachine-3.1.0 → python_statemachine-3.1.1}/tests/scxml/w3c/mandatory/test530.scxml +0 -0
- {python_statemachine-3.1.0 → python_statemachine-3.1.1}/tests/scxml/w3c/mandatory/test533.scxml +0 -0
- {python_statemachine-3.1.0 → python_statemachine-3.1.1}/tests/scxml/w3c/mandatory/test550.scxml +0 -0
- {python_statemachine-3.1.0 → python_statemachine-3.1.1}/tests/scxml/w3c/mandatory/test551.scxml +0 -0
- {python_statemachine-3.1.0 → python_statemachine-3.1.1}/tests/scxml/w3c/mandatory/test552.scxml +0 -0
- {python_statemachine-3.1.0 → python_statemachine-3.1.1}/tests/scxml/w3c/mandatory/test552.txt +0 -0
- {python_statemachine-3.1.0 → python_statemachine-3.1.1}/tests/scxml/w3c/mandatory/test553.scxml +0 -0
- {python_statemachine-3.1.0 → python_statemachine-3.1.1}/tests/scxml/w3c/mandatory/test554.scxml +0 -0
- {python_statemachine-3.1.0 → python_statemachine-3.1.1}/tests/scxml/w3c/mandatory/test570.scxml +0 -0
- {python_statemachine-3.1.0 → python_statemachine-3.1.1}/tests/scxml/w3c/mandatory/test576.scxml +0 -0
- {python_statemachine-3.1.0 → python_statemachine-3.1.1}/tests/scxml/w3c/mandatory/test579.scxml +0 -0
- {python_statemachine-3.1.0 → python_statemachine-3.1.1}/tests/scxml/w3c/mandatory/test580.scxml +0 -0
- {python_statemachine-3.1.0 → python_statemachine-3.1.1}/tests/scxml/w3c/optional/test193.scxml +0 -0
- {python_statemachine-3.1.0 → python_statemachine-3.1.1}/tests/scxml/w3c/optional/test201.scxml +0 -0
- {python_statemachine-3.1.0 → python_statemachine-3.1.1}/tests/scxml/w3c/optional/test278.scxml +0 -0
- {python_statemachine-3.1.0 → python_statemachine-3.1.1}/tests/scxml/w3c/optional/test444.scxml +0 -0
- {python_statemachine-3.1.0 → python_statemachine-3.1.1}/tests/scxml/w3c/optional/test445.scxml +0 -0
- {python_statemachine-3.1.0 → python_statemachine-3.1.1}/tests/scxml/w3c/optional/test446.scxml +0 -0
- {python_statemachine-3.1.0 → python_statemachine-3.1.1}/tests/scxml/w3c/optional/test446.txt +0 -0
- {python_statemachine-3.1.0 → python_statemachine-3.1.1}/tests/scxml/w3c/optional/test448.scxml +0 -0
- {python_statemachine-3.1.0 → python_statemachine-3.1.1}/tests/scxml/w3c/optional/test449.scxml +0 -0
- {python_statemachine-3.1.0 → python_statemachine-3.1.1}/tests/scxml/w3c/optional/test451.scxml +0 -0
- {python_statemachine-3.1.0 → python_statemachine-3.1.1}/tests/scxml/w3c/optional/test452.scxml +0 -0
- {python_statemachine-3.1.0 → python_statemachine-3.1.1}/tests/scxml/w3c/optional/test453.scxml +0 -0
- {python_statemachine-3.1.0 → python_statemachine-3.1.1}/tests/scxml/w3c/optional/test456.scxml +0 -0
- {python_statemachine-3.1.0 → python_statemachine-3.1.1}/tests/scxml/w3c/optional/test457.scxml +0 -0
- {python_statemachine-3.1.0 → python_statemachine-3.1.1}/tests/scxml/w3c/optional/test459.scxml +0 -0
- {python_statemachine-3.1.0 → python_statemachine-3.1.1}/tests/scxml/w3c/optional/test460.scxml +0 -0
- {python_statemachine-3.1.0 → python_statemachine-3.1.1}/tests/scxml/w3c/optional/test509.scxml +0 -0
- {python_statemachine-3.1.0 → python_statemachine-3.1.1}/tests/scxml/w3c/optional/test510.scxml +0 -0
- {python_statemachine-3.1.0 → python_statemachine-3.1.1}/tests/scxml/w3c/optional/test518.scxml +0 -0
- {python_statemachine-3.1.0 → python_statemachine-3.1.1}/tests/scxml/w3c/optional/test519.scxml +0 -0
- {python_statemachine-3.1.0 → python_statemachine-3.1.1}/tests/scxml/w3c/optional/test520.scxml +0 -0
- {python_statemachine-3.1.0 → python_statemachine-3.1.1}/tests/scxml/w3c/optional/test522.scxml +0 -0
- {python_statemachine-3.1.0 → python_statemachine-3.1.1}/tests/scxml/w3c/optional/test531.scxml +0 -0
- {python_statemachine-3.1.0 → python_statemachine-3.1.1}/tests/scxml/w3c/optional/test532.scxml +0 -0
- {python_statemachine-3.1.0 → python_statemachine-3.1.1}/tests/scxml/w3c/optional/test534.scxml +0 -0
- {python_statemachine-3.1.0 → python_statemachine-3.1.1}/tests/scxml/w3c/optional/test557.scxml +0 -0
- {python_statemachine-3.1.0 → python_statemachine-3.1.1}/tests/scxml/w3c/optional/test557.txt +0 -0
- {python_statemachine-3.1.0 → python_statemachine-3.1.1}/tests/scxml/w3c/optional/test558.scxml +0 -0
- {python_statemachine-3.1.0 → python_statemachine-3.1.1}/tests/scxml/w3c/optional/test558.txt +0 -0
- {python_statemachine-3.1.0 → python_statemachine-3.1.1}/tests/scxml/w3c/optional/test560.scxml +0 -0
- {python_statemachine-3.1.0 → python_statemachine-3.1.1}/tests/scxml/w3c/optional/test561.scxml +0 -0
- {python_statemachine-3.1.0 → python_statemachine-3.1.1}/tests/scxml/w3c/optional/test562.scxml +0 -0
- {python_statemachine-3.1.0 → python_statemachine-3.1.1}/tests/scxml/w3c/optional/test567.scxml +0 -0
- {python_statemachine-3.1.0 → python_statemachine-3.1.1}/tests/scxml/w3c/optional/test569.scxml +0 -0
- {python_statemachine-3.1.0 → python_statemachine-3.1.1}/tests/scxml/w3c/optional/test577.scxml +0 -0
- {python_statemachine-3.1.0 → python_statemachine-3.1.1}/tests/scxml/w3c/optional/test578.scxml +0 -0
- {python_statemachine-3.1.0 → python_statemachine-3.1.1}/tests/test_actions.py +0 -0
- {python_statemachine-3.1.0 → python_statemachine-3.1.1}/tests/test_api_contract.py +0 -0
- {python_statemachine-3.1.0 → python_statemachine-3.1.1}/tests/test_async.py +0 -0
- {python_statemachine-3.1.0 → python_statemachine-3.1.1}/tests/test_async_futures.py +0 -0
- {python_statemachine-3.1.0 → python_statemachine-3.1.1}/tests/test_callbacks.py +0 -0
- {python_statemachine-3.1.0 → python_statemachine-3.1.1}/tests/test_callbacks_isolation.py +0 -0
- {python_statemachine-3.1.0 → python_statemachine-3.1.1}/tests/test_class_listeners.py +0 -0
- {python_statemachine-3.1.0 → python_statemachine-3.1.1}/tests/test_conditions_algebra.py +0 -0
- {python_statemachine-3.1.0 → python_statemachine-3.1.1}/tests/test_configuration.py +0 -0
- {python_statemachine-3.1.0 → python_statemachine-3.1.1}/tests/test_contrib_diagram.py +0 -0
- {python_statemachine-3.1.0 → python_statemachine-3.1.1}/tests/test_contrib_timeout.py +0 -0
- {python_statemachine-3.1.0 → python_statemachine-3.1.1}/tests/test_copy.py +0 -0
- {python_statemachine-3.1.0 → python_statemachine-3.1.1}/tests/test_dispatcher.py +0 -0
- {python_statemachine-3.1.0 → python_statemachine-3.1.1}/tests/test_error_execution.py +0 -0
- {python_statemachine-3.1.0 → python_statemachine-3.1.1}/tests/test_events.py +0 -0
- {python_statemachine-3.1.0 → python_statemachine-3.1.1}/tests/test_examples.py +0 -0
- {python_statemachine-3.1.0 → python_statemachine-3.1.1}/tests/test_fellowship_quest.py +0 -0
- {python_statemachine-3.1.0 → python_statemachine-3.1.1}/tests/test_io.py +0 -0
- {python_statemachine-3.1.0 → python_statemachine-3.1.1}/tests/test_listener.py +0 -0
- {python_statemachine-3.1.0 → python_statemachine-3.1.1}/tests/test_mermaid_renderer.py +0 -0
- {python_statemachine-3.1.0 → python_statemachine-3.1.1}/tests/test_mixins.py +0 -0
- {python_statemachine-3.1.0 → python_statemachine-3.1.1}/tests/test_mock_compatibility.py +0 -0
- {python_statemachine-3.1.0 → python_statemachine-3.1.1}/tests/test_multiple_destinations.py +0 -0
- {python_statemachine-3.1.0 → python_statemachine-3.1.1}/tests/test_profiling.py +0 -0
- {python_statemachine-3.1.0 → python_statemachine-3.1.1}/tests/test_registry.py +0 -0
- {python_statemachine-3.1.0 → python_statemachine-3.1.1}/tests/test_rtc.py +0 -0
- {python_statemachine-3.1.0 → python_statemachine-3.1.1}/tests/test_scxml_units.py +0 -0
- {python_statemachine-3.1.0 → python_statemachine-3.1.1}/tests/test_signature.py +0 -0
- {python_statemachine-3.1.0 → python_statemachine-3.1.1}/tests/test_signature_positional_only.py +0 -0
- {python_statemachine-3.1.0 → python_statemachine-3.1.1}/tests/test_spec_parser.py +0 -0
- {python_statemachine-3.1.0 → python_statemachine-3.1.1}/tests/test_state.py +0 -0
- {python_statemachine-3.1.0 → python_statemachine-3.1.1}/tests/test_state_callbacks.py +0 -0
- {python_statemachine-3.1.0 → python_statemachine-3.1.1}/tests/test_statechart_compound.py +0 -0
- {python_statemachine-3.1.0 → python_statemachine-3.1.1}/tests/test_statechart_delayed.py +0 -0
- {python_statemachine-3.1.0 → python_statemachine-3.1.1}/tests/test_statechart_donedata.py +0 -0
- {python_statemachine-3.1.0 → python_statemachine-3.1.1}/tests/test_statechart_error.py +0 -0
- {python_statemachine-3.1.0 → python_statemachine-3.1.1}/tests/test_statechart_eventless.py +0 -0
- {python_statemachine-3.1.0 → python_statemachine-3.1.1}/tests/test_statechart_history.py +0 -0
- {python_statemachine-3.1.0 → python_statemachine-3.1.1}/tests/test_statechart_in_condition.py +0 -0
- {python_statemachine-3.1.0 → python_statemachine-3.1.1}/tests/test_statechart_parallel.py +0 -0
- {python_statemachine-3.1.0 → python_statemachine-3.1.1}/tests/test_statemachine.py +0 -0
- {python_statemachine-3.1.0 → python_statemachine-3.1.1}/tests/test_statemachine_bounded_transitions.py +0 -0
- {python_statemachine-3.1.0 → python_statemachine-3.1.1}/tests/test_statemachine_compat.py +0 -0
- {python_statemachine-3.1.0 → python_statemachine-3.1.1}/tests/test_statemachine_inheritance.py +0 -0
- {python_statemachine-3.1.0 → python_statemachine-3.1.1}/tests/test_transition_list.py +0 -0
- {python_statemachine-3.1.0 → python_statemachine-3.1.1}/tests/test_transition_table.py +0 -0
- {python_statemachine-3.1.0 → python_statemachine-3.1.1}/tests/test_transitions.py +0 -0
- {python_statemachine-3.1.0 → python_statemachine-3.1.1}/tests/test_validators.py +0 -0
- {python_statemachine-3.1.0 → python_statemachine-3.1.1}/tests/test_weighted_transitions.py +0 -0
- {python_statemachine-3.1.0 → python_statemachine-3.1.1}/tests/testcases/__init__.py +0 -0
- {python_statemachine-3.1.0 → python_statemachine-3.1.1}/tests/testcases/issue308.md +0 -0
- {python_statemachine-3.1.0 → python_statemachine-3.1.1}/tests/testcases/issue384_multiple_observers.md +0 -0
- {python_statemachine-3.1.0 → python_statemachine-3.1.1}/tests/testcases/issue449.md +0 -0
- {python_statemachine-3.1.0 → python_statemachine-3.1.1}/tests/testcases/test_issue434.py +0 -0
- {python_statemachine-3.1.0 → python_statemachine-3.1.1}/tests/testcases/test_issue480.py +0 -0
- {python_statemachine-3.1.0 → python_statemachine-3.1.1}/tests/testcases/test_issue509.py +0 -0
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
# StateChart 3.1.1
|
|
2
|
+
|
|
3
|
+
*May 15, 2026*
|
|
4
|
+
|
|
5
|
+
## Bug fixes in 3.1.1
|
|
6
|
+
|
|
7
|
+
### Thread-safety hardening of the configuration cache
|
|
8
|
+
|
|
9
|
+
Two races in `Configuration` (introduced indirectly by the cache + no-copy
|
|
10
|
+
design in 3.1.0) have been fixed. Both surfaced under concurrent reads of
|
|
11
|
+
`machine.configuration` while another thread is sending events to the same
|
|
12
|
+
state machine instance, a scenario explicitly supported by the sync engine.
|
|
13
|
+
|
|
14
|
+
1. **Cache read race.** `Configuration.states` checked
|
|
15
|
+
`self._cached is not None` and then returned `self._cached`. Another
|
|
16
|
+
thread invalidating between the check and the return could cause the
|
|
17
|
+
property to return `None`, leading to a `TypeError` in callers that
|
|
18
|
+
iterate the result (e.g., `list(machine.configuration)`). The getter now
|
|
19
|
+
snapshots the cache fields locally before the freshness check.
|
|
20
|
+
[#620](https://github.com/fgmacedo/python-statemachine/pull/620).
|
|
21
|
+
|
|
22
|
+
2. **In-place mutation race.** `Configuration.add()` and
|
|
23
|
+
`Configuration.discard()` mutated the `OrderedSet` stored on the model
|
|
24
|
+
in place and rewrote the same reference. A concurrent reader iterating
|
|
25
|
+
`.configuration` could observe a partially mutated set (raising
|
|
26
|
+
`RuntimeError: Set changed size during iteration`) or read back a stale
|
|
27
|
+
cached resolution missing the new state. Both methods now use
|
|
28
|
+
copy-on-write, producing a fresh `OrderedSet` per call. This affects
|
|
29
|
+
only `StateChart` (where `atomic_configuration_update=False` is the
|
|
30
|
+
default to support parallel regions). The atomic update path used by
|
|
31
|
+
`StateMachine` was never affected.
|
|
32
|
+
[#620](https://github.com/fgmacedo/python-statemachine/pull/620).
|
|
33
|
+
|
|
34
|
+
Both fixes are covered by new stress tests in
|
|
35
|
+
`tests/test_threading.py::TestThreadSafety`:
|
|
36
|
+
`test_concurrent_send_and_read_configuration` and
|
|
37
|
+
`test_concurrent_parallel_region_send_and_read`, plus a deterministic
|
|
38
|
+
copy-on-write contract test `test_add_discard_produce_fresh_orderedset`.
|
|
39
|
+
|
|
40
|
+
### Performance impact
|
|
41
|
+
|
|
42
|
+
Copy-on-write in `add()` / `discard()` reintroduces an O(n) shallow copy of
|
|
43
|
+
the active configuration on every state entry and exit. For the typical
|
|
44
|
+
configuration sizes used in practice (1–7 states), this is sub-microsecond.
|
|
45
|
+
|
|
46
|
+
Measured on macOS / Python 3.14, pytest-benchmark median, vs 3.1.0:
|
|
47
|
+
|
|
48
|
+
| Benchmark | 3.1.0 | 3.1.1 | Δ |
|
|
49
|
+
|------------------------------------|-------------|-------------|--------|
|
|
50
|
+
| `test_parallel_region_events` | 175.2 μs | 184.5 μs | +5.3% |
|
|
51
|
+
| `test_many_transitions_reset` | 125.9 μs | 139.5 μs | +10.9% |
|
|
52
|
+
| `test_guarded_transitions` | 70.0 μs | 75.7 μs | +8.2% |
|
|
53
|
+
| `test_history_pause_resume` | 88.4 μs | 91.4 μs | +3.4% |
|
|
54
|
+
| `test_many_transitions_full_cycle` | 156.9 μs | 162.1 μs | +3.3% |
|
|
55
|
+
| `test_flat_self_transition` | 38.7 μs | 39.1 μs | +1.0% |
|
|
56
|
+
|
|
57
|
+
Overall 4.7x–7.7x event throughput improvement vs 3.0.0 (declared in
|
|
58
|
+
[3.1.0 release notes](3.1.0.md)) is unchanged.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
[project]
|
|
2
2
|
name = "python-statemachine"
|
|
3
|
-
version = "3.1.
|
|
3
|
+
version = "3.1.1"
|
|
4
4
|
description = "Python Finite State Machines made easy."
|
|
5
5
|
authors = [{ name = "Fernando Macedo", email = "fgmacedo@gmail.com" }]
|
|
6
6
|
maintainers = [{ name = "Fernando Macedo", email = "fgmacedo@gmail.com" }]
|
|
@@ -73,8 +73,13 @@ class Configuration:
|
|
|
73
73
|
def states(self) -> "OrderedSet[State]":
|
|
74
74
|
"""The set of currently active :class:`State` instances (cached)."""
|
|
75
75
|
raw = self.value
|
|
76
|
-
|
|
77
|
-
|
|
76
|
+
# Snapshot the cache fields locally — another thread may call
|
|
77
|
+
# ``_invalidate()`` between the freshness check and the return,
|
|
78
|
+
# so reading ``self._cached`` twice would risk returning ``None``.
|
|
79
|
+
cached = self._cached
|
|
80
|
+
cached_value = self._cached_value
|
|
81
|
+
if cached is not None and cached_value is raw:
|
|
82
|
+
return cached
|
|
78
83
|
if raw is None:
|
|
79
84
|
return OrderedSet()
|
|
80
85
|
|
|
@@ -92,14 +97,17 @@ class Configuration:
|
|
|
92
97
|
# -- Incremental mutation (used by the engine) -----------------------------
|
|
93
98
|
|
|
94
99
|
def add(self, state: "State"):
|
|
95
|
-
"""Add *state* to the configuration."""
|
|
96
|
-
|
|
100
|
+
"""Add *state* to the configuration (copy-on-write for thread safety)."""
|
|
101
|
+
# Copy so we never mutate the OrderedSet still held by concurrent
|
|
102
|
+
# readers or by the cache identity check. ``_read_from_model`` may
|
|
103
|
+
# return the same ref stored on the model.
|
|
104
|
+
values = OrderedSet(self._read_from_model())
|
|
97
105
|
values.add(state.value)
|
|
98
106
|
self._write_to_model(values)
|
|
99
107
|
|
|
100
108
|
def discard(self, state: "State"):
|
|
101
|
-
"""Remove *state* from the configuration."""
|
|
102
|
-
values = self._read_from_model()
|
|
109
|
+
"""Remove *state* from the configuration (copy-on-write for thread safety)."""
|
|
110
|
+
values = OrderedSet(self._read_from_model())
|
|
103
111
|
values.discard(state.value)
|
|
104
112
|
self._write_to_model(values)
|
|
105
113
|
|
|
@@ -614,8 +614,10 @@ class TestInvokeCancelAlreadyTerminated:
|
|
|
614
614
|
done_invoke_loading = loading.to(ready)
|
|
615
615
|
|
|
616
616
|
sm = await sm_runner.start(SM)
|
|
617
|
-
|
|
618
|
-
|
|
617
|
+
deadline = time.monotonic() + 2.0
|
|
618
|
+
while "ready" not in sm.configuration_values and time.monotonic() < deadline:
|
|
619
|
+
await sm_runner.sleep(0.02)
|
|
620
|
+
await sm_runner.processing_loop(sm)
|
|
619
621
|
|
|
620
622
|
assert "ready" in sm.configuration_values
|
|
621
623
|
# All invocations should be terminated by now
|
|
@@ -134,6 +134,22 @@ class TestThreadSafety:
|
|
|
134
134
|
|
|
135
135
|
return CyclingMachine()
|
|
136
136
|
|
|
137
|
+
@pytest.fixture()
|
|
138
|
+
def parallel_machine(self):
|
|
139
|
+
class TwoRegions(StateChart):
|
|
140
|
+
class both(State.Parallel):
|
|
141
|
+
class left(State.Compound):
|
|
142
|
+
l1 = State(initial=True)
|
|
143
|
+
l2 = State()
|
|
144
|
+
tick_l = l1.to(l2) | l2.to(l1)
|
|
145
|
+
|
|
146
|
+
class right(State.Compound):
|
|
147
|
+
r1 = State(initial=True)
|
|
148
|
+
r2 = State()
|
|
149
|
+
tick_r = r1.to(r2) | r2.to(r1)
|
|
150
|
+
|
|
151
|
+
return TwoRegions()
|
|
152
|
+
|
|
137
153
|
@pytest.mark.parametrize("num_threads", [4, 8])
|
|
138
154
|
def test_concurrent_sends_no_lost_events(self, cycling_machine, num_threads):
|
|
139
155
|
"""All events sent concurrently must be processed — none lost."""
|
|
@@ -294,6 +310,67 @@ class TestThreadSafety:
|
|
|
294
310
|
|
|
295
311
|
assert not errors, f"Thread errors: {errors}"
|
|
296
312
|
|
|
313
|
+
def test_concurrent_parallel_region_send_and_read(self, parallel_machine):
|
|
314
|
+
"""Reading configuration while parallel-region events mutate it must not raise.
|
|
315
|
+
|
|
316
|
+
Regresses an in-place mutation of the model's ``OrderedSet`` during
|
|
317
|
+
``Configuration.add()`` / ``discard()``: a concurrent reader iterating
|
|
318
|
+
``.configuration`` could crash with
|
|
319
|
+
``RuntimeError: Set changed size during iteration`` or briefly observe
|
|
320
|
+
a stale cached set missing the newly entered state.
|
|
321
|
+
"""
|
|
322
|
+
num_senders = 4
|
|
323
|
+
events_per_sender = 400
|
|
324
|
+
barrier = threading.Barrier(num_senders + 1)
|
|
325
|
+
stop_event = threading.Event()
|
|
326
|
+
errors = []
|
|
327
|
+
|
|
328
|
+
def sender(event_name):
|
|
329
|
+
try:
|
|
330
|
+
barrier.wait(timeout=5)
|
|
331
|
+
for _ in range(events_per_sender):
|
|
332
|
+
parallel_machine.send(event_name)
|
|
333
|
+
except Exception as e:
|
|
334
|
+
errors.append(e)
|
|
335
|
+
|
|
336
|
+
def reader():
|
|
337
|
+
barrier.wait(timeout=5)
|
|
338
|
+
while not stop_event.is_set():
|
|
339
|
+
try:
|
|
340
|
+
# Force resolution + iteration each loop.
|
|
341
|
+
_ = list(parallel_machine.configuration)
|
|
342
|
+
_ = [s.id for s in parallel_machine.configuration]
|
|
343
|
+
except Exception as e:
|
|
344
|
+
errors.append(e)
|
|
345
|
+
|
|
346
|
+
senders = []
|
|
347
|
+
# Alternate tick_l / tick_r across threads so both regions mutate concurrently.
|
|
348
|
+
for i in range(num_senders):
|
|
349
|
+
event = "tick_l" if i % 2 == 0 else "tick_r"
|
|
350
|
+
senders.append(threading.Thread(target=sender, args=(event,)))
|
|
351
|
+
reader_thread = threading.Thread(target=reader)
|
|
352
|
+
|
|
353
|
+
for t in senders:
|
|
354
|
+
t.start()
|
|
355
|
+
reader_thread.start()
|
|
356
|
+
|
|
357
|
+
for t in senders:
|
|
358
|
+
t.join(timeout=30)
|
|
359
|
+
stop_event.set()
|
|
360
|
+
reader_thread.join(timeout=5)
|
|
361
|
+
|
|
362
|
+
assert not errors, f"Thread errors: {errors}"
|
|
363
|
+
|
|
364
|
+
def test_add_discard_produce_fresh_orderedset(self, parallel_machine):
|
|
365
|
+
"""``add`` / ``discard`` must produce a fresh ``OrderedSet`` ref each call.
|
|
366
|
+
|
|
367
|
+
Pins the copy-on-write contract independently of timing: otherwise a
|
|
368
|
+
reader holding the prior ref could observe mid-mutation.
|
|
369
|
+
"""
|
|
370
|
+
snapshot = parallel_machine._config.values
|
|
371
|
+
parallel_machine.send("tick_l")
|
|
372
|
+
assert parallel_machine._config.values is not snapshot
|
|
373
|
+
|
|
297
374
|
|
|
298
375
|
async def test_regression_443_with_modifications_for_async_engine():
|
|
299
376
|
"""
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{python_statemachine-3.1.0 → python_statemachine-3.1.1}/.github/workflows/python-package.yml
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{python_statemachine-3.1.0 → python_statemachine-3.1.1}/docs/how-to/coming_from_state_pattern.md
RENAMED
|
File without changes
|
{python_statemachine-3.1.0 → python_statemachine-3.1.1}/docs/how-to/coming_from_transitions.md
RENAMED
|
File without changes
|
{python_statemachine-3.1.0 → python_statemachine-3.1.1}/docs/images/_oc_machine_processing.svg
RENAMED
|
File without changes
|
{python_statemachine-3.1.0 → python_statemachine-3.1.1}/docs/images/internal_transition_sc.png
RENAMED
|
File without changes
|
|
File without changes
|
{python_statemachine-3.1.0 → python_statemachine-3.1.1}/docs/images/oc_machine_processing.svg
RENAMED
|
File without changes
|
|
File without changes
|
{python_statemachine-3.1.0 → python_statemachine-3.1.1}/docs/images/readme_trafficlightmachine.png
RENAMED
|
File without changes
|
{python_statemachine-3.1.0 → python_statemachine-3.1.1}/docs/images/test_state_machine_internal.png
RENAMED
|
File without changes
|
{python_statemachine-3.1.0 → python_statemachine-3.1.1}/docs/images/traffic_light_machine.png
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{python_statemachine-3.1.0 → python_statemachine-3.1.1}/statemachine/contrib/diagram/__init__.py
RENAMED
|
File without changes
|
{python_statemachine-3.1.0 → python_statemachine-3.1.1}/statemachine/contrib/diagram/__main__.py
RENAMED
|
File without changes
|
{python_statemachine-3.1.0 → python_statemachine-3.1.1}/statemachine/contrib/diagram/extract.py
RENAMED
|
File without changes
|
{python_statemachine-3.1.0 → python_statemachine-3.1.1}/statemachine/contrib/diagram/formatter.py
RENAMED
|
File without changes
|
{python_statemachine-3.1.0 → python_statemachine-3.1.1}/statemachine/contrib/diagram/model.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{python_statemachine-3.1.0 → python_statemachine-3.1.1}/statemachine/contrib/diagram/sphinx_ext.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|