This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author zz792641209
Recipients eric.smith, lys.nikolaou, pablogsal, zz792641209
Date 2021-05-18.16:35:46
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <tencent_7D2FBF447AAD9131E3D47F608367FDC87808@qq.com>
In-reply-to <1621349818.13.0.767295173342.issue44171@roundup.psfhosted.org>
Content
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"                                                                                    <report@bugs.python.org&gt;;
发送时间:&nbsp;2021年5月18日(星期二) 晚上10:56
收件人:&nbsp;"坏蛋"<792641209@qq.com&gt;;

主题:&nbsp;[issue44171] Cython cannot compile 'a = 5/6' and return 'a = 0'

Pablo Galindo Salgado <pablogsal@gmail.com&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 <report@bugs.python.org&gt;
<https://bugs.python.org/issue44171&gt;
_______________________________________
History
Date User Action Args
2021-05-18 16:35:46zz792641209setrecipients: + zz792641209, eric.smith, lys.nikolaou, pablogsal
2021-05-18 16:35:46zz792641209linkissue44171 messages
2021-05-18 16:35:46zz792641209create