http://bugs.winehq.org/show_bug.cgi?id=30515
--- Comment #9 from Murph MattFinn@gmail.com 2012-04-25 08:08:56 CDT --- Confirming that this is easily reproduced in python:
1) install python for windows
cd c:\Python27 (the default). touch testfile
wine python.exe import os; a = s.open("testfile",os.O_RDWR) os.close(a)