Leon Matthews <l...@lost.co.nz> added the comment: Some properties seem to be broken no matter if the underlying storage system is file or StringIO.
Properties: encoding, newlines, and softspace And the method: xreadlines() I'm not sure what the correct behaviour should be (although I'm pretty sure xreadlines() should just be deleted -- but when?), so I haven't tried to patch the code. The attached patch is a just (a beginners idea of a) test to confirm the problem. ---------- Added file: http://bugs.python.org/file14546/really-broken-properties-methods.diff _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue6541> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com