Skip to content

Added entity instances caching. #291

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

Merged
merged 8 commits into from
Nov 26, 2019
Prev Previous commit
Next Next commit
Fixed a rare case where a base class initialisation would be skipped.
  • Loading branch information
jordanbriere committed Nov 25, 2019
commit 285287f9998cdd0ba5e5c517a37748c1bf0ebc6b
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ def __new__(self, index):

# Successively initialize the base classes
# This is required, because Boost's construction happens there
for base in (self,) + bases:
for base in dict.fromkeys((self,) + bases + self.__bases__):
getattr(
base.__init__, '__wrapped__', base.__init__)(
obj, index
Expand Down