PyTuple_Pack() was missing va_end() in its error branch which lead to a resource leak.