This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: IDLE doesn't display long arrays well
Type: enhancement Stage:
Components: IDLE Versions:
process
Status: closed Resolution: later
Dependencies: Superseder:
Assigned To: gvanrossum Nosy List: gpk, gvanrossum
Priority: low Keywords:

Created on 2000-10-25 14:25 by gpk, last changed 2022-04-10 16:02 by admin. This issue is now closed.

Messages (2)
msg2164 - (view) Author: Greg Kochanski (gpk) Date: 2000-10-25 14:25
A long array, such as from Numeric Python is displayed
as
<array 3434 343421 4324234 .... 324234 34234>,
with part of the array replaced with elipses.

Often, this is enough information,
but unfortunately not always.  IDLE cannot tell you
how many items the array had (even approximately),
and it is impossible to see the complete output
or repr().  This is a bug, as a stack viewer ought to
let you see what is on the stack.

I'd suggest that long reprs() that get truncated this way
ought to be viewable in their entirety, perhaps by clicking
on them.

A fancier option would be to have IDLE look for a getitem()
attribute, and allow anything that has getitem() (or perhaps
getitem() and len()) to be displayed in the same format
that build-in python arrays are displayed in.
msg2165 - (view) Author: Guido van Rossum (gvanrossum) * (Python committer) Date: 2000-10-25 21:14
Good idea. I'll add this to IDLE's TODO list, and close the bug report.
History
Date User Action Args
2022-04-10 16:02:32adminsetgithub: 33395
2000-10-25 14:25:37gpkcreate