added 9 commits
July 23, 2020 08:41This new function allows dispatching from C directly, while also implementing the new `like=` argument, requiring only minimal changes to existing array creation functions that need to add support for that argument.
The implementation uses array_implement_c_array_function, thus introducing minimal complexity to the original _array_fromobject code.
Tests comprise some of the functions that have been implemented already: * np.array (C dispatcher) * np.asarray (indirect C dispatcher via np.array) * np.full (Python dispatcher) * np.ones (Python dispatcher)
This was referenced
Jul 23, 2020Merged
Closed
Open
This was there for a bit, but the same thing can already be achieved without the parameter, so that it is now unused.