[issue18330] Fix idlelib.PyShell.build_subprocess_arglist use of __import__

2020-06-06 Thread Terry J. Reedy
Terry J. Reedy added the comment: In #36429, the 'else' branch that did not work was deleted. The reason __import__ is discouraged is the reason for the repetition of 'run', in the line kept, as explained above. However, since the line works, it is not a bug, and I now prefer to leave it

[issue18330] Fix idlelib.PyShell.build_subprocess_arglist use of __import__

2017-06-19 Thread Mark Lawrence
Changes by Mark Lawrence : -- nosy: -BreamoreBoy ___ Python tracker ___ ___

[issue18330] Fix idlelib.PyShell.build_subprocess_arglist use of __import__

2017-06-19 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- assignee: -> terry.reedy components: +IDLE versions: +Python 3.6, Python 3.7 -Python 2.7, Python 3.4, Python 3.5 ___ Python tracker

[issue18330] Fix idlelib.PyShell.build_subprocess_arglist use of __import__

2015-05-16 Thread Terry J. Reedy
Terry J. Reedy added the comment: Since filing this, I have decided that starting Idle directly with PyShell should be deprecated. That would affect any patch for this. In the meanwhile, there are other priorities. -- ___ Python tracker

[issue18330] Fix idlelib.PyShell.build_subprocess_arglist use of __import__

2014-07-16 Thread Mark Lawrence
Mark Lawrence added the comment: @Terry just a reminder for yourself and your band of merry men and women. -- nosy: +BreamoreBoy versions: +Python 3.5 -Python 3.3 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue18330

[issue18330] Fix idlelib.PyShell.build_subprocess_arglist use of __import__

2014-07-16 Thread Terry J. Reedy
Terry J. Reedy added the comment: The problem with touching this stuff is that there is not only not an automatec test, there is not even a script for a manual test. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue18330

[issue18330] Fix idlelib.PyShell.build_subprocess_arglist use of __import__

2013-06-29 Thread Terry J. Reedy
New submission from Terry J. Reedy: The purpose of the function is to create a command line for the user subprocess. Most of its body: ''' # Maybe IDLE is installed and is being accessed via sys.path, # or maybe it's not installed and the idle.py script is being # run from the IDLE source