Brett Cannon <br...@python.org> added the comment: So which inconsistency do you want to change because you listed three and this is only one issue. 😉
I'm going to assume the "even though sys.modules has `None`" case, which I think is an oversight and should probably get fixed, but I also don't know what promises the language spec makes around this. As for the other two, you can open separate issues if you want to discuss them, but I double-check what the language spec says as I am tempted to say both are fine (and specifically in the latter case that's on you to have not messed up and left the attribute off). ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue46360> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com