Continue fixing deadlock of previous commit, this time occuring when waiting for 'cleanup' python runtime call to finish. Now 'init' and 'cleanup' python runtime calls are called directly from main thread, and aren't anymore invoked in the context of wxMainloop and/or twisted reactor.
.project
.directory
.pytest_cache
.cache
.coverage_full
syntax: regexp
^tests/.*/build$
^.idea/.*
syntax: regexp
^.*\.pyc$
syntax: regexp
^.*~$
syntax: regexp
^.*\.swp$
bug_report.*\.txt
i18n/.*.new$
revision
doc/_build
doc/locale