[New-bugs-announce] [issue17212] os.path.isfile() in Python 3.3 sometimes fails

G. Poore report at bugs.python.org
Fri Feb 15 23:49:58 CET 2013


New submission from G. Poore:

os.path.isfile() sometimes incorrectly reports that a file does not exist under Python 3.3 (only tested under Windows).  This may be encoding related.  The issue only appears under a very particular set of circumstances; see comments in the attached script.  The attached script demonstrates the issue by testing for an arbitrary file x.txt (you will need to create a file with that name for the test script to work).

----------
components: Library (Lib)
files: os-path-issue-3-3.py
messages: 182188
nosy: gpoore
priority: normal
severity: normal
status: open
title: os.path.isfile() in Python 3.3 sometimes fails
type: behavior
versions: Python 3.3
Added file: http://bugs.python.org/file29082/os-path-issue-3-3.py

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue17212>
_______________________________________


More information about the New-bugs-announce mailing list