Cameron Simpson <c...@cskk.id.au> added the comment:
On 25Nov2019 17:38, Python Bug Reports <rep...@bugs.python.org> wrote: >Eric Snow <ericsnowcurren...@gmail.com> added the comment: > >FWIW, I have some feedback on the PEP. (See msg357448.) Can we discuss here >or should I open a mailing list thread? Let's discuss it here unless it looks like we need wider input. This is related to issue37292 (_xxsubinterpreters: Can't unpickle objects defined in __main__), yes? With PEP499, "python -m foo" should have __name__=='__main__' and __spec__.name=='foo'. Were you thinking the __module__ should come from __spec__.name (and that the PEP should make that clear)? ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue36375> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com