
Friday brings #Python
Today, let’s explore something interesting. If you read io.BytesIO via io.TextIOWrapper inside a function scope, you might lose your data. When the TextIOWrapper is garbage-collected, it automatically closes the underlying BytesIO stream, wiping your bytes!

English




















