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 Sworddragon
Recipients Sworddragon
Date 2014-12-23.14:38:55
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1419345535.42.0.312768269587.issue23105@psf.upfronthosting.co.za>
In-reply-to
Content
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 3.16.7-ckt1 x86_64):

sworddragon@ubuntu:~$ python3
Python 3.4.2 (default, Dec  4 2014, 09:34:20) 
[GCC 4.9.2] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import os
>>> os.O_SHLOCK
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
AttributeError: 'module' object has no attribute 'O_SHLOCK'
>>> os.O_EXLOCK
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
AttributeError: 'module' object has no attribute 'O_EXLOCK'
>>> exit()
History
Date User Action Args
2014-12-23 14:38:55Sworddragonsetrecipients: + Sworddragon
2014-12-23 14:38:55Sworddragonsetmessageid: <1419345535.42.0.312768269587.issue23105@psf.upfronthosting.co.za>
2014-12-23 14:38:55Sworddragonlinkissue23105 messages
2014-12-23 14:38:55Sworddragoncreate