Message373295
| Author | vstinner |
|---|---|
| Recipients | Michael.Felt, corona10, miss-islington, petdance, ronaldoussoren, shihai1991, vstinner |
| Date | 2020-07-08.09:06:12 |
| SpamBayes Score | -1.0 |
| Marked as misclassified | Yes |
| Message-id | <1594199172.07.0.48977398326.issue40170@roundup.psfhosted.org> |
| In-reply-to |
| Content | |
|---|---|
> New changeset 45ec5b99aefa54552947049086e87ec01bc2fc9a by Victor Stinner in branch 'master': > bpo-40170: PyType_HasFeature() now always calls PyType_GetFlags() (GH-19378) This change causes performance issues on macOS, see discussion starting at: https://bugs.python.org/issue39542#msg372962 So I reverted the change. I will wait until my PEP 620 is accepted before considering to reapply it. If it's reapplied, we have to make sure that Python internals currently using PyTuple_Check() still access directly PyTypeObject.tp_flags member. For example, a new _PyTuple_Check() function could be added and uses the internal _PyType_HasFeature() function. |
|
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2020-07-08 09:06:12 | vstinner | set | recipients: + vstinner, ronaldoussoren, Michael.Felt, corona10, miss-islington, shihai1991, petdance |
| 2020-07-08 09:06:12 | vstinner | set | messageid: <1594199172.07.0.48977398326.issue40170@roundup.psfhosted.org> |
| 2020-07-08 09:06:12 | vstinner | link | issue40170 messages |
| 2020-07-08 09:06:12 | vstinner | create | |