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 agillesp
Recipients agillesp, r.david.murray, ryles
Date 2009-08-27.03:57:25
SpamBayes Score 9.5025183e-07
Marked as misclassified No
Message-id <1251345450.45.0.552463118646.issue6759@psf.upfronthosting.co.za>
In-reply-to
Content
Latest patch attached.

* Fixed the code that populates the newlines attribute.  I think I've
covered all the cases...

* Found another deviation from file object behavior in this module: 
Calling read with a negative size parameter does not always return the
remainder of the file as described in
http://docs.python.org/library/stdtypes.html#file.read  I went ahead and
fixed this--please let me know if I should open a separate issue and
submit a separate patch.

* Added more tests for mixed eol files, calling read with a negative
size parameter, reading a file with only crlfs
History
Date User Action Args
2009-08-27 03:57:30agillespsetrecipients: + agillesp, r.david.murray, ryles
2009-08-27 03:57:30agillespsetmessageid: <1251345450.45.0.552463118646.issue6759@psf.upfronthosting.co.za>
2009-08-27 03:57:28agillesplinkissue6759 messages
2009-08-27 03:57:28agillespcreate