-
-
Notifications
You must be signed in to change notification settings - Fork 30.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
gh-123990: Good bye WITH_FREELISTS macro #124358
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
A few minor comments below, but otherwise LGTM
@@ -0,0 +1 @@ | |||
Remove ``WITH_FREELISTS`` macro and ``--with-freelists`` build configuration |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's the --without-freelists
configuration that got removed, right?
(The --with-freelists
configuration was the default)
@@ -235,12 +235,10 @@ static void | |||
float_dealloc(PyObject *op) | |||
{ | |||
assert(PyFloat_Check(op)); | |||
#ifdef WITH_FREELISTS | |||
if (PyFloat_CheckExact(op)) { | |||
_PyFloat_ExactDealloc(op); | |||
} | |||
else |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think you can move the {
up to the same line as the else
now
WITH_FREELISTS
macro #123990