On Tue, Oct 20, 2009 at 5:20 PM, M.-A. Lemburg <m...@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 _______________________________________________ Distutils-SIG maillist - Distutils-SIG@python.org http://mail.python.org/mailman/listinfo/distutils-sig