[issue42779] Pow compute can only available in python3.7

2020-12-29 Thread minipython


New submission from minipython <599192...@qq.com>:

The code can only computed based on python 3.7.Python 3.9 and python 3.6 cannot 
compute the code.It is very strange problem.

--
components: C API
files: chinarest.py
messages: 383969
nosy: minipython
priority: normal
severity: normal
status: open
title: Pow compute can only available in python3.7
type: resource usage
versions: Python 3.7
Added file: https://bugs.python.org/file49705/chinarest.py

___
Python tracker 
<https://bugs.python.org/issue42779>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue42779] Pow compute can only available in python3.7

2020-12-29 Thread minipython


minipython <599192...@qq.com> added the comment:

The issue is that if i use function pow(c,e),it can be computed in python37 in 
3 minutes.But it cannot be computed in python36 or python39.Without gmpy2 
library,i find the bug.

--

___
Python tracker 
<https://bugs.python.org/issue42779>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue42779] pow() of huge input does not complete

2020-12-29 Thread minipython


minipython <599192...@qq.com> added the comment:

Here are my information.
1.python 3.8.6
2.windows 10(build 19042 20h2)
3. 16Gb memory
4. It doesn't complete.It takes about 30 minutes but it gives no output.
5. It takes 6.346898794174194s
6. It takes 0.3690004348754883s.

--
versions: +Python 3.8 -Python 3.6, Python 3.9

___
Python tracker 
<https://bugs.python.org/issue42779>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue42779] pow() of huge input does not complete

2020-12-29 Thread minipython


minipython <599192...@qq.com> added the comment:

oh.You are right.If i directly compute the huge result without 
printing,it only takes 115s.Thank you very much.I'm sorry to forget noting the 
print function.

--

___
Python tracker 
<https://bugs.python.org/issue42779>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com