harlowja / fasteners

A python package that provides useful locks.
Apache License 2.0
248 stars 45 forks source link

Replace pywin32 dependency by vendored snippets #57

Closed psarka closed 3 years ago

vector-of-bool commented 3 years ago

It looks like ERROR_IO_PENDING is returned in the case that the file is opened for asynchronous IO, but not for synchronous files. I'm not sure why my version (#41) works with ERROR_IO_PENDING while this one works with ERROR_LOCK_VIOLATION? Either way, working tests are enough for me.