Uh oh!
There was an error while loading. Please reload this page.
Add a design topic page on lazy vs. eager implementations - #708
Conversation
Follow-up to data-apisgh-652, which added notes to the specifications for `__bool__` & co on this topic.
d0726ce to
ca4cfcaComparergommers
commented
Nov 16, 2023
@seberg had one comment that is addressed in the second comment: point out that there is no built-in control flow beyond |
Uh oh!
There was an error while loading. Please reload this page.
rgommers
commented
Nov 27, 2023
Three approvals and comments are addressed, so I'll go ahead and merge this. Thanks all! |
betatim
commented
Nov 27, 2023
On a more philosophical note: what should an array consuming library do to deal with these two variants of behaviour? There are two options that come to mind straight away: (1) state in your docs that of all Array API compliant array producing libraries you only support X, Y and Z (because they don't raise) or (2) add Not sure if this PR is the best place to discuss this, but I started typing just before Ralf merged it, so will post here. Maybe an issue (with a follow up PR) is a better place? |
rgommers
commented
Nov 27, 2023
I think it's in practice a non-issue:
|
Follow-up to gh-652, which added notes to the specifications for
__bool__& co on this topic.