[issue45540] module.__package__ and module.__spec__.parent have different semantics

Eric Snow report at bugs.python.org
Thu Oct 21 14:25:26 EDT 2021


Eric Snow <ericsnowcurrently at gmail.com> added the comment:

On Thu, Oct 21, 2021 at 11:54 AM Barry A. Warsaw <report at bugs.python.org> wrote:
> Thanks for your comprehensive comments Eric!  While I digest them, my TL;DR is that we probably need a PEP to describe everything from the current situation, to the the desired end state and migration path.  I'm willing to put that together with you and Brett as co-authors if you're amenable.

+1

----------

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue45540>
_______________________________________


More information about the Python-bugs-list mailing list