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 d_kagedal
Recipients d_kagedal
Date 2007-10-22.12:04:17
SpamBayes Score 0.009372246
Marked as misclassified No
Message-id <>
When moving from Python 2.4 to Python 2.5, my program stopped working on
win32 because of a change in os.path.exists. I couldn't find any
description of the change, so I can only assume it's a bug.

The os.devnul variable contains the name of the "null file", which is
"/dev/null" on posix, and "nul" on win32. As I understand it, "NUL" is a
file that exists in every directory on win32.

Opening the "nul" file with open("nul", "r") works fine, but
os.path.exists("nul") returns False. In Python 2.4, it returns True.
Date User Action Args
2007-10-22 12:04:19d_kagedalsetspambayes_score: 0.00937225 -> 0.009372246
recipients: + d_kagedal
2007-10-22 12:04:18d_kagedalsetspambayes_score: 0.00937225 -> 0.00937225
messageid: <>
2007-10-22 12:04:18d_kagedallinkissue1311 messages
2007-10-22 12:04:17d_kagedalcreate