Tal Einat <talei...@gmail.com> added the comment:

Raymond, thanks for bringing up all of these issues.  This kind of input from 
people using IDLE extensively for teaching is extremely useful.  I'll leave it 
to Terry to decide how to manage this list, but I promise to do my best (with 
my limited time) to resolve the worst of these.

A few quick notes:

> However, recently a student got into a new-tabbed mode and there didn't seem 
> to be any way to turn it off.  It became impossible to see code and output or 
> error messages at the same time.  This devastated the learner's experience.

This sounds like macOS's new "Prefer tabs when opening documents" system 
preference, which breaks IDLE in various ways; see issue34864.  It should be 
disabled when using IDLE.

> FWIW, I think the squeezer focused on the wrong problem.  In general, I've 
> never had a problem with too many *lines* of output. [...]  The real problem 
> with IDLE was excessive wide output on a *single* line [...]  That tends to 
> cripple IDLE because line wrap logic seems to be computationally expensive 
> for scrolling text windows.  The effect persists even after the offending 
> text has scrolled off and is no longer visible.

This is exactly the main rationale for Squeezer; it takes wrapping into account 
when counting lines precisely for this reason.  This may not be working 
properly in some cases due to issue35208, which I discovered only yesterday and 
for which a PR is now ready with a fix.

----------

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

Reply via email to