New submission from Yang Feng <charles...@foxmail.com>:
We use run_with_locale() as decorator function, then we recursively call test_float__format__locale in the following example. Python interpreter crashes. +++++++++++++++++++++++++++++++++++++++++++ from test.support import run_with_locale @run_with_locale('LC_NUMERIC', 'en_US.UTF8') def test_float__format__locale(): test_float__format__locale() test_float__format__locale() +++++++++++++++++++++++++++++++++++++++++ System Info: Ubuntu 16.04 Python Version: Python 3.9.1 ---------- components: Tests messages: 386767 nosy: CharlesFengY priority: normal severity: normal status: open title: <test.support> decorator function run_with_locale() crashes Python interpreter type: crash versions: Python 3.9 _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue43189> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com