Compile Python 3 interpreter to force 2-byte unicode

Chris Angelico rosuav at gmail.com
Sat Nov 25 17:12:58 EST 2017


On Sun, Nov 26, 2017 at 9:05 AM,  <wojtek.mula at gmail.com> wrote:
> Hi, my goal is to obtain an interpreter that internally
> uses UCS-2. Such a simple code should print 65535:
>
>   import sys
>   print sys.maxunicode
>
> This is enabled in Windows, but I want the same in Linux.
> What options have I pass to the configure script?

Why do you want to? What useful value do you have in creating this
buggy interpreter? Ever since Python 3.3, that has simply not been an
option. The bug has been solved.

ChrisA



More information about the Python-list mailing list