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:56:01
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <tencent_D67F8683EAFDF87803BF0D7A0091AEE35208@qq.com>
In-reply-to <1621356102.74.0.0480477538446.issue44171@roundup.psfhosted.org>
Content
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.

------------------&nbsp;原始邮件&nbsp;------------------
发件人:                                                                                                                        "Python tracker"                                                                                    <report@bugs.python.org&gt;;
发送时间:&nbsp;2021年5月19日(星期三) 凌晨0:41
收件人:&nbsp;"坏蛋"<792641209@qq.com&gt;;

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

Eric V. Smith <eric@trueblade.com&gt; 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&gt;
<https://bugs.python.org/issue44171&gt;
_______________________________________
Files
File name Uploaded
problem.py zz792641209, 2021-05-18.16:56:01
History
Date User Action Args
2021-05-18 16:56:01zz792641209setrecipients: + zz792641209, eric.smith, lys.nikolaou, pablogsal
2021-05-18 16:56:01zz792641209linkissue44171 messages
2021-05-18 16:56:01zz792641209create