how to detect if a dictionary has been modified ?
stef.mientki at gmail.com
Sun Nov 23 10:10:50 CET 2008
Just like in a normal text editor,
I would like to detect if a dictionary has been changed.
So I would like to have a modified-flag.
(This dictionary is used as a communication channel between processes)
Now I do it to make a copy of the dictionary and compare it with the old
When a change is detected I nake a new copy and interpret the whole new
so I'm not interested in knowing where the change(s) are located.
This works well, but as I have many of these dictionaries,
I find the copy a waste of time and space.
Has anyone derived a new dictionary with a modified flag ?
Or are there other solutions to detect easily a directory change ?
More information about the Python-list