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

Regression in iterating over empy vectors with non-void pointer types #281

Open
guitargeek opened this issue Dec 17, 2024 · 2 comments
Open

Comments

@guitargeek
Copy link
Contributor

guitargeek commented Dec 17, 2024

Reproducer:

import cppyy

for x in cppyy.gbl.vector["std::string*"]():
    pass

This regression caused the failures in the ROOT synchronization PR:

With void* or any non-pointer types, it still works just fine as far as I can tell!

@wlav
Copy link
Owner

wlav commented Dec 17, 2024

This is fixed with wlav/CPyCppyy#45, right? I added a test and a note in the change log.

@guitargeek
Copy link
Contributor Author

Yes, this is fixed by the PR you linked. Thanks for adding the test!

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

No branches or pull requests

2 participants