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 jcc2220
Recipients brett.cannon, jcc2220
Date 2018-08-21.22:53:04
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1534891984.44.0.56676864532.issue34446@psf.upfronthosting.co.za>
In-reply-to
Content
Here's an example of the inconsistency - if SpooledTemporaryFile is instantiated with max_size set to 0, it will not rollover, EXCEPT when truncate method is called.  Both write and writelines (public methods) call _check, which deals with rollover, but _check will never rollover if max_size is set to 0.
History
Date User Action Args
2018-08-21 22:53:04jcc2220setrecipients: + jcc2220, brett.cannon
2018-08-21 22:53:04jcc2220setmessageid: <1534891984.44.0.56676864532.issue34446@psf.upfronthosting.co.za>
2018-08-21 22:53:04jcc2220linkissue34446 messages
2018-08-21 22:53:04jcc2220create