This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author xxm
Recipients xxm
Date 2021-03-23.01:54:58
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1616464498.74.0.582898049043.issue43599@roundup.psfhosted.org>
In-reply-to
Content
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.
History
Date User Action Args
2021-03-23 01:54:58xxmsetrecipients: + xxm
2021-03-23 01:54:58xxmsetmessageid: <1616464498.74.0.582898049043.issue43599@roundup.psfhosted.org>
2021-03-23 01:54:58xxmlinkissue43599 messages
2021-03-23 01:54:58xxmcreate