From: Aleksey Avdeev <solo@solin.spb.ru>
To: ALT Linux Team development discussions <devel@lists.altlinux.org>
Subject: Re: [devel] U: [rpm-build-python3] LC_ALL=en_US.utf8 для python3.compileall.py
Date: Thu, 21 Feb 2013 21:27:32 +0400
Message-ID: <51265904.2030109@solin.spb.ru> (raw)
In-Reply-To: <51262C36.8030908@solin.spb.ru>
[-- Attachment #1: Type: text/plain, Size: 1499 bytes --]
21.02.2013 18:16, Aleksey Avdeev пишет:
> 19.02.2013 15:04, Aleksey Avdeev пишет:
>> 18.01.2013 15:41, REAL пишет:
>>> привет!
>>>
>>> кто-нибудь может подсказать, что изменилось и как теперь с этим жить?
>>
>> См.
>> <http://git.altlinux.org/people/ldv/packages/?p=rpm.git;a=commitdiff;h=279f487ca4461fc3cc29bc7eb9ea05a45abba4c1>.
>>
> ...
>>
>> Похоже, нужна ручка для запрета перекрыия правильного LC_ALL в
>> /usr/lib/rpm/functions.
>
> Цитирую <http://wiki.python.org/moin/Python2orPython3>:
>
> Guido van Rossum (the original creator of the Python language) decided
> to clean up Python 2.x properly, with less regard for backwards
> compatibility than is the case for new releases in the 2.x range. The
> most drastic improvement is the better Unicode support (with all text
> strings being Unicode by default) as well as saner bytes/Unicode separation.
>
> С учётом того, что полный переход на Unicode одна из фишек Python3 --
> считаю что байткомпиляциию, для его файлов стоит проводить с
> использованием LC_ALL=en_US.utf8.
>
> Думаю, что стоит это делать через добавление LC_ALL=en_US.utf8 в
> строку вызова python3 (/usr/lib/rpm/brp.d/096-bytecompile_python3.brp).
Предлагаю rpm-build-python3 с таким вариантом исправления
096-bytecompile_python3.brp:
<http://git.altlinux.org/people/solo/packages/rpm-build-python3.git?p=rpm-build-python3.git;a=commitdiff;h=538745c6af443ebee8842c46d2cb3746a470d30e>
--
С уважением. Алексей.
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 897 bytes --]
prev parent reply other threads:[~2013-02-21 17:27 UTC|newest]
Thread overview: 28+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-01-18 11:41 ` [devel] Fwd: python3-module-pycairo-1.10.1-alt3.git20120819: Sisyphus/x86_64 test rebuild failed REAL
2013-01-18 11:43 ` REAL
2013-01-18 11:11 ` Sergei Epiphanov
2013-01-18 12:18 ` REAL
2013-01-18 11:17 ` Dmitry V. Levin
2013-02-19 11:04 ` [devel] U: Безусловный LC_ALL=C в /usr/lib/rpm/functions (was: Fwd: python3-module-pycairo-1.10.1-alt3.git20120819: Sisyphus/x86_64 test rebuild failed) Aleksey Avdeev
2013-02-19 12:18 ` Ivan A. Melnikov
2013-02-19 12:41 ` [devel] U: Безусловный LC_ALL=C в /usr/lib/rpm/functions Aleksey Avdeev
2013-02-19 13:50 ` REAL
2013-02-19 14:02 ` Aleksey Avdeev
2013-02-19 19:25 ` Dmitry V. Levin
2013-02-19 19:46 ` Aleksey Avdeev
2013-02-19 20:02 ` Aleksey Avdeev
2013-02-20 6:25 ` Ivan A. Melnikov
2013-02-20 15:42 ` Aleksey Avdeev
2013-02-22 6:07 ` Ivan A. Melnikov
2013-02-22 7:13 ` REAL
2013-02-22 6:20 ` Ivan A. Melnikov
2013-02-22 9:12 ` Aleksey Avdeev
2013-02-22 9:32 ` Aleksey Avdeev
2013-02-22 21:47 ` Dmitry V. Levin
2013-02-22 6:21 ` Ivan A. Melnikov
2013-02-22 9:40 ` Aleksey Novodvorsky
2013-02-22 10:32 ` Aleksey Avdeev
2013-02-20 5:02 ` REAL
2013-02-20 6:11 ` Aleksey Avdeev
2013-02-21 14:16 ` [devel] U: [rpm-build-python3] LC_ALL=en_US.utf8 для python3.compileall.py (was: Безусловный LC_ALL=C в /usr/lib/rpm/functions) Aleksey Avdeev
2013-02-21 17:27 ` Aleksey Avdeev [this message]
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=51265904.2030109@solin.spb.ru \
--to=solo@solin.spb.ru \
--cc=devel@lists.altlinux.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
ALT Linux Team development discussions
This inbox may be cloned and mirrored by anyone:
git clone --mirror http://lore.altlinux.org/devel/0 devel/git/0.git
# If you have public-inbox 1.1+ installed, you may
# initialize and index your mirror using the following commands:
public-inbox-init -V2 devel devel/ http://lore.altlinux.org/devel \
devel@altlinux.org devel@altlinux.ru devel@lists.altlinux.org devel@lists.altlinux.ru devel@linux.iplabs.ru mandrake-russian@linuxteam.iplabs.ru sisyphus@linuxteam.iplabs.ru
public-inbox-index devel
Example config snippet for mirrors.
Newsgroup available over NNTP:
nntp://lore.altlinux.org/org.altlinux.lists.devel
AGPL code for this site: git clone https://public-inbox.org/public-inbox.git