-
Notifications
You must be signed in to change notification settings - Fork 560
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix: bugs with rdflib.extras.infixowl
#2390
fix: bugs with rdflib.extras.infixowl
#2390
Conversation
tidy `# docstring` syntax and replace antiquated namespace_manager bindings with moderm graph ns bindings.
`subject_node_closure` and `blank_node_closure` don't have tests and are not essential to the rest of the PR. Removing them so the rest can be merged.
Removing this would be a breaking change, it should be marked as deprecated instead and if it is being replaced by another function then it should call the other function.
This will invalidate the xfail if the exception being raised changes, which makes it a bit safer to use xfail, as it is less likely to mask other newly introduced bugs.
@gjhiggins please see if you are okay with the changes I made. All changes can be seen here: Of particular import may be:
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍 (and thank you)
As far as I know this is not a documented dunder, and according to PEP-8 \[[ref](https://peps.python.org/pep-0008/#descriptive-naming-styles)\]: > Never invent such names; only use them as documented.
f99f085
to
e65e721
Compare
Summary of changes
Fix the following issues in
rdflib.extras.infixowl
:manchesterSyntax
was wrong for some cases.BooleanClass
was generating its string representation (i.e.BooleanClass.__repr__
) was wrong for some cases.Other changes:
This code is based on code from:
Checklist
the same change.
./examples
for new features.so maintainers can fix minor issues and keep your PR up to date.