forked from numpy/numpy
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Pull request #10: Port part of the np.array function
Merge in ~STEPAN.SINDELAR_ORACLE.COM/numpy-hpy from ss/array_array to labs-hpy-port * commit '5222b83f0faa5dd99b1a3c6a659940831c1873a1': HPyArray_AssignArray Add forgotten capi_warn Make PyArray_Descr memcopy work for both legacy/pure layout Add HPyType helpers generation for scalars Replace h_array_type_global with HPyArray_Type HPyArray_SetBaseObject HPyDataMem_UserNEW, HPyDataMem_UserNEW_ZEROED HPyArray_NewFromDescr_int: check PyCapsule using HPy Fully ported HPyArray_NewFromDescr_int (missing: PyArray_SetBaseObject and PyCapsule) HPyArray_NewLikeArrayWithShape Use HPy Type helpers instead of HPy_AsStruct everywhere Fix: use HPyArray_GetNDim Call new HPyArray_NewLikeArray HPyArray_NewCopy Checkpoint: np.array works Checkpoint in debugging Port np.array to HPy: args parsing Set legacy slots of PyCLongDoubleArrType, PyCDoubleArrType, PyCFloatArrType
- Loading branch information
Showing
28 changed files
with
1,255 additions
and
210 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.