On Friday, May 26, 2017 at 2:11:02 AM UTC+1, Nils Bruin wrote:
>
> On Thursday, May 25, 2017 at 5:07:22 PM UTC-7, John H Palmieri wrote:
>>
>>
>>
>> On Thursday, May 25, 2017 at 4:40:01 PM UTC-7, Nils Bruin wrote:
>>>
>>> incidentally, it would be nice if we could equiv local/bin/ipython with 
>>> the proper sage-python23 as well. Having a functional shell with an 
>>> interactive debugger is a much nicer way to debug "import sage.all".
>>>
>>
>> This is a design question for which we do not have an answer, or even any 
>> real suggestions. Right now, SAGE_PYTHON3=yes is purely for building Sage, 
>> not for running it, and maybe long-term it should get replaced with a 
>> configure option anyway. Python conventions say that "python" should always 
>> mean "Python 2", so if we want to follow those  conventions, then 
>> local/bin/python should not be sage-python23.
>>
>
> I don't really care at this point. In the ugly_py3 style, it's just a good 
> idea to equip local/bin/ipython with something that allows it to run 
> python3 (so that sage -ipython works on a py3 build). Otherwise, there 
> should be a local/bin/ipython3, and possibly sage -ipython can then select 
> which exec to use. This is not about final design, it's about having the 
> right tools to make an inventory of how badly broken sage/py3 is (and what 
> fixes we might make).
>
> I changed local/bin/ipython on my install, but it didn't show up in my git 
> diff. Perhaps local/bin/ipython isn't tracked? 
>

nothing in local/ is tracked. You may see if ipython is tracked:

git ls-tree -r develop --name-only | grep ipython

The output suggests that local/bin/ipython comes from ipython spkg. 

I believe that to install ipython for python3 one must run pip3 rather than 
pip2
(alternatively, if ipython was installed using setup.py, one would have ran 
python3 setup.py install)

I don't understand the magic behind pip2 vs pip3 (pip acts as one of these 
depending upon something)

IMHO the 1st thing would be to upgrade to the current pip, before 
proceeding further with python3, as it seems
to be a crucial piece of infrastructure, and messing around with an old 
version is a waste of time.

Dima


 

> does one make the change somewhere else? I was just looking for a way to 
> include the change in Frederic's branch. With that branch, we're finally 
> getting to a state where people can easily see what's wrong with Sage/Py3.
>
>
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"sage-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-devel+unsubscr...@googlegroups.com.
To post to this group, send email to sage-devel@googlegroups.com.
Visit this group at https://groups.google.com/group/sage-devel.
For more options, visit https://groups.google.com/d/optout.

Reply via email to