In engine.py, the class Engine__init__() function, the default value for storage is MemoryStorage().
However, in this case, if I create two Engine instances without passing storage instance (i.e. using the default value), the two engine instances would share the same storage instance. I am not sure if you want that behavior, but to me, it's a little bit awkward.
In engine.py, the class
Engine
__init__()
function, the default value for storage is MemoryStorage(). However, in this case, if I create two Engine instances without passing storage instance (i.e. using the default value), the two engine instances would share the same storage instance. I am not sure if you want that behavior, but to me, it's a little bit awkward.I recommend change to this :