On Sat, Sep 20, 2014 at 5:43 AM, Terry Reedy <tjre...@udel.edu> wrote: > On 9/18/2014 10:51 PM, Chris Angelico wrote: >> >> On Fri, Sep 19, 2014 at 5:05 AM, Terry Reedy <tjre...@udel.edu> wrote: >>> >>> A couple more questions; after you run the file once, is there a warning >>> above the first >>> prompt? If, after the program stop and you see a >>> second >>>>>> >>>>>> prompt and run >>>>>> import sys; len(sys.modules), 'array' in sys.modules >>> >>> what is the result? >> >> >> What's significant about the array module here? I'm a little puzzled. > > > 'array' is alphabetically the first module imported in the default > two-process mode but not in the one-process mode selected by a command line > '-n'. To the best of my understanding, the message reported, which I found > in the code, should only appear in one-process mode. > > Seymour reported that he started Idle by right-clicking on the file and > selecting 'Edit with Idle'. Asking the above question is easier then trying > to get him to directly determine what command line is associated with 'Edit > with Idle' on his particular machine.
Ah! Nice one. :) Get the info you want with a very simple copy/paste line of code. Cryptic, but effective. ChrisA -- https://mail.python.org/mailman/listinfo/python-list