[issue37762] IDLE very slow due to special characters

2019-08-05 Thread Bernhard Hiller


New submission from Bernhard Hiller :

After installing tensorflow, I tried to run the demo script found at 
https://www.tensorflow.org/tutorials?
In a common python shell, the "model.fit(x_train, y_train, epochs=5)" step 
takes a few minutes. In IDLE, no end is in sight after half an hour.
While the output looks normal in the common shell, IDLE shows some control 
characters (see attached screenshot).
Windows Task Managers shows a "pythonw.exe" process taking up 25% of CPU (i.e. 
1 of 4 cores).

--
assignee: terry.reedy
components: IDLE
files: Python374-3.PNG
messages: 349050
nosy: Bernie, terry.reedy
priority: normal
severity: normal
status: open
title: IDLE very slow due to special characters
type: performance
versions: Python 3.7
Added file: https://bugs.python.org/file48530/Python374-3.PNG

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



[issue37762] IDLE very slow due a super long line output in chunks

2019-08-09 Thread Bernhard Hiller


Bernhard Hiller  added the comment:

Please find enclosed a screen shot of the command line, when the same script is 
run there.
If you want to perform the tests yourself in order to get more information 
about the type of those characters, you may simply run the script mentioned in 
my first post.

Furthermore, when running the script from the Python command prompt, I see a 
process called "python.exe" (without "w") in the task manager, taking some 70% 
of CPU.

--
Added file: https://bugs.python.org/file48536/Python374-4.PNG

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