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.

classification
Title: Add O_NOATIME to os module
Type: enhancement Stage:
Components: Library (Lib) Versions: Python 3.0, Python 2.6
process
Status: closed Resolution: accepted
Dependencies: Superseder:
Assigned To: Nosy List: cortana, georg.brandl
Priority: normal Keywords:

Created on 2007-06-12 10:20 by cortana, last changed 2022-04-11 14:56 by admin. This issue is now closed.

Messages (2)
msg32309 - (view) Author: sam morris (cortana) Date: 2007-06-12 10:20
Please add a constant for O_NOATIME to the os module.

 -- Macro: int O_NOATIME
     If this bit is set, `read' will not update the 
     access time of the file.  *Note File Times::.  This 
     is used by programs that do backups, so that backing 
     a file up does not count as reading it. Only the 
     owner of the file or the superuser may use this bit.

and possibly even a new character to the 'mode' paramter of the builtin 'open' function to do the same thing.
msg57806 - (view) Author: Georg Brandl (georg.brandl) * (Python committer) Date: 2007-11-24 13:56
Added the constant in r59172.

The behavior is way too special though to warrant a change to builtin
open().
History
Date User Action Args
2022-04-11 14:56:24adminsetgithub: 45086
2007-11-24 13:56:17georg.brandlsetstatus: open -> closed
resolution: accepted
messages: + msg57806
nosy: + georg.brandl
2007-11-23 09:18:34christian.heimessetversions: + Python 2.6, Python 3.0
2007-06-12 10:20:25cortanacreate