Bug#1118103: python3-apt: Missing type annotations in apt_pkg
Stuart Prescott <[email protected]>
| Newsgroups | gmane.linux.debian.apt.devel |
|---|---|
| Message-ID | <176049239585.1750321.7316204849759609099.reportbug__44869.10386929$1760492486$gmane$org@trochilus.nanonanonano.net> |
Package: python3-apt Version: 3.0.0 Severity: normal X-Debbugs-Cc: [email protected] Dear Maintainer, While looking at some old mia-team code, I found that type annotations for the following functions were missing. apt_pkg.read_config_file_isc (Module has no attribute "read_config_file_isc") apt_pkg.parse_commandline (Module has no attribute "parse_commandline") Configuration.exists ("Configuration" has no attribute "exists") Configuration.subtree ("Configuration" has no attribute "subtree") Configuration.__setitem__ (Unsupported target for indexed assignment ("Configuration")) If python3-apt's type annotations could be expanded to include these, that would be much appreciated. (And yes, I suspect that moving away from some of these functions would also be worthwhile, but that's a different yak to shave.) thanks Stuart