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

stat.ST_CTIME and stat.ST_ATIME problem #46707

Closed
sassas mannequin opened this issue Mar 22, 2008 · 2 comments
Closed

stat.ST_CTIME and stat.ST_ATIME problem #46707

sassas mannequin opened this issue Mar 22, 2008 · 2 comments
Labels
stdlib Python modules in the Lib dir

Comments

@sassas
Copy link
Mannequin

sassas mannequin commented Mar 22, 2008

BPO 2455

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 2008-05-25.09:18:01.221>
created_at = <Date 2008-03-22.02:25:15.799>
labels = ['invalid', 'library']
title = 'stat.ST_CTIME and stat.ST_ATIME problem'
updated_at = <Date 2008-05-25.09:18:01.207>
user = 'https://bugs.python.org/sassas'

bugs.python.org fields:

activity = <Date 2008-05-25.09:18:01.207>
actor = 'gregory.p.smith'
assignee = 'none'
closed = True
closed_date = <Date 2008-05-25.09:18:01.221>
closer = 'gregory.p.smith'
components = ['Library (Lib)']
creation = <Date 2008-03-22.02:25:15.799>
creator = 'sassas'
dependencies = []
files = []
hgrepos = []
issue_num = 2455
keywords = []
message_count = 2.0
messages = ['64310', '64905']
nosy_count = 2.0
nosy_names = ['gpolo', 'sassas']
pr_nums = []
priority = 'normal'
resolution = 'not a bug'
stage = None
status = 'closed'
superseder = None
type = None
url = 'https://bugs.python.org/issue2455'
versions = ['Python 2.5']

@sassas
Copy link
Mannequin Author

sassas mannequin commented Mar 22, 2008

stat.ST_CTIME and stat.ST_ATIME are mixed up.
ST_CTIME gives access time and should be ST_ATIME and vice versa
ST_ATIME gives creation time. Linux.

@sassas sassas mannequin added the stdlib Python modules in the Lib dir label Mar 22, 2008
@gpolo
Copy link
Mannequin

gpolo mannequin commented Apr 3, 2008

Not here, ST_CTIME is 9 and ST_ATIME is 7, both are the correct indices
at the tuple returned by os.stat.

Could you recheck that and then and include some output (if it is really
incorrect) ?

@gpshead gpshead closed this as completed May 25, 2008
@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
Projects
None yet
Development

No branches or pull requests

1 participant