[issue22367] Please add F_OFD_SETLK, etc support to fcntl.lockf

2016-03-08 Thread STINNER Victor
STINNER Victor added the comment: > This implements the open_file_descriptor argument and fixes a bug with > converting to int when off_t is 64-bit but long is 32-bit. Please extract the fix into a different patch. -- ___ Python tracker

[issue22367] Please add F_OFD_SETLK, etc support to fcntl.lockf

2016-03-07 Thread Hristo Venev
Hristo Venev added the comment: This implements the open_file_descriptor argument and fixes a bug with converting to int when off_t is 64-bit but long is 32-bit. -- keywords: +patch Added file: http://bugs.python.org/file42085/0001-fcntl-support-F_OFD_.patch

[issue22367] Please add F_OFD_SETLK, etc support to fcntl.lockf

2016-03-07 Thread STINNER Victor
Changes by STINNER Victor : -- nosy: +haypo ___ Python tracker ___ ___

[issue22367] Please add F_OFD_SETLK, etc support to fcntl.lockf

2016-03-07 Thread Hristo Venev
Hristo Venev added the comment: I'd like to use fd locks from python too. -- nosy: +h.venev ___ Python tracker ___

[issue22367] Please add F_OFD_SETLK, etc support to fcntl.lockf

2014-11-18 Thread Serhiy Storchaka
Changes by Serhiy Storchaka storch...@gmail.com: -- stage: - needs patch versions: -Python 2.7 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue22367 ___

[issue22367] Please add F_OFD_SETLK, etc support to fcntl.lockf

2014-11-18 Thread Antoine Pitrou
Changes by Antoine Pitrou pit...@free.fr: -- nosy: +neologix ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue22367 ___ ___ Python-bugs-list mailing

[issue22367] Please add F_OFD_SETLK, etc support to fcntl.lockf

2014-09-08 Thread Andrew Lutomirski
New submission from Andrew Lutomirski: Linux 3.15 and newer support a vastly superior API for file locking, in which locks are owned by open file descriptions instead of by processes. This is how everyone seems to expect POSIX locks to work, but now they can finally work that way. Please