Message275082
| Author |
serhiy.storchaka |
| Recipients |
StyXman, facundobatista, rhettinger, serhiy.storchaka |
| Date |
2016年09月08日.17:57:08 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<1473357428.94.0.480980142871.issue28019@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
PyLong_AsLong() not just converts Python integer to C long, but it also converts Python float to Python integer (with the lost of the fractional part). We need to check that the value is Python integer.
Here is a patch that fixes this issue and few other bugs. |
|
History
|
|---|
| Date |
User |
Action |
Args |
| 2016年09月08日 17:57:08 | serhiy.storchaka | set | recipients:
+ serhiy.storchaka, rhettinger, facundobatista, StyXman |
| 2016年09月08日 17:57:08 | serhiy.storchaka | set | messageid: <1473357428.94.0.480980142871.issue28019@psf.upfronthosting.co.za> |
| 2016年09月08日 17:57:08 | serhiy.storchaka | link | issue28019 messages |
| 2016年09月08日 17:57:08 | serhiy.storchaka | create |
|