Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.maint.python > #17119

Re: Feedback wanted for upstream proposal to replace a patch

From Matthias Klose <doko@debian.org>
Newsgroups linux.debian.maint.python
Subject Re: Feedback wanted for upstream proposal to replace a patch
Date 2025-10-24 16:30 +0200
Message-ID <LJqXL-7Db5-3@gated-at.bofh.it> (permalink)
References <LJqbo-7CAq-15@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


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

Back to linux.debian.maint.python | Previous | NextPrevious in thread | Find similar


Thread

Feedback wanted for upstream proposal to replace a patch Stan Ulbrych <stanulbrych@gmail.com> - 2025-10-24 15:40 +0200
  Re: Feedback wanted for upstream proposal to replace a patch Matthias Klose <doko@debian.org> - 2025-10-24 16:30 +0200

csiph-web