Message233048
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() |
|
Date |
User |
Action |
Args |
2014-12-23 14:38:55 | Sworddragon | set | recipients:
+ Sworddragon |
2014-12-23 14:38:55 | Sworddragon | set | messageid: <1419345535.42.0.312768269587.issue23105@psf.upfronthosting.co.za> |
2014-12-23 14:38:55 | Sworddragon | link | issue23105 messages |
2014-12-23 14:38:55 | Sworddragon | create | |
|