Message372056
| Author | vstinner |
|---|---|
| Recipients | Michael.Felt, corona10, petdance, ronaldoussoren, shihai1991, vstinner |
| Date | 2020-06-22.09:10:39 |
| SpamBayes Score | -1.0 |
| Marked as misclassified | Yes |
| Message-id | <1592817040.04.0.21076850736.issue40170@roundup.psfhosted.org> |
| In-reply-to |
| Content | |
|---|---|
> PyIter_Check() and PySequence_ITEM() macros access directly PyTypeObject members and must be converted to opaque functions: (...) PyIter_Check() and PySequence_ITEM() are declared as functions in the limited C API, but overriden with macros in the CPython C API. I suggest to simply remove the macros to always declare them as functions. See bpo-33738 "PyIndex_Check conflicts with PEP 384" which added the functions. See also Tools/scripts/pep384_macrocheck.py script. |
|
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2020-06-22 09:10:40 | vstinner | set | recipients: + vstinner, ronaldoussoren, Michael.Felt, corona10, shihai1991, petdance |
| 2020-06-22 09:10:40 | vstinner | set | messageid: <1592817040.04.0.21076850736.issue40170@roundup.psfhosted.org> |
| 2020-06-22 09:10:40 | vstinner | link | issue40170 messages |
| 2020-06-22 09:10:39 | vstinner | create | |