3 ms·
What's the incentive? How discoverable is that? As someone not familiar with Python, I certainly would never guess to type 'python3'.
by dyeje 10y ago
What's the incentive? How discoverable is that? As someone not familiar with Python, I certainly would never guess to type 'python3'.
- deleted 10y ago[deleted]
- sp332 10y agoPython 2 and python 3 are not the same language. There are big breaking changes between them. Most distros kept "python" pointing at python 2 to avoid breaking old scripts. If you want Python 3, you have to ask for it.
- mixmastamyk 10y agoIf you are not familiar with it, why are you running the interactive interpreter? If you are running someone else's script, they will have chosen python3 for you if it is a requirement.
- zokier 10y agoDistros are dropping/have dropped python2 from default install. So incentive is that py3k is available out-of-the-box while you need to install py2 separately. As for discoverability, typing pyt<tab><tab> is probably what most people would do and that discovers python3 just fine.
- PhantomGremlin 10y agoOne of the most popular "distros", current release is named El Capitan, is still python2. Sure there are some "homebrew" incantations that can change that, but it's still a bother. I'm a casual user of Python, and a heavy user of OS X command line, and it will be really nice if/when Apple finally changes this.