Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork33.3k
Closed
Description
Bug report
Bug description:
Inobject.h, I believe
#define Py_RETURN_NOTIMPLEMENTED return Py_NOTIMPLEMENTEDshould be
#if defined(Py_LIMITED_API) && Py_LIMITED_API+0 < 0x030c0000# define Py_RETURN_NOTIMPLEMENTED return Py_NewRef(Py_NOTIMPLEMENTED)#else# define Py_RETURN_NOTIMPLEMENTED return Py_NOTIMPLEMENTED
andPy_NotImplemented should addChanged in version 3.12: Py_NOTIMPLEMENTED is immortal.
andPy_RETURN_NOTIMPLEMENTED should sayReturn Py_NotImplemented from a function. without saying it creates a new strong reference.
CPython versions tested on:
3.14
Operating systems tested on:
Linux