On Wednesday, April 16, 2014 1:02:00 PM UTC+5:30, Andrew Berg wrote: > On 2014.04.15 20:21, Steven D'Aprano wrote: > > > On Tue, 15 Apr 2014 17:32:57 -0500, Andrew Berg wrote: > > > > > >> On 2014.04.15 17:18, Ned Batchelder wrote: > > >>> Yeah, that's the wrong way to do it, and they shouldn't have done that. > > >>> "python" needs to mean Python 2.x for a long time. > > >> Or maybe explicit is better than implicit: > > >> > > >> # python > > >> zsh: command not found: python > > >> # which python2.7 > > >> /usr/local/bin/python2.7 > >> # which python3.4 > >> /usr/local/bin/python3.4
> > If you really meant that, you would have typed "/usr/bin/which2.16 > > python" (or whatever the location and version of which on your system). > > Are you sure about that? > # which which > which: shell built-in command > Unless I'm forgetting some more explicit way of calling a command built into > the shell. Not out here: $ which which /usr/bin/which $ ls -l /usr/bin/which lrwxrwxrwx 1 root root 10 Jul 28 2013 /usr/bin/which -> /bin/which Though there is no evidence of which-versionitis which is what Steven is implying?? -- https://mail.python.org/mailman/listinfo/python-list