[Distutils] [RFC] PEP 345 and PEP 386 updates

Tarek Ziadé ziade.tarek at gmail.com
Tue Oct 20 22:11:03 CEST 2009


On Tue, Oct 20, 2009 at 5:20 PM, M.-A. Lemburg <mal at egenix.com> wrote:
>>> The micro-language should provide a limited number of
>>> variables to use on the conditions:
>>>
>>> python_version = sys.version
>>> sys_platform = sys.platform
>>
>> If we adopt such a micro-language (I'm reserving judgment until I've
>> had more time to read the relevant PEPs carefully), I'd rather see the
>> names match what's in the Python runtime more closely, probably only
>> avoiding the call syntax.
>
> We could do that as well, yes.

+1 on close names + no call syntax

but, notice that "python_version" here is:   "%s.%s" %
sys.version_info[0], sys.version_info[1]

thats why we came up with that name, to disinguish it from sys.version
(that contains more stuff)

Tarek


More information about the Distutils-SIG mailing list