Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

gh-106572: Deprecate PyObject_SetAttr(v, name, NULL) #106573

Closed
wants to merge 1 commit into from

Commits on Jul 11, 2023

  1. pythongh-106572: Deprecate PyObject_SetAttr(v, name, NULL)

    If the value is NULL, PyObject_SetAttr() and PyObject_SetAttrString()
    emit a DeprecationWarning in Python Development Mode or if Python is
    built in debug mode.
    
    weakref proxy_setattr() calls PyObject_DelAttr() if value is NULL.
    vstinner committed Jul 11, 2023
    Configuration menu
    Copy the full SHA
    e6956af View commit details
    Browse the repository at this point in the history