What way of opting out form a particular Python shebang flag do you prefer?

2022-06-30 Thread Miro Hrončok
Hello Pythonistas, packagers. In the context of this change: https://fedoraproject.org/wiki/Changes/PythonSafePath Python shebangs will have be: #! /usr/bin/python3 -sP In order to remove certain flags, packagers have the following tool: # Unset -s on python shebang - ensure that extensi

Re: What way of opting out form a particular Python shebang flag do you prefer?

2022-06-30 Thread Major Hayden
On 6/30/22 05:12, Miro Hrončok wrote: > Basically, packagers would do something like this: > > >   # Unset -s on python shebang - ensure that extensions installed with pip >   # to user locations are seen and properly loaded >   %global _python3_shebang_nousersite %{nil} > > Or: > >   # Don't a