[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
Re: [pygame] IDLE crashes on error?
- To: pygame-users@xxxxxxxx
- Subject: Re: [pygame] IDLE crashes on error?
- From: James Hofmann <jwhinfinity@xxxxxxxxx>
- Date: Sat, 12 Aug 2006 12:11:06 -0700 (PDT)
- Delivered-to: archiver@seul.org
- Delivered-to: pygame-users-outgoing@seul.org
- Delivered-to: pygame-users@seul.org
- Delivery-date: Sat, 12 Aug 2006 15:11:14 -0400
- Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:Received:Date:From:Subject:To:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=GZf+YdSCoRflnGUEBLfdfkhWzrXrdKrryxiullbYMa3P6ZJAnO6MOsG3OUR4YUuV8LVuzkeXur3U1pTSqmYDo1N4h4ustYfT3TGYXcw9+HQtwln+Oo1DaO6hQkwDC9viGBiQeKFQx85k6ICdOONFlCkN8CbBZvX9qNsPvm3XOsk= ;
- In-reply-to: <e51a83d20608121057q4c39ef80ke7e4855e2d267c87@mail.gmail.com>
- Reply-to: pygame-users@xxxxxxxx
- Sender: owner-pygame-users@xxxxxxxx
> This option is the -n flag. It's saved me a lot
> of trouble with IDLE.
From the help:
>Running without a subprocess:
>
>If IDLE is started with the -n command line switch it
>will run in a single process and will not create the
>subprocess which runs the RPC Python execution
server. >This can be useful if Python cannot create
the >subprocess or the RPC socket interface on your
>platform. However, in this mode user code is not
>isolated from IDLE itself. Also, the environment is
>not restarted when Run/Run Module (F5) is selected.
If
>your code has been modified, you must reload() the
>affected modules and re-import any specific items
>(e.g. from foo import baz) if the changes are to take
>effect. For these reasons, it is preferable to run
>IDLE with the default subprocess if at all possible.
This sounds like it does the opposite of what we
want...merges the processes instead of completely
seperating them. I tried running IDLE with it and then
forcing my pygame code to crash. IDLE will normally
zombify(unresponsive) if I do that and make me kill it
manually; but with -n it completely blew up and gave
me a MSVC crash box. So my conjectures are: we are not
running the same program and -n is doing something
completely different for you guys, the OS running this
is a factor, or I'm doing a better job at making
crashy code.
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com