Message7341
When running tracker with python -W default I get a lot of errors like:
ResourceWarning: unclosed file <_io.TextIOWrapper name='.../demo/html/issue.process.html'
mode='r' encoding='UTF-8'>
Looks like engine_zopetal.py's load() method is opening file for processing and not
closing. Looks like instance.py's _compile routine is doing the same.
Also an mo file is not closed in the i18n.py get_translation() function.
Fix by adding 'with open' clause for the first two and closing the file in the last case. |
|
Date |
User |
Action |
Args |
2021-09-06 03:33:17 | rouilj | set | recipients:
+ rouilj |
2021-09-06 03:33:17 | rouilj | set | messageid: <1630899197.05.0.445484036641.issue2551161@roundup.psfhosted.org> |
2021-09-06 03:33:17 | rouilj | link | issue2551161 messages |
2021-09-06 03:33:16 | rouilj | create | |
|