[issue17535] IDLE editor line numbers

Terry J. Reedy report at bugs.python.org
Wed Jul 24 02:31:12 EDT 2019


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

After-thought test 2: proportional fonts* work fine.  Nearly all have monospaced digits, with extra space around '1' if there is no bottom bar.  So those also have nicely aligned right-justified columns in the sidebar.  And the one font I found with proportional digits, Miriam Libre, still had readable numbers.

* Given the PEP 8 discouragement of the sort of vertical alignment, such as

one      =  1
eight    =  8
ten      = 10
nineteen = 19

which people, including me, have done with other languages, using a proportional font with python is not nearly as crazy as some people claim, and not to be totally disregarded.  The main issue is line length and what happens when someone else views the same file with a fixed-pitch font.

----------

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


More information about the Python-bugs-list mailing list