- Python Home
- About
- News
- Documentation
- Downloads
- Community
- Foundation
- Developer's Guide
- Issue Tracker
- Issues
- Summaries
- User
- Administration
- Help
Message56644
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 | <1193054658.57.0.203252941268.issue1311@psf.upfronthosting.co.za> |
| In-reply-to |
| Content | |
|---|---|
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. |
|
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2007-10-22 12:04:19 | d_kagedal | set | spambayes_score: 0.00937225 -> 0.009372246 recipients: + d_kagedal |
| 2007-10-22 12:04:18 | d_kagedal | set | spambayes_score: 0.00937225 -> 0.00937225 messageid: <1193054658.57.0.203252941268.issue1311@psf.upfronthosting.co.za> |
| 2007-10-22 12:04:18 | d_kagedal | link | issue1311 messages |
| 2007-10-22 12:04:17 | d_kagedal | create | |

