[issue21842] Fix IDLE in unicodeless build

Terry J. Reedy report at bugs.python.org
Thu Oct 2 21:59:26 CEST 2014


Terry J. Reedy added the comment:

I am not particularly interested in having Idle run on no-uhicode builds.  I believe the usecase is to reduce the memory footprint of a python installation, and that would suggest not including tcl/tk, tkinter, and idlelib.

Having Idle tests not fail on such a build is a good idea.  That could be easily done by adding 'requires_unicode', however that is spelled, to 2.7 test/test_idle.py.

If idlelib were to be patched, I would prefer to minimize the disruption and maintenance burden by adding 'class unicode(object): pass' and skip all the 'unicode' to '_unicode' changes.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue21842>
_______________________________________


More information about the Python-bugs-list mailing list