You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
<test.support> decorator function run_with_locale() crashes Python interpreter #87355
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
Activity
CharlesFengY commentedon Feb 10, 2021
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
markshannon commentedon Mar 2, 2021
This behaves correctly (raising on RecursionOverflow) on 3.10a