pyinotify.IN_MOVED_FROM, pyinotify.IN_MOVED_TO and pyinotify.IN_CREATE, store the result in mask. for every path in return value of the call to the function gen_filenames with argument only_new set to boolean True,
for path in gen_filenames ( only_new = True ) :