When all the tasks started by brython(options) are done, dispatch a custom event "brython_done" with attribute "detail" set to options (related to issue #1533)
When all the tasks started by brython(options) are done, dispatch a custom event "brython_done" with attribute "detail" set to options (related to issue #1533)

brython-dev/brython,brython-dev/brython,brython-dev/brython