The PyInotify documentation specifically says that pyinotify.IN_MODIFY should be used for all usage of PyInotify version 0.8 and greater, that pyinotify.EventsCodes.IN_MODIFY should not be used except where compatibiklity with PyInotify 0.7 is required.
I guess the question is whether to go with the new or retain compatibility with the old.
The PyInotify documentation specifically says that pyinotify.IN_MODIFY should be used for all usage of PyInotify version 0.8 and greater, that pyinotify. EventsCodes. IN_MODIFY should not be used except where compatibiklity with PyInotify 0.7 is required.
I guess the question is whether to go with the new or retain compatibility with the old.