On line 158, in the function "numerical_python", I see

    A, B = divmod(n, base**half)






On Tuesday, January 14, 2020 at 11:54:21 AM UTC-8, Александр Ватузов wrote:
>
> and what is on mpmath file, analog of 
> "/SageMath/local/lib/python3.7/site-packages/mpmath/libmp/libintmath.py", 
> line 161 ? Just interesting :)
>
> вторник, 14 января 2020 г., 21:20:05 UTC+3 пользователь John H Palmieri 
> написал:
>>
>> Sorry, I meant Sage *9.1.beta0*.
>>
>> On Tuesday, 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, Александр Ватузов 
>>> wrote:
>>>>
>>>> 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)
>>>>>
>>>>> on File 
>>>>> "/home/nouret/SageMath/local/lib/python3.7/site-packages/mpmath/libmp/libintmath.py",
>>>>>  
>>>>> line 161, in numeral_python
>>>>>
>>>>> вторник, 14 января 2020 г., 15:42:17 UTC+3 пользователь Dima Pasechnik 
>>>>> написал:
>>>>>>
>>>>>> On Tue, Jan 14, 2020 at 12:37 PM Александр Ватузов <amva...@gmail.com> 
>>>>>> 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 account, or a local account (long time 
>>>>>> to 
>>>>>> get sometimes) to authenticate. 
>>>>>>
>>>>>>
>>>>>> > Now I will try to repair smth: 
>>>>>> > 
>>>>>> > I have 2 dirs: 
>>>>>> > SageMath/local/lib/python3.7/site-packages/mpmath 
>>>>>> > .local/lib/python3.6/site-packages/mpmath 
>>>>>> > 
>>>>>> > I think there are sima chenges here 
>>>>>> > 
>>>>>> > вторник, 14 января 2020 г., 14:57:31 UTC+3 пользователь Dima 
>>>>>> Pasechnik написал: 
>>>>>> >> 
>>>>>> >> On Tue, Jan 14, 2020 at 11:53 AM Александр Ватузов <
>>>>>> amva...@gmail.com> 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? 
>>>>>> >> 
>>>>>> >> > 
>>>>>> >> > 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 Gourgoulhon 
>>>>>> >> >> <egourg...@gmail.com> wrote: 
>>>>>> >> >> > 
>>>>>> >> >> > 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 Gourgoulhon a 
>>>>>> écrit : 
>>>>>> >> >> >> 
>>>>>> >> >> >> Le mardi 14 janvier 2020 11:36:44 UTC+1, Dima Pasechnik a 
>>>>>> écrit : 
>>>>>> >> >> >>> 
>>>>>> >> >> >>> 
>>>>>> >> >> >>> mpmath version on Sage 8.6 is 1.0.0, and later and now it 
>>>>>> is 1.1.0 
>>>>>> >> >> >>> 
>>>>>> >> >> >>> This might explain the problem, which maybe should be 
>>>>>> reported upstream: 
>>>>>> >> >> >>> 
>>>>>> >> >> >>> https://github.com/fredrik-johansson/mpmath 
>>>>>> >> >> >>> 
>>>>>> >> >> >> 
>>>>>> >> >> >> 
>>>>>> >> >> >> It's OK with Sage 8.9, which has already mpmath 1.1.0. So 
>>>>>> the problem is not due to the version of mpmath. Maybe a Python 2 / 
>>>>>> Python 
>>>>>> 3 issue? 
>>>>>> >> >> >> Another data point: the issue is there in Sage 9.0.beta5 
>>>>>> (Python 3). 
>>>>>> >> >> >> 
>>>>>> >> >> >> Eric. 
>>>>>> >> >> >> 
>>>>>> >> >> > 
>>>>>> >> >> > -- 
>>>>>> >> >> > You received this message because you are subscribed to the 
>>>>>> Google Groups "sage-support" group. 
>>>>>> >> >> > To unsubscribe from this group and stop receiving emails from 
>>>>>> it, send an email to sage-s...@googlegroups.com. 
>>>>>> >> >> > To view this discussion on the web visit 
>>>>>> https://groups.google.com/d/msgid/sage-support/5a7d5bb4-c406-4b8f-a757-370578307ed1%40googlegroups.com.
>>>>>>  
>>>>>>
>>>>>> >> > 
>>>>>> >> > -- 
>>>>>> >> > You received this message because you are subscribed to the 
>>>>>> Google Groups "sage-support" group. 
>>>>>> >> > To unsubscribe from this group and stop receiving emails from 
>>>>>> it, send an email to sage-s...@googlegroups.com. 
>>>>>> >> > To view this discussion on the web visit 
>>>>>> https://groups.google.com/d/msgid/sage-support/2e9eea57-3558-426b-9dec-76c22a6547ea%40googlegroups.com.
>>>>>>  
>>>>>>
>>>>>> > 
>>>>>> > -- 
>>>>>> > You received this message because you are subscribed to the Google 
>>>>>> Groups "sage-support" group. 
>>>>>> > To unsubscribe from this group and stop receiving emails from it, 
>>>>>> send an email to sage-s...@googlegroups.com. 
>>>>>> > To view this discussion on the web visit 
>>>>>> https://groups.google.com/d/msgid/sage-support/e9324849-4998-4c91-a384-f3314f59ae46%40googlegroups.com.
>>>>>>  
>>>>>>
>>>>>>
>>>>>

-- 
You received this message because you are subscribed to the Google Groups 
"sage-support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-support+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sage-support/1ed162c3-faa1-4982-bc79-e38437c7954b%40googlegroups.com.

Reply via email to