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 ned.deily
Recipients ned.deily, r.david.murray, ronaldoussoren, sentinel, serhiy.storchaka
Date 2015-10-12.16:59:23
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1444669163.07.0.295782999.issue25359@psf.upfronthosting.co.za>
In-reply-to
Content
I can reproduce the problem using the MacPorts python2.7 but not the Apple-supplied Python 2.7 or the python.org one.  The difference seems to be that the MacPorts Python is built with the MacPorts-supplied GNU gettext and its libintl, whereas the others aren't (since Apple does not ship libintl).  I don't have time at the moment to dig into why the libintl version of setlocale retunes '' instead of 'US-ASCII'.  Perhaps locale.py or io could handle that case better?
History
Date User Action Args
2015-10-12 16:59:23ned.deilysetrecipients: + ned.deily, ronaldoussoren, r.david.murray, serhiy.storchaka, sentinel
2015-10-12 16:59:23ned.deilysetmessageid: <1444669163.07.0.295782999.issue25359@psf.upfronthosting.co.za>
2015-10-12 16:59:23ned.deilylinkissue25359 messages
2015-10-12 16:59:23ned.deilycreate