Message393880
However, in the source code, the source code runs normally, and when compiled and encapsulated with Cython, an exception occurs,Trigger divisible 'a = 5 // 6',this possibility does not exist.I checked it out :'a = 1,b = 5 / 6 + a',return :'a = 0'
------------------ 原始邮件 ------------------
发件人: "Python tracker" <report@bugs.python.org>;
发送时间: 2021年5月18日(星期二) 晚上10:56
收件人: "坏蛋"<792641209@qq.com>;
主题: [issue44171] Cython cannot compile 'a = 5/6' and return 'a = 0'
Pablo Galindo Salgado <pablogsal@gmail.com> added the comment:
Closing as this is a Cython bug and not a CPython one. I also suspect this is triggering integer division and therefore is actually not a bug at all.
----------
resolution: -> not a bug
stage: -> resolved
status: open -> closed
_______________________________________
Python tracker <report@bugs.python.org>
<https://bugs.python.org/issue44171>
_______________________________________ |
|
Date |
User |
Action |
Args |
2021-05-18 16:35:46 | zz792641209 | set | recipients:
+ zz792641209, eric.smith, lys.nikolaou, pablogsal |
2021-05-18 16:35:46 | zz792641209 | link | issue44171 messages |
2021-05-18 16:35:46 | zz792641209 | create | |
|