Skip to content

Conversation

@Yhg1s
Copy link
Member

@Yhg1s Yhg1s commented May 22, 2017

Add --with-assertions configure flag to enable C assertions. Defaults to 'no', but as before assertions are implied by --with-pydebug.

'no', but as before assertions are implied by --with-pydebug.
@mention-bot
Copy link

@Yhg1s, thanks for your PR! By analyzing the history of the files in this pull request, we identified @loewis, @doko42 and @jackjansen to be potential reviewers.

@Yhg1s Yhg1s added type-feature A feature request or enhancement needs backport to 3.6 labels May 22, 2017
@Yhg1s
Copy link
Member Author

Yhg1s commented May 22, 2017

Redo of #980 to fix merge glitches. As discussed there, this is technically a build enhancement but we should backport it to 3.6 anyway.

@gpshead
Copy link
Member

gpshead commented May 22, 2017

should also be fine in 2.7 as well. it isn't something that would ship in an interpreter, it's a developer code health sanity check flag.

@Yhg1s Yhg1s merged commit ddbfa2c into python:master May 22, 2017
Yhg1s added a commit to Yhg1s/cpython that referenced this pull request May 22, 2017
…honGH-1731) Defaults to 'no', but as before assertions are implied by --with-pydebug.. (cherry picked from commit ddbfa2c)
ambv pushed a commit that referenced this pull request May 23, 2017
…1731) (#1739) Defaults to 'no', but as before assertions are implied by --with-pydebug.. (cherry picked from commit ddbfa2c)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

type-feature A feature request or enhancement

5 participants