SPEC 2 — API Dispatch

Recommends mechanisms whereby (a) library functions can be overridden by external implementors and (b) dispatching can take place based on foreign data structures.

For more background, please see:

If I have questions and/or comments about this spec, should I post them in this thread or in the GH repo or somewhere else?

@betatim Sorry to have missed your question. For SPECs, preliminary conversations are typically held here, and fine-tuning the documents happen on Github.

I also wanted to link to the conversation here, https://discuss.scientific-python.org/t/a-proposed-design-for-supporting-multiple-array-types-across-scipy-scikit-learn-scikit-image-and-beyond, in addition to the above references.

Cross-linking: [Draft] Engine plugin API with a "unified API" by betatim · Pull Request #24826 · scikit-learn/scikit-learn · GitHub