[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH python-tests] gnu: python-2.7: Enable UCS-4 Unicode encoding.
From: |
Ludovic Courtès |
Subject: |
Re: [PATCH python-tests] gnu: python-2.7: Enable UCS-4 Unicode encoding. |
Date: |
Mon, 23 Jan 2017 23:41:32 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/25.1 (gnu/linux) |
Marius Bakke <address@hidden> skribis:
> Danny Milosavljevic <address@hidden> writes:
>
>> * gnu/packages/python.scm (python-2.7)[arguments]: Modify.
>> ---
>> gnu/packages/python.scm | 1 +
>> 1 file changed, 1 insertion(+)
>>
>> diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
>> index fd423d311..6caaeaaf8 100644
>> --- a/gnu/packages/python.scm
>> +++ b/gnu/packages/python.scm
>> @@ -170,6 +170,7 @@
>> (list "--enable-shared" ;allow embedding
>> "--with-system-ffi" ;build ctypes
>> "--with-ensurepip=install" ;install pip and
>> setuptools
>> + "--enable-unicode=ucs4"
>> (string-append "LDFLAGS=-Wl,-rpath="
>> (assoc-ref %outputs "out") "/lib"))
>>
>
> Hi Danny,
>
> Can you push this to 'core-updates' instead?
>
> It will cause a rebuild of more than 2000 packages on 'python-tests' and
> invalidate almost all substitutes, and I would like to merge it sooner
> rather than later.
>
> Otherwise LGTM. I checked some other distros and they seem to have this
> enabled. Thanks!
That means that strings are internally UCS-4-encoded, right? What’s the
rationale, and what happens when this flag is omitted?
(I’m not objecting to the patch, just trying to educate myself. :-))
Ludo’.