Suggest close operator names in namespace AttributeErrors - #603
Open
eriknw wants to merge 1 commit into
Open
Conversation
eriknw
marked this pull request as ready for review
August 4, 2026 16:07
eriknw
force-pushed
the
23-operator-namespace-ux
branch
from
August 4, 2026 16:12
7cf15a4 to
f4a9570
Compare
eriknw
force-pushed
the
23-operator-namespace-ux
branch
from
August 5, 2026 00:06
f4a9570 to
d2c6495
Compare
eriknw
force-pushed
the
23-operator-namespace-ux
branch
2 times, most recently
from
August 5, 2026 17:44
037545f to
946740a
Compare
eriknw
force-pushed
the
23-operator-namespace-ux
branch
from
August 5, 2026 18:03
946740a to
ba433c9
Compare
eriknw
force-pushed
the
23-operator-namespace-ux
branch
2 times, most recently
from
August 6, 2026 07:59
b68d166 to
9e56024
Compare
eriknw
force-pushed
the
23-operator-namespace-ux
branch
2 times, most recently
from
August 6, 2026 15:41
b3b513a to
8abef88
Compare
eriknw
force-pushed
the
23-operator-namespace-ux
branch
2 times, most recently
from
August 6, 2026 20:41
a786e70 to
d0cd033
Compare
eriknw
force-pushed
the
23-operator-namespace-ux
branch
from
August 7, 2026 02:48
d0cd033 to
efa29c8
Compare
binary.pluss now raises "module 'graphblas.binary' has no attribute 'pluss'. Did you mean 'plus'?" via difflib.get_close_matches over the module's __dir__(), so lazily-registered operators are suggested without forcing them to build (binary._delayed is untouched by a typo lookup, which the test pins). Applies to all eight operator namespaces; difflib is imported only on the error path.
eriknw
force-pushed
the
23-operator-namespace-ux
branch
from
August 7, 2026 05:09
efa29c8 to
d6aae24
Compare
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
binary.pluss now raises "module 'graphblas.binary' has no attribute
'pluss'. Did you mean 'plus'?" via difflib.get_close_matches over the
module's dir(), so lazily-registered operators are suggested without
forcing them to build (binary._delayed is untouched by a typo lookup,
which the test pins). Applies to all eight operator namespaces; difflib
is imported only on the error path.
Stack created with GitHub Stacks CLI • Give Feedback 💬