R. David Murray added the comment: This is indeed not a bug, it it a consequence of the scoping rules.
What surprises me is that it works without passing in an explicit scope in in 3.7. I'm not sure what we changed that makes that true. ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue31401> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com