Xavier de Gaye added the comment: The problem: raise() does not cause the program to exit in a Python interactive session and a spawned Python process exits with 0. Android fixed this problem at API level 24 (Android 6.0 aka Marshmallow). The attached patch fixes this (tested at API levels 21 et 24).
---------- assignee: -> xdegaye components: +Tests -Cross-Build, Library (Lib) keywords: +patch stage: -> patch review versions: +Python 3.7 Added file: http://bugs.python.org/file45371/buggy_raise.patch _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue26934> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com