[go: up one dir, main page]

|
|
Log in / Subscribe / Register

Fedora mulls its "python" version

Fedora mulls its "python" version

Posted Jul 4, 2019 12:33 UTC (Thu) by cpitrat (subscriber, #116459)
In reply to: Fedora mulls its "python" version by khim
Parent article: Fedora mulls its "python" version

Packages which didn't migrate are not related to the problem here. Although using versionned binary in shebang is recommended, you can totally keep python (PEP394 says it can be used if compatible with both versions).

So valid Python 3 scripts kept compatible with Python 2 by careful developers could be broken by removing python.


to post comments

Fedora mulls its "python" version

Posted Jul 4, 2019 12:38 UTC (Thu) by rahulsundaram (subscriber, #21946) [Link] (2 responses)

> So valid Python 3 scripts kept compatible with Python 2 by careful developers could be broken by removing python.

I don't follow. In a future of release of Fedora, if /usr/bin/python points to /usr/bin/python3, valid Python 3 scripts will work just fine

Fedora mulls its "python" version

Posted Jul 4, 2019 13:16 UTC (Thu) by cpitrat (subscriber, #116459) [Link] (1 responses)

The article mentions discussion about removing completely the python link and providing only python2 and python3.

Fedora mulls its "python" version

Posted Jul 4, 2019 13:24 UTC (Thu) by rahulsundaram (subscriber, #21946) [Link]

> The article mentions discussion about removing completely the python link and providing only python2 and python3.

That's not the actual proposal and people who proposed that backed off from it. So that's not happening


Copyright © 2026, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds