Message351563
I verified that 'argv' (bound to sys.argv) appears for all three versions after running an editor file, but not when Shell is started normally, without a file.
The immediate culprit is the runcommand code in runscript, lines 156-168. As part of the patch to allow additions to sys.argv, temporary name 'argv' was added but not deleted at the end. I missed this when I reviewed the patch. So this bug only affected 3.7.4 and 3.8.0b2 to 3.8.0b4. The immediate fix is trivial.
The deeper problem is running internal IDLE code in the user namespace. I believe that this is not necessary and opened #38078 to test and fix. |
|
Date |
User |
Action |
Args |
2019-09-10 02:08:00 | terry.reedy | set | recipients:
+ terry.reedy, rhettinger, cheryl.sabella |
2019-09-10 02:08:00 | terry.reedy | set | messageid: <1568081280.03.0.121165207501.issue38077@roundup.psfhosted.org> |
2019-09-10 02:08:00 | terry.reedy | link | issue38077 messages |
2019-09-10 02:07:59 | terry.reedy | create | |
|