This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author serhiy.storchaka
Recipients eric.smith, jaraco, serhiy.storchaka
Date 2022-01-08.10:13:41
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1641636821.36.0.72053186207.issue46304@roundup.psfhosted.org>
In-reply-to
Content
A warning is an indication of possible bugs in your code. If you do not close file explicitly, and it is closed by the garbage collector, the time of closing is undeterminated. This can lead to exhausting of file descriptors if you have a lot of opened files waiting for closing in reference loops.

If you want to get rid of warnings, use a corresponding warning filter for ignoring specific warnings. Or better rewrite your code in a way that file closing is deterministic.
History
Date User Action Args
2022-01-08 10:13:41serhiy.storchakasetrecipients: + serhiy.storchaka, jaraco, eric.smith
2022-01-08 10:13:41serhiy.storchakasetmessageid: <1641636821.36.0.72053186207.issue46304@roundup.psfhosted.org>
2022-01-08 10:13:41serhiy.storchakalinkissue46304 messages
2022-01-08 10:13:41serhiy.storchakacreate