RE: Problem with embedded python - bug?

2005-04-29 Thread Ugo Di Girolamo
.4.1. Ugo -Original Message- From: Ugo Di Girolamo Sent: Tuesday, April 26, 2005 2:16 PM To: 'python-dev@python.org' Subject: Problem with embedded python I have the following code, that seems to make sense to me. However, it crashes about 1/3 of the times. My platform is Python 2

Re: Problem with embedded python

2005-04-26 Thread ugodiggi
Tom Cocagne wrote: > From looking at your example, it looks like you're making the problem FAR > more difficult than it needs to be. The main thing to keep in mind is that > Python threads do not correspond to operating system threads. In an > application using a single OS-level thread, you can use

Re: Problem with embedded python

2005-04-26 Thread Tom Cocagne
From looking at your example, it looks like you're making the problem FAR more difficult than it needs to be. The main thing to keep in mind is that Python threads do not correspond to operating system threads. In an application using a single OS-level thread, you can use as many Python threads a

Problem with embedded python

2005-04-26 Thread Ugo Di Girolamo
I have the following code, that seems to make sense to me. However, it crashes about 1/3 of the times. My platform is Python 2.4.1 on WXP (I tried the release version from the msi and the debug version built by me, both downloaded today to have the latest version). The crash happens whil

Problem with embedded python

2005-04-26 Thread ugodiggi
I have the following code, that seems to make sense to me. However, it crashes about 1/3 of the times. My platform is Python 2.4.1 on WXP (I tried the release version from the msi and the debug version built by me, both downloaded today to have the latest version). The crash happens while the ma