[MacPorts] #51141: Consider building Python with +ucs4 by default
MacPorts
noreply at macports.org
Wed Apr 13 16:23:46 PDT 2016
#51141: Consider building Python with +ucs4 by default
--------------------------+--------------------------------
Reporter: audvare@… | Owner: macports-tickets@…
Type: enhancement | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.3.4
Keywords: ucs4, python | Port: python27
--------------------------+--------------------------------
From what I can tell, most distros of Linux come with a wide version of
Python by default, however OS X does not. This may seem a reason to avoid
building a wide version of Python as it does not match the OS built-in but
I think it is better that a replacement be better than the built-in system
version.
Many packages would benefit from this change. Code that uses UTF-8
characters beyond 0xffff will not throw errors that are unexpected.
Packages like [https://pypi.python.org/pypi/Unidecode Unidecode] will
benefit from this change.
The scope of this change would be that dependent packages will need +ucs4
and if anyone uses -ucs4 they are going to have problems. Basically it
would be the reverse of the current situation, where -python27_ucs4 would
be required for packages like gobject-introspection. This would apply to
all versions of Python in the tree.
In terms of bugs, I really would like to know what kind of issues could be
run into if +ucs4 is enabled as I have not had a problem with a wide-
version Python on any Linux distro or dependencies.
--
Ticket URL: <https://trac.macports.org/ticket/51141>
MacPorts <https://www.macports.org/>
Ports system for OS X
More information about the macports-tickets
mailing list