[issue1274] doctest fails to run file based tests with 8bit paths

Mike Taylor report at bugs.python.org
Tue Mar 18 02:09:15 CET 2008


Mike Taylor <bear42 at gmail.com> added the comment:

Hi,

it was running on FC4 with UTF-32 support and was using the Japanese locale.

The bug is reproducible using any doctest that is stored in a mixed
character path.  where it is in the Chandler tree is not easily pulled
apart but if you really need it I can work up a small subset.

On Mon, Mar 17, 2008 at 4:41 PM, Ilan Schnell <report at bugs.python.org> wrote:
>
>  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>
>  <http://bugs.python.org/issue1274>
>  __________________________________
>

__________________________________
Tracker <report at bugs.python.org>
<http://bugs.python.org/issue1274>
__________________________________


More information about the Python-bugs-list mailing list