- Python Home
- About
- News
- Documentation
- Downloads
- Community
- Foundation
- Developer's Guide
- Issue Tracker
- Issues
- Summaries
- User
- Administration
- Help
Message380302
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.
| Author | petr.viktorin |
|---|---|
| Recipients | corona10, petr.viktorin, shihai1991, vstinner |
| Date | 2020-11-03.21:58:50 |
| SpamBayes Score | -1.0 |
| Marked as misclassified | Yes |
| Message-id | <1604440730.15.0.769383905828.issue41832@roundup.psfhosted.org> |
| In-reply-to |
| Content | |
|---|---|
The PyType_Slot documentation says that the pointer may not be NULL: https://docs.python.org/3/c-api/type.html?highlight=pytype_fromspec#c.PyType_Slot.PyType_Slot.pfunc If you change this, why do it only for tp_doc, but for all the slots? NULL should *always* mean that the slot is set to NULL instead of inherited. (Except maybe in cases where this is dangerous; then it should result in an error?) See: https://bugs.python.org/issue26979 If you want to only change this for tp_doc, please also update the PyType_Slot documentation to cover the exception. |
|
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2020-11-03 21:58:50 | petr.viktorin | set | recipients: + petr.viktorin, vstinner, corona10, shihai1991 |
| 2020-11-03 21:58:50 | petr.viktorin | set | messageid: <1604440730.15.0.769383905828.issue41832@roundup.psfhosted.org> |
| 2020-11-03 21:58:50 | petr.viktorin | link | issue41832 messages |
| 2020-11-03 21:58:50 | petr.viktorin | create | |

