From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 7661E138AD7 for ; Mon, 18 Feb 2013 07:36:06 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 16FF821C01A; Mon, 18 Feb 2013 07:36:05 +0000 (UTC) Received: from icp-osb-irony-out1.external.iinet.net.au (icp-osb-irony-out1.external.iinet.net.au [203.59.1.210]) by pigeon.gentoo.org (Postfix) with ESMTP id F09E521C01A for ; Mon, 18 Feb 2013 07:36:03 +0000 (UTC) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Ag4FADvZIVF8lHxy/2dsb2JhbABEhWC6QYEEFnOCHwEBBAE6RAsLDRQlDxA4GYgMBb56jz4WgyoDiGWEYohkhhSKRYMU X-IronPort-AV: E=Sophos;i="4.84,684,1355068800"; d="scan'208";a="89381916" Received: from unknown (HELO archtester.homenetwork) ([124.148.124.114]) by icp-osb-irony-out1.iinet.net.au with ESMTP; 18 Feb 2013 15:36:01 +0800 Date: Mon, 18 Feb 2013 15:36:02 +0800 From: IAN DELANEY To: gentoo-python@lists.gentoo.org Subject: Re: [gentoo-python] Supporting non-UTF-8 locales Message-ID: <20130218153602.06d43fd3@archtester.homenetwork> In-Reply-To: References: Organization: homenetwork X-Mailer: Claws Mail 3.8.1 (GTK+ 2.24.13; x86_64-pc-linux-gnu) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Discussions centering around the Python ecosystem in Gentoo Linux X-BeenThere: gentoo-python@gentoo.org X-BeenThere: gentoo-python@lists.gentoo.org Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Archives-Salt: a6ee337a-3348-448d-87b3-4ce4f804307d X-Archives-Hash: cf923e15604a46a09ca2faf79c9fa0e1 On Sun, 17 Feb 2013 13:48:28 -0500 Mike Gilbert wrote: > 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. > Well, I tend to fix issues, be they builds of tests. > 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? > Firstly, thumbs up for floating the issue. "please use a sane locale" fundamentally undermines the merit of the tinderbox meister making such bugs. He deliberately makes such locales to flush out such packages supporting only the utf8. He's clearly convinced of the righteousness of the bug submissions, but then again, so to for everything else he does under the banner of working gentoo. The ignoring of such tests to me implies it's not really a bug, and frankly this notion has obvious merit. If there are utf and non utf locales and the utf makes it work, then arguably the package is buildable and installable. The selection of a normative locale across the board has obvious merit. If not utf8 simply einfo the user to set one. One statement arguing against I could cite from am upstream dev who, lumbered with this exact task, agreed in principal they should not assume a utf locale, and a fix for it has been made already by a few maintainers of other packages, e.g. ipython. Trouble is, he's one of a very long queue of upstream devs. to not support non-UTF-8 locales -- it just isn't > worth the effort. This is more or less the assumed and invisible policy, and frankly on that basis I go along with Mike's selection. Making this a formal issue and declaring a python team policy is afaict the only legitimate method of 'informing' the tinderbox meister these are not bugs, these just further spam bugzilla. Then we can close such bugs as WONTFIX on a consistent basis without anticipation of the next dose o' the long ago banned whip. After all, these bug submissions come almost exclusively from him. -- kind regards Ian Delaney