New submission from Anand Arumugam <anand.aru...@gmail.com>:
Python 3.7.1 (v3.7.1:260ec2c36a, Oct 20 2018, 14:57:15) [MSC v.1915 64 bit (AMD64)] on win32 Type "help", "copyright", "credits" or "license" for more information. >>> import win32file >>> import win32con >>> import platform >>> h = win32file.CreateFile(f'd:\\temp\\{platform.node()}.lock', >>> (win32file.GENERIC_READ | win32file.GENERIC_WRITE), 0, None, >>> win32con.CREATE_NEW, 0, None) >>> win32file.LockFileEx(h, win32con.LOCKFILE_EXCLUSIVE_LOCK, 5, 5, None) The moment I hit enter, python command prompt crashes. I'm unable to attach the crash dump file. If you cannot repro the crash, let me know. ---------- assignee: terry.reedy components: IDLE, Windows messages: 340947 nosy: paul.moore, steve.dower, terry.reedy, tim.golden, yapydev, zach.ware priority: normal severity: normal status: open title: Python crashes when calling win32file.LockFileEx type: crash versions: Python 3.7 _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue36736> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com