[issue6541] SpooledTemporaryFile cleanups
Leon Matthews
report at bugs.python.org
Thu Jul 23 01:05:38 CEST 2009
Leon Matthews <leon at 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 <report at bugs.python.org>
<http://bugs.python.org/issue6541>
_______________________________________
More information about the Python-bugs-list
mailing list