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

Python bindings: __init__.py: remove calls to warnings.simplefilter() #11141

Merged
merged 1 commit into from
Oct 28, 2024

Conversation

rouault
Copy link
Member

@rouault rouault commented Oct 28, 2024

Fixes #11140

This changes the global warnings configuration, which is not appropriate to do inside a library.

Fixes OSGeo#11140

This changes the global warnings configuration, which is not appropriate
to do inside a library.
@rouault rouault added the backport release/3.10 Backport to release/3.10 branch label Oct 28, 2024
@coveralls
Copy link
Collaborator

Coverage Status

coverage: 69.464% (-4.0%) from 73.478%
when pulling 166ee6f on rouault:fix_11140
into a8117d9 on OSGeo:master.

@rouault rouault added the funded through GSP Work funded through the GDAL Sponsorship Program label Oct 28, 2024
@rouault rouault merged commit 0332c83 into OSGeo:master Oct 28, 2024
37 of 39 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport release/3.10 Backport to release/3.10 branch funded through GSP Work funded through the GDAL Sponsorship Program
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Do not call warnings.simplefilter in library code
2 participants