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 | gregory.p.smith |
|---|---|
| Recipients | MrJean1, gregory.p.smith, loewis, theller |
| Date | 2008年04月05日.22:00:07 |
| SpamBayes Score | 0.046984326 |
| Marked as misclassified | No |
| Message-id | <1207432809.26.0.772684801158.issue2552@psf.upfronthosting.co.za> |
| In-reply-to |
| Content | |
|---|---|
agreed, do not check to see if the string is == 'gcc'. Instead,
actually execute the CC compiler with a -v flag and test if 'gcc
version' in output.
something like this (but split into a few statements for readability):
if 'gcc version' not in os.popen(sysconfig.get_config_vars().get('CC',
'gcc') + ' -v').read():
# gcc is required for ctypes |
|
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2008年04月05日 22:00:09 | gregory.p.smith | set | spambayes_score: 0.0469843 -> 0.046984326 recipients: + gregory.p.smith, loewis, theller, MrJean1 |
| 2008年04月05日 22:00:09 | gregory.p.smith | set | spambayes_score: 0.0469843 -> 0.0469843 messageid: <1207432809.26.0.772684801158.issue2552@psf.upfronthosting.co.za> |
| 2008年04月05日 22:00:08 | gregory.p.smith | link | issue2552 messages |
| 2008年04月05日 22:00:07 | gregory.p.smith | create | |