[issue36390] IDLE: Move formatting functions into new format module.

Terry J. Reedy report at bugs.python.org
Wed Jul 17 19:03:52 EDT 2019


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

The new PR moves the remaining Format functions to format.py.  I only edited enough to make things work.

I did not add tests for the 2 indent methods.  They only change future indents, leaving existing indents as it.  They need change, possibly elimination, in light of 3.x's prohibition mixed tab and space indents.  They make violation way too easy.  This PR will finish this issue.

----------
title: IDLE: Refactor formatting methods from editor -> IDLE: Move formatting functions into new format module.

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


More information about the Python-bugs-list mailing list