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: CheckConsistency() use _PyObject_ASSERT()#10108

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

bpo-9263: CheckConsistency() use _PyObject_ASSERT()#10108
vstinner merged 3 commits into
python:masterpython/cpython:masterfrom
vstinner:assert_consistencyCopy head branch name to clipboard

Conversation

@vstinner

@vstinner vstinner commented Oct 25, 2018

Copy link
Copy Markdown
Member

Use _PyObject_ASSERT() in:

  • _PyBytesWriter_CheckConsistency()
  • _PyDict_CheckConsistency()
  • _PyType_CheckConsistency()
  • _PyUnicode_CheckConsistency()

_PyObject_ASSERT() dumps the object if the assertion fails to help
debug.

https://bugs.python.org/issue9263

Use _PyObject_ASSERT() in:

* _PyDict_CheckConsistency()
* _PyType_CheckConsistency()
* _PyUnicode_CheckConsistency()

_PyObject_ASSERT() dumps the object if the assertion fails to help
debug.
@serhiy-storchaka serhiy-storchaka self-requested a review October 26, 2018 06:06
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.