On 28.7.2017 12:48, Colin Walters wrote:
On Thu, Jul 27, 2017, at 12:07 PM, Miro Hrončok wrote:
* Switch /usr/bin/python to Python 3 in cooperation with Python upstream.
That again?
Seems like a never ending story, right? :(
> That really seems like a nonstarter; previous> discussion
specifically around Atomic Host + Ansible:
https://lists.fedoraproject.org/archives/list/devel@xxxxxxxxxxxxxxxxxxxxxxx/thread/T4PGIEUYXWXSDRVWYQ2BJXCECL45XWVW/
Plus just breaking everyone's random old scripts.
Actually, we are trying to avoid that. In the corresponding part of the
document [1], we actually say:
"Note that after Phase 1, nothing in Fedora uses /usr/bin/python any
more, so it should be safe for sysadmins to flip the symblink back to
python2 and we should provide a documented and supported way of doing so."
> Now, I> don't know if this has been discussed upstream,
It is being discussed upstream right now and the discussion is linked
from the relevant part of the document [2][3].
> but one> thing to do possibly would be to have an interactive shell
alias for `python` = `ipython3` or something like that, and
switch `ipython` to `ipython3`.
[1]
https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3#Phase_2:_Switch_python_to_refer_to_python3
[2]
https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3#Interlude:_Update_PEP_394_.28not_a_Fedora_Change.29
[3] https://mail.python.org/pipermail/linux-sig/2017-July/000029.html
--
Miro Hrončok
--
Phone: +420777974800
IRC: mhroncok
_______________________________________________
devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx