<lambertdw <at> corning.com> writes: > Please, what is a better way to write the class with > regard to this issue? Set the original TextIOWrapper's buffer to None.