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 Nika
Recipients Nika
Date 2019-10-11.11:16:42
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <[email protected]>
In-reply-to
Content
os.path.exists() accepts either True or False as argument and returns True.
Reproducible on Windows, e. g.,  in jupyter notebook or in Eclipse, although not in IDLE, which returns False, as expected.

import os
print(os.path.exists(False))
History
Date User Action Args
2019-10-11 11:16:42Nikasetrecipients: + Nika
2019-10-11 11:16:42Nikasetmessageid: <[email protected]>
2019-10-11 11:16:42Nikalinkissue38445 messages
2019-10-11 11:16:42Nikacreate