Infinite recursion error in custom class that combines dict, defaultdict, and SimpleNamespace functionality
Advertisements I am writing a class in python that combines the functionality of dict, defaultdict, and SimpleNamespace So far I have the following code: import warnings class fluiddict: """! A class that emulates a dictionary, while also being able to support attribute assignment and default values. The default value of `default_factory` is None. This means… Read More Infinite recursion error in custom class that combines dict, defaultdict, and SimpleNamespace functionality