Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Pretty annoying to reliably #! to python3 as well. Is it /usr/bin/python or python3?


That's my worst. I think generally python3 is safe (if unnecessary) today? But for how long do we have to keep that around?

Can we now say Well python2 is EOL so python should certainly be v3+?

It is of course a more general issue with shebangs that it's a very loose 'dynamically linked' coupling, not necessarily judt affecting language version but environment/libraries too, it just seems particularly problematic or prevalent with python.


/usr/bin/env python3


That's not the point - 'or /usr/bin/env python?'





Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: