Repository navigation
Closed
Labels
Description
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
GitHub fields:
assignee = 'https://github.com/terryjreedy'
closed_at = <Date 2018-09-26.11:40:17.976>
created_at = <Date 2006-07-27.00:13:56.000>
labels = ['3.8', 'expert-IDLE', 'type-feature', '3.7']
title = "Squeezer - squeeze large output in IDLE's shell"
updated_at = <Date 2018-10-28.17:08:26.340>
user = 'https://github.com/taleinat'bugs.python.org fields:
activity = <Date 2018-10-28.17:08:26.340>
actor = 'miss-islington'
assignee = 'terry.reedy'
closed = True
closed_date = <Date 2018-09-26.11:40:17.976>
closer = 'terry.reedy'
components = ['IDLE']
creation = <Date 2006-07-27.00:13:56.000>
creator = 'taleinat'
dependencies = ['33839']
files = ['7428', '7429', '34050', '34209']
hgrepos = []
issue_num = 1529353
keywords = ['patch']
message_count = 59.0
messages = ['50765', '50766', '50767', '50768', '50769', '84637', '84645', '84657', '210296', '210310', '211027', '211068', '211071', '211075', '211076', '211083', '211643', '211645', '211646', '211647', '212021', '212061', '319291', '319316', '319317', '319319', '319339', '319344', '319353', '319367', '319428', '319430', '319452', '319494', '319495', '319496', '323471', '324255', '324365', '324374', '326100', '326310', '326343', '326347', '326348', '326349', '326350', '326368', '326369', '326370', '326371', '326372', '326373', '326374', '326419', '326445', '328703', '328710', '328711']
nosy_count = 5.0
nosy_names = ['terry.reedy', 'taleinat', 'serhiy.storchaka', 'cheryl.sabella', 'miss-islington']
pr_nums = ['7626', '9561', '9562', '9567', '9568', '9569', '9570', '9571', '9572', '10169', '10179', '10180']
priority = 'normal'
resolution = 'fixed'
stage = 'resolved'
status = 'closed'
superseder = None
type = 'enhancement'
url = 'https://bugs.python.org/issue1529353'
versions = ['Python 3.6', 'Python 3.7', 'Python 3.8']
Activity
taleinat commentedon Jul 27, 2006
Here is my improved version of Squeezer - the IDLE
extension to end all of your
oh-no-I-just-printed-War-and-Peace-in-the-interpreter
troubles!
Changes:
width and current tab width
from config files (100% backwards compatible) - needed
by Squeezer to enable configuration of text viewers in
config-extensions
I've been working this vesion without a hitch for
several weeks, but that's hardly enough testing is it?
Attached:
version (revision 46863)
One minor note - the 'middle click to copy' didn't work
on Windows because it simply called selection_own()
which doesn't affect the clipboard. I added
clipboard_clear() and clipboard_append() and it now
works on Windows. This should be tested on Linux, Unix,
OSX etc. to check compatibility.
For more info on the clipboard issue, see:
http://groups.google.com/group/comp.lang.python/browse_thread/thread/647feeef55625733/bc08421d8aea9928?lnk=st&q=&rnum=2#bc08421d8aea9928
kbkaiser commentedon Jul 27, 2006
Logged In: YES
user_id=149084
OK, thanks. Please take a look at the two diffs you
uploaded, they seem corrupted. Squeezer.py looks ok.
taleinat commentedon Jul 30, 2006
Logged In: YES
user_id=1330769
Uploaded unified diffs instead of standard diffs. Probably
the first diffs had bad newlines because I'm working on Win.
Also 2 changes:
kbkaiser commentedon Jul 30, 2006
Logged In: YES
user_id=149084
Ah, that's better. Thanks.
kbkaiser commentedon Feb 5, 2007
Delete the patch to configHandler.py, implemented with Patch 1650174.
taleinat commentedon Mar 30, 2009
"Test needed"? I'll need a bit of guidance on this.
Has there been a change of policy of which I'm not aware, that patches
to IDLE not going to be accepted unless comprehensive tests are included?
Much of IDLE doesn't include tests, e.g. the RPC code. There's a comment
by K.B.K. in the end of rpc.py from September '03 saying we need a
proper test suite for it, and testing that should be simple compared to
testing GUI related functionality.
In any case, if someone can suggest a simple approach to test Squeezer
I'll gladly work it up. As it is, I can think of ways to test certain
functions, but I'm not sure how to approach testing GUI related
functionality (or if I should approach this at all).
devdanzin commentedon Mar 30, 2009
Tal,
There is no such policy AFAIK. The stage field is a tool to help us
handle the issues, sorry to give you a wrong impression. If IDLE has no
tests, 'test needed' doesn't apply here, so we can set this to 'patch
review'.
If someone is already working on adding tests for IDLE, please revert
this to 'test needed'.
taleinat commentedon Mar 30, 2009
Daniel, Thanks for clearing that up :)
taleinat commentedon Feb 5, 2014
Ping?
Can this please go in? It's such a great improvement to user experience!
I've seen too many novice users print a ton of output by accident and have IDLE hang as a result, losing their interactive session. This simple extension avoid those issues completely, while still allowing access to the output if needed.
I'd even be willing to do any extra work required, such as testing on Windows, Linux and OSX. Just tell me what's holding this up!
50 remaining items
terryjreedy commentedon Sep 25, 2018
New changeset dac712d by Terry Jan Reedy in branch 'master':
bpo-1529353: IDLE: Squeezer What's New for 3.6.7 (bpo-9567)
dac712d
terryjreedy commentedon Sep 25, 2018
New changeset ea718d3 by Terry Jan Reedy in branch 'master':
bpo-1529353: IDLE - Squeezer What's New for 3.7.1 (bpo-9568)
ea718d3
miss-islington commentedon Sep 25, 2018
New changeset 98c8236 by Miss Islington (bot) in branch '3.6':
bpo-1529353: IDLE: Squeezer What's New for 3.6.7 (GH-9567)
98c8236
miss-islington commentedon Sep 25, 2018
New changeset 92ad261 by Miss Islington (bot) in branch '3.7':
bpo-1529353: IDLE: Squeezer What's New for 3.6.7 (GH-9567)
92ad261
miss-islington commentedon Sep 25, 2018
New changeset 3637e68 by Miss Islington (bot) in branch '3.7':
bpo-1529353: IDLE - Squeezer What's New for 3.7.1 (GH-9568)
3637e68
terryjreedy commentedon Sep 25, 2018
See my 3.6/3.7 patches for how I now handle new-in-maintenance-release user-visible features in What's New. Note that there are similar entries for Python at the bottom of the file.
If I were not rushing, I would have mentioned user colors in text view. But that is minor and I will add one entry for colors and font sizes in both text and help views when done.
terryjreedy commentedon Sep 25, 2018
New changeset fdcb5ae by Terry Jan Reedy in branch 'master':
bpo-1529353: IDLE - Squeezer What's New for 3.8 (bpo-9572)
fdcb5ae
taleinat commentedon Sep 26, 2018
ISTM that this issue can finally be closed!
Followup on some remaining minor points brought up here, such as colors and squeezing of multiple output lines printed separately, could be done in separate issues or discussed on idle-dev.
terryjreedy commentedon Sep 26, 2018
Yes. Congratulations on your persistence.
terryjreedy commentedon Oct 28, 2018
New changeset 68d6dc0 by Terry Jan Reedy in branch 'master':
bpo-1529353: Explain Shell text squeezing in the IDLE doc. (bpo-10169)
68d6dc0
miss-islington commentedon Oct 28, 2018
New changeset 8dccb00 by Miss Islington (bot) in branch '3.7':
bpo-1529353: Explain Shell text squeezing in the IDLE doc. (GH-10169)
8dccb00
miss-islington commentedon Oct 28, 2018
New changeset 69ab28d by Miss Islington (bot) in branch '3.6':
bpo-1529353: Explain Shell text squeezing in the IDLE doc. (GH-10169)
69ab28d