[RFC] using `if WINDOWS` instead of `if sys.platform == 'win32'`?

Ian Clatworthy ian.clatworthy at internode.on.net
Thu Sep 6 12:56:17 BST 2007


Alexander Belchenko wrote:

> WINDOWS = sys.platform == 'win32'
.
> Anyone have objections or suggestions?

It does seem nice to abstract this into a constant that is set once so
our definition of WINDOWS can evolve if required.

Do 64-bit versions of Windows set sys.platform to win64?

Ian C.



More information about the bazaar mailing list