-
Notifications
You must be signed in to change notification settings - Fork 124
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix the reference count stealing problem in
clif::callback
.
This is a follow up of cl/532595246. When the first parameter of the callback function is not `PyObject*`, and the second parameter of the callback function is `PyObject*`, the newly added function template specialization for `PyObject*` is not executed. See b/282776731#comment6 for details. TGP only includes unrelated failures: https://fusion2.corp.google.com/presubmit/568959836/OCL:568959836:BASE:569532419:1696009662955:2e10d708/targets. PiperOrigin-RevId: 576333623
- Loading branch information
wangxf
authored and
Ralf W. Grosse-Kunstleve
committed
Nov 14, 2023
1 parent
e56383f
commit 0ced3b5
Showing
2 changed files
with
25 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters