{"payload":{"feedbackUrl":"https://github.com/orgs/community/discussions/53140","repo":{"id":637068784,"defaultBranch":"main","name":"numpy","ownerLogin":"patrickboateng","currentUserCanPush":false,"isFork":true,"isEmpty":false,"createdAt":"2023-05-06T12:10:14.000Z","ownerAvatar":"https://avatars.githubusercontent.com/u/60540283?v=4","public":true,"private":false,"isOrgOwned":false},"refInfo":{"name":"","listCacheKey":"v0:1683375022.02569","currentOid":""},"activityList":{"items":[{"before":"be202209aabbaf84762fbeffe7f88054e923c780","after":"9e43697124aa7b854f6515b189233286f6a305d7","ref":"refs/heads/main","pushedAt":"2024-09-09T00:36:11.000Z","pushType":"push","commitsCount":561,"pusher":{"login":"patrickboateng","name":"Patrick Boateng","path":"/patrickboateng","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/60540283?s=80&v=4"},"commit":{"message":"Merge pull request #27356 from numpy/dependabot/github_actions/actions/upload-artifact-4.4.0\n\nMAINT: Bump actions/upload-artifact from 4.3.6 to 4.4.0","shortMessageHtmlLink":"Merge pull request numpy#27356 from numpy/dependabot/github_actions/a…"}},{"before":"ca096a31debdf1ad154056d229cd240b60d864c8","after":"be202209aabbaf84762fbeffe7f88054e923c780","ref":"refs/heads/main","pushedAt":"2024-07-16T11:45:44.000Z","pushType":"push","commitsCount":34,"pusher":{"login":"patrickboateng","name":"Patrick Boateng","path":"/patrickboateng","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/60540283?s=80&v=4"},"commit":{"message":"Merge pull request #26953 from jorenham/typing-union-cleanup\n\nTYP: Replace ``typing.Union`` with ``|`` in ``numpy._typing``","shortMessageHtmlLink":"Merge pull request numpy#26953 from jorenham/typing-union-cleanup"}},{"before":"244509cdba394d0354cb88b6ee39f62985033f89","after":"ca096a31debdf1ad154056d229cd240b60d864c8","ref":"refs/heads/main","pushedAt":"2024-07-13T15:57:10.000Z","pushType":"push","commitsCount":2,"pusher":{"login":"patrickboateng","name":"Patrick Boateng","path":"/patrickboateng","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/60540283?s=80&v=4"},"commit":{"message":"Merge pull request #26914 from seberg/partial-revert-unique-inverse\n\nAPI: Partially revert unique with return_inverse","shortMessageHtmlLink":"Merge pull request numpy#26914 from seberg/partial-revert-unique-inverse"}},{"before":"6bd3abfadd21757bbfc7563da5ac9fe996d58e55","after":"244509cdba394d0354cb88b6ee39f62985033f89","ref":"refs/heads/main","pushedAt":"2024-07-13T11:08:40.000Z","pushType":"push","commitsCount":1581,"pusher":{"login":"patrickboateng","name":"Patrick Boateng","path":"/patrickboateng","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/60540283?s=80&v=4"},"commit":{"message":"Merge pull request #26924 from numpy/dependabot/github_actions/github/codeql-action-3.25.12\n\nMAINT: Bump github/codeql-action from 3.25.11 to 3.25.12","shortMessageHtmlLink":"Merge pull request numpy#26924 from numpy/dependabot/github_actions/g…"}},{"before":"94bc56402a99c85c72330ca54c5f1f4bc2aac9f7","after":"6bd3abfadd21757bbfc7563da5ac9fe996d58e55","ref":"refs/heads/main","pushedAt":"2024-01-20T21:32:04.000Z","pushType":"push","commitsCount":571,"pusher":{"login":"patrickboateng","name":"Patrick Boateng","path":"/patrickboateng","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/60540283?s=80&v=4"},"commit":{"message":"API,MAINT: Reorganize array-wrap calling and introduce ``return_scalar`` (#25409)\n\nThis reorganize how array-wrap is called. It might very mildly change the semantics for reductions I think (and for negative priorities).\r\n\r\nOverall, it now passes a new return_scalar=False/True when calling __array_wrap__ and deprecates any array-wrap which does not accept arr, context, return_scalar.\r\n\r\nI have not integrated it yet, but half the reason for the reorganization is to integrate it/reuse it in the array_coverter helper PR (gh-24214), which stumbled over trying to make the scalar handling sane.\r\n\r\nForcing downstream to add return_scalar=False to the signature is a bit annoying, but e.g. our memory maps currently try to guess at it, which seems bad. I am hoping, this can be part to making the scalar vs. array return more sane.\r\n\r\nBut, maybe mainly, I hope it consolidates things (together with gh-24124 mainly, as if ufuncs were the only complex place we used this, it wouldn't matter much).\r\n\r\n---\r\n\r\n* API: Reorganize `__array_wrap__` and add `return_scalar=False`\r\n\r\nThis also deprecates any `__array_wrap__` which does not accept\r\n`context` and `return_scalar`.\r\n\r\n* BUG: Fix niche bug in rounding.\r\n\r\n* MAINT: Adjust __array_wrap__ in code and tests (also deprecation test)\r\n\r\n* MAINT: Use/move the simplest C-wrapping also\r\n\r\n* DOC: Update doc and add release note\r\n\r\n* STY: Make linter happy in old tests\r\n\r\n* MAINT: Silence GCC warning (value cannot really be used uninitialized)\r\n\r\n* MAINT: Small style fixes\r\n\r\n* BUG: Fix reference leak in ufunc array-wrapping\r\n\r\nThis probably doesn't fix the 32bit issue unfortunately, only the windows ones...\r\n\r\n* BUG: Fix leak for result arrays in all ufunc calls\r\n\r\n* Ensure we try passing context and address related smaller review comments\r\n\r\n* Ensure we don't try `context=None` and expand code comment\r\n\r\n* Rely on return_scalar always being right (and style nit)\r\n\r\n* Remove outdated comments as per review\r\n\r\n* Let's just undo force-wrap for now for reductions (its a change...)\r\n\r\n* ENH: Chain the original error when the deprecationwarning is raised\r\n\r\nDoing this due to gh-25635 since it is super confusing with the\r\nbad retrying...\r\n\r\n* BUG,MAINT: Address Martens review comments","shortMessageHtmlLink":"API,MAINT: Reorganize array-wrap calling and introduce ``return_scala…"}},{"before":"c942d65ea246d582b009c5270de949cb24018e13","after":"94bc56402a99c85c72330ca54c5f1f4bc2aac9f7","ref":"refs/heads/main","pushedAt":"2023-11-26T21:36:13.000Z","pushType":"push","commitsCount":2010,"pusher":{"login":"patrickboateng","name":"Patrick Boateng","path":"/patrickboateng","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/60540283?s=80&v=4"},"commit":{"message":"Merge pull request #25080 from mtsokol/numpy-bool\n\nAPI: Add and redefine `numpy.bool` [Array API]","shortMessageHtmlLink":"Merge pull request numpy#25080 from mtsokol/numpy-bool"}}],"hasNextPage":false,"hasPreviousPage":false,"activityType":"all","actor":null,"timePeriod":"all","sort":"DESC","perPage":30,"startCursor":"Y3Vyc29yOnYyOpK7MjAyNC0wOS0wOVQwMDozNjoxMS4wMDAwMDBazwAAAASwWnZ8","endCursor":"Y3Vyc29yOnYyOpK7MjAyMy0xMS0yNlQyMTozNjoxMy4wMDAwMDBazwAAAAO4GZER"}},"title":"Activity · patrickboateng/numpy"}