Re: Feedback wanted for upstream proposal to replace a patch
Matthias Klose <[email protected]>
| Newsgroups | gmane.linux.debian.devel.python |
|---|---|
| Message-ID | <[email protected]> |
On 10/24/25 15:23, Stan Ulbrych wrote: > Hello! > > We have proposed a new mechanism for improving error messages for missing > standard library modules, you can find the proposal at: > https://discuss.python.org/t/improved-errors-for-missing-standard-library-modules/104540 > please > post your feedback there, it would be greatly appreciated. > > This would allow you to replace the current patch ( > https://sources.debian.org/patches/python3.14/3.14.0-2/tkinter-import.diff/) > with a JSON file that is used during the build process. Is this only needed for standard library modules? That could be extended to *all* available modules in a distro, hinting to the installation of the corresponding package. In this case, you could build up a database of module -> package mappings like it is done for the command-not-found command. Instead of having a single json file, maybe have an approach to scan a dir for multiple json files? Matthias