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 vstinner
Recipients Greg Price, aeros, malin, mark.dickinson, rhettinger, sir-sigurd, vstinner
Date 2019-09-17.22:26:14
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1568759174.49.0.0149132438608.issue37812@roundup.psfhosted.org>
In-reply-to
Content
Sadly, GH-15710 was merged without mentioning the bpo-37812 (this issue) in the final commit message :-(

commit 6b519985d23bd0f0bd072b5d5d5f2c60a81a19f2
Author: animalize <animalize@users.noreply.github.com>
Date:   Fri Sep 6 14:00:56 2019 +0800

    replace inline function `is_small_int` with a macro version (GH-15710)


This second change introduced a regression: bpo-38205 "Python no longer compiles without small integer singletons".

I don't understand the whole issue. A first change converted a macro to a static inline function. The second change converted the static inline fnuction to a macro... but the overall change introduced a regression. Why not reverting the first change instead of pushing a new change?

Morever, if using a static inline function is causing issues, it would be nice to add a comment to explain why, so the issue will be avoided in the future.
History
Date User Action Args
2019-09-17 22:26:14vstinnersetrecipients: + vstinner, rhettinger, mark.dickinson, malin, Greg Price, sir-sigurd, aeros
2019-09-17 22:26:14vstinnersetmessageid: <1568759174.49.0.0149132438608.issue37812@roundup.psfhosted.org>
2019-09-17 22:26:14vstinnerlinkissue37812 messages
2019-09-17 22:26:14vstinnercreate