Martin Blais added the comment: Adding nullcontext = ExitStack in the source file would solve this problem in a single line of code.
---------- nosy: +blais _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue10049> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com