-
Notifications
You must be signed in to change notification settings - Fork 15.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Register Scalar/MessageMapContainerTypes as virtual subclasses of
MutableMapping instead of inheriting directly in python cpp extension. This prevents these from using abc.ABCMeta metaclass to avoid deprecation warning: DeprecationWarning: Type google.protobuf.internal.cpp._message.MessageMapContainer uses PyType_Spec with a metaclass that has custom tp_new. This is deprecated and will no longer be allowed in Python 3.14. PiperOrigin-RevId: 734302096
- Loading branch information
1 parent
cdbde21
commit 9a0b591
Showing
1 changed file
with
51 additions
and
27 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters