Mail Archives: cygwin/2008/05/29/09:02:49
--gatW/ieO32f1wygP
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
On Thu, May 29, 2008 at 01:32:16PM +0100, Dave Korn wrote:
> So, yes, Python should definitely use a pattern match to ignore the
> separator character.
This is a known issue:
http://bugs.python.org/issue2234
Unfortunately, resolution of this issue has stalled.
If the OP verifies that the attached patch fixes his problem, then I
will release a Cygwin Python with this patch applied.
Jason
--
PGP/GPG Key: http://www.tishler.net/jason/pubkey.asc or key servers
Fingerprint: 7A73 1405 7F2B E669 C19D 8784 1AFD E4CC ECF4 8EF6
--gatW/ieO32f1wygP
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename="cygwinccompiler.patch"
--- previous/cygwinccompiler.py 2005-10-28 20:07:08.000000000 -0700
+++ cygwinccompiler.py 2008-03-04 09:46:28.000000000 -0800
@@ -407,7 +407,7 @@
out = os.popen(gcc_exe + ' -dumpversion','r')
out_string = out.read()
out.close()
- result = re.search('(\d+\.\d+(\.\d+)*)',out_string)
+ result = re.search('(\d+\.\d+(\.\d+)?)',out_string)
if result:
gcc_version = StrictVersion(result.group(1))
else:
@@ -419,7 +419,7 @@
out = os.popen(ld_exe + ' -v','r')
out_string = out.read()
out.close()
- result = re.search('(\d+\.\d+(\.\d+)*)',out_string)
+ result = re.search('(\d+\.\d+(\.\d+)?)',out_string)
if result:
ld_version = StrictVersion(result.group(1))
else:
@@ -431,7 +431,7 @@
out = os.popen(dllwrap_exe + ' --version','r')
out_string = out.read()
out.close()
- result = re.search(' (\d+\.\d+(\.\d+)*)',out_string)
+ result = re.search(' (\d+\.\d+(\.\d+)?)',out_string)
if result:
dllwrap_version = StrictVersion(result.group(1))
else:
--gatW/ieO32f1wygP
Content-Type: text/plain; charset=us-ascii
--
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/
--gatW/ieO32f1wygP--
- Raw text -