Marius Bakke <mba...@fastmail.com> skribis: > Danny Milosavljevic <dan...@scratchpost.org> 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’.