New submission from Brett Cannon <br...@python.org>:
By making sure the stdlib can handle the case where __loader__ isn't defined but __spec__.parent is, eventually the former could be dropped for the latter. ---------- components: Library (Lib) messages: 379486 nosy: brett.cannon priority: normal severity: normal status: open title: Update the stdlib to fall back to __spec__.parent if __loader__ isn't defined type: behavior versions: Python 3.10 _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue42133> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com