Author terry.reedy
Recipients cheryl.sabella, rhettinger, terry.reedy
Date 2019-09-10.02:07:59
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1568081280.03.0.121165207501.issue38077@roundup.psfhosted.org>
In-reply-to
Content
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.
History
Date User Action Args
2019-09-10 02:08:00terry.reedysetrecipients: + terry.reedy, rhettinger, cheryl.sabella
2019-09-10 02:08:00terry.reedysetmessageid: <1568081280.03.0.121165207501.issue38077@roundup.psfhosted.org>
2019-09-10 02:08:00terry.reedylinkissue38077 messages
2019-09-10 02:07:59terry.reedycreate