[PATCH v2 5/8] python: Replace memset() with initializer