HomePhabricator

phases: leverage Py_BuildValue() to build PyInt and steal PyObject

Authored by yuja.

Description

phases: leverage Py_BuildValue() to build PyInt and steal PyObject

"N" means "O" without incref, so we can just return the created tuple.

Details

Committed
yujaJul 18 2020, 5:27 AM
Parents
rHG03332e5f67e9: phases: make sure an exception should be set on error return
Branches
Unknown
Tags
Unknown