[sage-devel] Re: Weird ImportError with six

2016-06-09 Thread Andrey Novoseltsev
Thanks a lot for explanation, I was completely lost! The suggested fix is at http://trac.sagemath.org/ticket/20797 On Tuesday, 31 May 2016 01:26:35 UTC-6, Volker Braun wrote: > > great minds think alike ;-) > > > On Tuesday, May 31, 2016 at 8:26:54 AM UTC+2, Frédéric Chapoton wrote: >> >> It's be

[sage-devel] Re: Weird ImportError with six

2016-05-31 Thread Volker Braun
great minds think alike ;-) On Tuesday, May 31, 2016 at 8:26:54 AM UTC+2, Frédéric Chapoton wrote: > > It's because these is a "six" module in sage/misc. > > I met this problem in #20694 > > Solution: use from __future__ import absolute import > > Frederic > > Le mardi 31 mai 2016 07:55:14 UTC+2,

[sage-devel] Re: Weird ImportError with six

2016-05-30 Thread Volker Braun
This imports src/sage/misc/six.py The best fix is probably from __future__ import absolute_import to get the saner py3 behavior. On Tuesday, May 31, 2016 at 7:55:14 AM UTC+2, Andrey Novoseltsev wrote: > > Hello, > > Can anybody explain (even better - fix ;-)) what is going on with this > er

[sage-devel] Re: Weird ImportError with six

2016-05-30 Thread Frédéric Chapoton
It's because these is a "six" module in sage/misc. I met this problem in #20694 Solution: use from __future__ import absolute import Frederic Le mardi 31 mai 2016 07:55:14 UTC+2, Andrey Novoseltsev a écrit : > > Hello, > > Can anybody explain (even better - fix ;-)) what is going on with this