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

Eliminate redundant dataset cleanup in _io.pyx #2912

Open
sgillies opened this issue Sep 3, 2023 · 0 comments
Open

Eliminate redundant dataset cleanup in _io.pyx #2912

sgillies opened this issue Sep 3, 2023 · 0 comments
Assignees
Milestone

Comments

@sgillies
Copy link
Member

sgillies commented Sep 3, 2023

GDALCreate has been doing the cleanup thoroughly since 3.2.0. I discovered this while testing the opener plugin from #2907. The opener gets called twice with mode=r. Once by _delete_dataset_if_exists() and once again by GDALCreate().

@sgillies sgillies added this to the 1.4.0 milestone Sep 3, 2023
@sgillies sgillies self-assigned this Sep 3, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant