[MacPorts] #51141: Consider building Python with +ucs4 by default

MacPorts noreply at macports.org
Thu Apr 14 10:11:01 PDT 2016


#51141: Consider building Python with +ucs4 by default
--------------------------+-------------------
  Reporter:  audvare@…    |      Owner:  jwa@…
      Type:  enhancement  |     Status:  new
  Priority:  Normal       |  Milestone:
 Component:  ports        |    Version:  2.3.4
Resolution:               |   Keywords:
      Port:  python27     |
--------------------------+-------------------

Comment (by nad@…):

 I would strongly discourage changing the default to ucs4.  On OS X, the
 convention for Python 2 has always been to use ucs2; I'm not aware of any
 other Python 2 distribution on OS X that uses ucs4. There are many
 implications: such a change could impact use of precompiled wheels; for
 some programs it could have a big impact on memory usage, and it can have
 an impact for any C extension modules that pass Unicode arguments.  And,
 in the end, ucs4 is kind of a bandage anyway.  If use of the full Unicode
 code set is important to you, you should certainly be using the latest
 versions of Python 3, whose major feature is native support of Unicode,
 not Python 2.

-- 
Ticket URL: <https://trac.macports.org/ticket/51141#comment:3>
MacPorts <https://www.macports.org/>
Ports system for OS X


More information about the macports-tickets mailing list