[issue32874] IDLE: Add tests for pyparse

Terry J. Reedy report at bugs.python.org
Tue Feb 20 17:11:59 EST 2018


Terry J. Reedy <tjreedy at udel.edu> added the comment:

Response to msg312428: I would generally prefer to put off using 3.x feature in module m until after we think we are done patching m for 3.(x-1), but do so before 3.x.0 release.  When 3.x-1 went to security status a week after the 3.x release, this was not much an issue.

In this case, we could use 'isascii' freely after
3.7+: isascii = str.isascii
3.6:  def isascii(s): return all(ord(c) < 128 for c in s)

Concrete code change proposals, including in hyperparser, should go on #32880.

In #21765, I mentioned looking at ColorDelegator and UndoDelegator.  I never did that, but added this to my list of possible issues.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue32874>
_______________________________________


More information about the Python-bugs-list mailing list