[issue1601] IDLE not working correctly on Windows (Py30a2/IDLE30a1)

Christian Heimes report at bugs.python.org
Tue Dec 18 03:03:33 CET 2007


Christian Heimes added the comment:

Christian Heimes wrote:
> Is 0x0500 fine for Windows 2000? Should we add WINVER=0x0500 to the
> Python project files, too?

http://msdn2.microsoft.com/en-us/library/aa383745.aspx

Minimum system required 	Minimum value for _WIN32_WINNT and WINVER
Windows Server 2008 	0x0600
Windows Vista 	0x0600
Windows Server 2003 SP1, Windows XP SP2 	0x0502
Windows Server 2003, Windows XP 	0x0501
Windows 2000 	0x0500

0x0500 is fine for Windows 2000.

Should we add something like this to PC/pyconfig.h to ensure that our
build uses only Win2k compatible features and that the user is using at
least 2k to compile Python?

#ifdef WINVER
#  if WINVER < 0x0400
#    error "Windows 2000 or newer is required"
#  endif
#  define WINVER 0x0500
#  define _WIN32_WINNT 0x0500
#endif

Christian

__________________________________
Tracker <report at bugs.python.org>
<http://bugs.python.org/issue1601>
__________________________________


More information about the Python-bugs-list mailing list