classification
Title: has_function() method for CCompiler
Type: Stage:
Components: Distutils Versions: Python 2.3
process
Status: closed Resolution: accepted
Dependencies: Superseder:
Assigned To: akuchling Nosy List: akuchling, skip.montanaro
Priority: normal Keywords: patch

Created on 2003-04-08 00:50 by skip.montanaro, last changed 2003-05-13 13:10 by akuchling. This issue is now closed.

Files
File name Uploaded Description Edit
ccompiler.diff skip.montanaro, 2003-04-08 00:56
Messages (3)
msg43291 - (view) Author: Skip Montanaro (skip.montanaro) * (Python triager) Date: 2003-04-08 00:50
On the psycopg mailing list, Federico bemoaned the problem figuring out via distutils if a particular platform contains an implementation
for asprintf().  I wrote the attached method as a starting point for such
functionality in distutils.  It's been barely tested at all, but seems to
me to be a reasonable addition to the set of stuff distutils can
check for.
msg43292 - (view) Author: Skip Montanaro (skip.montanaro) * (Python triager) Date: 2003-04-08 00:56
Logged In: YES 
user_id=44345

Also note a number of known nits:

  * it doesn't yet clean up after itself
  * it doesn't yet suppress messages to stderr
  * I haven't tested it in any but the simplest of cases
msg43293 - (view) Author: A.M. Kuchling (akuchling) * (Python committer) Date: 2003-05-13 13:10
Logged In: YES 
user_id=11375

Checked in.
History
Date User Action Args
2003-04-08 00:50:12skip.montanarocreate