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 jbperez808
Recipients
Date 2003-10-05.11:09:24
SpamBayes Score
Marked as misclassified
Message-id
In-reply-to
Content
mailbox._Subfile's readline() will chop off the first
character of the next line when reading Unix-style
terminated files.  It's surprising no one has mentioned
this before.

The problem lies in line mailbox._Subfile.readline()
itself where self.pos is assigned self.fp.tell()'s
value.  You will need to subtract 1 from self.pos if a
file uses unix-style termination.
History
Date User Action Args
2007-08-23 14:17:31adminlinkissue818065 messages
2007-08-23 14:17:31admincreate