-
Notifications
You must be signed in to change notification settings - Fork 29
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
Configuring for c-code #178
Conversation
Local problems using the pure versions:
The inconsistencies between Legacy RO and C3 RO also occur for the C versions. |
There are still some minor differences between the C and Python implementations as demonstrated by the failing tests. They have likely not yet been detected because this doctest was not run for the Python implementation.
Apparently, the
The Python implementation tries to pretend the same class names as the "C" implementation -- for the main classes. The
This likely comes from def has_key(self, key):
index = self._search(key)
if index < 0:
return False
r = self._data[index].child.has_key(key)
return r and r + 1 We could either change the test or introduce |
Run the tests with ZODB on a modern Python version.
@d-maurer I implemented your suggestions. Could you please review the PR? |
The manylinux builds fail with:
The suggestion to clean the cache did not help. I've seen this problem for other packages, too. Restarting the build did help mostly there but not (yet) for the BTrees repository. |
Interestingly GHA ran successfully for the last commit, so I am going to merge and release. @d-maurer Thank you for reviewing this PR. 😃 |
Open issues:
Fixes #176