This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author jameinel
Recipients jameinel
Date 2008-05-30.21:33:53
SpamBayes Score 0.15474917
Marked as misclassified No
Message-id <>
I just upgraded my cygwin installation to the latest versions. Which
seems to include
GNU ld (GNU Binutils)
GNU dllwrap (GNU Binutils)

It seems that their version notation is now Major.Minor.Micro.Date
The problem is that in '' it does:

        result ='(\d+\.\d+(\.\d+)*)',out_string)
        if result:
            ld_version = StrictVersion(

Which matches the full version string. However "StrictVersion" only
supports A.B.CdE formats. So the .Date breaks the parser.

My workaround was to change the regex to be:
        result ='(\d+\.\d+(\.\d+)?)(\.\d+)*',out_string)

So it will still match an unlimited number of '.DDD' as it used to, but
now it only preserves the first 3 to pass to StrictVersion.

This may not be the correct fix, as a better fix might be to use
something else instead of StrictVersion (since these version numbers
explicitly *don't* match what StrictVersion expects.)
Date User Action Args
2008-05-30 21:33:55jameinelsetspambayes_score: 0.154749 -> 0.15474917
recipients: + jameinel
2008-05-30 21:33:54jameinelsetspambayes_score: 0.154749 -> 0.154749
messageid: <>
2008-05-30 21:33:54jameinellinkissue3013 messages
2008-05-30 21:33:53jameinelcreate