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 alanh
Recipients alanh, lemburg, r.david.murray, vstinner
Date 2013年09月16日.18:24:36
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1379355876.83.0.670228966151.issue19036@psf.upfronthosting.co.za>
In-reply-to
Content
Sure, Look in the function.....
check_force_ascii()
You'll see a hunk of code that is ifdef'd for ...
#if defined(HAVE_LANGINFO_H) && defined(CODESET)
Then you'll see 
setlocale()
is called outside of that check, just before another hunk of code is
ifdef'd with the same....
#if defined(HAVE_LANGINFO_H) && defined(CODESET)
Basically making setlocale() outside of the check, and therefore requiring the #include <locale.h> outside of the above check as well.
In pythonrun.c the setlocale() call is already wrapped inside the #ifdef so the problem is bumped into there.
History
Date User Action Args
2013年09月16日 18:24:36alanhsetrecipients: + alanh, lemburg, vstinner, r.david.murray
2013年09月16日 18:24:36alanhsetmessageid: <1379355876.83.0.670228966151.issue19036@psf.upfronthosting.co.za>
2013年09月16日 18:24:36alanhlinkissue19036 messages
2013年09月16日 18:24:36alanhcreate

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