[issue33269] InteractiveConsole behaves differently when used on terminal and used within script

2018-04-12 Thread Kadir Haldenbilen
Kadir Haldenbilen added the comment: Attached is a non working example I could not attach a second file, which works OK within script I will attach separately -- Added file: https://bugs.python.org/file47533/iitests.py ___

[issue33269] InteractiveConsole behaves differently when used on terminal and used within script

2018-04-12 Thread Kadir Haldenbilen
Kadir Haldenbilen added the comment: This script works OK. Compare with iitests.py uploaded before -- Added file: https://bugs.python.org/file47534/iiteswok.py ___ Python tracker

[issue33269] InteractiveConsole behaves differently when used on terminal and used within script

2018-04-12 Thread Kadir Haldenbilen
New submission from Kadir Haldenbilen : on terminal push and runcode accepts indentation where required (like for loop etc), within script gives error message on terminal import works properly and objects can be found as normal, within script you may need to add