Skip to content
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

Modified "pretend_to_initialize" for c++ #5920

Merged
merged 4 commits into from Feb 10, 2024

Conversation

da-woods
Copy link
Contributor

In this case we actually have to initialize rather than just do nothing. Fixes #5278.

Supercedes #5296 (I think this is better since it limits the amount of work Cython itself has to do)

In this case we actually have to initialize rather than just
do nothing. Fixes cython#5278.

Supercedes cython#5296 (I think this is better since it limits the
amount of work Cython itself has to do)
@da-woods da-woods added the C++ label Dec 22, 2023
@scoder
Copy link
Contributor

scoder commented Dec 22, 2023 via email

@da-woods da-woods added this to the 3.1 milestone Feb 10, 2024
@da-woods da-woods merged commit a3942c8 into cython:master Feb 10, 2024
62 of 63 checks passed
@da-woods da-woods deleted the cpp-undefined-return-value branch February 10, 2024 13:17
da-woods added a commit to da-woods/cython that referenced this pull request Mar 31, 2024
In this case we actually have to initialize rather than just
do nothing. Fixes cython#5278.

* Move code to utility code file
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[BUG] UB from __Pyx_pretend_to_initialize not initializing
2 participants