Message393886
Thank you for your patient answer, but I still don't understand.I have uploaded my file (*.py).I hope you can solve my problem. I want 'a=5/6' to return 'a= 0.833333333333333...... 'after compilation.
------------------ 原始邮件 ------------------
发件人: "Python tracker" <report@bugs.python.org>;
发送时间: 2021年5月19日(星期三) 凌晨0:41
收件人: "坏蛋"<792641209@qq.com>;
主题: [issue44171] Cython cannot compile 'a = 5/6' and return 'a = 0'
Eric V. Smith <eric@trueblade.com> added the comment:
Please report this to the Cython bug tracker: https://github.com/cython/cython/issues/
When you do that, you'll want to show the actual code you're having a problem with. You're using both "//" and "/" here. As Pablo said, you're probably having a problem with integer division ("//").
----------
_______________________________________
Python tracker <report@bugs.python.org>
<https://bugs.python.org/issue44171>
_______________________________________ |
File name |
Uploaded |
problem.py
|
zz792641209,
2021-05-18.16:56:01
|
|
Date |
User |
Action |
Args |
2021-05-18 16:56:01 | zz792641209 | set | recipients:
+ zz792641209, eric.smith, lys.nikolaou, pablogsal |
2021-05-18 16:56:01 | zz792641209 | link | issue44171 messages |
2021-05-18 16:56:01 | zz792641209 | create | |
|