From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <gentoo-python+bounces-383-garchives=archives.gentoo.org@lists.gentoo.org>
Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80])
	by finch.gentoo.org (Postfix) with ESMTP id 43A00138ABE
	for <garchives@archives.gentoo.org>; Sun, 17 Feb 2013 18:48:51 +0000 (UTC)
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id C7FF6E0509;
	Sun, 17 Feb 2013 18:48:50 +0000 (UTC)
Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183])
	(using TLSv1 with cipher AECDH-AES256-SHA (256/256 bits))
	(No client certificate requested)
	by pigeon.gentoo.org (Postfix) with ESMTPS id 4E867E0509
	for <gentoo-python@lists.gentoo.org>; Sun, 17 Feb 2013 18:48:50 +0000 (UTC)
Received: from mail-ie0-f174.google.com (mail-ie0-f174.google.com [209.85.223.174])
	(using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits))
	(No client certificate requested)
	(Authenticated sender: floppym)
	by smtp.gentoo.org (Postfix) with ESMTPSA id 756EC33DB44
	for <gentoo-python@lists.gentoo.org>; Sun, 17 Feb 2013 18:48:49 +0000 (UTC)
Received: by mail-ie0-f174.google.com with SMTP id k10so6526020iea.33
        for <gentoo-python@lists.gentoo.org>; Sun, 17 Feb 2013 10:48:28 -0800 (PST)
Precedence: bulk
List-Post: <mailto:gentoo-python@lists.gentoo.org>
List-Help: <mailto:gentoo-python+help@lists.gentoo.org>
List-Unsubscribe: <mailto:gentoo-python+unsubscribe@lists.gentoo.org>
List-Subscribe: <mailto:gentoo-python+subscribe@lists.gentoo.org>
List-Id: Discussions centering around the Python ecosystem in Gentoo Linux <gentoo-python.gentoo.org>
X-BeenThere: gentoo-python@gentoo.org
X-BeenThere: gentoo-python@lists.gentoo.org
MIME-Version: 1.0
X-Received: by 10.50.6.202 with SMTP id d10mr3405118iga.28.1361126908699; Sun,
 17 Feb 2013 10:48:28 -0800 (PST)
Received: by 10.64.102.66 with HTTP; Sun, 17 Feb 2013 10:48:28 -0800 (PST)
Date: Sun, 17 Feb 2013 13:48:28 -0500
Message-ID: <CAJ0EP42aWhOWUJMThDL3T7FCF1MyLSOJG2p8KGW+=bSuB34J0w@mail.gmail.com>
Subject: [gentoo-python] Supporting non-UTF-8 locales
From: Mike Gilbert <floppym@gentoo.org>
To: gentoo-python <gentoo-python@lists.gentoo.org>
Cc: python@gentoo.org
Content-Type: text/plain; charset=UTF-8
X-Archives-Salt: 1fdcf8a2-4682-4f15-ba29-6ed1eb642b01
X-Archives-Hash: fa7d3f20a7f10a932436cdbfd14ecc92

This issue seems to keep coming up in bug reports, especially those
filed by Diego from his tinderbox. Basically, the way I/O is handled
in python3 often causes build failures or test failures if you do not
have a UTF-8 locale set. Ideally, upstream developers would write
their code to deal with this, but that's a bit of a pipe dream.

Gentoo as a whole can't seem to make its mind up, but can the python
team come to a rough consensus as to whether we want to support
non-UTF-8 locales for python packages?

I'm sitting on the fence at the moment: I tend to fix issues if they
cause build failures, but I ignore any test failures.

If we decide to support non-UTF-8 locales, we need to stop leaving
bugzilla comments like "please use a sane locale".

If we decide against supporting non-UTF-8 locales, I think we should
begin to close such bugs as WONTFIX on a consistent basis.

My vote would be to not support non-UTF-8 locales -- it just isn't
worth the effort.

Thoughts?