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.
Created on 2008年07月06日 15:46 by vstinner, last changed 2022年04月11日 14:56 by admin. This issue is now closed.
| Files | ||||
|---|---|---|---|---|
| File name | Uploaded | Description | Edit | |
| locale_none-2.patch | vstinner, 2008年07月19日 10:59 | Improve previous patch: "|| !in" test was useless | ||
| Messages (2) | |||
|---|---|---|---|
| msg69335 - (view) | Author: STINNER Victor (vstinner) * (Python committer) | Date: 2008年07月06日 15:46 | |
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.
|
|||
| msg70016 - (view) | Author: Georg Brandl (georg.brandl) * (Python committer) | Date: 2008年07月19日 12:39 | |
Fixed in r65133. |
|||
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2022年04月11日 14:56:36 | admin | set | github: 47552 |
| 2008年07月19日 12:39:24 | georg.brandl | set | status: open -> closed assignee: loewis -> georg.brandl resolution: fixed messages: + msg70016 nosy: + georg.brandl |
| 2008年07月19日 10:59:57 | vstinner | set | files: - locale_none.patch |
| 2008年07月19日 10:59:49 | vstinner | set | files: + locale_none-2.patch |
| 2008年07月06日 17:11:29 | loewis | set | priority: high |
| 2008年07月06日 16:56:31 | georg.brandl | set | assignee: loewis nosy: + loewis |
| 2008年07月06日 15:46:48 | vstinner | create | |