penguin_wwy <940375...@qq.com> added the comment:

> You could also try replacing PyObject_SetAttrString with PyObject_SetAttr and 
> adding "__orig_class__" to the global strings with 
> Tools/scripts/generate_global_objects.py, probably for a later PR.

Already done via `make regen-global-objects`

Also, I found that `regen-global-objects` depends on `regen-deepfreeze`, which 
should be a bug. This causes the `regen-global-objects` to be executed with the 
compile task first, and it does not compile successfully at this point because 
of the new symbols(_Py_ID(__orig_class__)) added.

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue47067>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to