Yao Zhang <[email protected]> added the comment:
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 :'b = 0'
------------------ 原始邮件 ------------------
发件人:
"Python tracker"
<[email protected]>;
发送时间: 2021年5月19日(星期三) 凌晨0:35
收件人: "坏蛋"<[email protected]>;
主题: [issue44171] Cython cannot compile 'a = 5/6' and return 'a = 0'
Yao Zhang <[email protected]> added the comment:
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'
------------------&nbsp;原始邮件&nbsp;------------------
发件人:
"Python
tracker"
<[email protected]&gt;;
发送时间:&nbsp;2021年5月18日(星期二) 晚上10:56
收件人:&nbsp;"坏蛋"<[email protected]&gt;;
主题:&nbsp;[issue44171] Cython cannot compile 'a = 5/6' and return 'a = 0'
Pablo Galindo Salgado <[email protected]&gt; 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:&nbsp; -&gt; not a bug
stage:&nbsp; -&gt; resolved
status: open -&gt; closed
_______________________________________
Python tracker <[email protected]&gt;
<https://bugs.python.org/issue44171&gt;
_______________________________________
----------
_______________________________________
Python tracker <[email protected]>
<https://bugs.python.org/issue44171>
_______________________________________
----------
_______________________________________
Python tracker <[email protected]>
<https://bugs.python.org/issue44171>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com