[issue5396] os.read not handling O_DIRECT flag

Antoine Pitrou report at bugs.python.org
Sat Mar 14 00:02:29 CET 2009


Antoine Pitrou <pitrou at free.fr> added the comment:

I don't think we will try to support O_DIRECT. First, it is a rather
platform-specific flag. Second, Python's memory allocator doesn't allow
specifying an arbitrary alignment value. Third, I don't even think
O_DIRECT can make a positive difference in a Python program (the open()
manpage actually warns against likely performance degradation when using
O_DIRECT).
So I'm closing this bug, sorry.

----------
nosy: +pitrou
resolution:  -> wont fix
status: open -> closed

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue5396>
_______________________________________


More information about the Python-bugs-list mailing list