[New-bugs-announce] [issue43189] <test.support> decorator function run_with_locale() crashes Python interpreter
Yang Feng
report at bugs.python.org
Wed Feb 10 04:46:08 EST 2021
New submission from Yang Feng <charles.fy at 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 <report at bugs.python.org>
<https://bugs.python.org/issue43189>
_______________________________________
More information about the New-bugs-announce
mailing list