Aug. 7, 2010
3:34 a.m.
On 7 August 2010 04:57, Brian Curtin <brian.curtin@gmail.com> wrote:
-if sys.platform[:3] in ('win', 'os2') or sys.platform == 'riscos':
The sliced check was to make it more convenient to also check "os2" at the same time in the first hunk of the change. Windows is "win32" regardless of 32 or 64-bit so that check works.
Wouldn't if sys.platform in ('win32', 'os2', 'riscos'): work just as well? Paul