Message325517
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. |
|
Date |
User |
Action |
Args |
2018-09-17 09:30:17 | ronaldoussoren | set | recipients:
+ ronaldoussoren, nascheme, vstinner, serhiy.storchaka |
2018-09-17 09:30:17 | ronaldoussoren | set | messageid: <1537176617.47.0.956365154283.issue34704@psf.upfronthosting.co.za> |
2018-09-17 09:30:17 | ronaldoussoren | link | issue34704 messages |
2018-09-17 09:30:17 | ronaldoussoren | create | |
|