This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Threading issue in cygwin python 2.5.1-2 ?




Steve Holden wrote:
Jim Kleckner wrote:
Jim Kleckner wrote:
I get an exception running a Python example that uses threads
that I downloaded from the net (ASPN):
  http://aspn.activestate.com/ASPN/Cookbook/Python/Recipe/82965

Would some kind soul try the example and let me know that it does/doesn't work for you? Setting debug print around the code suggests that the third Lock object created causes the exception.

Thanks - Jim


Not sure this is going to help ...


$ /usr/bin/python
Python 2.5.1 (r251:54863, Aug 30 2007, 08:07:01)
[GCC 3.4.4 (cygming special, gdc 0.12, using dmd 0.125)] on cygwin
Type "help", "copyright", "credits" or "license" for more information.
>>>

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.




sholden@bigboy ~/Projects/Python
$

Under a standard Windows 2.5.1 it created a window then appeared to print random times until I clicked the "Done" button:

C:\Steve\Projects\Python>python test0
0.303836168441
0.98021967508
0.254334126577
...
Yep, that's what it should do.

Thanks for checking.

Jim

--
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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]