-
Notifications
You must be signed in to change notification settings - Fork 14
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Wrappers for non-void methods fail to compile with release_GIL_and_enable_signal = True
#44
Comments
krivenko
added a commit
to krivenko/som
that referenced
this issue
Mar 7, 2022
This method computes the final solution using the consistent constraints approach as described in Section II.B of O. Goulko et al. Phys. Rev. B 95, 014102 (2017). The new method is also exposed in Python, although I could not mark it as `release_GIL_and_enable_signal = True` because of cpp2py issue TRIQS/cpp2py#44.
krivenko
added a commit
to krivenko/som
that referenced
this issue
Mar 7, 2022
This method computes the final solution using the consistent constraints approach as described in Section II.B of O. Goulko et al. Phys. Rev. B 95, 014102 (2017). The new method is also exposed in Python, although I could not mark it as `release_GIL_and_enable_signal = True` because of cpp2py issue TRIQS/cpp2py#44.
krivenko
added a commit
to krivenko/som
that referenced
this issue
Mar 8, 2022
This method computes the final solution using the consistent constraints approach as described in Section II.B of O. Goulko et al. Phys. Rev. B 95, 014102 (2017). The new method is also exposed in Python, although I could not mark it as `release_GIL_and_enable_signal = True` because of cpp2py issue TRIQS/cpp2py#44.
krivenko
added a commit
to krivenko/som
that referenced
this issue
Mar 9, 2022
This method computes the final solution using the consistent constraints approach as described in Section II.B of O. Goulko et al. Phys. Rev. B 95, 014102 (2017). The new method is also exposed in Python, although I could not mark it as `release_GIL_and_enable_signal = True` because of cpp2py issue TRIQS/cpp2py#44.
krivenko
added a commit
to krivenko/som
that referenced
this issue
Mar 17, 2022
This method computes the final solution using the consistent constraints approach as described in Section II.B of O. Goulko et al. Phys. Rev. B 95, 014102 (2017). The new method is also exposed in Python, although I could not mark it as `release_GIL_and_enable_signal = True` because of cpp2py issue TRIQS/cpp2py#44.
krivenko
added a commit
to krivenko/som
that referenced
this issue
Mar 18, 2022
This method computes the final solution using the consistent constraints approach as described in Section II.B of O. Goulko et al. Phys. Rev. B 95, 014102 (2017). The new method is also exposed in Python, although I could not mark it as `release_GIL_and_enable_signal = True` because of cpp2py issue TRIQS/cpp2py#44.
krivenko
added a commit
to krivenko/som
that referenced
this issue
May 18, 2022
This method computes the final solution using the consistent constraints approach as described in Section II.B of O. Goulko et al. Phys. Rev. B 95, 014102 (2017). The new method is also exposed in Python, although I could not mark it as `release_GIL_and_enable_signal = True` because of cpp2py issue TRIQS/cpp2py#44.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
When
release_GIL_and_enable_signal
is switched on, theresult
object is created inside a nestedtry
block (line 547 ofwrap.cxx
). Later, it is assumed to be visible in the enclosing scope of thattry
(line 563).cpp2py/cpp2py/mako/wrap.cxx
Lines 539 to 570 in a54c236
I wanted to prepare a minimal example based on an existing wrapping unit test, but those seem to have been disabled in both TRIQS
unstable
and cpp2py.The text was updated successfully, but these errors were encountered: