This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: binutils 20080523-1: version string breaks python2.5 distutils
- From: "Joe Pham" <djpham at netzero dot com>
- To: cygwin at cygwin dot com
- Date: Fri, 30 May 2008 01:47:23 GMT
- Subject: Re: binutils 20080523-1: version string breaks python2.5 distutils
>If the OP verifies that the attached patch fixes his problem, then I
>will release a Cygwin Python with this patch applied.
>
>+ result = re.search('(\d+\.\d+(\.\d+)?)',out_string)
It worked, though not 100%: it failed to pick up the patch release component (i.e. 1.2.3a). This search regex works for all cases:
'(\d+\.\d+(\.(\d+))?([ab](\d+))?)'
-Joe Pham
____________________________________________________________
You will believe your eyes! Click here for great whale watching packages!
http://thirdpartyoffers.netzero.net/TGL2231/fc/Ioyw6ijmeU7wZRUenw1u7GuTklvwvm8xoq7rRzhHua3Xfaeu1wqd2y/
--
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/