[Patches] [ python-Patches-717152 ] has_function() method for CCompiler

SourceForge.net noreply@sourceforge.net
Mon, 07 Apr 2003 17:56:14 -0700


Patches item #717152, was opened at 2003-04-07 19:50
Message generated for change (Comment added) made by montanaro
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=305470&aid=717152&group_id=5470

Category: Distutils and setup.py
Group: Python 2.3
Status: Open
Resolution: None
Priority: 5
Submitted By: Skip Montanaro (montanaro)
Assigned to: A.M. Kuchling (akuchling)
Summary: has_function() method for CCompiler

Initial Comment:
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.

----------------------------------------------------------------------

>Comment By: Skip Montanaro (montanaro)
Date: 2003-04-07 19:56

Message:
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

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=305470&aid=717152&group_id=5470