commit | 8a9463f2d4044506910e26a8ed42e2bc9fc3e0f8 | [log] [tgz] |
---|---|---|
author | Dong-hee Na <donghee.na92@gmail.com> | Thu Oct 22 18:44:18 2020 +0900 |
committer | GitHub <noreply@github.com> | Thu Oct 22 02:44:18 2020 -0700 |
tree | f1a801e5dd84329f46c82d6512f7d27e412d3c2d | |
parent | c8ba47b5518f83b5766fefe6f68557b5033e1d70 [diff] |
_testmultiphase: Fix possible ref leak (GH-22881) This is just test code, but sometimes external contributors reference the code snippets from test code. `PyModule_AddObject` should be handled in the proper way. https://docs.python.org/3/c-api/module.html#c.PyModule_AddObject