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.

Title: has_function() method for CCompiler
Type: Stage:
Components: Distutils Versions: Python 2.3
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 2022-04-10 16:08 by admin. This issue is now closed.

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 

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 

Checked in.
Date User Action Args
2022-04-10 16:08:03adminsetgithub: 38272
2003-04-08 00:50:12skip.montanarocreate