Terry J. Reedy <tjre...@udel.edu> added the comment:
Do you have an example for which "for m in sys.modules: print(m, end=' ')" fails? In particular, is there code in the stdlib that fails iterating over sys.modules? If not the latter, this should be closed as 'Not a bug'. Note that questions about using Python should go elsewhere, such as python-list or stackoverflow. ---------- nosy: +terry.reedy stage: -> test needed type: -> behavior versions: +Python 3.11 -Python 3.8 _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue45353> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com