Message346790
It's a _NamespacePath in 3.7 because there's no __init__.py in the top-level "google" directory, and that makes it a namespace package.
I'm not exactly sure why it works in 2.7, frankly. <time passes> Looking some more: it's because they're playing tricks in a .pth file. I don't recall what the interactions between .pth and namespace packages.
I don't know if Google really means for "google" to be a namespace package, or if it's just a side effect of how they're installing protobuf.
In any event, I don't think we want a _NamespacePath to be modifiable. |
|
Date |
User |
Action |
Args |
2019-06-28 01:20:52 | eric.smith | set | recipients:
+ eric.smith, brett.cannon, docs@python, jimli |
2019-06-28 01:20:52 | eric.smith | set | messageid: <1561684852.37.0.331604896932.issue37422@roundup.psfhosted.org> |
2019-06-28 01:20:52 | eric.smith | link | issue37422 messages |
2019-06-28 01:20:52 | eric.smith | create | |
|