[issue43060] Convert _decimal C API from pointer array to struct

Raymond Hettinger report at bugs.python.org
Sat Feb 27 16:21:49 EST 2021


Raymond Hettinger <raymond.hettinger at gmail.com> added the comment:

> In my opinion, an array of pointers is a bad API;

The existing code is how types were made for most of Python's history.  It is not "bad"; it is just more wordy.  Given that the current code is correct, I don't see any strong reason to churn the code.

----------
nosy: +rhettinger

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue43060>
_______________________________________


More information about the Python-bugs-list mailing list