ResourceWarning
python ResourceWarning
Raised when a resource (such as a file or socket) is implicitly closed or destroyed without being explicitly closed. Hidden by default; shown when the interpreter is run with -Wd.
Raised when a resource (such as a file or socket) is implicitly closed or destroyed without being explicitly closed. Hidden by default; shown when the interpreter is run with -Wd.