STINNER Victor added the comment: Serhiy: "Maybe add a context manager? Some pattern is repeated multiple times."
As I wrote on the PR, I'm not sure because not all the code look the same. Please propose a PR if you want, I can review it! ---------- resolution: -> fixed stage: patch review -> resolved status: open -> closed _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue31479> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com