[issue23105] os.O_SHLOCK and os.O_EXLOCK are not available on Linux

2016-09-11 Thread Roundup Robot
Roundup Robot added the comment: New changeset 5ca4c545dfe4 by Vinay Sajip in branch '2.7': Issue #23105: Updated documentation on open() flag constants. https://hg.python.org/cpython/rev/5ca4c545dfe4 New changeset f1427491a8a5 by Vinay Sajip in branch '3.5': Issue #23105: Updated documentation

[issue23105] os.O_SHLOCK and os.O_EXLOCK are not available on Linux

2016-08-25 Thread Vinay Sajip
Vinay Sajip added the comment: The existing docs have a section "These constants are GNU extensions and not present if they are not defined by the C library." There could be a corresponding section for BSD extensions to which O_EXLOCK and O_SHLOCK are moved, or the word "GNU" can removed from

[issue23105] os.O_SHLOCK and os.O_EXLOCK are not available on Linux

2016-08-07 Thread Sworddragon
Sworddragon added the comment: Maybe it sounded a bit confusing but this text was not to be meant as a direct match against the documentation. -- ___ Python tracker

[issue23105] os.O_SHLOCK and os.O_EXLOCK are not available on Linux

2016-08-07 Thread Stéphane Wirtel
Stéphane Wirtel added the comment: Which sentence with "Windows only" ? Thanks -- ___ Python tracker ___ ___

[issue23105] os.O_SHLOCK and os.O_EXLOCK are not available on Linux

2016-08-06 Thread Sworddragon
Sworddragon added the comment: If we decide to word it this way eventually the sentence for "Windows only" needs to be updated too. Not sure about the other sentences as they sound a bit if they would guarantee what they say. Maybe somebody else knows more. --

[issue23105] os.O_SHLOCK and os.O_EXLOCK are not available on Linux

2016-08-06 Thread Stéphane Wirtel
Stéphane Wirtel added the comment: patch for 3.6 with the comment of Sworddragon. -- keywords: +patch stage: needs patch -> patch review Added file: http://bugs.python.org/file44032/issue23105.diff ___ Python tracker

[issue23105] os.O_SHLOCK and os.O_EXLOCK are not available on Linux

2016-08-06 Thread Stéphane Wirtel
Stéphane Wirtel added the comment: I am working on it. -- ___ Python tracker ___ ___ Python-bugs-list mailing

[issue23105] os.O_SHLOCK and os.O_EXLOCK are not available on Linux

2016-08-06 Thread Stéphane Wirtel
Stéphane Wirtel added the comment: If you read the documentation from glibc-2.24, these options are only available on BSD and not on Linux. """ The remaining operating modes are BSD extensions. They exist only on some systems. On other systems, these macros are not defined. Macro: int

[issue23105] os.O_SHLOCK and os.O_EXLOCK are not available on Linux

2016-08-06 Thread Stéphane Wirtel
Stéphane Wirtel added the comment: Link to the documentation of glibc: http://www.gnu.org/software/libc/manual/html_node/Open_002dtime-Flags.html -- ___ Python tracker

[issue23105] os.O_SHLOCK and os.O_EXLOCK are not available on Linux

2016-08-06 Thread Berker Peksag
Changes by Berker Peksag : -- keywords: +easy stage: -> needs patch versions: +Python 3.6 -Python 3.4 ___ Python tracker ___

[issue23105] os.O_SHLOCK and os.O_EXLOCK are not available on Linux

2014-12-23 Thread Sworddragon
New submission from Sworddragon: From the documentation: os.O_DSYNC os.O_RSYNC os.O_SYNC os.O_NDELAY os.O_NONBLOCK os.O_NOCTTY os.O_SHLOCK os.O_EXLOCK os.O_CLOEXEC These constants are only available on Unix. But os.O_SHLOCK and os.O_EXLOCK are not available on my system (Linux

[issue23105] os.O_SHLOCK and os.O_EXLOCK are not available on Linux

2014-12-23 Thread Sworddragon
Changes by Sworddragon sworddrag...@aol.com: -- type: - behavior ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue23105 ___ ___ Python-bugs-list

[issue23105] os.O_SHLOCK and os.O_EXLOCK are not available on Linux

2014-12-23 Thread Sworddragon
Changes by Sworddragon sworddrag...@aol.com: -- components: +Library (Lib) ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue23105 ___ ___

[issue23105] os.O_SHLOCK and os.O_EXLOCK are not available on Linux

2014-12-23 Thread R. David Murray
R. David Murray added the comment: The documentation says Some of them are not available on all platforms. For descriptions of their availability and use, consult the open(2) manual page on Unix or the MSDN on Windows.. The important bit there being consult the open(2) manual page on Unix

[issue23105] os.O_SHLOCK and os.O_EXLOCK are not available on Linux

2014-12-23 Thread Sworddragon
Sworddragon added the comment: I have missed the first part of the documentation and am not sure if something needs really to be changed. But if you think so maybe comments like These constants are only available on Unix. could be extended by the word commonly like These constants are