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 guettli
Recipients Thomas Güttler, ethan.furman, guettli, lars.gustaebel, martin.panter
Date 2015-05-29.06:25:38
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1432880738.72.0.805354430613.issue24259@psf.upfronthosting.co.za>
In-reply-to
Content
I thought about this again. 

It could be solved with the help of a ByteCountingStreamReader.

With ByteCountingStreamReader I mean a wrapper around a stream like codescs.StreamReader. But the ByteCountingStreamReader should not changes the content, but just count the bytes it passed.

The ByteCountingStreamReader would be wrapped around ExFileObject.

This class could be handy in other situations.

What do you think?
History
Date User Action Args
2015-05-29 06:25:38guettlisetrecipients: + guettli, lars.gustaebel, ethan.furman, martin.panter, Thomas Güttler
2015-05-29 06:25:38guettlisetmessageid: <1432880738.72.0.805354430613.issue24259@psf.upfronthosting.co.za>
2015-05-29 06:25:38guettlilinkissue24259 messages
2015-05-29 06:25:38guettlicreate