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: os.stat returning a time = -1
Type: Stage:
Components: Library (Lib) Versions: Python 2.2
process
Status: closed Resolution:
Dependencies: Superseder:
Assigned To: Nosy List: anthonybaxter, georg.brandl, pascor
Priority: normal Keywords:

Created on 2003-09-22 23:37 by pascor, last changed 2022-04-10 16:11 by admin. This issue is now closed.

Messages (3)
msg18267 - (view) Author: Ray Pasco (pascor) Date: 2003-09-22 23:37
(WIN32)  copystat's call to os.stat sometimes returns a
time
value = -1, on which the following call to os.utime
bombs.  
A temporary work-around is attached.
msg18268 - (view) Author: Anthony Baxter (anthonybaxter) (Python triager) Date: 2003-09-23 11:01
Logged In: YES 
user_id=29957

There's no file attached! You have to upload the file and
check the  little box.
msg18269 - (view) Author: Georg Brandl (georg.brandl) * (Python committer) Date: 2006-02-20 15:24
Logged In: YES 
user_id=849994

Closing as the OP didn't upload his patch.
History
Date User Action Args
2022-04-10 16:11:18adminsetgithub: 39277
2003-09-22 23:37:07pascorcreate