Compile Python 3 interpreter to force 2-byte unicode

wojtek mula nospam.wojtek.mula at gmail.com
Fri Nov 24 21:05:00 EST 2017


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?

w.




More information about the Python-list mailing list