python / cpython

The Python programming language
https://www.python.org/
Other
60.06k stars 29.08k forks source link

IDLE stack browser display problem #33394

Closed 166b7753-21ce-4dc8-bf77-8f2b0cc9e0b5 closed 23 years ago

166b7753-21ce-4dc8-bf77-8f2b0cc9e0b5 commented 23 years ago
BPO 217684
Nosy @gvanrossum

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: ```python assignee = 'https://github.com/gvanrossum' closed_at = created_at = labels = ['expert-IDLE', 'invalid'] title = 'IDLE stack browser display problem' updated_at = user = 'https://bugs.python.org/gpk' ``` bugs.python.org fields: ```python activity = actor = 'gvanrossum' assignee = 'gvanrossum' closed = True closed_date = None closer = None components = ['IDLE'] creation = creator = 'gpk' dependencies = [] files = [] hgrepos = [] issue_num = 217684 keywords = [] message_count = 2.0 messages = ['2162', '2163'] nosy_count = 2.0 nosy_names = ['gvanrossum', 'gpk'] pr_nums = [] priority = 'normal' resolution = 'not a bug' stage = None status = 'closed' superseder = None type = None url = 'https://bugs.python.org/issue217684' versions = [] ```

166b7753-21ce-4dc8-bf77-8f2b0cc9e0b5 commented 23 years ago

IDLE doesn't properly display variables whose string representation contains a newline.

The second line of those variables gets overwritten by the next variable in the stack display.

gvanrossum commented 23 years ago

Sorry, I can't reproduce this problem. When I try this, variables like that are displayed with '\n' instead of the newline (same as repr() does).

I'm closing the bug report; if you have additional information, add it here and I'll reopen it.