a writable text file.
- Issue #23865: close() methods in multiple modules now are idempotent and more
- robust at shutdown. If needs to release multiple resources, they are released
- even if errors are occured.
+ robust at shutdown. If they need to release multiple resources, all are
+ released even if errors occur.
- Issue #23881: urllib.request.ftpwrapper constructor now closes the socket if
the FTP connection failed to fix a ResourceWarning.