Author malin
Recipients Greg Price, aeros, malin, mark.dickinson, rhettinger, sir-sigurd, vstinner
Date 2019-09-20.06:27:25
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
Recent commits for longobject.c

    Revision: 5e63ab05f114987478a21612d918a1c0276fe9d2
    Author: Greg Price <>
    Date: 19-8-25 1:19:37
    bpo-37812: Convert CHECK_SMALL_INT macro to a function so the return is explicit. (GH-15216)

The concern for this issue is: implicit return from macro.
We can add a comment before the call sites of CHECK_SMALL_INT macro, to explain that there is a possible return.

    Revision: 6b519985d23bd0f0bd072b5d5d5f2c60a81a19f2
    Author: animalize <>
    Date: 19-9-6 14:00:56
    replace inline function `is_small_int` with a macro version (GH-15710)

Then this commit is not necessary.

    Revision: c6734ee7c55add5fdc2c821729ed5f67e237a096
    Author: Sergey Fedoseev <>
    Date: 19-9-12 22:41:14
    bpo-37802: Slightly improve perfomance of PyLong_FromUnsigned*() (GH-15192)

This commit introduced a compiler warning due to this line [1]:
    d:\dev\cpython\objects\longobject.c(412): warning C4244: “function”: from “unsigned long” to “sdigit ”,may lose data

[1] the line:
    return get_small_int((ival)); \

    Revision: 42acb7b8d29d078bc97b0cfd7c4911b2266b26b9
    Author: HongWeipeng <>
    Date: 19-9-18 23:10:15
    bpo-35696: Simplify long_compare() (GH-16146)

IMO this commit reduces readability a bit.

We can sort out these problems.
Date User Action Args
2019-09-20 06:27:26malinsetrecipients: + malin, rhettinger, mark.dickinson, vstinner, Greg Price, sir-sigurd, aeros
2019-09-20 06:27:26malinsetmessageid: <>
2019-09-20 06:27:26malinlinkissue37812 messages
2019-09-20 06:27:25malincreate