You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
RF: Prefer using getlocale() instead of getdefaultlocale()
Prefer using `getlocale()` instead of `getdefaultlocale()`.
Fixes:
```
/home/runner/work/nibabel/nibabel/nibabel/cmdline/dicomfs.py:40:
DeprecationWarning: 'locale.getdefaultlocale' is deprecated and
slated for removal in Python 3.15. Use setlocale(), getencoding()
and getlocale() instead.
encoding = locale.getdefaultlocale()[1]
```
raised for example at:
https://github.com/nipy/nibabel/actions/runs/9637811213/job/26577586721#step:7:164
0 commit comments