Simon McVittie
2019-11-29 09:40:01 UTC
Source: python3-defaults
Version: 3.7.5-3
Severity: wishlist
As discussed in the thread starting at
<https://lists.debian.org/debian-python/2019/11/msg00125.html>,
it is not always clear to developers what should be done in cases
where the module name is not obvious:
- if the name contains underscores or capital letters
- if the name in the PKG-INFO is not the same as the name you import
I believe the recommended answers are:
- replace underscores with hyphen/minus
- replace capital letters with lower case
- use the name you import in preference to the name from the PKG-INFO
I'll send a patch and a merge request when I get a bug number for this.
smcv
Version: 3.7.5-3
Severity: wishlist
As discussed in the thread starting at
<https://lists.debian.org/debian-python/2019/11/msg00125.html>,
it is not always clear to developers what should be done in cases
where the module name is not obvious:
- if the name contains underscores or capital letters
- if the name in the PKG-INFO is not the same as the name you import
I believe the recommended answers are:
- replace underscores with hyphen/minus
- replace capital letters with lower case
- use the name you import in preference to the name from the PKG-INFO
I'll send a patch and a merge request when I get a bug number for this.
smcv