[issue4832] idle filename extension

Brian Curtin report at bugs.python.org
Tue Jul 20 22:23:42 CEST 2010


Brian Curtin <curtin at acm.org> added the comment:

I would forget about slicing or using startswith. "win32" is the platform name for Python on Windows whether or not it's 64-bit (see PC/pyconfig.h), so I'd just check """sys.platform == 'win32'"""

----------
nosy: +brian.curtin

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue4832>
_______________________________________


More information about the Python-bugs-list mailing list