You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
PyType_From*: Disallow metaclasses with custom tp_new #123909
Following up after #60074 and #103968:
In 3.14, the deprecation period is over and PyType_From* should fail if the metaclass has custom tp_new. That means the tp_new is no longer silently skipped.
The proper way to instantiate such a metaclass is to call it.
Activity
pythongh-123909: PyType_From*: Disallow metaclasses with custom tp_new
pythongh-123909: PyType_From*: Disallow metaclasses with custom tp_new
pythongh-123909: PyType_From*: Disallow metaclasses with custom tp_new
gh-123909: PyType_From*: Disallow metaclasses with custom tp_new (GH-…
pythongh-123909: Remove obsolete note in PyType_FromMetaclass
gh-123909: Remove obsolete note in PyType_FromMetaclass docs (GH-131506)
pythongh-123909: Remove obsolete note in PyType_FromMetaclass docs (p…