GH-139727: Add --enable-stackref-debug flag to build.bat to enable Py_STACKREF_DEBUG build on Windows#139728
Conversation
|
@zooba Could you please take a look? Is this a right way to add some specific flags to builds? |
|
Looks fine, does the CLI argument match the equivalent option to |
Actually, there's no such option to |
|
Would it fit in? I mainly want the same option, and the configure maintainers are more opinionated about it, so let's make sure we pick a name that they'll be happy with. |
|
I'm thinking about the following options: And this logic on it: But at the time it's only my suggestion. |
|
I'm OK with @efimov-mikhail suggestion. I'm also open to updating this PR accordingly. |
|
Hmm, except we don't really have any options with values. Let's just rename to If the eventual |
|
@zooba I renamed it. Could you please take a look? |
|
Looks good to me now. Anything else you need to do, or is this good to merge? |
|
It is good to merge. |
|
Thanks! |
…ble Py_STACKREF_DEBUG build on Windows (pythonGH-139728)
…ble Py_STACKREF_DEBUG build on Windows (pythonGH-139728)
Working on #139384 I discovered that build.bat does not have easy way to enable Py_STACKREF_DEBUG build.