[Distutils] Proposed new Distutils API for compiler flag detection (Issue26689)

Sylvain Corlay sylvain.corlay at gmail.com
Sun Aug 21 05:18:28 EDT 2016


On Sun, Aug 21, 2016 at 8:40 AM, Nathaniel Smith <njs at pobox.com> wrote:

> > Having the `has_flag` in a different location from `has_function` would
> be weird in my opinion.
>
> I think the point though is that in your proposal, has_flag is in
> distutils 3.6, but has_function is in distutils 2.6, 2.7, 3.2, 3.3, 3.4,
> 3.5, 3.6. So they're still in different places in practice, and if your new
> feature is only in distutils 3.6 then almost no one will be able to use it
> within the next 3+ years. Otoh putting it in setuptools makes it uniformly
> usable for everyone immediately.
>
> -n
>

With this reasoning, nothing should ever be added to the standard library.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/distutils-sig/attachments/20160821/34cff228/attachment.html>


More information about the Distutils-SIG mailing list