You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to understand why 786f80f added the namespace package stanza to google/protobuf/__init__.py and google/protobuf/pyext/__init__.py. I see the google namespace has a fraught history, but is it actually expected that other packages will put code in google.protobuf or google.protobuf.pyext? Note also google/protobuf/__init__.py technically violates the requirement that a namespace packages's __init__.py must not include any other code and data aside from the namespace declaration.
I think either the namespace declaration code should be removed from google/protobuf/__init__.py and google/protobuf/pyext/__init__.py, or these namespace packages should be declared along with the google namespace in setup.py.
The text was updated successfully, but these errors were encountered:
I'm trying to understand why 786f80f added the namespace package stanza to
google/protobuf/__init__.py
andgoogle/protobuf/pyext/__init__.py
. I see thegoogle
namespace has a fraught history, but is it actually expected that other packages will put code ingoogle.protobuf
orgoogle.protobuf.pyext
? Note alsogoogle/protobuf/__init__.py
technically violates the requirement that a namespace packages's__init__.py
must not include any other code and data aside from the namespace declaration.I think either the namespace declaration code should be removed from
google/protobuf/__init__.py
andgoogle/protobuf/pyext/__init__.py
, or these namespace packages should be declared along with thegoogle
namespace insetup.py
.The text was updated successfully, but these errors were encountered: