[Tutor] while loops causing python.exe to crash on windows

Lie Ryan lie.1296 at gmail.com
Mon Jun 7 03:15:04 CEST 2010


On 06/07/10 11:08, Alex Hall wrote:
> On 6/6/10, bob gailer <bgailer at gmail.com> wrote:
>> On 6/6/2010 8:44 PM, Alex Hall wrote:
>>> --
>>> Have a great day,
>>> Alex (msg sent from GMail website)
>>> mehgcap at gmail.com;http://www.facebook.com/mehgcap
>>>
>>>
>> What is your question?
>>
>>
>> --
>> Bob Gailer
>> 919-636-4239
>> Chapel Hill NC
>>
>>
> Why would that code cause Windows to consider the process "not
> responding", and how can I fix this so I can have a sort of "listener"
> in place, awaiting a change in the "grid.turnOver" variable inside
> Player.takeTurn() so that the main while loop can switch to the other
> player once the one player's turn is over? I thought while loops would
> do it, but Windows sees them as making python.exe unresponsive.

Would you buy me a crystal ball to foresee what you're talking about?



More information about the Tutor mailing list