Message329607
@barry
> Interdependent namespace packages. If they get loaded in the wrong order, they can mess up __path__ settings
Actually, when writing the PR, I had a revelation how this could be implemented. Via an import hook that would work like a union FS!
In its .pth file, each such package will import the hook's module (which will cause the hook to be installed on the first import) and "register" its namespaces and/or dependencies with it. The hook will then calculate the required load order and enforce it upon import of any of the registered namespaces. |
|
Date |
User |
Action |
Args |
2018-11-10 12:50:07 | Ivan.Pozdeev | set | recipients:
+ Ivan.Pozdeev, mhammond, barry, brett.cannon, terry.reedy, ncoghlan, pitrou, eric.smith, christian.heimes, eric.snow, takluyver, Antony.Lee, Anthony Sottile, ethan smith |
2018-11-10 12:50:07 | Ivan.Pozdeev | set | messageid: <1541854207.44.0.788709270274.issue33944@psf.upfronthosting.co.za> |
2018-11-10 12:50:07 | Ivan.Pozdeev | link | issue33944 messages |
2018-11-10 12:50:07 | Ivan.Pozdeev | create | |
|