comparison win32.py @ 141:dfde0f5e0984

A couple of Win32 fixes Bug fix: win32.kill() no longer raises a fatal NameError. Bug fix: stderr is now flushed when exiting due to a keyboard interrupt.
author Oleg Oshmyan <chortos@inbox.lv>
date Tue, 24 May 2011 23:53:43 +0100
parents 388ae061c915
children 98bccf81db4d
comparison
equal deleted inserted replaced
140:388ae061c915 141:dfde0f5e0984
6 import testcases # mutual import 6 import testcases # mutual import
7 7
8 from ctypes import * 8 from ctypes import *
9 from ctypes.wintypes import * 9 from ctypes.wintypes import *
10 from msvcrt import getch as pause 10 from msvcrt import getch as pause
11 import os, subprocess, sys 11 import os, subprocess, sys, time
12 12
13 try: 13 try:
14 from _winreg import * 14 from _winreg import *
15 except ImportError: 15 except ImportError:
16 from winreg import * 16 from winreg import *