[sage-devel] Re: want to play around with Sage built using Python3 with minimal effort?

2018-10-09 Thread Frédéric Chapoton
One should use the later way (with configure). The former was the previous 
manner, now obsolete.

Le mardi 9 octobre 2018 19:14:38 UTC+2, Samuel Lelievre a écrit :
>
>
>
> Mon 2018-10-08 15:49:15 UTC+2, William:
> >
> > If you want to play around with a copy of Sage built using Python3
> > instead of P ython2 (so 'export SAGE_PYTHON3="was"') without having to 
>
> I'm sure some autorespeller kicked in and that was supposed to be
>
> export SAGE_PYTHON3='yes'
>
> By the way, what's the difference between
>
> export SAGE_PYTHON3='yes'
> make build
>
> and
>
> make configure
> ./configure --with-python=3
> make build
>
> ?
>

-- 
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.


[sage-devel] Re: want to play around with Sage built using Python3 with minimal effort?

2018-10-09 Thread Samuel Lelievre


Mon 2018-10-08 15:49:15 UTC+2, William:
>
> If you want to play around with a copy of Sage built using Python3
> instead of Python2 (so 'export SAGE_PYTHON3="was"') without having to 

I'm sure some autorespeller kicked in and that was supposed to be

export SAGE_PYTHON3='yes'

By the way, what's the difference between

export SAGE_PYTHON3='yes'
make build

and

make configure
./configure --with-python=3
make build

?

-- 
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.


Re: [sage-devel] Re: want to play around with Sage built using Python3 with minimal effort?

2018-10-09 Thread Samuel Lelievre
William, thanks for sharing this project!

-- 
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.


Re: [sage-devel] Re: want to play around with Sage built using Python3 with minimal effort?

2018-10-08 Thread William Stein
Nice -- updating it now.
On Mon, Oct 8, 2018 at 12:06 PM Frédéric Chapoton  wrote:
>
> Could you please update to the latest beta release (8.4.rc0) so that people 
> can enjoy the recent progress ?
>
> See https://trac.sagemath.org/ticket/26212
>
> Frédéric
>
> Le lundi 8 octobre 2018 15:49:15 UTC+2, William a écrit :
>>
>> Hi,
>>
>> If you want to play around with a copy of Sage built using Python3
>> instead of Python2 (so 'export SAGE_PYTHON3="was"') without having to
>> build or install anything, send me an email  (wst...@gmail.com) and
>> I'll add you to a CoCalc project [1] that has Sage built that way.
>>
>> See how long until it breaks for you on your favorite Sage commands.
>> For me, it broke pretty quickly:
>>
>> sage: print(2,3)
>> 2 3
>> sage: range(10)
>> range(0, 10)
>> sage: {'a', 'b'}
>> {'a', 'b'}
>> sage: M = ModularSymbols(23)
>> ---
>> TypeError Traceback (most recent call last)
>>  in ()
>> > 1 M = ModularSymbols(Integer(23))
>>
>> /home/user/sage/local/lib/python3.6/site-packages/sage/modular/modsym/modsym.py
>> in ModularSymbols(group, weight, sign, base_ring, use_cache,
>> custom_init)
>> 346 key = canonical_parameters(group, weight, sign, base_ring)
>> 347
>> --> 348 if use_cache and key in _cache:
>> 349  M = _cache[key]()
>> 350  if not (M is None): return M
>>
>> TypeError: unhashable type: 'Gamma0_class_with_category'
>>
>>  -- William
>>
>>
>> [1] 
>> https://cocalc.com/projects/d282680a-dda9-486c-87fe-d7f4331bbf53/files/README.md?session=default
>> --
>> William (http://wstein.org)
>
> --
> 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.



-- 
William (http://wstein.org)

-- 
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.


[sage-devel] Re: want to play around with Sage built using Python3 with minimal effort?

2018-10-08 Thread Frédéric Chapoton
Could you please update to the latest beta release (8.4.rc0) so that people 
can enjoy the recent progress ?

See https://trac.sagemath.org/ticket/26212

Frédéric

Le lundi 8 octobre 2018 15:49:15 UTC+2, William a écrit :
>
> Hi, 
>
> If you want to play around with a copy of Sage built using Python3 
> instead of Python2 (so 'export SAGE_PYTHON3="was"') without having to 
> build or install anything, send me an email  (wst...@gmail.com 
> ) and 
> I'll add you to a CoCalc project [1] that has Sage built that way. 
>
> See how long until it breaks for you on your favorite Sage commands. 
> For me, it broke pretty quickly: 
>
> sage: print(2,3) 
> 2 3 
> sage: range(10) 
> range(0, 10) 
> sage: {'a', 'b'} 
> {'a', 'b'} 
> sage: M = ModularSymbols(23) 
> --- 
>
> TypeError Traceback (most recent call 
> last) 
>  in () 
> > 1 M = ModularSymbols(Integer(23)) 
>
> /home/user/sage/local/lib/python3.6/site-packages/sage/modular/modsym/modsym.py
>  
>
> in ModularSymbols(group, weight, sign, base_ring, use_cache, 
> custom_init) 
> 346 key = canonical_parameters(group, weight, sign, base_ring) 
> 347 
> --> 348 if use_cache and key in _cache: 
> 349  M = _cache[key]() 
> 350  if not (M is None): return M 
>
> TypeError: unhashable type: 'Gamma0_class_with_category' 
>
>  -- William 
>
>
> [1] 
> https://cocalc.com/projects/d282680a-dda9-486c-87fe-d7f4331bbf53/files/README.md?session=default
>  
> -- 
> William (http://wstein.org) 
>

-- 
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.