Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add O_NOATIME to os module #45086

Closed
cortana mannequin opened this issue Jun 12, 2007 · 2 comments
Closed

Add O_NOATIME to os module #45086

cortana mannequin opened this issue Jun 12, 2007 · 2 comments
Labels
stdlib Python modules in the Lib dir type-feature A feature request or enhancement

Comments

@cortana
Copy link
Mannequin

cortana mannequin commented Jun 12, 2007

BPO 1735632
Nosy @birkenfeld

Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.

Show more details

GitHub fields:

assignee = None
closed_at = <Date 2007-11-24.13:56:17.403>
created_at = <Date 2007-06-12.10:20:25.000>
labels = ['type-feature', 'library']
title = 'Add O_NOATIME to os module'
updated_at = <Date 2007-11-24.13:56:17.374>
user = 'https://bugs.python.org/cortana'

bugs.python.org fields:

activity = <Date 2007-11-24.13:56:17.374>
actor = 'georg.brandl'
assignee = 'none'
closed = True
closed_date = <Date 2007-11-24.13:56:17.403>
closer = 'georg.brandl'
components = ['Library (Lib)']
creation = <Date 2007-06-12.10:20:25.000>
creator = 'cortana'
dependencies = []
files = []
hgrepos = []
issue_num = 1735632
keywords = []
message_count = 2.0
messages = ['32309', '57806']
nosy_count = 2.0
nosy_names = ['georg.brandl', 'cortana']
pr_nums = []
priority = 'normal'
resolution = 'accepted'
stage = None
status = 'closed'
superseder = None
type = 'enhancement'
url = 'https://bugs.python.org/issue1735632'
versions = ['Python 2.6', 'Python 3.0']

@cortana
Copy link
Mannequin Author

cortana mannequin commented Jun 12, 2007

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.

@cortana cortana mannequin added stdlib Python modules in the Lib dir type-feature A feature request or enhancement labels Jun 12, 2007
@birkenfeld
Copy link
Member

Added the constant in r59172.

The behavior is way too special though to warrant a change to builtin
open().

@ezio-melotti ezio-melotti transferred this issue from another repository Apr 10, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
stdlib Python modules in the Lib dir type-feature A feature request or enhancement
Projects
None yet
Development

No branches or pull requests

1 participant