homepage

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 refi64
Recipients chaselton, ethan.furman, freakboy3742, r.david.murray, refi64
Date 2015年04月18日.18:08:17
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <CAO41-mONskD+wX_7PnUPJtRu7CxiM=rG99WxD5xCEtEm_349mg@mail.gmail.com>
In-reply-to <1429378755.16.0.655008992285.issue23496@psf.upfronthosting.co.za>
Content
Here:
diff -r 38f5b3beeb2a Python/pylifecycle.c
--- a/Python/pylifecycle.c Thu Mar 19 15:16:03 2015 -0500
+++ b/Python/pylifecycle.c Sat Apr 18 13:07:36 2015 -0500
@@ -217,6 +217,10 @@
 char codepage[100];
 PyOS_snprintf(codepage, sizeof(codepage), "cp%d", GetACP());
 return get_codec_name(codepage);
+#elif defined(__ANDROID__)
+ char* m = malloc(6);
+ strcpy(m, "ascii");
+ return m;
 #elif defined(HAVE_LANGINFO_H) && defined(CODESET)
 char* codeset = nl_langinfo(CODESET);
 if (!codeset || codeset[0] == '0円') {
@@ -224,10 +228,6 @@
 return NULL;
 }
 return get_codec_name(codeset);
-#elif defined(__ANDROID__)
- char* m = malloc(6);
- strcpy(m, "ascii");
- return m;
 #else
 PyErr_SetNone(PyExc_NotImplementedError);
 return NULL;
On Sat, Apr 18, 2015 at 12:39 PM, Cyd Haselton <report@bugs.python.org>
wrote:
>
> Cyd Haselton added the comment:
>
> Do you have the time/means to create a quick patch for that?
>
> I ask because even a simple flip like that becomes a major pain when
> working with nano on a tablet.
>
> If not, I'll start on it. Just thought I"d ask
>
> ----------
>
> _______________________________________
> Python tracker <report@bugs.python.org>
> <http://bugs.python.org/issue23496>
> _______________________________________
>
History
Date User Action Args
2015年04月18日 18:08:17refi64setrecipients: + refi64, r.david.murray, freakboy3742, ethan.furman, chaselton
2015年04月18日 18:08:17refi64linkissue23496 messages
2015年04月18日 18:08:17refi64create

AltStyle によって変換されたページ (->オリジナル) /