[issue1274] doctest fails to run file based tests with 8bit paths
report at bugs.python.org
Mon Mar 17 21:41:35 CET 2008
Ilan Schnell <ilanschnell at gmail.com> added the comment:
Bug is most likely platform specific. Can someone suggest how this
should be handled on multiple platforms?
Mike, can you report on which platform you encountered the bug on?
Can you provide a script that reproduces the bug?
On Mac OS 10.4, Python 2.5 I could not create a file:
>>> f=open('\xed', 'w')
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
IOError: invalid mode: w
I will submit this as a separate bug because the error
message sould say 'invalid file name' instead of 'invalid mode'.
assignee: -> tim_one
nosy: +ilan, tim_one
priority: -> low
versions: +Python 2.6
Tracker <report at bugs.python.org>
More information about the Python-bugs-list