Re:Kids find a security flaw in Linux Mint by mashing keys
by canofbars on Wednesday January 20, 2021 @04:59AM
(#25844546)
Its not that they still had python 2, its that the binary "python" referred to python 2 on ubuntu (it might even still be like this) while other distros had it pointed to python 3.
[ Parent
| on HN ]
Re:Kids find a security flaw in Linux Mint by mashing keys
by josefx on Wednesday January 20, 2021 @05:17AM
(#25844645)
Given that python versions are incompatible by design you should probably explicitly refer to the version your code supports. At least that is my takeaway from this mess.
Re:Kids find a security flaw in Linux Mint by mashing keys
by stretchcat on Wednesday January 20, 2021 @05:41AM
(#25844812)
This whole situation is a bad trap for novices, given how many tutorials, class slides, etc ask students to copy/paste various invocations of pip and python that may or may not work verbatim on their distro.
Re:Kids find a security flaw in Linux Mint by mashing keys
by moistbar on Wednesday January 20, 2021 @04:22PM
(#25852159)
Breaking stuff is the first step towards learning to fix stuff.
Re:Kids find a security flaw in Linux Mint by mashing keys
by eznzt on Wednesday January 20, 2021 @08:27AM
(#25846140)
It's complicated: https://lwn.net/Articles/780737/