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 ronaldoussoren
Recipients nascheme, ronaldoussoren, serhiy.storchaka, vstinner
Date 2018-09-17.09:30:17
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1537176617.47.0.956365154283.issue34704@psf.upfronthosting.co.za>
In-reply-to
Content
IMHO there doesn't need to be a new API unless the semantics change w.r.t Py_TYPE (for example by adding an API that returns an owned reference instead of a borrowed reference).   Py_TYPE can work with an opaque version of PyObject by turning it into a function.

BTW. Changing PyObject into an opaque structure is non-trivial because every instance currently explicitly contains a PyObject structure as the first field of the object definition.
History
Date User Action Args
2018-09-17 09:30:17ronaldoussorensetrecipients: + ronaldoussoren, nascheme, vstinner, serhiy.storchaka
2018-09-17 09:30:17ronaldoussorensetmessageid: <1537176617.47.0.956365154283.issue34704@psf.upfronthosting.co.za>
2018-09-17 09:30:17ronaldoussorenlinkissue34704 messages
2018-09-17 09:30:17ronaldoussorencreate