Skip to content

Typo in __cplusplus macro #106479

Closed
Closed
@dtrodrigues

Description

@dtrodrigues

There is a typo in _testcppext.cpp

#if _cplusplus >= 201103
// Test nullptr passed as PyObject*
Py_XINCREF(nullptr);
Py_XDECREF(nullptr);
#endif
causing the if to never evaluate as true.

Linked PRs

Metadata

Metadata

Assignees

No one assigned

    Labels

    type-bugAn unexpected behavior, bug, or error

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions