[issue23220] IDLE: Document how Shell displays user code output

2019-08-12 Thread Tal Einat


Change by Tal Einat :


--
pull_requests:  -14939

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue23220] IDLE: Document how Shell displays user code output

2019-08-12 Thread Tal Einat


Tal Einat  added the comment:

Ah, sorry for missing that, Terry. See new issue, #37827, for the proposed 
change.

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue23220] IDLE: Document how Shell displays user code output

2019-08-11 Thread Terry J. Reedy


Terry J. Reedy  added the comment:

The conclusion of this discussion was that we should insert control chars, in 
particular \b and \r, as are into tk.Text and document the (variable) result.  
Please describe your proposed new behavior, how it differs from the current 
behavior, and why you think it better.  I think that this should be a new issue.

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue23220] IDLE: Document how Shell displays user code output

2019-08-11 Thread Tal Einat


Tal Einat  added the comment:

See initial working implementation of handling \r and \b characters is the 
shell, PR GH-15211.

--
nosy: +taleinat

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue23220] IDLE: Document how Shell displays user code output

2019-08-11 Thread Tal Einat


Change by Tal Einat :


--
pull_requests: +14939
pull_request: https://github.com/python/cpython/pull/15211

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue23220] IDLE: Document how Shell displays user code output

2018-11-10 Thread Terry J. Reedy


Terry J. Reedy  added the comment:

In the patch for #33000, to cover MacOS behavior, I changed the comment about 
control chars from 'replaced' to 'replaced or deleted' Users can fill in the 
details by comparing IDLE on their system to a particular console or terminal.

--
resolution:  -> fixed
stage: needs patch -> resolved
status: open -> closed

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue23220] IDLE: Document how Shell displays user code output

2018-11-06 Thread Terry J. Reedy


Terry J. Reedy  added the comment:

I merged a first edition of the new section.  It does not include Mac behavior, 
so will need revision.  But I want to do some experiments with tk/inter on 
various systems before doing so.

--
dependencies: +IDLE Doc: Text consumes unlimited RAM, consoles likely not
stage: patch review -> needs patch

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue23220] IDLE: Document how Shell displays user code output

2018-11-06 Thread Terry J. Reedy


Terry J. Reedy  added the comment:


New changeset 7476fefb65075161d57435c8dd7e92437578d3c1 by Terry Jan Reedy (Miss 
Islington (bot)) in branch '3.6':
bpo-23220: Explain how IDLE's Shell displays output (GH-10356) (#10369)
https://github.com/python/cpython/commit/7476fefb65075161d57435c8dd7e92437578d3c1


--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue23220] IDLE: Document how Shell displays user code output

2018-11-06 Thread miss-islington


Change by miss-islington :


--
pull_requests: +9670

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue23220] IDLE: Document how Shell displays user code output

2018-11-06 Thread miss-islington


miss-islington  added the comment:


New changeset 34fcee9ed81c954d6418241ad546f71e103d3b9b by Miss Islington (bot) 
in branch '3.7':
bpo-23220: Explain how IDLE's Shell displays output (GH-10356)
https://github.com/python/cpython/commit/34fcee9ed81c954d6418241ad546f71e103d3b9b


--
nosy: +miss-islington

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue23220] IDLE: Document how Shell displays user code output

2018-11-06 Thread miss-islington


Change by miss-islington :


--
pull_requests: +9669

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue23220] IDLE: Document how Shell displays user code output

2018-11-06 Thread miss-islington


Change by miss-islington :


--
pull_requests: +9667

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue23220] IDLE: Document how Shell displays user code output

2018-11-06 Thread miss-islington


Change by miss-islington :


--
pull_requests: +9666

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue23220] IDLE: Document how Shell displays user code output

2018-11-06 Thread Terry J. Reedy


Terry J. Reedy  added the comment:


New changeset 75d9d59ab3a372d3d78e6a1f5e9f256e29d0a9a6 by Terry Jan Reedy in 
branch 'master':
bpo-23220: Explain how IDLE's Shell displays output (GH-10356)
https://github.com/python/cpython/commit/75d9d59ab3a372d3d78e6a1f5e9f256e29d0a9a6


--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue23220] IDLE: Document how Shell displays user code output

2018-11-05 Thread Terry J. Reedy


Change by Terry J. Reedy :


--
keywords: +patch
pull_requests: +9656
stage: needs patch -> patch review

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue23220] IDLE: Document how Shell displays user code output

2018-10-29 Thread Terry J. Reedy


Terry J. Reedy  added the comment:

While editing 'IDLE-console differences' (added in the patch above) for #35099, 
I decided that it should be renamed (to, say, 'Executing user code') and 
limited to the effect of executing user code in IDLE's execution process 
instead of a standard python process. Except for a intentional change to make 
developing tkinter code easier, such effects are unintended and possibly bad 
for developers using IDLE.

This issue is about one aspect of how IDLE's Shell, in the GUI process, 
displays strings and bytes sent from the execution process via sys.stdout and 
sys.stderr.  My previous revision of the title was wrong and my previous patch 
not directly relevant.

I will make a new patch to add a new section ('Displaying user code output'?) 
describing various aspects of how Shell displays std text output, starting with 
this one.  Most of the differences from various consoles and terminal are 
intentional and considered to be net positives.

While the handling of control characters is inherited from tk, Serhiy and I 
have claimed on other issues that displaying one glyph per character has 
advantages for development as well as disadvantages.  (Being about to display 
all but only the BMP subset of unicode is also inherited from tcl/tk.)

One of my unposted ideas is to add an option to the run menu to run edited code 
in the system console/terminal, detached from IDLE, the same as if the file 
were run from a command line or directory listing.  This would bypass both 
IDLE's execution and display effects.

--
title: Documents input/output effects of how IDLE runs user code -> IDLE: 
Document how Shell displays user code output
versions: +Python 3.6, Python 3.7, Python 3.8 -Python 2.7, Python 3.4, Python 
3.5

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com