fileno support
mockodin opened this issue · 2 comments
mockodin commented
fcntl supports passing the fileno directly, this seems like it should be supportable here as well
fh = open(filename, "w")
fcntl.flock(fh.fileno(), fcntl.LOCK_EX)
wolph commented
I can add partial support. On posix systems this is indeed possible, on windows systems it is not :)
wolph commented
Release 2.6.0 supports fh.fileno()
as well on posix (i.e. linux/unix/osx) systems