summaryrefslogtreecommitdiff
path: root/Python/frozenmain.c
diff options
context:
space:
mode:
authorSerhiy Storchaka <storchaka@gmail.com>2014-08-13 09:36:06 +0300
committerSerhiy Storchaka <storchaka@gmail.com>2014-08-13 09:36:06 +0300
commit5be034cf6165724587beb18dca9e5b7682442a74 (patch)
tree6b6cef1d5851e7f5770aa78f9290dba4f546bb01 /Python/frozenmain.c
parentb1ec624fe7b26b6a23658840b50b15b372de670e (diff)
parent8128e231900edc5b5f035f83186cb7507271ab84 (diff)
downloadcpython-5be034cf6165724587beb18dca9e5b7682442a74.tar.gz
Issue #20729: Restored the use of lazy iterkeys()/itervalues()/iteritems()
in the mailbox module. This is partial rollback of changeset f340cb045bf9.
Diffstat (limited to 'Python/frozenmain.c')
-rw-r--r--Python/frozenmain.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Python/frozenmain.c b/Python/frozenmain.c
index 55d05fc26f..cb84ed5f24 100644
--- a/Python/frozenmain.c
+++ b/Python/frozenmain.c
@@ -52,7 +52,7 @@ Py_FrozenMain(int argc, char **argv)
setlocale(LC_ALL, "");
for (i = 0; i < argc; i++) {
- argv_copy[i] = _Py_char2wchar(argv[i], NULL);
+ argv_copy[i] = Py_DecodeLocale(argv[i], NULL);
argv_copy2[i] = argv_copy[i];
if (!argv_copy[i]) {
fprintf(stderr, "Unable to decode the command line argument #%i\n",