python-simplenamespace

Infinite recursion error in custom class that combines dict, defaultdict, and SimpleNamespace functionality

Infinite recursion error in custom class that combines dict, defaultdict, and SimpleNamespace functionality Question: 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 …

Total answers: 2