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 <1570792602.16.0.709405121857.issue38445@roundup.psfhosted.org>
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: <1570792602.16.0.709405121857.issue38445@roundup.psfhosted.org>
2019-10-11 11:16:42Nikalinkissue38445 messages
2019-10-11 11:16:42Nikacreate