➜

This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

作者 terry.reedy
收信人 docs@python, mbussonn, petr.viktorin, terry.reedy
日期 2019-05-31.16:16:39
SpamBayes Score -1.0
Marked as misclassified 是
Message-id <1559319399.32.0.714942556623.issue36896@roundup.psfhosted.org>
In-reply-to
内容
In msg342227 Pablo Galindo Salgado said "I am +1 to such a sentence, but I think this is a decision that more core devs should agree on."

> "These types are not supposed to be instantiated outside of CPython internals"

At least Petr Vidtorin and I disagree with this part.  As Petr wrote on pydev thread "Expected stability of PyCode_New() and types.CodeType() signatures", there are multiple tools that instantiate code objects, in particular Cython, which is far from being a rogue project.  Python is a 'consenting adults' languages, and we generally do not officially tell people what they are 'supposed' to do or not do.
历史
日期 用户 动作 参数
2019-05-31 16:16:39terry.reedy修改recipients: + terry.reedy, petr.viktorin, docs@python, mbussonn
2019-05-31 16:16:39terry.reedy修改messageid: <1559319399.32.0.714942556623.issue36896@roundup.psfhosted.org>
2019-05-31 16:16:39terry.reedy链接issue36896 messages
2019-05-31 16:16:39terry.reedy创建