Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #78086

Re: the python shell window is already executing a command

From Terry Reedy <tjreedy@udel.edu>
Subject Re: the python shell window is already executing a command
Date 2014-09-19 15:43 -0400
References (4 earlier) <5gdk1appae03ngjlot2hg574udmnc0iqg9@4ax.com> <mailman.14096.1411012292.18130.python-list@python.org> <22ul1a9bfsehco2kk5jb0uif8mpm33ue37@4ax.com> <lvfaf6$sbk$1@ger.gmane.org> <CAPTjJmrm9FRgQ0qFxRuGJ6Ty6CPPhznk30=BXJL7EhHL0P5P9w@mail.gmail.com>
Newsgroups comp.lang.python
Message-ID <mailman.14152.1411155853.18130.python-list@python.org> (permalink)

Show all headers | View raw


On 9/18/2014 10:51 PM, Chris Angelico wrote:
> On Fri, Sep 19, 2014 at 5:05 AM, Terry Reedy <tjreedy@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.

-- 
Terry Jan Reedy

Back to comp.lang.python | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

the python shell window is already executing a command Seymore4Head <Seymore4Head@Hotmail.invalid> - 2014-09-16 22:17 -0400
  Re: the python shell window is already executing a command Terry Reedy <tjreedy@udel.edu> - 2014-09-17 04:02 -0400
    Re: the python shell window is already executing a command Seymore4Head <Seymore4Head@Hotmail.invalid> - 2014-09-17 11:55 -0400
      Re: the python shell window is already executing a command Terry Reedy <tjreedy@udel.edu> - 2014-09-17 18:56 -0400
        Re: the python shell window is already executing a command Seymore4Head <Seymore4Head@Hotmail.invalid> - 2014-09-17 21:34 -0400
          Re: the python shell window is already executing a command Terry Reedy <tjreedy@udel.edu> - 2014-09-17 23:50 -0400
            Re: the python shell window is already executing a command Seymore4Head <Seymore4Head@Hotmail.invalid> - 2014-09-18 11:24 -0400
              Re: the python shell window is already executing a command Terry Reedy <tjreedy@udel.edu> - 2014-09-18 15:05 -0400
                Re: the python shell window is already executing a command Seymore4Head <Seymore4Head@Hotmail.invalid> - 2014-09-18 15:58 -0400
              Re: the python shell window is already executing a command Chris Angelico <rosuav@gmail.com> - 2014-09-19 12:51 +1000
              Re: the python shell window is already executing a command Terry Reedy <tjreedy@udel.edu> - 2014-09-19 15:43 -0400
              Re: the python shell window is already executing a command Chris Angelico <rosuav@gmail.com> - 2014-09-20 05:47 +1000
  Re: the python shell window is already executing a command Tony the Tiger <tony@tiger.invalid> - 2014-09-18 16:50 +0000

csiph-web