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.

Author terry.reedy
Recipients epaine, musiquegraeme, terry.reedy, vstinner
Date 2020-09-18.20:41:44
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1600461704.65.0.901313808583.issue41809@roundup.psfhosted.org>
In-reply-to
Content
I am closing this report because 1) it appears to be a result of a typo; 2) os.stat works fine for me (also on Windows); and 3) I am 99.99% sure that IDLE does not delete user code object attributes.

If a system has two files with the same name in two different directories and one manages to run python twice with the different directories as current directory, so that the same name referred to the two different files, then os.stat might return different values for particular attributes.

But IDLE is not Python.  It is run by some python.exe and it sends user code to the same python.exe for execution (with exec()).  So running code with IDLE cannot delete the attributes of objects created by user code.

(musiquegrame), you can still post the result of checking.
History
Date User Action Args
2020-09-18 20:41:44terry.reedysetrecipients: + terry.reedy, vstinner, epaine, musiquegraeme
2020-09-18 20:41:44terry.reedysetmessageid: <1600461704.65.0.901313808583.issue41809@roundup.psfhosted.org>
2020-09-18 20:41:44terry.reedylinkissue41809 messages
2020-09-18 20:41:44terry.reedycreate