I mean "default". type(5) f.e.
среда, 15 января 2020 г., 16:15:08 UTC+3 пользователь Dima Pasechnik
написал:
>
> On Wed, Jan 15, 2020 at 1:10 PM Александр Ватузов > wrote:
> >
> > As I undestand, sage uses custom int
>
> no, Sage's int is the same a
As I undestand, sage uses custom int
среда, 15 января 2020 г., 12:22:51 UTC+3 пользователь Dima Pasechnik
написал:
>
> On Tue, Jan 14, 2020 at 10:23 PM Nils Bruin >
> wrote:
> >
> > On Tuesday, January 14, 2020 at 5:36:27 AM UTC-8, Александр Ватузов
> wrote:
>
yes, but it is function that translates numbers into strings, don't need
such optimizations
среда, 15 января 2020 г., 1:23:36 UTC+3 пользователь Nils Bruin написал:
>
> On Tuesday, January 14, 2020 at 5:36:27 AM UTC-8, Александр Ватузов wrote:
>>
>> Now I constantly kn
sday, January 14, 2020 at 10:18:41 AM UTC-8, John H Palmieri wrote:
>>
>> Just to confirm: everything works with Sage 9.0.beta1, built with Python
>> 2. Fails with Sage built with Python 3.
>>
>>
>> On Tuesday, January 14, 2020 at 5:55:51 AM UTC-8, Александр Ват
https://trac.sagemath.org/ticket/29009#ticket
вторник, 14 января 2020 г., 16:36:27 UTC+3 пользователь Александр Ватузов
написал:
>
> Now I constantly know, that problem was in using
>
> divmod(n, base**half)
>
> instead of
>
> n // (base**half), n % (base**half)
>
2:17 UTC+3 пользователь Dima Pasechnik
написал:
>
> On Tue, Jan 14, 2020 at 12:37 PM Александр Ватузов > wrote:
> >
> > I haven-fount where report bug on that site...
> >
> you open a new ticket: https://trac.sagemath.org/newticket
> - you'd need either a Guthub
.Copy mpmath from build-in python3.6.9 to sage python3.7.3 doesn't help,
can divmod function change?..
вторник, 14 января 2020 г., 15:42:17 UTC+3 пользователь Dima Pasechnik
написал:
>
> On Tue, Jan 14, 2020 at 12:37 PM Александр Ватузов > wrote:
> >
> > I haven
написал:
>
> On Tue, Jan 14, 2020 at 11:53 AM Александр Ватузов > wrote:
> >
> > Will you open issue here? https://trac.sagemath.org/
>
> I can't reproduce the issue with a system python 3.7.3, so it deserves
> a trac ticket.
> Can you open one?
&
yes, I'll do it
вторник, 14 января 2020 г., 14:57:31 UTC+3 пользователь Dima Pasechnik
написал:
>
> On Tue, Jan 14, 2020 at 11:53 AM Александр Ватузов > wrote:
> >
> > Will you open issue here? https://trac.sagemath.org/
>
> I can't reproduce the is
Will you open issue here? https://trac.sagemath.org/
Or I can try to do something
вторник, 14 января 2020 г., 14:08:08 UTC+3 пользователь Dima Pasechnik
написал:
>
> I have opened https://github.com/fredrik-johansson/mpmath/issues/503
> to report this.
>
> On Tue, Jan 14, 2020 at 10:59 AM Eric
sory, this I had reported :)
вторник, 14 января 2020 г., 13:59:50 UTC+3 пользователь Eric Gourgoulhon
написал:
>
> PS: a similar error has been reported on ask.sagemath:
> https://ask.sagemath.org/question/49534/error-with-mpmathfindroot-on-89/
>
> Le mardi 14 janvier 2020 11:55:08 UTC+1, Eric G
update:
mpmath works correct on Python 3.6.9 (no sage)
вторник, 14 января 2020 г., 13:11:34 UTC+3 пользователь Александр Ватузов
написал:
>
> I have a problem with sage on python3, example sage9.0
>
> simple code:
>
> import mpmath
> mpmath.mp.prec = 1000 #on 700 all is
I have a problem with sage on python3, example sage9.0
simple code:
import mpmath
mpmath.mp.prec = 1000 #on 700 all is ok
mpmath.findroot(lambda x: x^2 - 3, 2)
error:
) failed:
SystemError: returned a result with an error set>
Somebody else has this error? I will check on simple mpmath.
--
Hi! Do you know, how to change this
page? https://wiki.sagemath.org/Python3-compatible%20code : here is an
error.
вторник, 5 ноября 2019 г., 6:33:26 UTC+3 пользователь Nils Bruin написал:
>
> On Monday, November 4, 2019 at 2:53:18 PM UTC-8, Dima Pasechnik wrote:
>>
>> Is Sage Jupyter kernel pipe
7;s Python3.
> Without extreme care, and quite possibly source code changes in Sage,
> this won't work.
>
> Incidentally this brings up the question on how one should deal with
> outdated (as they had to by Python2-compatible)
> Sage's iPython and Jupyter.
then various things need to be adjusted. It has to be done in a
> systematic way.
>
>
>
> On Mon, 4 Nov 2019, 15:44 Александр Ватузов, > wrote:
>
>> Another error:
>>
>> jupyter-console 6.0.0 has requirement prompt-toolkit<2.1.0,>=2.0.0, but
&
d in Sage (for compatibility with Python2 reasons)
> packages, then various things need to be adjusted. It has to be done in a
> systematic way.
>
>
>
> On Mon, 4 Nov 2019, 15:44 Александр Ватузов, > wrote:
>
>> Another error:
>>
>> jupyter-console 6.0.
льник, 4 ноября 2019 г., 17:37:54 UTC+3 пользователь Dima Pasechnik
написал:
>
> looks like you have a bad mix of python packages in a number of locations.
>
> certainly you can try something like
>
> ./sage --pip install prompt_toolkit
>
>
> On Mon, 4 Nov 2019, 1
prompt_toolkit
>
>
> On Mon, 4 Nov 2019, 13:05 Александр Ватузов, > wrote:
>
>> next error:
>>
>> when I try:
>> import prompt_toolkit
>>
>> ImportError: cannot import name 'AsyncGeneratorItem' from
>> 'prompt_toolkit.eventlo
ython
>
> followed by
>
> make build
>
>
> On Mon, Nov 4, 2019 at 11:47 AM Александр Ватузов > wrote:
> >
> > sage building is sucsess now. But running sage makes error
> >
> > cannot import name '_baseclass_reprs' from
r_factory(
IPython.lib.pretty._re_pattern_type(
IPython.lib.pretty._type_pprint(
IPython.lib.pretty._env_type(
IPython.lib.pretty._repr_pprint(
IPython.lib.pretty._type_pprinters
понедельник, 4 ноября 2019 г., 14:47:05 UTC+3 пользователь Александр
Ватузов написал:
>
> s
gt;
>
>
> On Mon, 4 Nov 2019, 09:47 Александр Ватузов, > wrote:
>
>> it builds cython lib?
>>
> yes
>
>>
>> понедельник, 4 ноября 2019 г., 12:35:17 UTC+3 пользователь Dima Pasechnik
>> написал:
>>>
>>>
>>>
>>> On
I have now warnings "Cython directive 'language_level' not set, using 2 for
now (Py2)"
понедельник, 4 ноября 2019 г., 12:35:17 UTC+3 пользователь Dima Pasechnik
написал:
>
>
>
> On Mon, 4 Nov 2019, 09:27 Александр Ватузов, > wrote:
>
>> "./sage
it builds cython lib?
понедельник, 4 ноября 2019 г., 12:35:17 UTC+3 пользователь Dima Pasechnik
написал:
>
>
>
> On Mon, 4 Nov 2019, 09:27 Александр Ватузов, > wrote:
>
>> "./sage -pip install cython" installs cython for python3: Requirement
>>
"./sage -pip install cython" installs cython for python3: Requirement
already satisfied: cython in ./local/lib/python3.7/site-packages (0.29.14);
and
"Requirement already satisfied: gmpy2 in
./local/lib/python3.7/site-packages (2.0.8)"
So I think that, may be, cython need gmpy2 installed in oth
sage --pip install
>
> You can also run Sage's shell with
>
> ./sage -sh
>
> There "python" is Sage's Python, "pip" manages its modules, etc.
>
>
>
>
> On Sat, 2 Nov 2019, 20:59 Александр Ватузов, > wrote:
>
>> Ok, got it.
Python by
>
> ./sage --pip install
>
> You can also run Sage's shell with
>
> ./sage -sh
>
> There "python" is Sage's Python, "pip" manages its modules, etc.
>
>
>
>
> On Sat, 2 Nov 2019, 20:59 Александр Ватузов, > wrote:
ts are off.
>
> On Sat, 2 Nov 2019, 20:40 Александр Ватузов, > wrote:
>
>> Hi! Another question. I have an instruction here
>> https://wiki.sagemath.org/Python3-compatible%20code , how to build sage
>> with python3.While building sage/arith/functions.pyx I had a proble
Hi! Another question. I have an instruction here
https://wiki.sagemath.org/Python3-compatible%20code , how to build sage
with python3.While building sage/arith/functions.pyx I had a problem with
string "from cysignals.signals cimport sig_check"
: sage/arith/functions.pyx:15:0: 'cysignals/signal
nd we are planning to allow the use of system Python in the source Sage
> installation, too, but it is quite a bit of work.
>
> On Sat, 2 Nov 2019, 15:04 Александр Ватузов, > wrote:
>
>> Hi! I have an instruction here
>> https://wiki.sagemath.org/Python3-compatible%20c
Hi! I have an instruction
here https://wiki.sagemath.org/Python3-compatible%20code , how to build
sage with python3. But sage uses, I think, its own python3. So when sage
wants to import something, sage can't do it, because libs are installed on
system python3. Mosule six for example. I had an
31 matches
Mail list logo