This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author yapydev
Recipients paul.moore, steve.dower, terry.reedy, tim.golden, yapydev, zach.ware
Date 2019-04-26.21:57:50
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1556315870.81.0.352629640603.issue36736@roundup.psfhosted.org>
In-reply-to
Content
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.
History
Date User Action Args
2019-04-26 21:57:50yapydevsetrecipients: + yapydev, terry.reedy, paul.moore, tim.golden, zach.ware, steve.dower
2019-04-26 21:57:50yapydevsetmessageid: <1556315870.81.0.352629640603.issue36736@roundup.psfhosted.org>
2019-04-26 21:57:50yapydevlinkissue36736 messages
2019-04-26 21:57:50yapydevcreate