[New-bugs-announce] [issue1561] py3k: test_mailbox fails on Windows

Amaury Forgeot d'Arc report at bugs.python.org
Thu Dec 6 11:38:12 CET 2007

New submission from Amaury Forgeot d'Arc:

test_mailbox keeps failing on Windows, due to line-ending issues.
Difficult things began when the files started to open in text mode.

Trying to list problems:
- mailbox.py works with differences of tell() results, and uses this to
as an argument to read(). This is wrong for two reasons: tell() returns
an offset in the file, and mixes this with the codec status.
- _PartialFile (a narrowed view of a file) does not work, for the same
kinds of reasons.

components: Windows
messages: 58238
nosy: amaury.forgeotdarc
severity: normal
status: open
title: py3k: test_mailbox fails on Windows
versions: Python 3.0

Tracker <report at bugs.python.org>

More information about the New-bugs-announce mailing list