Re: /usr/bin/python3 deprecation and enforcing /usr/bin/python

Michael Kesper <[email protected]>
Newsgroups gmane.linux.debian.devel.python
Message-ID <[email protected]>
Hi Alexandru, hi all,

On 14.11.25 18:11, Alexandru Mihail wrote:
> Exactly what I was saying before in this thread as well. The amount of scripts with the #!/usr/bin/python3 shebang in the wild is staggering. I'm not saying
> that it's good practice but it must be considered.
> Maybe we could do a very gradual change, warning users in apt changes
> for several versions of python before pulling the rug maybe in Debian

I question the whole move as such.
No gradual change can fix a broken move.
Have a look at e.g. https://docs.python.org/3/tutorial/interpreter.html#source-code-encoding
That's just one example of official docs using
#!/usr/bin/env python3

So please consider not changing the status quo at all, making life miserable for everyone using Python on Debian.

Best
Michael
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.