def __new__(cls, name, bases, dictionary):
    descriptor = dictionary[GeneratedProtocolMessageType._DESCRIPTOR_KEY]
    bases = _NewMessage(bases, descriptor, dictionary)
    superclass = super(GeneratedProtocolMessageType, cls)

    new_class = superclass.__new__(cls, name, bases, dictionary)
    return new_class
Pre and Post event are triggered.
dataset/ETHPy150Open GoogleCloudPlatform/python-compat-runtime/appengine-compat/exported_appengine_sdk/google/net/proto2/python/public/reflection.py/GeneratedProtocolMessageType.__new__--crossover with--dataset/ETHPy150Open F-Secure/see/see/context/test/context_test.py/SeeContextTest.test_event_triggering