jcc2220 <jcc2...@columbia.edu> added the comment:
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. ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue34446> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com