Terry J. Reedy <tjre...@udel.edu> added the comment:

E4. Max context lines = 0 is treated as infinity.  For depth 0, 
"self.info[-self.context_depth:]" is whole slice.  I don't remember if this is 
intended (if one does not want context, don't toggle it on), but it is not 
documented in settings help or doc section.  In any case,
  offset = max(1, lines - self.context_depth) - 1
fails with depth 0.

E5. test_codecontext is affected by user customization, but should not be.

E6. Bad bug make CC useless.  See #42638.

----------
dependencies: +IDLE: Context lines not working correctly
versions: +Python 3.10 -Python 3.7, Python 3.8

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue33610>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to