From: IAN DELANEY <della5@iinet.com.au>
To: gentoo-python@lists.gentoo.org
Subject: Re: [gentoo-python] Supporting non-UTF-8 locales
Date: Mon, 18 Feb 2013 15:36:02 +0800 [thread overview]
Message-ID: <20130218153602.06d43fd3@archtester.homenetwork> (raw)
In-Reply-To: <CAJ0EP42aWhOWUJMThDL3T7FCF1MyLSOJG2p8KGW+=bSuB34J0w@mail.gmail.com>
On Sun, 17 Feb 2013 13:48:28 -0500
Mike Gilbert <floppym@gentoo.org> 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
next prev parent reply other threads:[~2013-02-18 7:36 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-02-17 18:48 [gentoo-python] Supporting non-UTF-8 locales Mike Gilbert
2013-02-17 19:09 ` Brian Dolbec
2013-02-18 7:36 ` IAN DELANEY [this message]
2013-02-18 8:59 ` Michał Górny
2013-02-18 15:12 ` Mike Gilbert
[not found] ` <CAKmKYaBN1QyX8M5trT1tvp-om+_9F7w1YkXvYJuNOeZhzoScjg@mail.gmail.com>
2013-02-18 15:20 ` [gentoo-python] " Mike Gilbert
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20130218153602.06d43fd3@archtester.homenetwork \
--to=della5@iinet.com.au \
--cc=gentoo-python@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox