Threading issue in cygwin python 2.5.1-2 ?

Jim Kleckner jek-cygwin2@kleckner.net
Thu Sep 6 15:48:00 GMT 2007


Larry Hall (Cygwin) wrote:
> Steve Holden wrote:
>> Igor Peshansky wrote:
>>> On Wed, 5 Sep 2007, Steve Holden wrote:
>>>
>>>>>> Running the example on the above Python system I just see the 
>>>>>> command
>>>>>> prompt return with no program output whatsoever:
>>>>>>
>>>>>> sholden@bigboy ~/Projects/Python
>>>>>> $ /usr/bin/python test03.py
>>>>> So it fails, but doesn't bring up the exception dialog.
>>>> That's right: nothing at all. But note I compiled this particular 
>>>> version
>>>> myself, so I guess it's possible I didn't enable threads.
>>>
>>> What's the exit code?  The behavior sounds suspiciously like a 
>>> missing DLL
>>> case...
>>
>> sholden@bigboy ~/Projects/Python
>> $ /usr/bin/python test03.py
>>
>> sholden@bigboy ~/Projects/Python
>> $ echo $?
>> 0
>>
>> So, what does this tell us?
>
>
> Everything is just perfect! ;-)
>
> The value would be non-zero if it couldn't find a needed DLL.
>
>

I also get 0 exit code even though there is a dialog box with the
application error codes mentioned before.

[jim@kleckner2 ~]$ python aspn-threading-tkinter.py
[jim@kleckner2 ~]$ echo $?
0
[jim@kleckner2 ~]$


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/



More information about the Cygwin mailing list