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 Mark.Shannon, petr.viktorin, vstinner
Date 2022-01-31.12:27:47
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1643632067.95.0.426367206727.issue46355@roundup.psfhosted.org>
In-reply-to
Content
> I would hope that competent C programmers would know not to read or write to undocumented fields. But if they come from a Python background, that might not be obvious.

Tread carefully when changing decades-old API, documented or not. The docs weren't always as useful and complete as they are now.

> If the advice for something is "use Python", we should probably add an API function.

Not really. If PyObject_GetAttrString doesn't add too much overhead, IMO it's fine to use it.
History
Date User Action Args
2022-01-31 12:27:47petr.viktorinsetrecipients: + petr.viktorin, vstinner, Mark.Shannon
2022-01-31 12:27:47petr.viktorinsetmessageid: <1643632067.95.0.426367206727.issue46355@roundup.psfhosted.org>
2022-01-31 12:27:47petr.viktorinlinkissue46355 messages
2022-01-31 12:27:47petr.viktorincreate