[IPython-dev] IPython on Python 3 - script names

Thomas Kluyver takowl at gmail.com
Sun Jan 16 18:47:51 EST 2011


Right, I've gone for ipython3/ipython3-qtconsole/iptest3, and so on.

I've also separated the default ipython directory (.ipython) to .ipython3,
and changed the environment variable it checks for this directory to be
IPYTHON3_DIR.

One thing I'm unsure about: on Windows, it says that it will use _ipython
instead of .ipython, but I can't see where this is set up. Does Windows
somehow change .ipython into _ipython, or is it in a completely different
part of the code?

Thanks,
Thomas

On 15 January 2011 05:05, MinRK <benjaminrk at gmail.com> wrote:

> I would cast my vote for ipython3/ipython3-qtconsole.  I think two hyphens
> is too many for a script name if at all avoidable, and I don't think there's
> much risk of people confusing that for the ipython version, since 0.3 is
> long ago, and 3.0 won't be soon.
>
> Another precedent for this pattern is nosetests3
>
> -MinRK
>
>
>
> On Fri, Jan 14, 2011 at 17:18, Thomas Kluyver <takowl at gmail.com> wrote:
>
>> So, that's one for and one against. ;-)
>>
>> Dan, I take your point about 3k being an insider thing. I don't really
>> like ipython-py3, though. I don't know why, it just looks...ugly, somehow.
>>
>> In fact, I'm now leaning back towards:
>> ipython3
>> ipython3-qtconsole
>>
>> As you say, it's unlikely anyone would actually get confused, and we
>> wouldn't be alone in using that pattern (pydoc3, idle3*, virtualenv5 (!)).
>> It has the advantage that tab completion narrows down quicker: ipython-<tab>
>> gets you only py2 IPython names. Are people happy with that?
>>
>> *pydoc3 and idle3 might be down to Ubuntu packaging, I don't know. It's a
>> precedent, in any case.
>>
>> Apologies if it seems like I'm agonising over something trivial. I don't
>> want to keep changing the names, so I want to make sure they're the right
>> names to begin with.
>>
>> Thanks,
>> Thomas
>>
>>
>> On 9 January 2011 13:43, Dan Halbert <halbert at halwitz.org> wrote:
>>
>>> On 1/9/2011 7:39 AM, Thomas Kluyver wrote:
>>> > At present, I'm thinking of something like:
>>> > ipython-3k
>>> > ipython-3k-qtconsole
>>> >
>>> > This keeps it short, but hopefully makes it clear that it's not
>>> > IPython version 3 (a problem with, say, 'ipython3'). On the other
>>> > hand, it does lead to some conflicts for tab completion: with both
>>> > versions installed, ipython-<tab> will turn up two of every frontend
>>> > available (-qtconsole, -3k-qtconsole), plus -3k.
>>> How about "ipython-py3"?  "3k" is a bit of insider historical
>>> terminology (PEP 3000).
>>> And I and my users would not find "ipython3" so confusing, since ipython
>>> is nowhere near v3. it's also the easiest to type, by a long shot.
>>>
>>> Dan
>>> _______________________________________________
>>> IPython-dev mailing list
>>> IPython-dev at scipy.org
>>> http://mail.scipy.org/mailman/listinfo/ipython-dev
>>>
>>
>>
>> _______________________________________________
>> IPython-dev mailing list
>> IPython-dev at scipy.org
>> http://mail.scipy.org/mailman/listinfo/ipython-dev
>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ipython-dev/attachments/20110116/09aef996/attachment.html>


More information about the IPython-dev mailing list