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 vstinner
Recipients vstinner
Date 2008-07-06.15:46:46
SpamBayes Score 0.00991635
Marked as misclassified No
Message-id <>
msgid of gettext(), dgettext(), dcgettext() C functions can not be 
NULL (domainname can be NULL): "import locale; locale.gettext(None)" 
generates a segfault.

domainname argument of bindtextdomain() have to be a non empty 
string: "locale.bindtextdomain(NULL, NULL)" or 
locale.bindtextdomain('', NULL)" generates an OSError(0).

Attached patch fixes the two bugs.
Date User Action Args
2008-07-06 15:46:49vstinnersetspambayes_score: 0.00991635 -> 0.00991635
recipients: + vstinner
2008-07-06 15:46:48vstinnersetspambayes_score: 0.00991635 -> 0.00991635
messageid: <>
2008-07-06 15:46:48vstinnerlinkissue3302 messages
2008-07-06 15:46:47vstinnercreate