Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

bpo-9263: Use _PyObject_ASSERT() in gcmodule.c#10112

Merged
vstinner merged 2 commits into
python:masterpython/cpython:masterfrom
vstinner:assert_gcCopy head branch name to clipboard
Oct 26, 2018
Merged

bpo-9263: Use _PyObject_ASSERT() in gcmodule.c#10112
vstinner merged 2 commits into
python:masterpython/cpython:masterfrom
vstinner:assert_gcCopy head branch name to clipboard

Conversation

@vstinner

@vstinner vstinner commented Oct 25, 2018

Copy link
Copy Markdown
Member

Replace assert() with _PyObject_ASSERT() in Modules/gcmodule.c
to dump the faulty object on assertion failure to ease debugging.

Fix also indentation of a large comment.

Initial patch written by David Malcolm.

Co-Authored-By: David Malcolm dmalcolm@redhat.com

https://bugs.python.org/issue9263

Replace assert() with _PyObject_ASSERT() in Modules/gcmodule.c
to dump the faulty object on assertion failure to ease debugging.

Fix also indentation of a large comment.

Initial patch written by David Malcolm.

Co-Authored-By: David Malcolm <dmalcolm@redhat.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants

Morty Proxy This is a proxified and sanitized view of the page, visit original site.