New submission from Xinmeng Xia <[email protected]>:
Setting the first argument of locale.dgettext() long string, Python interpreter
crashes.
======================================================
Python 3.10.0a6 (default, Mar 19 2021, 11:45:56) [GCC 7.5.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import locale;locale.dgettext('abs'*10000000,'')
Segmentation fault (core dumped)
======================================================
System: Ubuntu 16.04
BTW, the api of module locale seems to be inconsistent between Ubuntu and Mac
OS. E.g. there is no dgettext() for Python on Mac OS.
----------
components: Library (Lib)
messages: 389363
nosy: xxm
priority: normal
severity: normal
status: open
title: Setting long domain of locale.dgettext() crashes Python interpreter
type: crash
versions: Python 3.10
_______________________________________
Python tracker <[email protected]>
<https://bugs.python.org/issue43599>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com