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 jlt63
Recipients benjamin.peterson, jafo, jlt63, kermode, wmbrown
Date 2008-06-12.19:06:31
SpamBayes Score 0.0012737053
Marked as misclassified No
Message-id <1213297593.22.0.461573275082.issue2234@psf.upfronthosting.co.za>
In-reply-to
Content
I tested the regular expression in #3:

(\d+\.\d+(\.(\d+))?([ab](\d+))?)

and it worked for both '2.18.50.20080523' & '1.2.3a'.

Additionally, it worked for the following test cases that I tried:

2.18.50a.20080523
2.18.50a 20080523
2.18.50 20080523
1.2.3

Unfortunately, I don't know what is the set of all possible version 
formats that "ld -v" can return.  So, I don't know how to devise a 
regular expression guaranteed to work for all ld versions including 
future ones.

AFAICT, we have only two options to resolve this issue:

1. Improve the regular expression as best we can and continue to 
change it as necessary in the future.

2. Remove the fragile version checking all together and make an 
explicit decision to only support modern binutils.

Any opinions?
History
Date User Action Args
2008-06-12 19:06:33jlt63setspambayes_score: 0.00127371 -> 0.0012737053
recipients: + jlt63, jafo, kermode, benjamin.peterson, wmbrown
2008-06-12 19:06:33jlt63setspambayes_score: 0.00127371 -> 0.00127371
messageid: <1213297593.22.0.461573275082.issue2234@psf.upfronthosting.co.za>
2008-06-12 19:06:32jlt63linkissue2234 messages
2008-06-12 19:06:31jlt63create