[Python-Dev] First draft of "sysconfig"

Tarek Ziadé ziade.tarek at gmail.com
Mon Dec 14 23:12:42 CET 2009


On Mon, Dec 14, 2009 at 10:52 AM, M.-A. Lemburg <mal at egenix.com> wrote:
[..]
>> I've refactored distutils/ and site.py so they work with this new
>> module, and added deprecation warnings in distutils.sysconfig.
>
> I think we really need to do something about these kinds of
> deprecations.
>
> IMHO, there is no need to deprecate an entry point if the code
> has just moved to some other location in the stdlib.
>
> A simple note in the documentation and the NEWS file should be
> enough to get programmers to use the new location for code that
> doesn't have to work with older Python versions.

There are both cases in fact: some APIs have just moved, and some have
changed. So I guess I could keep a deprecation warning only for the
latter.

Regards
Tarek


More information about the Python-Dev mailing list