X-Recipient: archive-cygwin AT delorie DOT com X-Spam-Check-By: sourceware.org To: cygwin AT cygwin DOT com From: Steve Holden Subject: Re: Threading issue in cygwin python 2.5.1-2 ? Date: Wed, 05 Sep 2007 23:12:56 -0700 Lines: 81 Message-ID: References: <46D8A577 DOT 1060908 AT kleckner DOT net> <46DF52B8 DOT 7000509 AT kleckner DOT net> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit User-Agent: Thunderbird 2.0.0.6 (Windows/20070728) In-Reply-To: <46DF52B8.7000509@kleckner.net> X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com 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 AT bigboy ~/Projects/Python $ /usr/bin/python test03.py sholden AT 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 0.642678393476 0.782094370266 0.940786018121 0.0488669290821 0.812403721535 0.693703472455 0.723381783101 0.859300279852 0.706147636363 0.579343687831 0.336892085766 0.0564730443564 0.714308189887 0.428165555364 0.912370764441 0.806818121522 0.189626500124 0.642553238166 0.217957344654 0.383676668709 0.904024479849 0.651319966186 0.65381986854 0.770733203355 0.114970365957 0.717903651883 0.716191537539 0.377106793004 0.137836788132 C:\Steve\Projects\Python> regards Steve -- Steve Holden +1 571 484 6266 +1 800 494 3119 Holden Web LLC/Ltd http://www.holdenweb.com Skype: holdenweb http://del.icio.us/steve.holden --------------- Asciimercial ------------------ Get on the web: Blog, lens and tag the Internet Many services currently offer free registration ----------- Thank You for Reading ------------- -- 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/