summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastien Martini <seb@dbzteam.org>2010-09-15 21:51:24 +0200
committerSebastien Martini <seb@dbzteam.org>2010-09-15 21:51:24 +0200
commit300fb3f5333d7ffbc5bcef8ff89cb24bf2ace20c (patch)
treee3fb85b6c31aa922fd0f4b52cac379332f524342
parent909f985842fcae8a45d9591017112186e68a723d (diff)
downloadpyinotify-300fb3f5333d7ffbc5bcef8ff89cb24bf2ace20c.tar.gz
Generated documentation 0.9.0+.
-rw-r--r--.gitignore1
l---------index.html1
-rw-r--r--python2/docstrings/api-objects.txt236
-rw-r--r--python2/docstrings/class-tree.html260
-rw-r--r--python2/docstrings/crarr.pngbin0 -> 340 bytes
-rw-r--r--python2/docstrings/epydoc.css322
-rw-r--r--python2/docstrings/epydoc.js293
-rw-r--r--python2/docstrings/frames.html17
-rw-r--r--python2/docstrings/help.html268
-rw-r--r--python2/docstrings/identifier-index.html733
-rw-r--r--python2/docstrings/index.html17
-rw-r--r--python2/docstrings/module-tree.html105
-rw-r--r--python2/docstrings/pyinotify-module.html824
-rw-r--r--python2/docstrings/pyinotify-pysrc.html2585
-rw-r--r--python2/docstrings/pyinotify.AsyncNotifier-class.html417
-rw-r--r--python2/docstrings/pyinotify.ChainIfTrue-class.html332
-rw-r--r--python2/docstrings/pyinotify.ColoredOutputFormat-class.html250
-rw-r--r--python2/docstrings/pyinotify.Event-class.html285
-rw-r--r--python2/docstrings/pyinotify.EventsCodes-class.html716
-rw-r--r--python2/docstrings/pyinotify.ExcludeFilter-class.html339
-rw-r--r--python2/docstrings/pyinotify.Notifier-class.html650
-rw-r--r--python2/docstrings/pyinotify.NotifierError-class.html270
-rw-r--r--python2/docstrings/pyinotify.PrintAllEvents-class.html337
-rw-r--r--python2/docstrings/pyinotify.ProcessEvent-class.html538
-rw-r--r--python2/docstrings/pyinotify.ProcessEventError-class.html270
-rw-r--r--python2/docstrings/pyinotify.PyinotifyError-class.html208
-rw-r--r--python2/docstrings/pyinotify.PyinotifyLogger-class.html291
-rw-r--r--python2/docstrings/pyinotify.RawOutputFormat-class.html335
-rw-r--r--python2/docstrings/pyinotify.Stats-class.html467
-rw-r--r--python2/docstrings/pyinotify.SysCtlINotify-class.html489
-rw-r--r--python2/docstrings/pyinotify.ThreadedNotifier-class.html461
-rw-r--r--python2/docstrings/pyinotify.UnicodeLogRecord-class.html259
-rw-r--r--python2/docstrings/pyinotify.UnsupportedLibcVersionError-class.html266
-rw-r--r--python2/docstrings/pyinotify.UnsupportedPythonVersionError-class.html270
-rw-r--r--python2/docstrings/pyinotify.Watch-class.html300
-rw-r--r--python2/docstrings/pyinotify.WatchManager-class.html1052
-rw-r--r--python2/docstrings/pyinotify.WatchManagerError-class.html274
-rw-r--r--python2/docstrings/pyinotify._Event-class.html337
-rw-r--r--python2/docstrings/pyinotify._ProcessEvent-class.html324
-rw-r--r--python2/docstrings/pyinotify._RawEvent-class.html299
-rw-r--r--python2/docstrings/pyinotify._SysProcessEvent-class.html494
-rw-r--r--python2/docstrings/redirect.html38
-rw-r--r--python2/docstrings/toc-everything.html107
-rw-r--r--python2/docstrings/toc-pyinotify-module.html107
-rw-r--r--python2/docstrings/toc.html33
-rw-r--r--python2/docstrings/uml_class_diagram_for_pyinotif.gifbin0 -> 24874 bytes
-rw-r--r--python2/docstrings/uml_class_diagram_for_pyinotif_10.gifbin0 -> 9570 bytes
-rw-r--r--python2/docstrings/uml_class_diagram_for_pyinotif_11.gifbin0 -> 8468 bytes
-rw-r--r--python2/docstrings/uml_class_diagram_for_pyinotif_12.gifbin0 -> 14803 bytes
-rw-r--r--python2/docstrings/uml_class_diagram_for_pyinotif_13.gifbin0 -> 16797 bytes
-rw-r--r--python2/docstrings/uml_class_diagram_for_pyinotif_14.gifbin0 -> 5748 bytes
-rw-r--r--python2/docstrings/uml_class_diagram_for_pyinotif_15.gifbin0 -> 8621 bytes
-rw-r--r--python2/docstrings/uml_class_diagram_for_pyinotif_16.gifbin0 -> 3284 bytes
-rw-r--r--python2/docstrings/uml_class_diagram_for_pyinotif_17.gifbin0 -> 15622 bytes
-rw-r--r--python2/docstrings/uml_class_diagram_for_pyinotif_18.gifbin0 -> 5528 bytes
-rw-r--r--python2/docstrings/uml_class_diagram_for_pyinotif_19.gifbin0 -> 9480 bytes
-rw-r--r--python2/docstrings/uml_class_diagram_for_pyinotif_2.gifbin0 -> 7632 bytes
-rw-r--r--python2/docstrings/uml_class_diagram_for_pyinotif_20.gifbin0 -> 9342 bytes
-rw-r--r--python2/docstrings/uml_class_diagram_for_pyinotif_21.gifbin0 -> 2880 bytes
-rw-r--r--python2/docstrings/uml_class_diagram_for_pyinotif_22.gifbin0 -> 11290 bytes
-rw-r--r--python2/docstrings/uml_class_diagram_for_pyinotif_23.gifbin0 -> 7975 bytes
-rw-r--r--python2/docstrings/uml_class_diagram_for_pyinotif_24.gifbin0 -> 3820 bytes
-rw-r--r--python2/docstrings/uml_class_diagram_for_pyinotif_25.gifbin0 -> 2946 bytes
-rw-r--r--python2/docstrings/uml_class_diagram_for_pyinotif_26.gifbin0 -> 6832 bytes
-rw-r--r--python2/docstrings/uml_class_diagram_for_pyinotif_27.gifbin0 -> 5602 bytes
-rw-r--r--python2/docstrings/uml_class_diagram_for_pyinotif_28.gifbin0 -> 4010 bytes
-rw-r--r--python2/docstrings/uml_class_diagram_for_pyinotif_29.gifbin0 -> 11495 bytes
-rw-r--r--python2/docstrings/uml_class_diagram_for_pyinotif_3.gifbin0 -> 5527 bytes
-rw-r--r--python2/docstrings/uml_class_diagram_for_pyinotif_4.gifbin0 -> 3178 bytes
-rw-r--r--python2/docstrings/uml_class_diagram_for_pyinotif_5.gifbin0 -> 6391 bytes
-rw-r--r--python2/docstrings/uml_class_diagram_for_pyinotif_6.gifbin0 -> 1992 bytes
-rw-r--r--python2/docstrings/uml_class_diagram_for_pyinotif_7.gifbin0 -> 10234 bytes
-rw-r--r--python2/docstrings/uml_class_diagram_for_pyinotif_8.gifbin0 -> 8310 bytes
-rw-r--r--python2/docstrings/uml_class_diagram_for_pyinotif_9.gifbin0 -> 7831 bytes
74 files changed, 16476 insertions, 1 deletions
diff --git a/.gitignore b/.gitignore
index 8872c23..70ef90e 100644
--- a/.gitignore
+++ b/.gitignore
@@ -11,4 +11,3 @@
*.bak
a.out
*.out
-docstrings/
diff --git a/index.html b/index.html
new file mode 120000
index 0000000..d258d0f
--- /dev/null
+++ b/index.html
@@ -0,0 +1 @@
+python2/docstrings/index.html \ No newline at end of file
diff --git a/python2/docstrings/api-objects.txt b/python2/docstrings/api-objects.txt
new file mode 100644
index 0000000..3f35780
--- /dev/null
+++ b/python2/docstrings/api-objects.txt
@@ -0,0 +1,236 @@
+pyinotify pyinotify-module.html
+pyinotify.IN_CREATE pyinotify-module.html#IN_CREATE
+pyinotify.compatibility_mode pyinotify-module.html#compatibility_mode
+pyinotify.IN_UNMOUNT pyinotify-module.html#IN_UNMOUNT
+pyinotify.max_queued_events pyinotify-module.html#max_queued_events
+pyinotify.COMPATIBILITY_MODE pyinotify-module.html#COMPATIBILITY_MODE
+pyinotify.IN_DELETE pyinotify-module.html#IN_DELETE
+pyinotify.IN_MODIFY pyinotify-module.html#IN_MODIFY
+pyinotify.IN_CLOSE_WRITE pyinotify-module.html#IN_CLOSE_WRITE
+pyinotify.name pyinotify-module.html#name
+pyinotify.logger_init pyinotify-module.html#logger_init
+pyinotify.IN_MOVE_SELF pyinotify-module.html#IN_MOVE_SELF
+pyinotify.strerrno pyinotify-module.html#strerrno
+pyinotify.valc pyinotify-module.html#valc
+pyinotify.IN_ONLYDIR pyinotify-module.html#IN_ONLYDIR
+pyinotify.attrname pyinotify-module.html#attrname
+pyinotify.IN_ISDIR pyinotify-module.html#IN_ISDIR
+pyinotify.LIBC pyinotify-module.html#LIBC
+pyinotify.log pyinotify-module.html#log
+pyinotify.val pyinotify-module.html#val
+pyinotify.max_user_watches pyinotify-module.html#max_user_watches
+pyinotify.output_format pyinotify-module.html#output_format
+pyinotify.IN_IGNORED pyinotify-module.html#IN_IGNORED
+pyinotify.__author__ pyinotify-module.html#__author__
+pyinotify.IN_DONT_FOLLOW pyinotify-module.html#IN_DONT_FOLLOW
+pyinotify.ALL_EVENTS pyinotify-module.html#ALL_EVENTS
+pyinotify.IN_OPEN pyinotify-module.html#IN_OPEN
+pyinotify.IN_MOVED_FROM pyinotify-module.html#IN_MOVED_FROM
+pyinotify.IN_CLOSE_NOWRITE pyinotify-module.html#IN_CLOSE_NOWRITE
+pyinotify.IN_MOVED_TO pyinotify-module.html#IN_MOVED_TO
+pyinotify.IN_ONESHOT pyinotify-module.html#IN_ONESHOT
+pyinotify.command_line pyinotify-module.html#command_line
+pyinotify.__package__ pyinotify-module.html#__package__
+pyinotify.max_user_instances pyinotify-module.html#max_user_instances
+pyinotify.load_libc pyinotify-module.html#load_libc
+pyinotify.IN_Q_OVERFLOW pyinotify-module.html#IN_Q_OVERFLOW
+pyinotify.IN_ATTRIB pyinotify-module.html#IN_ATTRIB
+pyinotify.IN_ACCESS pyinotify-module.html#IN_ACCESS
+pyinotify.flagc pyinotify-module.html#flagc
+pyinotify.IN_MASK_ADD pyinotify-module.html#IN_MASK_ADD
+pyinotify.IN_DELETE_SELF pyinotify-module.html#IN_DELETE_SELF
+pyinotify.AsyncNotifier pyinotify.AsyncNotifier-class.html
+pyinotify.Notifier.read_events pyinotify.Notifier-class.html#read_events
+pyinotify.Notifier.proc_fun pyinotify.Notifier-class.html#proc_fun
+pyinotify.Notifier._sleep pyinotify.Notifier-class.html#_sleep
+pyinotify.AsyncNotifier.__init__ pyinotify.AsyncNotifier-class.html#__init__
+pyinotify.Notifier.process_events pyinotify.Notifier-class.html#process_events
+pyinotify.Notifier.append_event pyinotify.Notifier-class.html#append_event
+pyinotify.Notifier.stop pyinotify.Notifier-class.html#stop
+pyinotify.AsyncNotifier.handle_read pyinotify.AsyncNotifier-class.html#handle_read
+pyinotify.Notifier.check_events pyinotify.Notifier-class.html#check_events
+pyinotify.Notifier.coalesce_events pyinotify.Notifier-class.html#coalesce_events
+pyinotify.Notifier.loop pyinotify.Notifier-class.html#loop
+pyinotify.ChainIfTrue pyinotify.ChainIfTrue-class.html
+pyinotify.ChainIfTrue.my_init pyinotify.ChainIfTrue-class.html#my_init
+pyinotify.ProcessEvent.nested_pevent pyinotify.ProcessEvent-class.html#nested_pevent
+pyinotify.ProcessEvent.process_IN_Q_OVERFLOW pyinotify.ProcessEvent-class.html#process_IN_Q_OVERFLOW
+pyinotify.ProcessEvent.pevent pyinotify.ProcessEvent-class.html#pevent
+pyinotify._ProcessEvent.__repr__ pyinotify._ProcessEvent-class.html#__repr__
+pyinotify.ChainIfTrue.process_default pyinotify.ChainIfTrue-class.html#process_default
+pyinotify.ProcessEvent.__call__ pyinotify.ProcessEvent-class.html#__call__
+pyinotify.ProcessEvent.__init__ pyinotify.ProcessEvent-class.html#__init__
+pyinotify.ColoredOutputFormat pyinotify.ColoredOutputFormat-class.html
+pyinotify.RawOutputFormat.simple pyinotify.RawOutputFormat-class.html#simple
+pyinotify.RawOutputFormat.punctuation pyinotify.RawOutputFormat-class.html#punctuation
+pyinotify.RawOutputFormat.class_name pyinotify.RawOutputFormat-class.html#class_name
+pyinotify.RawOutputFormat.field_value pyinotify.RawOutputFormat-class.html#field_value
+pyinotify.RawOutputFormat.field_name pyinotify.RawOutputFormat-class.html#field_name
+pyinotify.ColoredOutputFormat.__init__ pyinotify.ColoredOutputFormat-class.html#__init__
+pyinotify.Event pyinotify.Event-class.html
+pyinotify._Event.__str__ pyinotify._Event-class.html#__str__
+pyinotify._Event.__repr__ pyinotify._Event-class.html#__repr__
+pyinotify.Event.__init__ pyinotify.Event-class.html#__init__
+pyinotify.EventsCodes pyinotify.EventsCodes-class.html
+pyinotify.EventsCodes.IN_MOVED_FROM pyinotify.EventsCodes-class.html#IN_MOVED_FROM
+pyinotify.EventsCodes.FLAG_COLLECTIONS pyinotify.EventsCodes-class.html#FLAG_COLLECTIONS
+pyinotify.EventsCodes.IN_CREATE pyinotify.EventsCodes-class.html#IN_CREATE
+pyinotify.EventsCodes.IN_MOVED_TO pyinotify.EventsCodes-class.html#IN_MOVED_TO
+pyinotify.EventsCodes.IN_MOVE_SELF pyinotify.EventsCodes-class.html#IN_MOVE_SELF
+pyinotify.EventsCodes.ALL_FLAGS pyinotify.EventsCodes-class.html#ALL_FLAGS
+pyinotify.EventsCodes.IN_UNMOUNT pyinotify.EventsCodes-class.html#IN_UNMOUNT
+pyinotify.EventsCodes.IN_ONESHOT pyinotify.EventsCodes-class.html#IN_ONESHOT
+pyinotify.EventsCodes.IN_ONLYDIR pyinotify.EventsCodes-class.html#IN_ONLYDIR
+pyinotify.EventsCodes.IN_Q_OVERFLOW pyinotify.EventsCodes-class.html#IN_Q_OVERFLOW
+pyinotify.EventsCodes.IN_IGNORED pyinotify.EventsCodes-class.html#IN_IGNORED
+pyinotify.EventsCodes.IN_DELETE pyinotify.EventsCodes-class.html#IN_DELETE
+pyinotify.EventsCodes.OP_FLAGS pyinotify.EventsCodes-class.html#OP_FLAGS
+pyinotify.EventsCodes.IN_ATTRIB pyinotify.EventsCodes-class.html#IN_ATTRIB
+pyinotify.EventsCodes.IN_CLOSE_WRITE pyinotify.EventsCodes-class.html#IN_CLOSE_WRITE
+pyinotify.EventsCodes.IN_ACCESS pyinotify.EventsCodes-class.html#IN_ACCESS
+pyinotify.EventsCodes.maskname pyinotify.EventsCodes-class.html#maskname
+pyinotify.EventsCodes.IN_MODIFY pyinotify.EventsCodes-class.html#IN_MODIFY
+pyinotify.EventsCodes.ALL_VALUES pyinotify.EventsCodes-class.html#ALL_VALUES
+pyinotify.EventsCodes.IN_DONT_FOLLOW pyinotify.EventsCodes-class.html#IN_DONT_FOLLOW
+pyinotify.EventsCodes.IN_MASK_ADD pyinotify.EventsCodes-class.html#IN_MASK_ADD
+pyinotify.EventsCodes.SPECIAL_FLAGS pyinotify.EventsCodes-class.html#SPECIAL_FLAGS
+pyinotify.EventsCodes.IN_CLOSE_NOWRITE pyinotify.EventsCodes-class.html#IN_CLOSE_NOWRITE
+pyinotify.EventsCodes.IN_ISDIR pyinotify.EventsCodes-class.html#IN_ISDIR
+pyinotify.EventsCodes.IN_DELETE_SELF pyinotify.EventsCodes-class.html#IN_DELETE_SELF
+pyinotify.EventsCodes.ALL_EVENTS pyinotify.EventsCodes-class.html#ALL_EVENTS
+pyinotify.EventsCodes.EVENT_FLAGS pyinotify.EventsCodes-class.html#EVENT_FLAGS
+pyinotify.EventsCodes.IN_OPEN pyinotify.EventsCodes-class.html#IN_OPEN
+pyinotify.ExcludeFilter pyinotify.ExcludeFilter-class.html
+pyinotify.ExcludeFilter._match pyinotify.ExcludeFilter-class.html#_match
+pyinotify.ExcludeFilter._load_patterns_from_file pyinotify.ExcludeFilter-class.html#_load_patterns_from_file
+pyinotify.ExcludeFilter.__call__ pyinotify.ExcludeFilter-class.html#__call__
+pyinotify.ExcludeFilter.__init__ pyinotify.ExcludeFilter-class.html#__init__
+pyinotify.Notifier pyinotify.Notifier-class.html
+pyinotify.Notifier.read_events pyinotify.Notifier-class.html#read_events
+pyinotify.Notifier.check_events pyinotify.Notifier-class.html#check_events
+pyinotify.Notifier.proc_fun pyinotify.Notifier-class.html#proc_fun
+pyinotify.Notifier._sleep pyinotify.Notifier-class.html#_sleep
+pyinotify.Notifier.__init__ pyinotify.Notifier-class.html#__init__
+pyinotify.Notifier.process_events pyinotify.Notifier-class.html#process_events
+pyinotify.Notifier.coalesce_events pyinotify.Notifier-class.html#coalesce_events
+pyinotify.Notifier.stop pyinotify.Notifier-class.html#stop
+pyinotify.Notifier.append_event pyinotify.Notifier-class.html#append_event
+pyinotify.Notifier.__daemonize pyinotify.Notifier-class.html#__daemonize
+pyinotify.Notifier.loop pyinotify.Notifier-class.html#loop
+pyinotify.NotifierError pyinotify.NotifierError-class.html
+pyinotify.NotifierError.__init__ pyinotify.NotifierError-class.html#__init__
+pyinotify.PrintAllEvents pyinotify.PrintAllEvents-class.html
+pyinotify.PrintAllEvents.my_init pyinotify.PrintAllEvents-class.html#my_init
+pyinotify.ProcessEvent.nested_pevent pyinotify.ProcessEvent-class.html#nested_pevent
+pyinotify.ProcessEvent.process_IN_Q_OVERFLOW pyinotify.ProcessEvent-class.html#process_IN_Q_OVERFLOW
+pyinotify.ProcessEvent.pevent pyinotify.ProcessEvent-class.html#pevent
+pyinotify._ProcessEvent.__repr__ pyinotify._ProcessEvent-class.html#__repr__
+pyinotify.PrintAllEvents.process_default pyinotify.PrintAllEvents-class.html#process_default
+pyinotify.ProcessEvent.__call__ pyinotify.ProcessEvent-class.html#__call__
+pyinotify.ProcessEvent.__init__ pyinotify.ProcessEvent-class.html#__init__
+pyinotify.ProcessEvent pyinotify.ProcessEvent-class.html
+pyinotify.ProcessEvent.my_init pyinotify.ProcessEvent-class.html#my_init
+pyinotify.ProcessEvent.nested_pevent pyinotify.ProcessEvent-class.html#nested_pevent
+pyinotify.ProcessEvent.process_IN_Q_OVERFLOW pyinotify.ProcessEvent-class.html#process_IN_Q_OVERFLOW
+pyinotify.ProcessEvent.pevent pyinotify.ProcessEvent-class.html#pevent
+pyinotify._ProcessEvent.__repr__ pyinotify._ProcessEvent-class.html#__repr__
+pyinotify.ProcessEvent.process_default pyinotify.ProcessEvent-class.html#process_default
+pyinotify.ProcessEvent.__call__ pyinotify.ProcessEvent-class.html#__call__
+pyinotify.ProcessEvent.__init__ pyinotify.ProcessEvent-class.html#__init__
+pyinotify.ProcessEventError pyinotify.ProcessEventError-class.html
+pyinotify.ProcessEventError.__init__ pyinotify.ProcessEventError-class.html#__init__
+pyinotify.PyinotifyError pyinotify.PyinotifyError-class.html
+pyinotify.PyinotifyLogger pyinotify.PyinotifyLogger-class.html
+pyinotify.PyinotifyLogger.makeRecord pyinotify.PyinotifyLogger-class.html#makeRecord
+pyinotify.RawOutputFormat pyinotify.RawOutputFormat-class.html
+pyinotify.RawOutputFormat.simple pyinotify.RawOutputFormat-class.html#simple
+pyinotify.RawOutputFormat.punctuation pyinotify.RawOutputFormat-class.html#punctuation
+pyinotify.RawOutputFormat.class_name pyinotify.RawOutputFormat-class.html#class_name
+pyinotify.RawOutputFormat.field_value pyinotify.RawOutputFormat-class.html#field_value
+pyinotify.RawOutputFormat.field_name pyinotify.RawOutputFormat-class.html#field_name
+pyinotify.RawOutputFormat.__init__ pyinotify.RawOutputFormat-class.html#__init__
+pyinotify.Stats pyinotify.Stats-class.html
+pyinotify.Stats.dump pyinotify.Stats-class.html#dump
+pyinotify.Stats.__str__ pyinotify.Stats-class.html#__str__
+pyinotify.Stats._stats_copy pyinotify.Stats-class.html#_stats_copy
+pyinotify.ProcessEvent.__init__ pyinotify.ProcessEvent-class.html#__init__
+pyinotify.Stats.my_init pyinotify.Stats-class.html#my_init
+pyinotify.ProcessEvent.process_IN_Q_OVERFLOW pyinotify.ProcessEvent-class.html#process_IN_Q_OVERFLOW
+pyinotify.ProcessEvent.pevent pyinotify.ProcessEvent-class.html#pevent
+pyinotify.ProcessEvent.__call__ pyinotify.ProcessEvent-class.html#__call__
+pyinotify.ProcessEvent.nested_pevent pyinotify.ProcessEvent-class.html#nested_pevent
+pyinotify.Stats.process_default pyinotify.Stats-class.html#process_default
+pyinotify.Stats.__repr__ pyinotify.Stats-class.html#__repr__
+pyinotify.SysCtlINotify pyinotify.SysCtlINotify-class.html
+pyinotify.SysCtlINotify.set_val pyinotify.SysCtlINotify-class.html#set_val
+pyinotify.SysCtlINotify.value pyinotify.SysCtlINotify-class.html#value
+pyinotify.SysCtlINotify.get_val pyinotify.SysCtlINotify-class.html#get_val
+pyinotify.SysCtlINotify.__repr__ pyinotify.SysCtlINotify-class.html#__repr__
+pyinotify.SysCtlINotify.inotify_attrs pyinotify.SysCtlINotify-class.html#inotify_attrs
+pyinotify.SysCtlINotify.__init__ pyinotify.SysCtlINotify-class.html#__init__
+pyinotify.ThreadedNotifier pyinotify.ThreadedNotifier-class.html
+pyinotify.Notifier.read_events pyinotify.Notifier-class.html#read_events
+pyinotify.Notifier.check_events pyinotify.Notifier-class.html#check_events
+pyinotify.Notifier.proc_fun pyinotify.Notifier-class.html#proc_fun
+pyinotify.Notifier._sleep pyinotify.Notifier-class.html#_sleep
+pyinotify.ThreadedNotifier.__init__ pyinotify.ThreadedNotifier-class.html#__init__
+pyinotify.Notifier.process_events pyinotify.Notifier-class.html#process_events
+pyinotify.Notifier.coalesce_events pyinotify.Notifier-class.html#coalesce_events
+pyinotify.ThreadedNotifier.run pyinotify.ThreadedNotifier-class.html#run
+pyinotify.ThreadedNotifier.stop pyinotify.ThreadedNotifier-class.html#stop
+pyinotify.Notifier.append_event pyinotify.Notifier-class.html#append_event
+pyinotify.ThreadedNotifier.loop pyinotify.ThreadedNotifier-class.html#loop
+pyinotify.UnicodeLogRecord pyinotify.UnicodeLogRecord-class.html
+pyinotify.UnicodeLogRecord.getMessage pyinotify.UnicodeLogRecord-class.html#getMessage
+pyinotify.UnicodeLogRecord.__init__ pyinotify.UnicodeLogRecord-class.html#__init__
+pyinotify.UnsupportedLibcVersionError pyinotify.UnsupportedLibcVersionError-class.html
+pyinotify.UnsupportedLibcVersionError.__init__ pyinotify.UnsupportedLibcVersionError-class.html#__init__
+pyinotify.UnsupportedPythonVersionError pyinotify.UnsupportedPythonVersionError-class.html
+pyinotify.UnsupportedPythonVersionError.__init__ pyinotify.UnsupportedPythonVersionError-class.html#__init__
+pyinotify.Watch pyinotify.Watch-class.html
+pyinotify.Watch.__repr__ pyinotify.Watch-class.html#__repr__
+pyinotify.Watch.__init__ pyinotify.Watch-class.html#__init__
+pyinotify.WatchManager pyinotify.WatchManager-class.html
+pyinotify.WatchManager.__walk_rec pyinotify.WatchManager-class.html#__walk_rec
+pyinotify.WatchManager.__get_sub_rec pyinotify.WatchManager-class.html#__get_sub_rec
+pyinotify.WatchManager.watches pyinotify.WatchManager-class.html#watches
+pyinotify.WatchManager.del_watch pyinotify.WatchManager-class.html#del_watch
+pyinotify.WatchManager.close pyinotify.WatchManager-class.html#close
+pyinotify.WatchManager.__init__ pyinotify.WatchManager-class.html#__init__
+pyinotify.WatchManager.rm_watch pyinotify.WatchManager-class.html#rm_watch
+pyinotify.WatchManager.get_wd pyinotify.WatchManager-class.html#get_wd
+pyinotify.WatchManager.update_watch pyinotify.WatchManager-class.html#update_watch
+pyinotify.WatchManager.__format_path pyinotify.WatchManager-class.html#__format_path
+pyinotify.WatchManager.__glob pyinotify.WatchManager-class.html#__glob
+pyinotify.WatchManager.add_watch pyinotify.WatchManager-class.html#add_watch
+pyinotify.WatchManager.__format_param pyinotify.WatchManager-class.html#__format_param
+pyinotify.WatchManager.get_path pyinotify.WatchManager-class.html#get_path
+pyinotify.WatchManager.watch_transient_file pyinotify.WatchManager-class.html#watch_transient_file
+pyinotify.WatchManager.__add_watch pyinotify.WatchManager-class.html#__add_watch
+pyinotify.WatchManager.get_watch pyinotify.WatchManager-class.html#get_watch
+pyinotify.WatchManager.get_fd pyinotify.WatchManager-class.html#get_fd
+pyinotify.WatchManagerError pyinotify.WatchManagerError-class.html
+pyinotify.WatchManagerError.__init__ pyinotify.WatchManagerError-class.html#__init__
+pyinotify._Event pyinotify._Event-class.html
+pyinotify._Event.__str__ pyinotify._Event-class.html#__str__
+pyinotify._Event.__repr__ pyinotify._Event-class.html#__repr__
+pyinotify._Event.__init__ pyinotify._Event-class.html#__init__
+pyinotify._ProcessEvent pyinotify._ProcessEvent-class.html
+pyinotify._ProcessEvent.__repr__ pyinotify._ProcessEvent-class.html#__repr__
+pyinotify._ProcessEvent.__call__ pyinotify._ProcessEvent-class.html#__call__
+pyinotify._RawEvent pyinotify._RawEvent-class.html
+pyinotify._RawEvent.__str__ pyinotify._RawEvent-class.html#__str__
+pyinotify._Event.__repr__ pyinotify._Event-class.html#__repr__
+pyinotify._RawEvent.__init__ pyinotify._RawEvent-class.html#__init__
+pyinotify._SysProcessEvent pyinotify._SysProcessEvent-class.html
+pyinotify._SysProcessEvent.process_IN_IGNORED pyinotify._SysProcessEvent-class.html#process_IN_IGNORED
+pyinotify._SysProcessEvent.process_IN_MOVE_SELF pyinotify._SysProcessEvent-class.html#process_IN_MOVE_SELF
+pyinotify._SysProcessEvent.process_IN_MOVED_TO pyinotify._SysProcessEvent-class.html#process_IN_MOVED_TO
+pyinotify._SysProcessEvent.__init__ pyinotify._SysProcessEvent-class.html#__init__
+pyinotify._SysProcessEvent.process_IN_Q_OVERFLOW pyinotify._SysProcessEvent-class.html#process_IN_Q_OVERFLOW
+pyinotify._SysProcessEvent.process_IN_MOVED_FROM pyinotify._SysProcessEvent-class.html#process_IN_MOVED_FROM
+pyinotify._SysProcessEvent.cleanup pyinotify._SysProcessEvent-class.html#cleanup
+pyinotify._ProcessEvent.__call__ pyinotify._ProcessEvent-class.html#__call__
+pyinotify._SysProcessEvent.process_default pyinotify._SysProcessEvent-class.html#process_default
+pyinotify._SysProcessEvent.process_IN_CREATE pyinotify._SysProcessEvent-class.html#process_IN_CREATE
+pyinotify._ProcessEvent.__repr__ pyinotify._ProcessEvent-class.html#__repr__
diff --git a/python2/docstrings/class-tree.html b/python2/docstrings/class-tree.html
new file mode 100644
index 0000000..3d8715a
--- /dev/null
+++ b/python2/docstrings/class-tree.html
@@ -0,0 +1,260 @@
+<?xml version="1.0" encoding="ascii"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+ <title>Class Hierarchy</title>
+ <link rel="stylesheet" href="epydoc.css" type="text/css" />
+ <script type="text/javascript" src="epydoc.js"></script>
+</head>
+
+<body bgcolor="white" text="black" link="blue" vlink="#204080"
+ alink="#204080">
+<!-- ==================== NAVIGATION BAR ==================== -->
+<table class="navbar" border="0" width="100%" cellpadding="0"
+ bgcolor="#a0c0ff" cellspacing="0">
+ <tr valign="middle">
+ <!-- Home link -->
+ <th>&nbsp;&nbsp;&nbsp;<a
+ href="pyinotify-module.html">Home</a>&nbsp;&nbsp;&nbsp;</th>
+
+ <!-- Tree link -->
+ <th bgcolor="#70b0f0" class="navbar-select"
+ >&nbsp;&nbsp;&nbsp;Trees&nbsp;&nbsp;&nbsp;</th>
+
+ <!-- Index link -->
+ <th>&nbsp;&nbsp;&nbsp;<a
+ href="identifier-index.html">Indices</a>&nbsp;&nbsp;&nbsp;</th>
+
+ <!-- Help link -->
+ <th>&nbsp;&nbsp;&nbsp;<a
+ href="help.html">Help</a>&nbsp;&nbsp;&nbsp;</th>
+
+ <th class="navbar" width="100%"></th>
+ </tr>
+</table>
+<table width="100%" cellpadding="0" cellspacing="0">
+ <tr valign="top">
+ <td width="100%">&nbsp;</td>
+ <td>
+ <table cellpadding="0" cellspacing="0">
+ <!-- hide/show private -->
+ <tr><td align="right"><span class="options">[<a href="javascript:void(0);" class="privatelink"
+ onclick="toggle_private();">hide&nbsp;private</a>]</span></td></tr>
+ <tr><td align="right"><span class="options"
+ >[<a href="frames.html" target="_top">frames</a
+ >]&nbsp;|&nbsp;<a href="class-tree.html"
+ target="_top">no&nbsp;frames</a>]</span></td></tr>
+ </table>
+ </td>
+ </tr>
+</table>
+<center><b>
+ [ <a href="module-tree.html">Module Hierarchy</a>
+ | <a href="class-tree.html">Class Hierarchy</a> ]
+</b></center><br />
+<h1 class="epydoc">Class Hierarchy</h1>
+<ul class="nomargin-top">
+ <li> <strong class="uidlink">logging.Filterer</strong>:
+ <em class="summary">A base class for loggers and handlers which allows them to share
+ common code.</em>
+ <ul>
+ <li> <strong class="uidlink">logging.Logger</strong>:
+ <em class="summary">Instances of the Logger class represent a single logging channel.</em>
+ <ul>
+ <li> <strong class="uidlink"><a href="pyinotify.PyinotifyLogger-class.html">pyinotify.PyinotifyLogger</a></strong>:
+ <em class="summary">Pyinotify logger used for logging unicode strings.</em>
+ </li>
+ </ul>
+ </li>
+ </ul>
+ </li>
+ <li> <strong class="uidlink">logging.LogRecord</strong>:
+ <em class="summary">A LogRecord instance represents an event being logged.</em>
+ <ul>
+ <li> <strong class="uidlink"><a href="pyinotify.UnicodeLogRecord-class.html">pyinotify.UnicodeLogRecord</a></strong>
+ </li>
+ </ul>
+ </li>
+ <li> <strong class="uidlink">asyncore.dispatcher</strong>
+ <ul>
+ <li> <strong class="uidlink">asyncore.file_dispatcher</strong>
+ <ul>
+ <li> <strong class="uidlink"><a href="pyinotify.AsyncNotifier-class.html">pyinotify.AsyncNotifier</a></strong>:
+ <em class="summary">This notifier inherits from asyncore.file_dispatcher in order to be
+ able to use pyinotify along with the asyncore framework.</em>
+ </li>
+ </ul>
+ </li>
+ </ul>
+ </li>
+ <li> <strong class="uidlink">object</strong>:
+ <em class="summary">The most base type</em>
+ <ul>
+ <li> <strong class="uidlink">exceptions.BaseException</strong>:
+ <em class="summary">Common base class for all exceptions</em>
+ <ul>
+ <li> <strong class="uidlink">exceptions.Exception</strong>:
+ <em class="summary">Common base class for all non-exit exceptions.</em>
+ <ul>
+ <li> <strong class="uidlink"><a href="pyinotify.PyinotifyError-class.html">pyinotify.PyinotifyError</a></strong>:
+ <em class="summary">Indicates exceptions raised by a Pyinotify class.</em>
+ <ul>
+ <li> <strong class="uidlink"><a href="pyinotify.NotifierError-class.html">pyinotify.NotifierError</a></strong>:
+ <em class="summary">Notifier Exception.</em>
+ </li>
+ <li> <strong class="uidlink"><a href="pyinotify.ProcessEventError-class.html">pyinotify.ProcessEventError</a></strong>:
+ <em class="summary">ProcessEventError Exception.</em>
+ </li>
+ <li> <strong class="uidlink"><a href="pyinotify.UnsupportedLibcVersionError-class.html">pyinotify.UnsupportedLibcVersionError</a></strong>:
+ <em class="summary">Raised when libc couldn't be loaded or when inotify functions
+ werent provided.</em>
+ </li>
+ <li> <strong class="uidlink"><a href="pyinotify.UnsupportedPythonVersionError-class.html">pyinotify.UnsupportedPythonVersionError</a></strong>:
+ <em class="summary">Raised on unsupported Python versions.</em>
+ </li>
+ </ul>
+ </li>
+ <li> <strong class="uidlink"><a href="pyinotify.WatchManagerError-class.html">pyinotify.WatchManagerError</a></strong>:
+ <em class="summary">WatchManager Exception.</em>
+ </li>
+ </ul>
+ </li>
+ </ul>
+ </li>
+ <li> <strong class="uidlink"><a href="pyinotify.EventsCodes-class.html">pyinotify.EventsCodes</a></strong>:
+ <em class="summary">Set of codes corresponding to each kind of events.</em>
+ </li>
+ <li> <strong class="uidlink"><a href="pyinotify.ExcludeFilter-class.html">pyinotify.ExcludeFilter</a></strong>:
+ <em class="summary">ExcludeFilter is an exclusion filter.</em>
+ </li>
+ <li> <strong class="uidlink"><a href="pyinotify.Notifier-class.html">pyinotify.Notifier</a></strong>:
+ <em class="summary">Read notifications, process events.</em>
+ <ul>
+ <li> <strong class="uidlink"><a href="pyinotify.AsyncNotifier-class.html">pyinotify.AsyncNotifier</a></strong>:
+ <em class="summary">This notifier inherits from asyncore.file_dispatcher in order to be
+ able to use pyinotify along with the asyncore framework.</em>
+ </li>
+ <li> <strong class="uidlink"><a href="pyinotify.ThreadedNotifier-class.html">pyinotify.ThreadedNotifier</a></strong>:
+ <em class="summary">This notifier inherits from threading.Thread for instanciating a
+ separate thread, and also inherits from Notifier, because it is a
+ threaded notifier.</em>
+ </li>
+ </ul>
+ </li>
+ <li> <strong class="uidlink"><a href="pyinotify.RawOutputFormat-class.html">pyinotify.RawOutputFormat</a></strong>:
+ <em class="summary">Format string representations.</em>
+ <ul>
+ <li> <strong class="uidlink"><a href="pyinotify.ColoredOutputFormat-class.html">pyinotify.ColoredOutputFormat</a></strong>:
+ <em class="summary">Format colored string representations.</em>
+ </li>
+ </ul>
+ </li>
+ <li> <strong class="uidlink"><a href="pyinotify.SysCtlINotify-class.html">pyinotify.SysCtlINotify</a></strong>:
+ <em class="summary">Access (read, write) inotify's variables through sysctl.</em>
+ </li>
+ <li> <strong class="uidlink"><a href="pyinotify.Watch-class.html">pyinotify.Watch</a></strong>:
+ <em class="summary">Represent a watch, i.e.</em>
+ </li>
+ <li> <strong class="uidlink"><a href="pyinotify.WatchManager-class.html">pyinotify.WatchManager</a></strong>:
+ <em class="summary">Provide operations for watching files and directories.</em>
+ </li>
+ <li> <strong class="uidlink"><a href="pyinotify._Event-class.html" onclick="show_private();">pyinotify._Event</a></strong>:
+ <em class="summary">Event structure, represent events raised by the system.</em>
+ <ul>
+ <li> <strong class="uidlink"><a href="pyinotify.Event-class.html">pyinotify.Event</a></strong>:
+ <em class="summary">This class contains all the useful informations about the observed
+ event.</em>
+ </li>
+ <li> <strong class="uidlink"><a href="pyinotify._RawEvent-class.html" onclick="show_private();">pyinotify._RawEvent</a></strong>:
+ <em class="summary">Raw event, it contains only the informations provided by the
+ system.</em>
+ </li>
+ </ul>
+ </li>
+ <li> <strong class="uidlink"><a href="pyinotify._ProcessEvent-class.html" onclick="show_private();">pyinotify._ProcessEvent</a></strong>:
+ <em class="summary">Abstract processing event class.</em>
+ <ul>
+ <li> <strong class="uidlink"><a href="pyinotify.ProcessEvent-class.html">pyinotify.ProcessEvent</a></strong>:
+ <em class="summary">Process events objects, can be specialized via subclassing, thus
+ its behavior can be overriden:</em>
+ <ul>
+ <li> <strong class="uidlink"><a href="pyinotify.ChainIfTrue-class.html">pyinotify.ChainIfTrue</a></strong>:
+ <em class="summary">Makes conditional chaining depending on the result of the nested
+ processing instance.</em>
+ </li>
+ <li> <strong class="uidlink"><a href="pyinotify.PrintAllEvents-class.html">pyinotify.PrintAllEvents</a></strong>:
+ <em class="summary">Dummy class used to print events strings representations.</em>
+ </li>
+ <li> <strong class="uidlink"><a href="pyinotify.Stats-class.html">pyinotify.Stats</a></strong>:
+ <em class="summary">Compute and display trivial statistics about processed events.</em>
+ </li>
+ </ul>
+ </li>
+ <li> <strong class="uidlink"><a href="pyinotify._SysProcessEvent-class.html" onclick="show_private();">pyinotify._SysProcessEvent</a></strong>:
+ <em class="summary">There is three kind of processing according to each event:</em>
+ </li>
+ </ul>
+ </li>
+ <li> <strong class="uidlink">threading._Verbose</strong>
+ <ul>
+ <li> <strong class="uidlink">threading.Thread</strong>
+ <ul>
+ <li> <strong class="uidlink"><a href="pyinotify.ThreadedNotifier-class.html">pyinotify.ThreadedNotifier</a></strong>:
+ <em class="summary">This notifier inherits from threading.Thread for instanciating a
+ separate thread, and also inherits from Notifier, because it is a
+ threaded notifier.</em>
+ </li>
+ </ul>
+ </li>
+ </ul>
+ </li>
+ </ul>
+ </li>
+</ul>
+<!-- ==================== NAVIGATION BAR ==================== -->
+<table class="navbar" border="0" width="100%" cellpadding="0"
+ bgcolor="#a0c0ff" cellspacing="0">
+ <tr valign="middle">
+ <!-- Home link -->
+ <th>&nbsp;&nbsp;&nbsp;<a
+ href="pyinotify-module.html">Home</a>&nbsp;&nbsp;&nbsp;</th>
+
+ <!-- Tree link -->
+ <th bgcolor="#70b0f0" class="navbar-select"
+ >&nbsp;&nbsp;&nbsp;Trees&nbsp;&nbsp;&nbsp;</th>
+
+ <!-- Index link -->
+ <th>&nbsp;&nbsp;&nbsp;<a
+ href="identifier-index.html">Indices</a>&nbsp;&nbsp;&nbsp;</th>
+
+ <!-- Help link -->
+ <th>&nbsp;&nbsp;&nbsp;<a
+ href="help.html">Help</a>&nbsp;&nbsp;&nbsp;</th>
+
+ <th class="navbar" width="100%"></th>
+ </tr>
+</table>
+<table border="0" cellpadding="0" cellspacing="0" width="100%%">
+ <tr>
+ <td align="left" class="footer">
+ Generated by Epydoc 3.0.1 on Wed Sep 15 21:46:49 2010
+ </td>
+ <td align="right" class="footer">
+ <a target="mainFrame" href="http://epydoc.sourceforge.net"
+ >http://epydoc.sourceforge.net</a>
+ </td>
+ </tr>
+</table>
+
+<script type="text/javascript">
+ <!--
+ // Private objects are initially displayed (because if
+ // javascript is turned off then we want them to be
+ // visible); but by default, we want to hide them. So hide
+ // them unless we have a cookie that says to show them.
+ checkCookie();
+ // -->
+</script>
+</body>
+</html>
diff --git a/python2/docstrings/crarr.png b/python2/docstrings/crarr.png
new file mode 100644
index 0000000..26b43c5
--- /dev/null
+++ b/python2/docstrings/crarr.png
Binary files differ
diff --git a/python2/docstrings/epydoc.css b/python2/docstrings/epydoc.css
new file mode 100644
index 0000000..86d4170
--- /dev/null
+++ b/python2/docstrings/epydoc.css
@@ -0,0 +1,322 @@
+
+
+/* Epydoc CSS Stylesheet
+ *
+ * This stylesheet can be used to customize the appearance of epydoc's
+ * HTML output.
+ *
+ */
+
+/* Default Colors & Styles
+ * - Set the default foreground & background color with 'body'; and
+ * link colors with 'a:link' and 'a:visited'.
+ * - Use bold for decision list terms.
+ * - The heading styles defined here are used for headings *within*
+ * docstring descriptions. All headings used by epydoc itself use
+ * either class='epydoc' or class='toc' (CSS styles for both
+ * defined below).
+ */
+body { background: #ffffff; color: #000000; }
+p { margin-top: 0.5em; margin-bottom: 0.5em; }
+a:link { color: #0000ff; }
+a:visited { color: #204080; }
+dt { font-weight: bold; }
+h1 { font-size: +140%; font-style: italic;
+ font-weight: bold; }
+h2 { font-size: +125%; font-style: italic;
+ font-weight: bold; }
+h3 { font-size: +110%; font-style: italic;
+ font-weight: normal; }
+code { font-size: 100%; }
+/* N.B.: class, not pseudoclass */
+a.link { font-family: monospace; }
+
+/* Page Header & Footer
+ * - The standard page header consists of a navigation bar (with
+ * pointers to standard pages such as 'home' and 'trees'); a
+ * breadcrumbs list, which can be used to navigate to containing
+ * classes or modules; options links, to show/hide private
+ * variables and to show/hide frames; and a page title (using
+ * <h1>). The page title may be followed by a link to the
+ * corresponding source code (using 'span.codelink').
+ * - The footer consists of a navigation bar, a timestamp, and a
+ * pointer to epydoc's homepage.
+ */
+h1.epydoc { margin: 0; font-size: +140%; font-weight: bold; }
+h2.epydoc { font-size: +130%; font-weight: bold; }
+h3.epydoc { font-size: +115%; font-weight: bold;
+ margin-top: 0.2em; }
+td h3.epydoc { font-size: +115%; font-weight: bold;
+ margin-bottom: 0; }
+table.navbar { background: #a0c0ff; color: #000000;
+ border: 2px groove #c0d0d0; }
+table.navbar table { color: #000000; }
+th.navbar-select { background: #70b0ff;
+ color: #000000; }
+table.navbar a { text-decoration: none; }
+table.navbar a:link { color: #0000ff; }
+table.navbar a:visited { color: #204080; }
+span.breadcrumbs { font-size: 85%; font-weight: bold; }
+span.options { font-size: 70%; }
+span.codelink { font-size: 85%; }
+td.footer { font-size: 85%; }
+
+/* Table Headers
+ * - Each summary table and details section begins with a 'header'
+ * row. This row contains a section title (marked by
+ * 'span.table-header') as well as a show/hide private link
+ * (marked by 'span.options', defined above).
+ * - Summary tables that contain user-defined groups mark those
+ * groups using 'group header' rows.
+ */
+td.table-header { background: #70b0ff; color: #000000;
+ border: 1px solid #608090; }
+td.table-header table { color: #000000; }
+td.table-header table a:link { color: #0000ff; }
+td.table-header table a:visited { color: #204080; }
+span.table-header { font-size: 120%; font-weight: bold; }
+th.group-header { background: #c0e0f8; color: #000000;
+ text-align: left; font-style: italic;
+ font-size: 115%;
+ border: 1px solid #608090; }
+
+/* Summary Tables (functions, variables, etc)
+ * - Each object is described by a single row of the table with
+ * two cells. The left cell gives the object's type, and is
+ * marked with 'code.summary-type'. The right cell gives the
+ * object's name and a summary description.
+ * - CSS styles for the table's header and group headers are
+ * defined above, under 'Table Headers'
+ */
+table.summary { border-collapse: collapse;
+ background: #e8f0f8; color: #000000;
+ border: 1px solid #608090;
+ margin-bottom: 0.5em; }
+td.summary { border: 1px solid #608090; }
+code.summary-type { font-size: 85%; }
+table.summary a:link { color: #0000ff; }
+table.summary a:visited { color: #204080; }
+
+
+/* Details Tables (functions, variables, etc)
+ * - Each object is described in its own div.
+ * - A single-row summary table w/ table-header is used as
+ * a header for each details section (CSS style for table-header
+ * is defined above, under 'Table Headers').
+ */
+table.details { border-collapse: collapse;
+ background: #e8f0f8; color: #000000;
+ border: 1px solid #608090;
+ margin: .2em 0 0 0; }
+table.details table { color: #000000; }
+table.details a:link { color: #0000ff; }
+table.details a:visited { color: #204080; }
+
+/* Fields */
+dl.fields { margin-left: 2em; margin-top: 1em;
+ margin-bottom: 1em; }
+dl.fields dd ul { margin-left: 0em; padding-left: 0em; }
+dl.fields dd ul li ul { margin-left: 2em; padding-left: 0em; }
+div.fields { margin-left: 2em; }
+div.fields p { margin-bottom: 0.5em; }
+
+/* Index tables (identifier index, term index, etc)
+ * - link-index is used for indices containing lists of links
+ * (namely, the identifier index & term index).
+ * - index-where is used in link indices for the text indicating
+ * the container/source for each link.
+ * - metadata-index is used for indices containing metadata
+ * extracted from fields (namely, the bug index & todo index).
+ */
+table.link-index { border-collapse: collapse;
+ background: #e8f0f8; color: #000000;
+ border: 1px solid #608090; }
+td.link-index { border-width: 0px; }
+table.link-index a:link { color: #0000ff; }
+table.link-index a:visited { color: #204080; }
+span.index-where { font-size: 70%; }
+table.metadata-index { border-collapse: collapse;
+ background: #e8f0f8; color: #000000;
+ border: 1px solid #608090;
+ margin: .2em 0 0 0; }
+td.metadata-index { border-width: 1px; border-style: solid; }
+table.metadata-index a:link { color: #0000ff; }
+table.metadata-index a:visited { color: #204080; }
+
+/* Function signatures
+ * - sig* is used for the signature in the details section.
+ * - .summary-sig* is used for the signature in the summary
+ * table, and when listing property accessor functions.
+ * */
+.sig-name { color: #006080; }
+.sig-arg { color: #008060; }
+.sig-default { color: #602000; }
+.summary-sig { font-family: monospace; }
+.summary-sig-name { color: #006080; font-weight: bold; }
+table.summary a.summary-sig-name:link
+ { color: #006080; font-weight: bold; }
+table.summary a.summary-sig-name:visited
+ { color: #006080; font-weight: bold; }
+.summary-sig-arg { color: #006040; }
+.summary-sig-default { color: #501800; }
+
+/* Subclass list
+ */
+ul.subclass-list { display: inline; }
+ul.subclass-list li { display: inline; }
+
+/* To render variables, classes etc. like functions */
+table.summary .summary-name { color: #006080; font-weight: bold;
+ font-family: monospace; }
+table.summary
+ a.summary-name:link { color: #006080; font-weight: bold;
+ font-family: monospace; }
+table.summary
+ a.summary-name:visited { color: #006080; font-weight: bold;
+ font-family: monospace; }
+
+/* Variable values
+ * - In the 'variable details' sections, each varaible's value is
+ * listed in a 'pre.variable' box. The width of this box is
+ * restricted to 80 chars; if the value's repr is longer than
+ * this it will be wrapped, using a backslash marked with
+ * class 'variable-linewrap'. If the value's repr is longer
+ * than 3 lines, the rest will be ellided; and an ellipsis
+ * marker ('...' marked with 'variable-ellipsis') will be used.
+ * - If the value is a string, its quote marks will be marked
+ * with 'variable-quote'.
+ * - If the variable is a regexp, it is syntax-highlighted using
+ * the re* CSS classes.
+ */
+pre.variable { padding: .5em; margin: 0;
+ background: #dce4ec; color: #000000;
+ border: 1px solid #708890; }
+.variable-linewrap { color: #604000; font-weight: bold; }
+.variable-ellipsis { color: #604000; font-weight: bold; }
+.variable-quote { color: #604000; font-weight: bold; }
+.variable-group { color: #008000; font-weight: bold; }
+.variable-op { color: #604000; font-weight: bold; }
+.variable-string { color: #006030; }
+.variable-unknown { color: #a00000; font-weight: bold; }
+.re { color: #000000; }
+.re-char { color: #006030; }
+.re-op { color: #600000; }
+.re-group { color: #003060; }
+.re-ref { color: #404040; }
+
+/* Base tree
+ * - Used by class pages to display the base class hierarchy.
+ */
+pre.base-tree { font-size: 80%; margin: 0; }
+
+/* Frames-based table of contents headers
+ * - Consists of two frames: one for selecting modules; and
+ * the other listing the contents of the selected module.
+ * - h1.toc is used for each frame's heading
+ * - h2.toc is used for subheadings within each frame.
+ */
+h1.toc { text-align: center; font-size: 105%;
+ margin: 0; font-weight: bold;
+ padding: 0; }
+h2.toc { font-size: 100%; font-weight: bold;
+ margin: 0.5em 0 0 -0.3em; }
+
+/* Syntax Highlighting for Source Code
+ * - doctest examples are displayed in a 'pre.py-doctest' block.
+ * If the example is in a details table entry, then it will use
+ * the colors specified by the 'table pre.py-doctest' line.
+ * - Source code listings are displayed in a 'pre.py-src' block.
+ * Each line is marked with 'span.py-line' (used to draw a line
+ * down the left margin, separating the code from the line
+ * numbers). Line numbers are displayed with 'span.py-lineno'.
+ * The expand/collapse block toggle button is displayed with
+ * 'a.py-toggle' (Note: the CSS style for 'a.py-toggle' should not
+ * modify the font size of the text.)
+ * - If a source code page is opened with an anchor, then the
+ * corresponding code block will be highlighted. The code
+ * block's header is highlighted with 'py-highlight-hdr'; and
+ * the code block's body is highlighted with 'py-highlight'.
+ * - The remaining py-* classes are used to perform syntax
+ * highlighting (py-string for string literals, py-name for names,
+ * etc.)
+ */
+pre.py-doctest { padding: .5em; margin: 1em;
+ background: #e8f0f8; color: #000000;
+ border: 1px solid #708890; }
+table pre.py-doctest { background: #dce4ec;
+ color: #000000; }
+pre.py-src { border: 2px solid #000000;
+ background: #f0f0f0; color: #000000; }
+.py-line { border-left: 2px solid #000000;
+ margin-left: .2em; padding-left: .4em; }
+.py-lineno { font-style: italic; font-size: 90%;
+ padding-left: .5em; }
+a.py-toggle { text-decoration: none; }
+div.py-highlight-hdr { border-top: 2px solid #000000;
+ border-bottom: 2px solid #000000;
+ background: #d8e8e8; }
+div.py-highlight { border-bottom: 2px solid #000000;
+ background: #d0e0e0; }
+.py-prompt { color: #005050; font-weight: bold;}
+.py-more { color: #005050; font-weight: bold;}
+.py-string { color: #006030; }
+.py-comment { color: #003060; }
+.py-keyword { color: #600000; }
+.py-output { color: #404040; }
+.py-name { color: #000050; }
+.py-name:link { color: #000050 !important; }
+.py-name:visited { color: #000050 !important; }
+.py-number { color: #005000; }
+.py-defname { color: #000060; font-weight: bold; }
+.py-def-name { color: #000060; font-weight: bold; }
+.py-base-class { color: #000060; }
+.py-param { color: #000060; }
+.py-docstring { color: #006030; }
+.py-decorator { color: #804020; }
+/* Use this if you don't want links to names underlined: */
+/*a.py-name { text-decoration: none; }*/
+
+/* Graphs & Diagrams
+ * - These CSS styles are used for graphs & diagrams generated using
+ * Graphviz dot. 'img.graph-without-title' is used for bare
+ * diagrams (to remove the border created by making the image
+ * clickable).
+ */
+img.graph-without-title { border: none; }
+img.graph-with-title { border: 1px solid #000000; }
+span.graph-title { font-weight: bold; }
+span.graph-caption { }
+
+/* General-purpose classes
+ * - 'p.indent-wrapped-lines' defines a paragraph whose first line
+ * is not indented, but whose subsequent lines are.
+ * - The 'nomargin-top' class is used to remove the top margin (e.g.
+ * from lists). The 'nomargin' class is used to remove both the
+ * top and bottom margin (but not the left or right margin --
+ * for lists, that would cause the bullets to disappear.)
+ */
+p.indent-wrapped-lines { padding: 0 0 0 7em; text-indent: -7em;
+ margin: 0; }
+.nomargin-top { margin-top: 0; }
+.nomargin { margin-top: 0; margin-bottom: 0; }
+
+/* HTML Log */
+div.log-block { padding: 0; margin: .5em 0 .5em 0;
+ background: #e8f0f8; color: #000000;
+ border: 1px solid #000000; }
+div.log-error { padding: .1em .3em .1em .3em; margin: 4px;
+ background: #ffb0b0; color: #000000;
+ border: 1px solid #000000; }
+div.log-warning { padding: .1em .3em .1em .3em; margin: 4px;
+ background: #ffffb0; color: #000000;
+ border: 1px solid #000000; }
+div.log-info { padding: .1em .3em .1em .3em; margin: 4px;
+ background: #b0ffb0; color: #000000;
+ border: 1px solid #000000; }
+h2.log-hdr { background: #70b0ff; color: #000000;
+ margin: 0; padding: 0em 0.5em 0em 0.5em;
+ border-bottom: 1px solid #000000; font-size: 110%; }
+p.log { font-weight: bold; margin: .5em 0 .5em 0; }
+tr.opt-changed { color: #000000; font-weight: bold; }
+tr.opt-default { color: #606060; }
+pre.log { margin: 0; padding: 0; padding-left: 1em; }
diff --git a/python2/docstrings/epydoc.js b/python2/docstrings/epydoc.js
new file mode 100644
index 0000000..e787dbc
--- /dev/null
+++ b/python2/docstrings/epydoc.js
@@ -0,0 +1,293 @@
+function toggle_private() {
+ // Search for any private/public links on this page. Store
+ // their old text in "cmd," so we will know what action to
+ // take; and change their text to the opposite action.
+ var cmd = "?";
+ var elts = document.getElementsByTagName("a");
+ for(var i=0; i<elts.length; i++) {
+ if (elts[i].className == "privatelink") {
+ cmd = elts[i].innerHTML;
+ elts[i].innerHTML = ((cmd && cmd.substr(0,4)=="show")?
+ "hide&nbsp;private":"show&nbsp;private");
+ }
+ }
+ // Update all DIVs containing private objects.
+ var elts = document.getElementsByTagName("div");
+ for(var i=0; i<elts.length; i++) {
+ if (elts[i].className == "private") {
+ elts[i].style.display = ((cmd && cmd.substr(0,4)=="hide")?"none":"block");
+ }
+ else if (elts[i].className == "public") {
+ elts[i].style.display = ((cmd && cmd.substr(0,4)=="hide")?"block":"none");
+ }
+ }
+ // Update all table rows containing private objects. Note, we
+ // use "" instead of "block" becaue IE & firefox disagree on what
+ // this should be (block vs table-row), and "" just gives the
+ // default for both browsers.
+ var elts = document.getElementsByTagName("tr");
+ for(var i=0; i<elts.length; i++) {
+ if (elts[i].className == "private") {
+ elts[i].style.display = ((cmd && cmd.substr(0,4)=="hide")?"none":"");
+ }
+ }
+ // Update all list items containing private objects.
+ var elts = document.getElementsByTagName("li");
+ for(var i=0; i<elts.length; i++) {
+ if (elts[i].className == "private") {
+ elts[i].style.display = ((cmd && cmd.substr(0,4)=="hide")?
+ "none":"");
+ }
+ }
+ // Update all list items containing private objects.
+ var elts = document.getElementsByTagName("ul");
+ for(var i=0; i<elts.length; i++) {
+ if (elts[i].className == "private") {
+ elts[i].style.display = ((cmd && cmd.substr(0,4)=="hide")?"none":"block");
+ }
+ }
+ // Set a cookie to remember the current option.
+ document.cookie = "EpydocPrivate="+cmd;
+ }
+function show_private() {
+ var elts = document.getElementsByTagName("a");
+ for(var i=0; i<elts.length; i++) {
+ if (elts[i].className == "privatelink") {
+ cmd = elts[i].innerHTML;
+ if (cmd && cmd.substr(0,4)=="show")
+ toggle_private();
+ }
+ }
+ }
+function getCookie(name) {
+ var dc = document.cookie;
+ var prefix = name + "=";
+ var begin = dc.indexOf("; " + prefix);
+ if (begin == -1) {
+ begin = dc.indexOf(prefix);
+ if (begin != 0) return null;
+ } else
+ { begin += 2; }
+ var end = document.cookie.indexOf(";", begin);
+ if (end == -1)
+ { end = dc.length; }
+ return unescape(dc.substring(begin + prefix.length, end));
+ }
+function setFrame(url1, url2) {
+ parent.frames[1].location.href = url1;
+ parent.frames[2].location.href = url2;
+ }
+function checkCookie() {
+ var cmd=getCookie("EpydocPrivate");
+ if (cmd && cmd.substr(0,4)!="show" && location.href.indexOf("#_") < 0)
+ toggle_private();
+ }
+function toggleCallGraph(id) {
+ var elt = document.getElementById(id);
+ if (elt.style.display == "none")
+ elt.style.display = "block";
+ else
+ elt.style.display = "none";
+ }
+function expand(id) {
+ var elt = document.getElementById(id+"-expanded");
+ if (elt) elt.style.display = "block";
+ var elt = document.getElementById(id+"-expanded-linenums");
+ if (elt) elt.style.display = "block";
+ var elt = document.getElementById(id+"-collapsed");
+ if (elt) { elt.innerHTML = ""; elt.style.display = "none"; }
+ var elt = document.getElementById(id+"-collapsed-linenums");
+ if (elt) { elt.innerHTML = ""; elt.style.display = "none"; }
+ var elt = document.getElementById(id+"-toggle");
+ if (elt) { elt.innerHTML = "-"; }
+}
+
+function collapse(id) {
+ var elt = document.getElementById(id+"-expanded");
+ if (elt) elt.style.display = "none";
+ var elt = document.getElementById(id+"-expanded-linenums");
+ if (elt) elt.style.display = "none";
+ var elt = document.getElementById(id+"-collapsed-linenums");
+ if (elt) { elt.innerHTML = "<br />"; elt.style.display="block"; }
+ var elt = document.getElementById(id+"-toggle");
+ if (elt) { elt.innerHTML = "+"; }
+ var elt = document.getElementById(id+"-collapsed");
+ if (elt) {
+ elt.style.display = "block";
+
+ var indent = elt.getAttribute("indent");
+ var pad = elt.getAttribute("pad");
+ var s = "<tt class='py-lineno'>";
+ for (var i=0; i<pad.length; i++) { s += "&nbsp;" }
+ s += "</tt>";
+ s += "&nbsp;&nbsp;<tt class='py-line'>";
+ for (var i=0; i<indent.length; i++) { s += "&nbsp;" }
+ s += "<a href='#' onclick='expand(\"" + id;
+ s += "\");return false'>...</a></tt><br />";
+ elt.innerHTML = s;
+ }
+}
+
+function toggle(id) {
+ elt = document.getElementById(id+"-toggle");
+ if (elt.innerHTML == "-")
+ collapse(id);
+ else
+ expand(id);
+ return false;
+}
+
+function highlight(id) {
+ var elt = document.getElementById(id+"-def");
+ if (elt) elt.className = "py-highlight-hdr";
+ var elt = document.getElementById(id+"-expanded");
+ if (elt) elt.className = "py-highlight";
+ var elt = document.getElementById(id+"-collapsed");
+ if (elt) elt.className = "py-highlight";
+}
+
+function num_lines(s) {
+ var n = 1;
+ var pos = s.indexOf("\n");
+ while ( pos > 0) {
+ n += 1;
+ pos = s.indexOf("\n", pos+1);
+ }
+ return n;
+}
+
+// Collapse all blocks that mave more than `min_lines` lines.
+function collapse_all(min_lines) {
+ var elts = document.getElementsByTagName("div");
+ for (var i=0; i<elts.length; i++) {
+ var elt = elts[i];
+ var split = elt.id.indexOf("-");
+ if (split > 0)
+ if (elt.id.substring(split, elt.id.length) == "-expanded")
+ if (num_lines(elt.innerHTML) > min_lines)
+ collapse(elt.id.substring(0, split));
+ }
+}
+
+function expandto(href) {
+ var start = href.indexOf("#")+1;
+ if (start != 0 && start != href.length) {
+ if (href.substring(start, href.length) != "-") {
+ collapse_all(4);
+ pos = href.indexOf(".", start);
+ while (pos != -1) {
+ var id = href.substring(start, pos);
+ expand(id);
+ pos = href.indexOf(".", pos+1);
+ }
+ var id = href.substring(start, href.length);
+ expand(id);
+ highlight(id);
+ }
+ }
+}
+
+function kill_doclink(id) {
+ var parent = document.getElementById(id);
+ parent.removeChild(parent.childNodes.item(0));
+}
+function auto_kill_doclink(ev) {
+ if (!ev) var ev = window.event;
+ if (!this.contains(ev.toElement)) {
+ var parent = document.getElementById(this.parentID);
+ parent.removeChild(parent.childNodes.item(0));
+ }
+}
+
+function doclink(id, name, targets_id) {
+ var elt = document.getElementById(id);
+
+ // If we already opened the box, then destroy it.
+ // (This case should never occur, but leave it in just in case.)
+ if (elt.childNodes.length > 1) {
+ elt.removeChild(elt.childNodes.item(0));
+ }
+ else {
+ // The outer box: relative + inline positioning.
+ var box1 = document.createElement("div");
+ box1.style.position = "relative";
+ box1.style.display = "inline";
+ box1.style.top = 0;
+ box1.style.left = 0;
+
+ // A shadow for fun
+ var shadow = document.createElement("div");
+ shadow.style.position = "absolute";
+ shadow.style.left = "-1.3em";
+ shadow.style.top = "-1.3em";
+ shadow.style.background = "#404040";
+
+ // The inner box: absolute positioning.
+ var box2 = document.createElement("div");
+ box2.style.position = "relative";
+ box2.style.border = "1px solid #a0a0a0";
+ box2.style.left = "-.2em";
+ box2.style.top = "-.2em";
+ box2.style.background = "white";
+ box2.style.padding = ".3em .4em .3em .4em";
+ box2.style.fontStyle = "normal";
+ box2.onmouseout=auto_kill_doclink;
+ box2.parentID = id;
+
+ // Get the targets
+ var targets_elt = document.getElementById(targets_id);
+ var targets = targets_elt.getAttribute("targets");
+ var links = "";
+ target_list = targets.split(",");
+ for (var i=0; i<target_list.length; i++) {
+ var target = target_list[i].split("=");
+ links += "<li><a href='" + target[1] +
+ "' style='text-decoration:none'>" +
+ target[0] + "</a></li>";
+ }
+
+ // Put it all together.
+ elt.insertBefore(box1, elt.childNodes.item(0));
+ //box1.appendChild(box2);
+ box1.appendChild(shadow);
+ shadow.appendChild(box2);
+ box2.innerHTML =
+ "Which <b>"+name+"</b> do you want to see documentation for?" +
+ "<ul style='margin-bottom: 0;'>" +
+ links +
+ "<li><a href='#' style='text-decoration:none' " +
+ "onclick='kill_doclink(\""+id+"\");return false;'>"+
+ "<i>None of the above</i></a></li></ul>";
+ }
+ return false;
+}
+
+function get_anchor() {
+ var href = location.href;
+ var start = href.indexOf("#")+1;
+ if ((start != 0) && (start != href.length))
+ return href.substring(start, href.length);
+ }
+function redirect_url(dottedName) {
+ // Scan through each element of the "pages" list, and check
+ // if "name" matches with any of them.
+ for (var i=0; i<pages.length; i++) {
+
+ // Each page has the form "<pagename>-m" or "<pagename>-c";
+ // extract the <pagename> portion & compare it to dottedName.
+ var pagename = pages[i].substring(0, pages[i].length-2);
+ if (pagename == dottedName.substring(0,pagename.length)) {
+
+ // We've found a page that matches `dottedName`;
+ // construct its URL, using leftover `dottedName`
+ // content to form an anchor.
+ var pagetype = pages[i].charAt(pages[i].length-1);
+ var url = pagename + ((pagetype=="m")?"-module.html":
+ "-class.html");
+ if (dottedName.length > pagename.length)
+ url += "#" + dottedName.substring(pagename.length+1,
+ dottedName.length);
+ return url;
+ }
+ }
+ }
diff --git a/python2/docstrings/frames.html b/python2/docstrings/frames.html
new file mode 100644
index 0000000..d2f3830
--- /dev/null
+++ b/python2/docstrings/frames.html
@@ -0,0 +1,17 @@
+<?xml version="1.0" encoding="iso-8859-1"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Frameset//EN"
+ "DTD/xhtml1-frameset.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+ <title> API Documentation </title>
+</head>
+<frameset cols="20%,80%">
+ <frameset rows="30%,70%">
+ <frame src="toc.html" name="moduleListFrame"
+ id="moduleListFrame" />
+ <frame src="toc-everything.html" name="moduleFrame"
+ id="moduleFrame" />
+ </frameset>
+ <frame src="pyinotify-module.html" name="mainFrame" id="mainFrame" />
+</frameset>
+</html>
diff --git a/python2/docstrings/help.html b/python2/docstrings/help.html
new file mode 100644
index 0000000..72e647d
--- /dev/null
+++ b/python2/docstrings/help.html
@@ -0,0 +1,268 @@
+<?xml version="1.0" encoding="ascii"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+ <title>Help</title>
+ <link rel="stylesheet" href="epydoc.css" type="text/css" />
+ <script type="text/javascript" src="epydoc.js"></script>
+</head>
+
+<body bgcolor="white" text="black" link="blue" vlink="#204080"
+ alink="#204080">
+<!-- ==================== NAVIGATION BAR ==================== -->
+<table class="navbar" border="0" width="100%" cellpadding="0"
+ bgcolor="#a0c0ff" cellspacing="0">
+ <tr valign="middle">
+ <!-- Home link -->
+ <th>&nbsp;&nbsp;&nbsp;<a
+ href="pyinotify-module.html">Home</a>&nbsp;&nbsp;&nbsp;</th>
+
+ <!-- Tree link -->
+ <th>&nbsp;&nbsp;&nbsp;<a
+ href="module-tree.html">Trees</a>&nbsp;&nbsp;&nbsp;</th>
+
+ <!-- Index link -->
+ <th>&nbsp;&nbsp;&nbsp;<a
+ href="identifier-index.html">Indices</a>&nbsp;&nbsp;&nbsp;</th>
+
+ <!-- Help link -->
+ <th bgcolor="#70b0f0" class="navbar-select"
+ >&nbsp;&nbsp;&nbsp;Help&nbsp;&nbsp;&nbsp;</th>
+
+ <th class="navbar" width="100%"></th>
+ </tr>
+</table>
+<table width="100%" cellpadding="0" cellspacing="0">
+ <tr valign="top">
+ <td width="100%">&nbsp;</td>
+ <td>
+ <table cellpadding="0" cellspacing="0">
+ <!-- hide/show private -->
+ <tr><td align="right"><span class="options">[<a href="javascript:void(0);" class="privatelink"
+ onclick="toggle_private();">hide&nbsp;private</a>]</span></td></tr>
+ <tr><td align="right"><span class="options"
+ >[<a href="frames.html" target="_top">frames</a
+ >]&nbsp;|&nbsp;<a href="help.html"
+ target="_top">no&nbsp;frames</a>]</span></td></tr>
+ </table>
+ </td>
+ </tr>
+</table>
+
+<h1 class="epydoc"> API Documentation </h1>
+
+<p> This document contains the API (Application Programming Interface)
+documentation for this project. Documentation for the Python
+objects defined by the project is divided into separate pages for each
+package, module, and class. The API documentation also includes two
+pages containing information about the project as a whole: a trees
+page, and an index page. </p>
+
+<h2> Object Documentation </h2>
+
+ <p>Each <strong>Package Documentation</strong> page contains: </p>
+ <ul>
+ <li> A description of the package. </li>
+ <li> A list of the modules and sub-packages contained by the
+ package. </li>
+ <li> A summary of the classes defined by the package. </li>
+ <li> A summary of the functions defined by the package. </li>
+ <li> A summary of the variables defined by the package. </li>
+ <li> A detailed description of each function defined by the
+ package. </li>
+ <li> A detailed description of each variable defined by the
+ package. </li>
+ </ul>
+
+ <p>Each <strong>Module Documentation</strong> page contains:</p>
+ <ul>
+ <li> A description of the module. </li>
+ <li> A summary of the classes defined by the module. </li>
+ <li> A summary of the functions defined by the module. </li>
+ <li> A summary of the variables defined by the module. </li>
+ <li> A detailed description of each function defined by the
+ module. </li>
+ <li> A detailed description of each variable defined by the
+ module. </li>
+ </ul>
+
+ <p>Each <strong>Class Documentation</strong> page contains: </p>
+ <ul>
+ <li> A class inheritance diagram. </li>
+ <li> A list of known subclasses. </li>
+ <li> A description of the class. </li>
+ <li> A summary of the methods defined by the class. </li>
+ <li> A summary of the instance variables defined by the class. </li>
+ <li> A summary of the class (static) variables defined by the
+ class. </li>
+ <li> A detailed description of each method defined by the
+ class. </li>
+ <li> A detailed description of each instance variable defined by the
+ class. </li>
+ <li> A detailed description of each class (static) variable defined
+ by the class. </li>
+ </ul>
+
+<h2> Project Documentation </h2>
+
+ <p> The <strong>Trees</strong> page contains the module and class hierarchies: </p>
+ <ul>
+ <li> The <em>module hierarchy</em> lists every package and module, with
+ modules grouped into packages. At the top level, and within each
+ package, modules and sub-packages are listed alphabetically. </li>
+ <li> The <em>class hierarchy</em> lists every class, grouped by base
+ class. If a class has more than one base class, then it will be
+ listed under each base class. At the top level, and under each base
+ class, classes are listed alphabetically. </li>
+ </ul>
+
+ <p> The <strong>Index</strong> page contains indices of terms and
+ identifiers: </p>
+ <ul>
+ <li> The <em>term index</em> lists every term indexed by any object's
+ documentation. For each term, the index provides links to each
+ place where the term is indexed. </li>
+ <li> The <em>identifier index</em> lists the (short) name of every package,
+ module, class, method, function, variable, and parameter. For each
+ identifier, the index provides a short description, and a link to
+ its documentation. </li>
+ </ul>
+
+<h2> The Table of Contents </h2>
+
+<p> The table of contents occupies the two frames on the left side of
+the window. The upper-left frame displays the <em>project
+contents</em>, and the lower-left frame displays the <em>module
+contents</em>: </p>
+
+<table class="help summary" border="1" cellspacing="0" cellpadding="3">
+ <tr style="height: 30%">
+ <td align="center" style="font-size: small">
+ Project<br />Contents<hr />...</td>
+ <td align="center" style="font-size: small" rowspan="2" width="70%">
+ API<br />Documentation<br />Frame<br /><br /><br />
+ </td>
+ </tr>
+ <tr>
+ <td align="center" style="font-size: small">
+ Module<br />Contents<hr />&nbsp;<br />...<br />&nbsp;
+ </td>
+ </tr>
+</table><br />
+
+<p> The <strong>project contents frame</strong> contains a list of all packages
+and modules that are defined by the project. Clicking on an entry
+will display its contents in the module contents frame. Clicking on a
+special entry, labeled "Everything," will display the contents of
+the entire project. </p>
+
+<p> The <strong>module contents frame</strong> contains a list of every
+submodule, class, type, exception, function, and variable defined by a
+module or package. Clicking on an entry will display its
+documentation in the API documentation frame. Clicking on the name of
+the module, at the top of the frame, will display the documentation
+for the module itself. </p>
+
+<p> The "<strong>frames</strong>" and "<strong>no frames</strong>" buttons below the top
+navigation bar can be used to control whether the table of contents is
+displayed or not. </p>
+
+<h2> The Navigation Bar </h2>
+
+<p> A navigation bar is located at the top and bottom of every page.
+It indicates what type of page you are currently viewing, and allows
+you to go to related pages. The following table describes the labels
+on the navigation bar. Note that not some labels (such as
+[Parent]) are not displayed on all pages. </p>
+
+<table class="summary" border="1" cellspacing="0" cellpadding="3" width="100%">
+<tr class="summary">
+ <th>Label</th>
+ <th>Highlighted when...</th>
+ <th>Links to...</th>
+</tr>
+ <tr><td valign="top"><strong>[Parent]</strong></td>
+ <td valign="top"><em>(never highlighted)</em></td>
+ <td valign="top"> the parent of the current package </td></tr>
+ <tr><td valign="top"><strong>[Package]</strong></td>
+ <td valign="top">viewing a package</td>
+ <td valign="top">the package containing the current object
+ </td></tr>
+ <tr><td valign="top"><strong>[Module]</strong></td>
+ <td valign="top">viewing a module</td>
+ <td valign="top">the module containing the current object
+ </td></tr>
+ <tr><td valign="top"><strong>[Class]</strong></td>
+ <td valign="top">viewing a class </td>
+ <td valign="top">the class containing the current object</td></tr>
+ <tr><td valign="top"><strong>[Trees]</strong></td>
+ <td valign="top">viewing the trees page</td>
+ <td valign="top"> the trees page </td></tr>
+ <tr><td valign="top"><strong>[Index]</strong></td>
+ <td valign="top">viewing the index page</td>
+ <td valign="top"> the index page </td></tr>
+ <tr><td valign="top"><strong>[Help]</strong></td>
+ <td valign="top">viewing the help page</td>
+ <td valign="top"> the help page </td></tr>
+</table>
+
+<p> The "<strong>show private</strong>" and "<strong>hide private</strong>" buttons below
+the top navigation bar can be used to control whether documentation
+for private objects is displayed. Private objects are usually defined
+as objects whose (short) names begin with a single underscore, but do
+not end with an underscore. For example, "<code>_x</code>",
+"<code>__pprint</code>", and "<code>epydoc.epytext._tokenize</code>"
+are private objects; but "<code>re.sub</code>",
+"<code>__init__</code>", and "<code>type_</code>" are not. However,
+if a module defines the "<code>__all__</code>" variable, then its
+contents are used to decide which objects are private. </p>
+
+<p> A timestamp below the bottom navigation bar indicates when each
+page was last updated. </p>
+<!-- ==================== NAVIGATION BAR ==================== -->
+<table class="navbar" border="0" width="100%" cellpadding="0"
+ bgcolor="#a0c0ff" cellspacing="0">
+ <tr valign="middle">
+ <!-- Home link -->
+ <th>&nbsp;&nbsp;&nbsp;<a
+ href="pyinotify-module.html">Home</a>&nbsp;&nbsp;&nbsp;</th>
+
+ <!-- Tree link -->
+ <th>&nbsp;&nbsp;&nbsp;<a
+ href="module-tree.html">Trees</a>&nbsp;&nbsp;&nbsp;</th>
+
+ <!-- Index link -->
+ <th>&nbsp;&nbsp;&nbsp;<a
+ href="identifier-index.html">Indices</a>&nbsp;&nbsp;&nbsp;</th>
+
+ <!-- Help link -->
+ <th bgcolor="#70b0f0" class="navbar-select"
+ >&nbsp;&nbsp;&nbsp;Help&nbsp;&nbsp;&nbsp;</th>
+
+ <th class="navbar" width="100%"></th>
+ </tr>
+</table>
+<table border="0" cellpadding="0" cellspacing="0" width="100%%">
+ <tr>
+ <td align="left" class="footer">
+ Generated by Epydoc 3.0.1 on Wed Sep 15 21:46:49 2010
+ </td>
+ <td align="right" class="footer">
+ <a target="mainFrame" href="http://epydoc.sourceforge.net"
+ >http://epydoc.sourceforge.net</a>
+ </td>
+ </tr>
+</table>
+
+<script type="text/javascript">
+ <!--
+ // Private objects are initially displayed (because if
+ // javascript is turned off then we want them to be
+ // visible); but by default, we want to hide them. So hide
+ // them unless we have a cookie that says to show them.
+ checkCookie();
+ // -->
+</script>
+</body>
+</html>
diff --git a/python2/docstrings/identifier-index.html b/python2/docstrings/identifier-index.html
new file mode 100644
index 0000000..d983c0c
--- /dev/null
+++ b/python2/docstrings/identifier-index.html
@@ -0,0 +1,733 @@
+<?xml version="1.0" encoding="ascii"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+ <title>Identifier Index</title>
+ <link rel="stylesheet" href="epydoc.css" type="text/css" />
+ <script type="text/javascript" src="epydoc.js"></script>
+</head>
+
+<body bgcolor="white" text="black" link="blue" vlink="#204080"
+ alink="#204080">
+<!-- ==================== NAVIGATION BAR ==================== -->
+<table class="navbar" border="0" width="100%" cellpadding="0"
+ bgcolor="#a0c0ff" cellspacing="0">
+ <tr valign="middle">
+ <!-- Home link -->
+ <th>&nbsp;&nbsp;&nbsp;<a
+ href="pyinotify-module.html">Home</a>&nbsp;&nbsp;&nbsp;</th>
+
+ <!-- Tree link -->
+ <th>&nbsp;&nbsp;&nbsp;<a
+ href="module-tree.html">Trees</a>&nbsp;&nbsp;&nbsp;</th>
+
+ <!-- Index link -->
+ <th bgcolor="#70b0f0" class="navbar-select"
+ >&nbsp;&nbsp;&nbsp;Indices&nbsp;&nbsp;&nbsp;</th>
+
+ <!-- Help link -->
+ <th>&nbsp;&nbsp;&nbsp;<a
+ href="help.html">Help</a>&nbsp;&nbsp;&nbsp;</th>
+
+ <th class="navbar" width="100%"></th>
+ </tr>
+</table>
+<table width="100%" cellpadding="0" cellspacing="0">
+ <tr valign="top">
+ <td width="100%">&nbsp;</td>
+ <td>
+ <table cellpadding="0" cellspacing="0">
+ <!-- hide/show private -->
+ <tr><td align="right"><span class="options">[<a href="javascript:void(0);" class="privatelink"
+ onclick="toggle_private();">hide&nbsp;private</a>]</span></td></tr>
+ <tr><td align="right"><span class="options"
+ >[<a href="frames.html" target="_top">frames</a
+ >]&nbsp;|&nbsp;<a href="identifier-index.html"
+ target="_top">no&nbsp;frames</a>]</span></td></tr>
+ </table>
+ </td>
+ </tr>
+</table>
+<table border="0" width="100%">
+<tr valign="bottom"><td>
+<h1 class="epydoc">Identifier Index</h1>
+</td><td>
+[
+ <a href="#A">A</a>
+ B
+ <a href="#C">C</a>
+ <a href="#D">D</a>
+ <a href="#E">E</a>
+ <a href="#F">F</a>
+ <a href="#G">G</a>
+ <a href="#H">H</a>
+ <a href="#I">I</a>
+ J
+ K
+ <a href="#L">L</a>
+ <a href="#M">M</a>
+ <a href="#N">N</a>
+ <a href="#O">O</a>
+ <a href="#P">P</a>
+ Q
+ <a href="#R">R</a>
+ <a href="#S">S</a>
+ <a href="#T">T</a>
+ <a href="#U">U</a>
+ <a href="#V">V</a>
+ <a href="#W">W</a>
+ X
+ Y
+ Z
+ <a href="#_">_</a>
+]
+</td></table>
+<table border="0" width="100%">
+<tr valign="top"><td valign="top" width="1%"><h2 class="epydoc"><a name="A">A</a></h2></td>
+<td valign="top">
+<table class="link-index" width="100%" border="1">
+<tr>
+<td width="33%" class="link-index"><a href="pyinotify.WatchManager-class.html#add_watch">add_watch()</a><br />
+<span class="index-where">(in&nbsp;<a href="pyinotify.WatchManager-class.html">WatchManager</a>)</span></td>
+<td width="33%" class="link-index"><a href="pyinotify.EventsCodes-class.html#ALL_VALUES">ALL_VALUES</a><br />
+<span class="index-where">(in&nbsp;<a href="pyinotify.EventsCodes-class.html">EventsCodes</a>)</span></td>
+<td width="33%" class="link-index"><a href="pyinotify-module.html#attrname">attrname</a><br />
+<span class="index-where">(in&nbsp;<a href="pyinotify-module.html">pyinotify</a>)</span></td>
+</tr>
+<tr>
+<td width="33%" class="link-index"><a href="pyinotify-module.html#ALL_EVENTS">ALL_EVENTS</a><br />
+<span class="index-where">(in&nbsp;<a href="pyinotify-module.html">pyinotify</a>)</span></td>
+<td width="33%" class="link-index"><a href="pyinotify.Notifier-class.html#append_event">append_event()</a><br />
+<span class="index-where">(in&nbsp;<a href="pyinotify.Notifier-class.html">Notifier</a>)</span></td>
+<td width="33%" class="link-index">&nbsp;</td>
+</tr>
+<tr>
+<td width="33%" class="link-index"><a href="pyinotify.EventsCodes-class.html#ALL_FLAGS">ALL_FLAGS</a><br />
+<span class="index-where">(in&nbsp;<a href="pyinotify.EventsCodes-class.html">EventsCodes</a>)</span></td>
+<td width="33%" class="link-index"><a href="pyinotify.AsyncNotifier-class.html">AsyncNotifier</a><br />
+<span class="index-where">(in&nbsp;<a href="pyinotify-module.html">pyinotify</a>)</span></td>
+<td width="33%" class="link-index">&nbsp;</td>
+</tr>
+</table>
+</td></tr>
+<tr valign="top"><td valign="top" width="1%"><h2 class="epydoc"><a name="C">C</a></h2></td>
+<td valign="top">
+<table class="link-index" width="100%" border="1">
+<tr>
+<td width="33%" class="link-index"><a href="pyinotify.ChainIfTrue-class.html">ChainIfTrue</a><br />
+<span class="index-where">(in&nbsp;<a href="pyinotify-module.html">pyinotify</a>)</span></td>
+<td width="33%" class="link-index"><a href="pyinotify.WatchManager-class.html#close">close()</a><br />
+<span class="index-where">(in&nbsp;<a href="pyinotify.WatchManager-class.html">WatchManager</a>)</span></td>
+<td width="33%" class="link-index"><a href="pyinotify-module.html#COMPATIBILITY_MODE">COMPATIBILITY_MODE</a><br />
+<span class="index-where">(in&nbsp;<a href="pyinotify-module.html">pyinotify</a>)</span></td>
+</tr>
+<tr>
+<td width="33%" class="link-index"><a href="pyinotify.Notifier-class.html#check_events">check_events()</a><br />
+<span class="index-where">(in&nbsp;<a href="pyinotify.Notifier-class.html">Notifier</a>)</span></td>
+<td width="33%" class="link-index"><a href="pyinotify.Notifier-class.html#coalesce_events">coalesce_events()</a><br />
+<span class="index-where">(in&nbsp;<a href="pyinotify.Notifier-class.html">Notifier</a>)</span></td>
+<td width="33%" class="link-index"><a href="pyinotify-module.html#compatibility_mode">compatibility_mode()</a><br />
+<span class="index-where">(in&nbsp;<a href="pyinotify-module.html">pyinotify</a>)</span></td>
+</tr>
+<tr>
+<td width="33%" class="link-index"><a href="pyinotify.RawOutputFormat-class.html#class_name">class_name()</a><br />
+<span class="index-where">(in&nbsp;<a href="pyinotify.RawOutputFormat-class.html">RawOutputFormat</a>)</span></td>
+<td width="33%" class="link-index"><a href="pyinotify.ColoredOutputFormat-class.html">ColoredOutputFormat</a><br />
+<span class="index-where">(in&nbsp;<a href="pyinotify-module.html">pyinotify</a>)</span></td>
+<td width="33%" class="link-index">&nbsp;</td>
+</tr>
+<tr>
+<td width="33%" class="link-index"><a href="pyinotify._SysProcessEvent-class.html#cleanup">cleanup()</a><br />
+<span class="index-where">(in&nbsp;<a href="pyinotify._SysProcessEvent-class.html" onclick="show_private();">_SysProcessEvent</a>)</span></td>
+<td width="33%" class="link-index"><a href="pyinotify-module.html#command_line">command_line()</a><br />
+<span class="index-where">(in&nbsp;<a href="pyinotify-module.html">pyinotify</a>)</span></td>
+<td width="33%" class="link-index">&nbsp;</td>
+</tr>
+</table>
+</td></tr>
+<tr valign="top"><td valign="top" width="1%"><h2 class="epydoc"><a name="D">D</a></h2></td>
+<td valign="top">
+<table class="link-index" width="100%" border="1">
+<tr>
+<td width="33%" class="link-index"><a href="pyinotify.WatchManager-class.html#del_watch">del_watch()</a><br />
+<span class="index-where">(in&nbsp;<a href="pyinotify.WatchManager-class.html">WatchManager</a>)</span></td>
+<td width="33%" class="link-index"><a href="pyinotify.Stats-class.html#dump">dump()</a><br />
+<span class="index-where">(in&nbsp;<a href="pyinotify.Stats-class.html">Stats</a>)</span></td>
+<td width="33%" class="link-index">&nbsp;</td>
+</tr>
+<tr><td class="link-index">&nbsp;</td><td class="link-index">&nbsp;</td><td class="link-index">&nbsp;</td></tr>
+</table>
+</td></tr>
+<tr valign="top"><td valign="top" width="1%"><h2 class="epydoc"><a name="E">E</a></h2></td>
+<td valign="top">
+<table class="link-index" width="100%" border="1">
+<tr>
+<td width="33%" class="link-index"><a href="pyinotify.Event-class.html">Event</a><br />
+<span class="index-where">(in&nbsp;<a href="pyinotify-module.html">pyinotify</a>)</span></td>
+<td width="33%" class="link-index"><a href="pyinotify.EventsCodes-class.html">EventsCodes</a><br />
+<span class="index-where">(in&nbsp;<a href="pyinotify-module.html">pyinotify</a>)</span></td>
+<td width="33%" class="link-index">&nbsp;</td>
+</tr>
+<tr>
+<td width="33%" class="link-index"><a href="pyinotify.EventsCodes-class.html#EVENT_FLAGS">EVENT_FLAGS</a><br />
+<span class="index-where">(in&nbsp;<a href="pyinotify.EventsCodes-class.html">EventsCodes</a>)</span></td>
+<td width="33%" class="link-index"><a href="pyinotify.ExcludeFilter-class.html">ExcludeFilter</a><br />
+<span class="index-where">(in&nbsp;<a href="pyinotify-module.html">pyinotify</a>)</span></td>
+<td width="33%" class="link-index">&nbsp;</td>
+</tr>
+</table>
+</td></tr>
+<tr valign="top"><td valign="top" width="1%"><h2 class="epydoc"><a name="F">F</a></h2></td>
+<td valign="top">
+<table class="link-index" width="100%" border="1">
+<tr>
+<td width="33%" class="link-index"><a href="pyinotify.RawOutputFormat-class.html#field_name">field_name()</a><br />
+<span class="index-where">(in&nbsp;<a href="pyinotify.RawOutputFormat-class.html">RawOutputFormat</a>)</span></td>
+<td width="33%" class="link-index"><a href="pyinotify.EventsCodes-class.html#FLAG_COLLECTIONS">FLAG_COLLECTIONS</a><br />
+<span class="index-where">(in&nbsp;<a href="pyinotify.EventsCodes-class.html">EventsCodes</a>)</span></td>
+<td width="33%" class="link-index">&nbsp;</td>
+</tr>
+<tr>
+<td width="33%" class="link-index"><a href="pyinotify.RawOutputFormat-class.html#field_value">field_value()</a><br />
+<span class="index-where">(in&nbsp;<a href="pyinotify.RawOutputFormat-class.html">RawOutputFormat</a>)</span></td>
+<td width="33%" class="link-index"><a href="pyinotify-module.html#flagc">flagc</a><br />
+<span class="index-where">(in&nbsp;<a href="pyinotify-module.html">pyinotify</a>)</span></td>
+<td width="33%" class="link-index">&nbsp;</td>
+</tr>
+</table>
+</td></tr>
+<tr valign="top"><td valign="top" width="1%"><h2 class="epydoc"><a name="G">G</a></h2></td>
+<td valign="top">
+<table class="link-index" width="100%" border="1">
+<tr>
+<td width="33%" class="link-index"><a href="pyinotify.WatchManager-class.html#get_fd">get_fd()</a><br />
+<span class="index-where">(in&nbsp;<a href="pyinotify.WatchManager-class.html">WatchManager</a>)</span></td>
+<td width="33%" class="link-index"><a href="pyinotify.SysCtlINotify-class.html#get_val">get_val()</a><br />
+<span class="index-where">(in&nbsp;<a href="pyinotify.SysCtlINotify-class.html">SysCtlINotify</a>)</span></td>
+<td width="33%" class="link-index"><a href="pyinotify.WatchManager-class.html#get_wd">get_wd()</a><br />
+<span class="index-where">(in&nbsp;<a href="pyinotify.WatchManager-class.html">WatchManager</a>)</span></td>
+</tr>
+<tr>
+<td width="33%" class="link-index"><a href="pyinotify.WatchManager-class.html#get_path">get_path()</a><br />
+<span class="index-where">(in&nbsp;<a href="pyinotify.WatchManager-class.html">WatchManager</a>)</span></td>
+<td width="33%" class="link-index"><a href="pyinotify.WatchManager-class.html#get_watch">get_watch()</a><br />
+<span class="index-where">(in&nbsp;<a href="pyinotify.WatchManager-class.html">WatchManager</a>)</span></td>
+<td width="33%" class="link-index"><a href="pyinotify.UnicodeLogRecord-class.html#getMessage">getMessage()</a><br />
+<span class="index-where">(in&nbsp;<a href="pyinotify.UnicodeLogRecord-class.html">UnicodeLogRecord</a>)</span></td>
+</tr>
+</table>
+</td></tr>
+<tr valign="top"><td valign="top" width="1%"><h2 class="epydoc"><a name="H">H</a></h2></td>
+<td valign="top">
+<table class="link-index" width="100%" border="1">
+<tr>
+<td width="33%" class="link-index"><a href="pyinotify.AsyncNotifier-class.html#handle_read">handle_read()</a><br />
+<span class="index-where">(in&nbsp;<a href="pyinotify.AsyncNotifier-class.html">AsyncNotifier</a>)</span></td>
+<td width="33%" class="link-index">&nbsp;</td>
+<td width="33%" class="link-index">&nbsp;</td>
+</tr>
+<tr><td class="link-index">&nbsp;</td><td class="link-index">&nbsp;</td><td class="link-index">&nbsp;</td></tr>
+</table>
+</td></tr>
+<tr valign="top"><td valign="top" width="1%"><h2 class="epydoc"><a name="I">I</a></h2></td>
+<td valign="top">
+<table class="link-index" width="100%" border="1">
+<tr>
+<td width="33%" class="link-index"><a href="pyinotify-module.html#IN_ACCESS">IN_ACCESS</a><br />
+<span class="index-where">(in&nbsp;<a href="pyinotify-module.html">pyinotify</a>)</span></td>
+<td width="33%" class="link-index"><a href="pyinotify-module.html#IN_DONT_FOLLOW">IN_DONT_FOLLOW</a><br />
+<span class="index-where">(in&nbsp;<a href="pyinotify-module.html">pyinotify</a>)</span></td>
+<td width="33%" class="link-index"><a href="pyinotify-module.html#IN_MOVED_TO">IN_MOVED_TO</a><br />
+<span class="index-where">(in&nbsp;<a href="pyinotify-module.html">pyinotify</a>)</span></td>
+</tr>
+<tr>
+<td width="33%" class="link-index"><a href="pyinotify-module.html#IN_ATTRIB">IN_ATTRIB</a><br />
+<span class="index-where">(in&nbsp;<a href="pyinotify-module.html">pyinotify</a>)</span></td>
+<td width="33%" class="link-index"><a href="pyinotify-module.html#IN_IGNORED">IN_IGNORED</a><br />
+<span class="index-where">(in&nbsp;<a href="pyinotify-module.html">pyinotify</a>)</span></td>
+<td width="33%" class="link-index"><a href="pyinotify-module.html#IN_ONESHOT">IN_ONESHOT</a><br />
+<span class="index-where">(in&nbsp;<a href="pyinotify-module.html">pyinotify</a>)</span></td>
+</tr>
+<tr>
+<td width="33%" class="link-index"><a href="pyinotify-module.html#IN_CLOSE_NOWRITE">IN_CLOSE_NOWRITE</a><br />
+<span class="index-where">(in&nbsp;<a href="pyinotify-module.html">pyinotify</a>)</span></td>
+<td width="33%" class="link-index"><a href="pyinotify-module.html#IN_ISDIR">IN_ISDIR</a><br />
+<span class="index-where">(in&nbsp;<a href="pyinotify-module.html">pyinotify</a>)</span></td>
+<td width="33%" class="link-index"><a href="pyinotify-module.html#IN_ONLYDIR">IN_ONLYDIR</a><br />
+<span class="index-where">(in&nbsp;<a href="pyinotify-module.html">pyinotify</a>)</span></td>
+</tr>
+<tr>
+<td width="33%" class="link-index"><a href="pyinotify-module.html#IN_CLOSE_WRITE">IN_CLOSE_WRITE</a><br />
+<span class="index-where">(in&nbsp;<a href="pyinotify-module.html">pyinotify</a>)</span></td>
+<td width="33%" class="link-index"><a href="pyinotify-module.html#IN_MASK_ADD">IN_MASK_ADD</a><br />
+<span class="index-where">(in&nbsp;<a href="pyinotify-module.html">pyinotify</a>)</span></td>
+<td width="33%" class="link-index"><a href="pyinotify-module.html#IN_OPEN">IN_OPEN</a><br />
+<span class="index-where">(in&nbsp;<a href="pyinotify-module.html">pyinotify</a>)</span></td>
+</tr>
+<tr>
+<td width="33%" class="link-index"><a href="pyinotify-module.html#IN_CREATE">IN_CREATE</a><br />
+<span class="index-where">(in&nbsp;<a href="pyinotify-module.html">pyinotify</a>)</span></td>
+<td width="33%" class="link-index"><a href="pyinotify-module.html#IN_MODIFY">IN_MODIFY</a><br />
+<span class="index-where">(in&nbsp;<a href="pyinotify-module.html">pyinotify</a>)</span></td>
+<td width="33%" class="link-index"><a href="pyinotify-module.html#IN_Q_OVERFLOW">IN_Q_OVERFLOW</a><br />
+<span class="index-where">(in&nbsp;<a href="pyinotify-module.html">pyinotify</a>)</span></td>
+</tr>
+<tr>
+<td width="33%" class="link-index"><a href="pyinotify-module.html#IN_DELETE">IN_DELETE</a><br />
+<span class="index-where">(in&nbsp;<a href="pyinotify-module.html">pyinotify</a>)</span></td>
+<td width="33%" class="link-index"><a href="pyinotify-module.html#IN_MOVE_SELF">IN_MOVE_SELF</a><br />
+<span class="index-where">(in&nbsp;<a href="pyinotify-module.html">pyinotify</a>)</span></td>
+<td width="33%" class="link-index"><a href="pyinotify-module.html#IN_UNMOUNT">IN_UNMOUNT</a><br />
+<span class="index-where">(in&nbsp;<a href="pyinotify-module.html">pyinotify</a>)</span></td>
+</tr>
+<tr>
+<td width="33%" class="link-index"><a href="pyinotify-module.html#IN_DELETE_SELF">IN_DELETE_SELF</a><br />
+<span class="index-where">(in&nbsp;<a href="pyinotify-module.html">pyinotify</a>)</span></td>
+<td width="33%" class="link-index"><a href="pyinotify-module.html#IN_MOVED_FROM">IN_MOVED_FROM</a><br />
+<span class="index-where">(in&nbsp;<a href="pyinotify-module.html">pyinotify</a>)</span></td>
+<td width="33%" class="link-index"><a href="pyinotify.SysCtlINotify-class.html#inotify_attrs">inotify_attrs</a><br />
+<span class="index-where">(in&nbsp;<a href="pyinotify.SysCtlINotify-class.html">SysCtlINotify</a>)</span></td>
+</tr>
+</table>
+</td></tr>
+<tr valign="top"><td valign="top" width="1%"><h2 class="epydoc"><a name="L">L</a></h2></td>
+<td valign="top">
+<table class="link-index" width="100%" border="1">
+<tr>
+<td width="33%" class="link-index"><a href="pyinotify-module.html#LIBC">LIBC</a><br />
+<span class="index-where">(in&nbsp;<a href="pyinotify-module.html">pyinotify</a>)</span></td>
+<td width="33%" class="link-index"><a href="pyinotify-module.html#log">log</a><br />
+<span class="index-where">(in&nbsp;<a href="pyinotify-module.html">pyinotify</a>)</span></td>
+<td width="33%" class="link-index"><a href="pyinotify.Notifier-class.html#loop">loop()</a><br />
+<span class="index-where">(in&nbsp;<a href="pyinotify.Notifier-class.html">Notifier</a>)</span></td>
+</tr>
+<tr>
+<td width="33%" class="link-index"><a href="pyinotify-module.html#load_libc">load_libc()</a><br />
+<span class="index-where">(in&nbsp;<a href="pyinotify-module.html">pyinotify</a>)</span></td>
+<td width="33%" class="link-index"><a href="pyinotify-module.html#logger_init">logger_init()</a><br />
+<span class="index-where">(in&nbsp;<a href="pyinotify-module.html">pyinotify</a>)</span></td>
+<td width="33%" class="link-index"><a href="pyinotify.ThreadedNotifier-class.html#loop">loop()</a><br />
+<span class="index-where">(in&nbsp;<a href="pyinotify.ThreadedNotifier-class.html">ThreadedNotifier</a>)</span></td>
+</tr>
+</table>
+</td></tr>
+<tr valign="top"><td valign="top" width="1%"><h2 class="epydoc"><a name="M">M</a></h2></td>
+<td valign="top">
+<table class="link-index" width="100%" border="1">
+<tr>
+<td width="33%" class="link-index"><a href="pyinotify.PyinotifyLogger-class.html#makeRecord">makeRecord()</a><br />
+<span class="index-where">(in&nbsp;<a href="pyinotify.PyinotifyLogger-class.html">PyinotifyLogger</a>)</span></td>
+<td width="33%" class="link-index"><a href="pyinotify-module.html#max_user_instances">max_user_instances</a><br />
+<span class="index-where">(in&nbsp;<a href="pyinotify-module.html">pyinotify</a>)</span></td>
+<td width="33%" class="link-index"><a href="pyinotify.PrintAllEvents-class.html#my_init">my_init()</a><br />
+<span class="index-where">(in&nbsp;<a href="pyinotify.PrintAllEvents-class.html">PrintAllEvents</a>)</span></td>
+</tr>
+<tr>
+<td width="33%" class="link-index"><a href="pyinotify.EventsCodes-class.html#maskname">maskname()</a><br />
+<span class="index-where">(in&nbsp;<a href="pyinotify.EventsCodes-class.html">EventsCodes</a>)</span></td>
+<td width="33%" class="link-index"><a href="pyinotify-module.html#max_user_watches">max_user_watches</a><br />
+<span class="index-where">(in&nbsp;<a href="pyinotify-module.html">pyinotify</a>)</span></td>
+<td width="33%" class="link-index"><a href="pyinotify.ProcessEvent-class.html#my_init">my_init()</a><br />
+<span class="index-where">(in&nbsp;<a href="pyinotify.ProcessEvent-class.html">ProcessEvent</a>)</span></td>
+</tr>
+<tr>
+<td width="33%" class="link-index"><a href="pyinotify-module.html#max_queued_events">max_queued_events</a><br />
+<span class="index-where">(in&nbsp;<a href="pyinotify-module.html">pyinotify</a>)</span></td>
+<td width="33%" class="link-index"><a href="pyinotify.ChainIfTrue-class.html#my_init">my_init()</a><br />
+<span class="index-where">(in&nbsp;<a href="pyinotify.ChainIfTrue-class.html">ChainIfTrue</a>)</span></td>
+<td width="33%" class="link-index"><a href="pyinotify.Stats-class.html#my_init">my_init()</a><br />
+<span class="index-where">(in&nbsp;<a href="pyinotify.Stats-class.html">Stats</a>)</span></td>
+</tr>
+</table>
+</td></tr>
+<tr valign="top"><td valign="top" width="1%"><h2 class="epydoc"><a name="N">N</a></h2></td>
+<td valign="top">
+<table class="link-index" width="100%" border="1">
+<tr>
+<td width="33%" class="link-index"><a href="pyinotify-module.html#name">name</a><br />
+<span class="index-where">(in&nbsp;<a href="pyinotify-module.html">pyinotify</a>)</span></td>
+<td width="33%" class="link-index"><a href="pyinotify.Notifier-class.html">Notifier</a><br />
+<span class="index-where">(in&nbsp;<a href="pyinotify-module.html">pyinotify</a>)</span></td>
+<td width="33%" class="link-index">&nbsp;</td>
+</tr>
+<tr>
+<td width="33%" class="link-index"><a href="pyinotify.ProcessEvent-class.html#nested_pevent">nested_pevent()</a><br />
+<span class="index-where">(in&nbsp;<a href="pyinotify.ProcessEvent-class.html">ProcessEvent</a>)</span></td>
+<td width="33%" class="link-index"><a href="pyinotify.NotifierError-class.html">NotifierError</a><br />
+<span class="index-where">(in&nbsp;<a href="pyinotify-module.html">pyinotify</a>)</span></td>
+<td width="33%" class="link-index">&nbsp;</td>
+</tr>
+</table>
+</td></tr>
+<tr valign="top"><td valign="top" width="1%"><h2 class="epydoc"><a name="O">O</a></h2></td>
+<td valign="top">
+<table class="link-index" width="100%" border="1">
+<tr>
+<td width="33%" class="link-index"><a href="pyinotify.EventsCodes-class.html#OP_FLAGS">OP_FLAGS</a><br />
+<span class="index-where">(in&nbsp;<a href="pyinotify.EventsCodes-class.html">EventsCodes</a>)</span></td>
+<td width="33%" class="link-index"><a href="pyinotify-module.html#output_format">output_format</a><br />
+<span class="index-where">(in&nbsp;<a href="pyinotify-module.html">pyinotify</a>)</span></td>
+<td width="33%" class="link-index">&nbsp;</td>
+</tr>
+<tr><td class="link-index">&nbsp;</td><td class="link-index">&nbsp;</td><td class="link-index">&nbsp;</td></tr>
+</table>
+</td></tr>
+<tr valign="top"><td valign="top" width="1%"><h2 class="epydoc"><a name="P">P</a></h2></td>
+<td valign="top">
+<table class="link-index" width="100%" border="1">
+<tr>
+<td width="33%" class="link-index"><a href="pyinotify.ProcessEvent-class.html#pevent">pevent</a><br />
+<span class="index-where">(in&nbsp;<a href="pyinotify.ProcessEvent-class.html">ProcessEvent</a>)</span></td>
+<td width="33%" class="link-index"><a href="pyinotify.Notifier-class.html#process_events">process_events()</a><br />
+<span class="index-where">(in&nbsp;<a href="pyinotify.Notifier-class.html">Notifier</a>)</span></td>
+<td width="33%" class="link-index"><a href="pyinotify.ProcessEvent-class.html">ProcessEvent</a><br />
+<span class="index-where">(in&nbsp;<a href="pyinotify-module.html">pyinotify</a>)</span></td>
+</tr>
+<tr>
+<td width="33%" class="link-index"><a href="pyinotify.PrintAllEvents-class.html">PrintAllEvents</a><br />
+<span class="index-where">(in&nbsp;<a href="pyinotify-module.html">pyinotify</a>)</span></td>
+<td width="33%" class="link-index"><a href="pyinotify._SysProcessEvent-class.html#process_IN_CREATE">process_IN_CREATE()</a><br />
+<span class="index-where">(in&nbsp;<a href="pyinotify._SysProcessEvent-class.html" onclick="show_private();">_SysProcessEvent</a>)</span></td>
+<td width="33%" class="link-index"><a href="pyinotify.ProcessEventError-class.html">ProcessEventError</a><br />
+<span class="index-where">(in&nbsp;<a href="pyinotify-module.html">pyinotify</a>)</span></td>
+</tr>
+<tr>
+<td width="33%" class="link-index"><a href="pyinotify.Notifier-class.html#proc_fun">proc_fun()</a><br />
+<span class="index-where">(in&nbsp;<a href="pyinotify.Notifier-class.html">Notifier</a>)</span></td>
+<td width="33%" class="link-index"><a href="pyinotify._SysProcessEvent-class.html#process_IN_IGNORED">process_IN_IGNORED()</a><br />
+<span class="index-where">(in&nbsp;<a href="pyinotify._SysProcessEvent-class.html" onclick="show_private();">_SysProcessEvent</a>)</span></td>
+<td width="33%" class="link-index"><a href="pyinotify.RawOutputFormat-class.html#punctuation">punctuation()</a><br />
+<span class="index-where">(in&nbsp;<a href="pyinotify.RawOutputFormat-class.html">RawOutputFormat</a>)</span></td>
+</tr>
+<tr>
+<td width="33%" class="link-index"><a href="pyinotify.ChainIfTrue-class.html#process_default">process_default()</a><br />
+<span class="index-where">(in&nbsp;<a href="pyinotify.ChainIfTrue-class.html">ChainIfTrue</a>)</span></td>
+<td width="33%" class="link-index"><a href="pyinotify._SysProcessEvent-class.html#process_IN_MOVE_SELF">process_IN_MOVE_SELF()</a><br />
+<span class="index-where">(in&nbsp;<a href="pyinotify._SysProcessEvent-class.html" onclick="show_private();">_SysProcessEvent</a>)</span></td>
+<td width="33%" class="link-index"><a href="pyinotify-module.html">pyinotify</a></td>
+</tr>
+<tr>
+<td width="33%" class="link-index"><a href="pyinotify.PrintAllEvents-class.html#process_default">process_default()</a><br />
+<span class="index-where">(in&nbsp;<a href="pyinotify.PrintAllEvents-class.html">PrintAllEvents</a>)</span></td>
+<td width="33%" class="link-index"><a href="pyinotify._SysProcessEvent-class.html#process_IN_MOVED_FROM">process_IN_MOVED_FROM()</a><br />
+<span class="index-where">(in&nbsp;<a href="pyinotify._SysProcessEvent-class.html" onclick="show_private();">_SysProcessEvent</a>)</span></td>
+<td width="33%" class="link-index"><a href="pyinotify.PyinotifyError-class.html">PyinotifyError</a><br />
+<span class="index-where">(in&nbsp;<a href="pyinotify-module.html">pyinotify</a>)</span></td>
+</tr>
+<tr>
+<td width="33%" class="link-index"><a href="pyinotify.ProcessEvent-class.html#process_default">process_default()</a><br />
+<span class="index-where">(in&nbsp;<a href="pyinotify.ProcessEvent-class.html">ProcessEvent</a>)</span></td>
+<td width="33%" class="link-index"><a href="pyinotify._SysProcessEvent-class.html#process_IN_MOVED_TO">process_IN_MOVED_TO()</a><br />
+<span class="index-where">(in&nbsp;<a href="pyinotify._SysProcessEvent-class.html" onclick="show_private();">_SysProcessEvent</a>)</span></td>
+<td width="33%" class="link-index"><a href="pyinotify.PyinotifyLogger-class.html">PyinotifyLogger</a><br />
+<span class="index-where">(in&nbsp;<a href="pyinotify-module.html">pyinotify</a>)</span></td>
+</tr>
+<tr>
+<td width="33%" class="link-index"><a href="pyinotify.Stats-class.html#process_default">process_default()</a><br />
+<span class="index-where">(in&nbsp;<a href="pyinotify.Stats-class.html">Stats</a>)</span></td>
+<td width="33%" class="link-index"><a href="pyinotify.ProcessEvent-class.html#process_IN_Q_OVERFLOW">process_IN_Q_OVERFLOW()</a><br />
+<span class="index-where">(in&nbsp;<a href="pyinotify.ProcessEvent-class.html">ProcessEvent</a>)</span></td>
+<td width="33%" class="link-index">&nbsp;</td>
+</tr>
+<tr>
+<td width="33%" class="link-index"><a href="pyinotify._SysProcessEvent-class.html#process_default">process_default()</a><br />
+<span class="index-where">(in&nbsp;<a href="pyinotify._SysProcessEvent-class.html" onclick="show_private();">_SysProcessEvent</a>)</span></td>
+<td width="33%" class="link-index"><a href="pyinotify._SysProcessEvent-class.html#process_IN_Q_OVERFLOW">process_IN_Q_OVERFLOW()</a><br />
+<span class="index-where">(in&nbsp;<a href="pyinotify._SysProcessEvent-class.html" onclick="show_private();">_SysProcessEvent</a>)</span></td>
+<td width="33%" class="link-index">&nbsp;</td>
+</tr>
+</table>
+</td></tr>
+<tr valign="top"><td valign="top" width="1%"><h2 class="epydoc"><a name="R">R</a></h2></td>
+<td valign="top">
+<table class="link-index" width="100%" border="1">
+<tr>
+<td width="33%" class="link-index"><a href="pyinotify.RawOutputFormat-class.html">RawOutputFormat</a><br />
+<span class="index-where">(in&nbsp;<a href="pyinotify-module.html">pyinotify</a>)</span></td>
+<td width="33%" class="link-index"><a href="pyinotify.WatchManager-class.html#rm_watch">rm_watch()</a><br />
+<span class="index-where">(in&nbsp;<a href="pyinotify.WatchManager-class.html">WatchManager</a>)</span></td>
+<td width="33%" class="link-index">&nbsp;</td>
+</tr>
+<tr>
+<td width="33%" class="link-index"><a href="pyinotify.Notifier-class.html#read_events">read_events()</a><br />
+<span class="index-where">(in&nbsp;<a href="pyinotify.Notifier-class.html">Notifier</a>)</span></td>
+<td width="33%" class="link-index"><a href="pyinotify.ThreadedNotifier-class.html#run">run()</a><br />
+<span class="index-where">(in&nbsp;<a href="pyinotify.ThreadedNotifier-class.html">ThreadedNotifier</a>)</span></td>
+<td width="33%" class="link-index">&nbsp;</td>
+</tr>
+</table>
+</td></tr>
+<tr valign="top"><td valign="top" width="1%"><h2 class="epydoc"><a name="S">S</a></h2></td>
+<td valign="top">
+<table class="link-index" width="100%" border="1">
+<tr>
+<td width="33%" class="link-index"><a href="pyinotify.SysCtlINotify-class.html#set_val">set_val()</a><br />
+<span class="index-where">(in&nbsp;<a href="pyinotify.SysCtlINotify-class.html">SysCtlINotify</a>)</span></td>
+<td width="33%" class="link-index"><a href="pyinotify.Stats-class.html">Stats</a><br />
+<span class="index-where">(in&nbsp;<a href="pyinotify-module.html">pyinotify</a>)</span></td>
+<td width="33%" class="link-index"><a href="pyinotify-module.html#strerrno">strerrno()</a><br />
+<span class="index-where">(in&nbsp;<a href="pyinotify-module.html">pyinotify</a>)</span></td>
+</tr>
+<tr>
+<td width="33%" class="link-index"><a href="pyinotify.RawOutputFormat-class.html#simple">simple()</a><br />
+<span class="index-where">(in&nbsp;<a href="pyinotify.RawOutputFormat-class.html">RawOutputFormat</a>)</span></td>
+<td width="33%" class="link-index"><a href="pyinotify.Notifier-class.html#stop">stop()</a><br />
+<span class="index-where">(in&nbsp;<a href="pyinotify.Notifier-class.html">Notifier</a>)</span></td>
+<td width="33%" class="link-index"><a href="pyinotify.SysCtlINotify-class.html">SysCtlINotify</a><br />
+<span class="index-where">(in&nbsp;<a href="pyinotify-module.html">pyinotify</a>)</span></td>
+</tr>
+<tr>
+<td width="33%" class="link-index"><a href="pyinotify.EventsCodes-class.html#SPECIAL_FLAGS">SPECIAL_FLAGS</a><br />
+<span class="index-where">(in&nbsp;<a href="pyinotify.EventsCodes-class.html">EventsCodes</a>)</span></td>
+<td width="33%" class="link-index"><a href="pyinotify.ThreadedNotifier-class.html#stop">stop()</a><br />
+<span class="index-where">(in&nbsp;<a href="pyinotify.ThreadedNotifier-class.html">ThreadedNotifier</a>)</span></td>
+<td width="33%" class="link-index">&nbsp;</td>
+</tr>
+</table>
+</td></tr>
+<tr valign="top"><td valign="top" width="1%"><h2 class="epydoc"><a name="T">T</a></h2></td>
+<td valign="top">
+<table class="link-index" width="100%" border="1">
+<tr>
+<td width="33%" class="link-index"><a href="pyinotify.ThreadedNotifier-class.html">ThreadedNotifier</a><br />
+<span class="index-where">(in&nbsp;<a href="pyinotify-module.html">pyinotify</a>)</span></td>
+<td width="33%" class="link-index">&nbsp;</td>
+<td width="33%" class="link-index">&nbsp;</td>
+</tr>
+<tr><td class="link-index">&nbsp;</td><td class="link-index">&nbsp;</td><td class="link-index">&nbsp;</td></tr>
+</table>
+</td></tr>
+<tr valign="top"><td valign="top" width="1%"><h2 class="epydoc"><a name="U">U</a></h2></td>
+<td valign="top">
+<table class="link-index" width="100%" border="1">
+<tr>
+<td width="33%" class="link-index"><a href="pyinotify.UnicodeLogRecord-class.html">UnicodeLogRecord</a><br />
+<span class="index-where">(in&nbsp;<a href="pyinotify-module.html">pyinotify</a>)</span></td>
+<td width="33%" class="link-index"><a href="pyinotify.UnsupportedPythonVersionError-class.html">UnsupportedPythonVersionError</a><br />
+<span class="index-where">(in&nbsp;<a href="pyinotify-module.html">pyinotify</a>)</span></td>
+<td width="33%" class="link-index">&nbsp;</td>
+</tr>
+<tr>
+<td width="33%" class="link-index"><a href="pyinotify.UnsupportedLibcVersionError-class.html">UnsupportedLibcVersionError</a><br />
+<span class="index-where">(in&nbsp;<a href="pyinotify-module.html">pyinotify</a>)</span></td>
+<td width="33%" class="link-index"><a href="pyinotify.WatchManager-class.html#update_watch">update_watch()</a><br />
+<span class="index-where">(in&nbsp;<a href="pyinotify.WatchManager-class.html">WatchManager</a>)</span></td>
+<td width="33%" class="link-index">&nbsp;</td>
+</tr>
+</table>
+</td></tr>
+<tr valign="top"><td valign="top" width="1%"><h2 class="epydoc"><a name="V">V</a></h2></td>
+<td valign="top">
+<table class="link-index" width="100%" border="1">
+<tr>
+<td width="33%" class="link-index"><a href="pyinotify-module.html#val">val</a><br />
+<span class="index-where">(in&nbsp;<a href="pyinotify-module.html">pyinotify</a>)</span></td>
+<td width="33%" class="link-index"><a href="pyinotify-module.html#valc">valc</a><br />
+<span class="index-where">(in&nbsp;<a href="pyinotify-module.html">pyinotify</a>)</span></td>
+<td width="33%" class="link-index"><a href="pyinotify.SysCtlINotify-class.html#value">value</a><br />
+<span class="index-where">(in&nbsp;<a href="pyinotify.SysCtlINotify-class.html">SysCtlINotify</a>)</span></td>
+</tr>
+<tr><td class="link-index">&nbsp;</td><td class="link-index">&nbsp;</td><td class="link-index">&nbsp;</td></tr>
+</table>
+</td></tr>
+<tr valign="top"><td valign="top" width="1%"><h2 class="epydoc"><a name="W">W</a></h2></td>
+<td valign="top">
+<table class="link-index" width="100%" border="1">
+<tr>
+<td width="33%" class="link-index"><a href="pyinotify.Watch-class.html">Watch</a><br />
+<span class="index-where">(in&nbsp;<a href="pyinotify-module.html">pyinotify</a>)</span></td>
+<td width="33%" class="link-index"><a href="pyinotify.WatchManager-class.html#watches">watches</a><br />
+<span class="index-where">(in&nbsp;<a href="pyinotify.WatchManager-class.html">WatchManager</a>)</span></td>
+<td width="33%" class="link-index"><a href="pyinotify.WatchManagerError-class.html">WatchManagerError</a><br />
+<span class="index-where">(in&nbsp;<a href="pyinotify-module.html">pyinotify</a>)</span></td>
+</tr>
+<tr>
+<td width="33%" class="link-index"><a href="pyinotify.WatchManager-class.html#watch_transient_file">watch_transient_file()</a><br />
+<span class="index-where">(in&nbsp;<a href="pyinotify.WatchManager-class.html">WatchManager</a>)</span></td>
+<td width="33%" class="link-index"><a href="pyinotify.WatchManager-class.html">WatchManager</a><br />
+<span class="index-where">(in&nbsp;<a href="pyinotify-module.html">pyinotify</a>)</span></td>
+<td width="33%" class="link-index">&nbsp;</td>
+</tr>
+</table>
+</td></tr>
+<tr valign="top"><td valign="top" width="1%"><h2 class="epydoc"><a name="_">_</a></h2></td>
+<td valign="top">
+<table class="link-index" width="100%" border="1">
+<tr>
+<td width="33%" class="link-index"><a href="pyinotify.WatchManager-class.html#__add_watch">__add_watch()</a><br />
+<span class="index-where">(in&nbsp;<a href="pyinotify.WatchManager-class.html">WatchManager</a>)</span></td>
+<td width="33%" class="link-index"><a href="pyinotify.ProcessEvent-class.html#__init__">__init__()</a><br />
+<span class="index-where">(in&nbsp;<a href="pyinotify.ProcessEvent-class.html">ProcessEvent</a>)</span></td>
+<td width="33%" class="link-index"><a href="pyinotify.SysCtlINotify-class.html#__repr__">__repr__()</a><br />
+<span class="index-where">(in&nbsp;<a href="pyinotify.SysCtlINotify-class.html">SysCtlINotify</a>)</span></td>
+</tr>
+<tr>
+<td width="33%" class="link-index"><a href="pyinotify-module.html#__author__">__author__</a><br />
+<span class="index-where">(in&nbsp;<a href="pyinotify-module.html">pyinotify</a>)</span></td>
+<td width="33%" class="link-index"><a href="pyinotify.ProcessEventError-class.html#__init__">__init__()</a><br />
+<span class="index-where">(in&nbsp;<a href="pyinotify.ProcessEventError-class.html">ProcessEventError</a>)</span></td>
+<td width="33%" class="link-index"><a href="pyinotify.Watch-class.html#__repr__">__repr__()</a><br />
+<span class="index-where">(in&nbsp;<a href="pyinotify.Watch-class.html">Watch</a>)</span></td>
+</tr>
+<tr>
+<td width="33%" class="link-index"><a href="pyinotify.ExcludeFilter-class.html#__call__">__call__()</a><br />
+<span class="index-where">(in&nbsp;<a href="pyinotify.ExcludeFilter-class.html">ExcludeFilter</a>)</span></td>
+<td width="33%" class="link-index"><a href="pyinotify.RawOutputFormat-class.html#__init__">__init__()</a><br />
+<span class="index-where">(in&nbsp;<a href="pyinotify.RawOutputFormat-class.html">RawOutputFormat</a>)</span></td>
+<td width="33%" class="link-index"><a href="pyinotify._Event-class.html#__repr__">__repr__()</a><br />
+<span class="index-where">(in&nbsp;<a href="pyinotify._Event-class.html" onclick="show_private();">_Event</a>)</span></td>
+</tr>
+<tr>
+<td width="33%" class="link-index"><a href="pyinotify.ProcessEvent-class.html#__call__">__call__()</a><br />
+<span class="index-where">(in&nbsp;<a href="pyinotify.ProcessEvent-class.html">ProcessEvent</a>)</span></td>
+<td width="33%" class="link-index"><a href="pyinotify.SysCtlINotify-class.html#__init__">__init__()</a><br />
+<span class="index-where">(in&nbsp;<a href="pyinotify.SysCtlINotify-class.html">SysCtlINotify</a>)</span></td>
+<td width="33%" class="link-index"><a href="pyinotify._ProcessEvent-class.html#__repr__">__repr__()</a><br />
+<span class="index-where">(in&nbsp;<a href="pyinotify._ProcessEvent-class.html" onclick="show_private();">_ProcessEvent</a>)</span></td>
+</tr>
+<tr>
+<td width="33%" class="link-index"><a href="pyinotify._ProcessEvent-class.html#__call__">__call__()</a><br />
+<span class="index-where">(in&nbsp;<a href="pyinotify._ProcessEvent-class.html" onclick="show_private();">_ProcessEvent</a>)</span></td>
+<td width="33%" class="link-index"><a href="pyinotify.ThreadedNotifier-class.html#__init__">__init__()</a><br />
+<span class="index-where">(in&nbsp;<a href="pyinotify.ThreadedNotifier-class.html">ThreadedNotifier</a>)</span></td>
+<td width="33%" class="link-index"><a href="pyinotify.Stats-class.html#__str__">__str__()</a><br />
+<span class="index-where">(in&nbsp;<a href="pyinotify.Stats-class.html">Stats</a>)</span></td>
+</tr>
+<tr>
+<td width="33%" class="link-index"><a href="pyinotify.Notifier-class.html#__daemonize">__daemonize()</a><br />
+<span class="index-where">(in&nbsp;<a href="pyinotify.Notifier-class.html">Notifier</a>)</span></td>
+<td width="33%" class="link-index"><a href="pyinotify.UnicodeLogRecord-class.html#__init__">__init__()</a><br />
+<span class="index-where">(in&nbsp;<a href="pyinotify.UnicodeLogRecord-class.html">UnicodeLogRecord</a>)</span></td>
+<td width="33%" class="link-index"><a href="pyinotify._Event-class.html#__str__">__str__()</a><br />
+<span class="index-where">(in&nbsp;<a href="pyinotify._Event-class.html" onclick="show_private();">_Event</a>)</span></td>
+</tr>
+<tr>
+<td width="33%" class="link-index"><a href="pyinotify.WatchManager-class.html#__format_param">__format_param()</a><br />
+<span class="index-where">(in&nbsp;<a href="pyinotify.WatchManager-class.html">WatchManager</a>)</span></td>
+<td width="33%" class="link-index"><a href="pyinotify.UnsupportedLibcVersionError-class.html#__init__">__init__()</a><br />
+<span class="index-where">(in&nbsp;<a href="pyinotify.UnsupportedLibcVersionError-class.html">UnsupportedLibcVersionError</a>)</span></td>
+<td width="33%" class="link-index"><a href="pyinotify._RawEvent-class.html#__str__">__str__()</a><br />
+<span class="index-where">(in&nbsp;<a href="pyinotify._RawEvent-class.html" onclick="show_private();">_RawEvent</a>)</span></td>
+</tr>
+<tr>
+<td width="33%" class="link-index"><a href="pyinotify.WatchManager-class.html#__format_path">__format_path()</a><br />
+<span class="index-where">(in&nbsp;<a href="pyinotify.WatchManager-class.html">WatchManager</a>)</span></td>
+<td width="33%" class="link-index"><a href="pyinotify.UnsupportedPythonVersionError-class.html#__init__">__init__()</a><br />
+<span class="index-where">(in&nbsp;<a href="pyinotify.UnsupportedPythonVersionError-class.html">UnsupportedPythonVersionError</a>)</span></td>
+<td width="33%" class="link-index"><a href="pyinotify.WatchManager-class.html#__walk_rec">__walk_rec()</a><br />
+<span class="index-where">(in&nbsp;<a href="pyinotify.WatchManager-class.html">WatchManager</a>)</span></td>
+</tr>
+<tr>
+<td width="33%" class="link-index"><a href="pyinotify.WatchManager-class.html#__get_sub_rec">__get_sub_rec()</a><br />
+<span class="index-where">(in&nbsp;<a href="pyinotify.WatchManager-class.html">WatchManager</a>)</span></td>
+<td width="33%" class="link-index"><a href="pyinotify.Watch-class.html#__init__">__init__()</a><br />
+<span class="index-where">(in&nbsp;<a href="pyinotify.Watch-class.html">Watch</a>)</span></td>
+<td width="33%" class="link-index"><a href="pyinotify._Event-class.html">_Event</a><br />
+<span class="index-where">(in&nbsp;<a href="pyinotify-module.html">pyinotify</a>)</span></td>
+</tr>
+<tr>
+<td width="33%" class="link-index"><a href="pyinotify.WatchManager-class.html#__glob">__glob()</a><br />
+<span class="index-where">(in&nbsp;<a href="pyinotify.WatchManager-class.html">WatchManager</a>)</span></td>
+<td width="33%" class="link-index"><a href="pyinotify.WatchManager-class.html#__init__">__init__()</a><br />
+<span class="index-where">(in&nbsp;<a href="pyinotify.WatchManager-class.html">WatchManager</a>)</span></td>
+<td width="33%" class="link-index"><a href="pyinotify.ExcludeFilter-class.html#_load_patterns_from_file">_load_patterns_from_file()</a><br />
+<span class="index-where">(in&nbsp;<a href="pyinotify.ExcludeFilter-class.html">ExcludeFilter</a>)</span></td>
+</tr>
+<tr>
+<td width="33%" class="link-index"><a href="pyinotify.AsyncNotifier-class.html#__init__">__init__()</a><br />
+<span class="index-where">(in&nbsp;<a href="pyinotify.AsyncNotifier-class.html">AsyncNotifier</a>)</span></td>
+<td width="33%" class="link-index"><a href="pyinotify.WatchManagerError-class.html#__init__">__init__()</a><br />
+<span class="index-where">(in&nbsp;<a href="pyinotify.WatchManagerError-class.html">WatchManagerError</a>)</span></td>
+<td width="33%" class="link-index"><a href="pyinotify.ExcludeFilter-class.html#_match">_match()</a><br />
+<span class="index-where">(in&nbsp;<a href="pyinotify.ExcludeFilter-class.html">ExcludeFilter</a>)</span></td>
+</tr>
+<tr>
+<td width="33%" class="link-index"><a href="pyinotify.ColoredOutputFormat-class.html#__init__">__init__()</a><br />
+<span class="index-where">(in&nbsp;<a href="pyinotify.ColoredOutputFormat-class.html">ColoredOutputFormat</a>)</span></td>
+<td width="33%" class="link-index"><a href="pyinotify._Event-class.html#__init__">__init__()</a><br />
+<span class="index-where">(in&nbsp;<a href="pyinotify._Event-class.html" onclick="show_private();">_Event</a>)</span></td>
+<td width="33%" class="link-index"><a href="pyinotify._ProcessEvent-class.html">_ProcessEvent</a><br />
+<span class="index-where">(in&nbsp;<a href="pyinotify-module.html">pyinotify</a>)</span></td>
+</tr>
+<tr>
+<td width="33%" class="link-index"><a href="pyinotify.Event-class.html#__init__">__init__()</a><br />
+<span class="index-where">(in&nbsp;<a href="pyinotify.Event-class.html">Event</a>)</span></td>
+<td width="33%" class="link-index"><a href="pyinotify._RawEvent-class.html#__init__">__init__()</a><br />
+<span class="index-where">(in&nbsp;<a href="pyinotify._RawEvent-class.html" onclick="show_private();">_RawEvent</a>)</span></td>
+<td width="33%" class="link-index"><a href="pyinotify._RawEvent-class.html">_RawEvent</a><br />
+<span class="index-where">(in&nbsp;<a href="pyinotify-module.html">pyinotify</a>)</span></td>
+</tr>
+<tr>
+<td width="33%" class="link-index"><a href="pyinotify.ExcludeFilter-class.html#__init__">__init__()</a><br />
+<span class="index-where">(in&nbsp;<a href="pyinotify.ExcludeFilter-class.html">ExcludeFilter</a>)</span></td>
+<td width="33%" class="link-index"><a href="pyinotify._SysProcessEvent-class.html#__init__">__init__()</a><br />
+<span class="index-where">(in&nbsp;<a href="pyinotify._SysProcessEvent-class.html" onclick="show_private();">_SysProcessEvent</a>)</span></td>
+<td width="33%" class="link-index"><a href="pyinotify.Notifier-class.html#_sleep">_sleep()</a><br />
+<span class="index-where">(in&nbsp;<a href="pyinotify.Notifier-class.html">Notifier</a>)</span></td>
+</tr>
+<tr>
+<td width="33%" class="link-index"><a href="pyinotify.Notifier-class.html#__init__">__init__()</a><br />
+<span class="index-where">(in&nbsp;<a href="pyinotify.Notifier-class.html">Notifier</a>)</span></td>
+<td width="33%" class="link-index"><a href="pyinotify-module.html#__package__">__package__</a><br />
+<span class="index-where">(in&nbsp;<a href="pyinotify-module.html">pyinotify</a>)</span></td>
+<td width="33%" class="link-index"><a href="pyinotify.Stats-class.html#_stats_copy">_stats_copy()</a><br />
+<span class="index-where">(in&nbsp;<a href="pyinotify.Stats-class.html">Stats</a>)</span></td>
+</tr>
+<tr>
+<td width="33%" class="link-index"><a href="pyinotify.NotifierError-class.html#__init__">__init__()</a><br />
+<span class="index-where">(in&nbsp;<a href="pyinotify.NotifierError-class.html">NotifierError</a>)</span></td>
+<td width="33%" class="link-index"><a href="pyinotify.Stats-class.html#__repr__">__repr__()</a><br />
+<span class="index-where">(in&nbsp;<a href="pyinotify.Stats-class.html">Stats</a>)</span></td>
+<td width="33%" class="link-index"><a href="pyinotify._SysProcessEvent-class.html">_SysProcessEvent</a><br />
+<span class="index-where">(in&nbsp;<a href="pyinotify-module.html">pyinotify</a>)</span></td>
+</tr>
+</table>
+</td></tr>
+</table>
+<br /><br /><!-- ==================== NAVIGATION BAR ==================== -->
+<table class="navbar" border="0" width="100%" cellpadding="0"
+ bgcolor="#a0c0ff" cellspacing="0">
+ <tr valign="middle">
+ <!-- Home link -->
+ <th>&nbsp;&nbsp;&nbsp;<a
+ href="pyinotify-module.html">Home</a>&nbsp;&nbsp;&nbsp;</th>
+
+ <!-- Tree link -->
+ <th>&nbsp;&nbsp;&nbsp;<a
+ href="module-tree.html">Trees</a>&nbsp;&nbsp;&nbsp;</th>
+
+ <!-- Index link -->
+ <th bgcolor="#70b0f0" class="navbar-select"
+ >&nbsp;&nbsp;&nbsp;Indices&nbsp;&nbsp;&nbsp;</th>
+
+ <!-- Help link -->
+ <th>&nbsp;&nbsp;&nbsp;<a
+ href="help.html">Help</a>&nbsp;&nbsp;&nbsp;</th>
+
+ <th class="navbar" width="100%"></th>
+ </tr>
+</table>
+<table border="0" cellpadding="0" cellspacing="0" width="100%%">
+ <tr>
+ <td align="left" class="footer">
+ Generated by Epydoc 3.0.1 on Wed Sep 15 21:46:49 2010
+ </td>
+ <td align="right" class="footer">
+ <a target="mainFrame" href="http://epydoc.sourceforge.net"
+ >http://epydoc.sourceforge.net</a>
+ </td>
+ </tr>
+</table>
+
+<script type="text/javascript">
+ <!--
+ // Private objects are initially displayed (because if
+ // javascript is turned off then we want them to be
+ // visible); but by default, we want to hide them. So hide
+ // them unless we have a cookie that says to show them.
+ checkCookie();
+ // -->
+</script>
+</body>
+</html>
diff --git a/python2/docstrings/index.html b/python2/docstrings/index.html
new file mode 100644
index 0000000..d2f3830
--- /dev/null
+++ b/python2/docstrings/index.html
@@ -0,0 +1,17 @@
+<?xml version="1.0" encoding="iso-8859-1"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Frameset//EN"
+ "DTD/xhtml1-frameset.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+ <title> API Documentation </title>
+</head>
+<frameset cols="20%,80%">
+ <frameset rows="30%,70%">
+ <frame src="toc.html" name="moduleListFrame"
+ id="moduleListFrame" />
+ <frame src="toc-everything.html" name="moduleFrame"
+ id="moduleFrame" />
+ </frameset>
+ <frame src="pyinotify-module.html" name="mainFrame" id="mainFrame" />
+</frameset>
+</html>
diff --git a/python2/docstrings/module-tree.html b/python2/docstrings/module-tree.html
new file mode 100644
index 0000000..1f38f66
--- /dev/null
+++ b/python2/docstrings/module-tree.html
@@ -0,0 +1,105 @@
+<?xml version="1.0" encoding="ascii"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+ <title>Module Hierarchy</title>
+ <link rel="stylesheet" href="epydoc.css" type="text/css" />
+ <script type="text/javascript" src="epydoc.js"></script>
+</head>
+
+<body bgcolor="white" text="black" link="blue" vlink="#204080"
+ alink="#204080">
+<!-- ==================== NAVIGATION BAR ==================== -->
+<table class="navbar" border="0" width="100%" cellpadding="0"
+ bgcolor="#a0c0ff" cellspacing="0">
+ <tr valign="middle">
+ <!-- Home link -->
+ <th>&nbsp;&nbsp;&nbsp;<a
+ href="pyinotify-module.html">Home</a>&nbsp;&nbsp;&nbsp;</th>
+
+ <!-- Tree link -->
+ <th bgcolor="#70b0f0" class="navbar-select"
+ >&nbsp;&nbsp;&nbsp;Trees&nbsp;&nbsp;&nbsp;</th>
+
+ <!-- Index link -->
+ <th>&nbsp;&nbsp;&nbsp;<a
+ href="identifier-index.html">Indices</a>&nbsp;&nbsp;&nbsp;</th>
+
+ <!-- Help link -->
+ <th>&nbsp;&nbsp;&nbsp;<a
+ href="help.html">Help</a>&nbsp;&nbsp;&nbsp;</th>
+
+ <th class="navbar" width="100%"></th>
+ </tr>
+</table>
+<table width="100%" cellpadding="0" cellspacing="0">
+ <tr valign="top">
+ <td width="100%">&nbsp;</td>
+ <td>
+ <table cellpadding="0" cellspacing="0">
+ <!-- hide/show private -->
+ <tr><td align="right"><span class="options">[<a href="javascript:void(0);" class="privatelink"
+ onclick="toggle_private();">hide&nbsp;private</a>]</span></td></tr>
+ <tr><td align="right"><span class="options"
+ >[<a href="frames.html" target="_top">frames</a
+ >]&nbsp;|&nbsp;<a href="module-tree.html"
+ target="_top">no&nbsp;frames</a>]</span></td></tr>
+ </table>
+ </td>
+ </tr>
+</table>
+<center><b>
+ [ <a href="module-tree.html">Module Hierarchy</a>
+ | <a href="class-tree.html">Class Hierarchy</a> ]
+</b></center><br />
+<h1 class="epydoc">Module Hierarchy</h1>
+<ul class="nomargin-top">
+ <li> <strong class="uidlink"><a href="pyinotify-module.html">pyinotify</a></strong>: <em class="summary">pyinotify</em> </li>
+</ul>
+<!-- ==================== NAVIGATION BAR ==================== -->
+<table class="navbar" border="0" width="100%" cellpadding="0"
+ bgcolor="#a0c0ff" cellspacing="0">
+ <tr valign="middle">
+ <!-- Home link -->
+ <th>&nbsp;&nbsp;&nbsp;<a
+ href="pyinotify-module.html">Home</a>&nbsp;&nbsp;&nbsp;</th>
+
+ <!-- Tree link -->
+ <th bgcolor="#70b0f0" class="navbar-select"
+ >&nbsp;&nbsp;&nbsp;Trees&nbsp;&nbsp;&nbsp;</th>
+
+ <!-- Index link -->
+ <th>&nbsp;&nbsp;&nbsp;<a
+ href="identifier-index.html">Indices</a>&nbsp;&nbsp;&nbsp;</th>
+
+ <!-- Help link -->
+ <th>&nbsp;&nbsp;&nbsp;<a
+ href="help.html">Help</a>&nbsp;&nbsp;&nbsp;</th>
+
+ <th class="navbar" width="100%"></th>
+ </tr>
+</table>
+<table border="0" cellpadding="0" cellspacing="0" width="100%%">
+ <tr>
+ <td align="left" class="footer">
+ Generated by Epydoc 3.0.1 on Wed Sep 15 21:46:49 2010
+ </td>
+ <td align="right" class="footer">
+ <a target="mainFrame" href="http://epydoc.sourceforge.net"
+ >http://epydoc.sourceforge.net</a>
+ </td>
+ </tr>
+</table>
+
+<script type="text/javascript">
+ <!--
+ // Private objects are initially displayed (because if
+ // javascript is turned off then we want them to be
+ // visible); but by default, we want to hide them. So hide
+ // them unless we have a cookie that says to show them.
+ checkCookie();
+ // -->
+</script>
+</body>
+</html>
diff --git a/python2/docstrings/pyinotify-module.html b/python2/docstrings/pyinotify-module.html
new file mode 100644
index 0000000..c12be8a
--- /dev/null
+++ b/python2/docstrings/pyinotify-module.html
@@ -0,0 +1,824 @@
+<?xml version="1.0" encoding="ascii"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+ <title>pyinotify</title>
+ <link rel="stylesheet" href="epydoc.css" type="text/css" />
+ <script type="text/javascript" src="epydoc.js"></script>
+</head>
+
+<body bgcolor="white" text="black" link="blue" vlink="#204080"
+ alink="#204080">
+<!-- ==================== NAVIGATION BAR ==================== -->
+<table class="navbar" border="0" width="100%" cellpadding="0"
+ bgcolor="#a0c0ff" cellspacing="0">
+ <tr valign="middle">
+ <!-- Home link -->
+ <th bgcolor="#70b0f0" class="navbar-select"
+ >&nbsp;&nbsp;&nbsp;Home&nbsp;&nbsp;&nbsp;</th>
+
+ <!-- Tree link -->
+ <th>&nbsp;&nbsp;&nbsp;<a
+ href="module-tree.html">Trees</a>&nbsp;&nbsp;&nbsp;</th>
+
+ <!-- Index link -->
+ <th>&nbsp;&nbsp;&nbsp;<a
+ href="identifier-index.html">Indices</a>&nbsp;&nbsp;&nbsp;</th>
+
+ <!-- Help link -->
+ <th>&nbsp;&nbsp;&nbsp;<a
+ href="help.html">Help</a>&nbsp;&nbsp;&nbsp;</th>
+
+ <th class="navbar" width="100%"></th>
+ </tr>
+</table>
+<table width="100%" cellpadding="0" cellspacing="0">
+ <tr valign="top">
+ <td width="100%">
+ <span class="breadcrumbs">
+ Module&nbsp;pyinotify
+ </span>
+ </td>
+ <td>
+ <table cellpadding="0" cellspacing="0">
+ <!-- hide/show private -->
+ <tr><td align="right"><span class="options">[<a href="javascript:void(0);" class="privatelink"
+ onclick="toggle_private();">hide&nbsp;private</a>]</span></td></tr>
+ <tr><td align="right"><span class="options"
+ >[<a href="frames.html" target="_top">frames</a
+ >]&nbsp;|&nbsp;<a href="pyinotify-module.html"
+ target="_top">no&nbsp;frames</a>]</span></td></tr>
+ </table>
+ </td>
+ </tr>
+</table>
+<!-- ==================== MODULE DESCRIPTION ==================== -->
+<h1 class="epydoc">Module pyinotify</h1><p class="nomargin-top"><span class="codelink"><a href="pyinotify-pysrc.html">source&nbsp;code</a></span></p>
+<p>pyinotify</p>
+
+<hr />
+<div class="fields"> <p><strong>Author:</strong>
+ Sebastien Martini
+ </p>
+ <p><strong>License:</strong>
+ MIT License
+ </p>
+ <p><strong>Contact:</strong>
+ seb@dbzteam.org
+ </p>
+ <p><strong>Version:</strong>
+ git.current.python2
+ </p>
+</div><!-- ==================== CLASSES ==================== -->
+<a name="section-Classes"></a>
+<table class="summary" border="1" cellpadding="3"
+ cellspacing="0" width="100%" bgcolor="white">
+<tr bgcolor="#70b0f0" class="table-header">
+ <td colspan="2" class="table-header">
+ <table border="0" cellpadding="0" cellspacing="0" width="100%">
+ <tr valign="top">
+ <td align="left"><span class="table-header">Classes</span></td>
+ <td align="right" valign="top"
+ ><span class="options">[<a href="#section-Classes"
+ class="privatelink" onclick="toggle_private();"
+ >hide private</a>]</span></td>
+ </tr>
+ </table>
+ </td>
+</tr>
+<tr>
+ <td width="15%" align="right" valign="top" class="summary">
+ <span class="summary-type">&nbsp;</span>
+ </td><td class="summary">
+ <a href="pyinotify.PyinotifyError-class.html" class="summary-name">PyinotifyError</a><br />
+ Indicates exceptions raised by a Pyinotify class.
+ </td>
+ </tr>
+<tr>
+ <td width="15%" align="right" valign="top" class="summary">
+ <span class="summary-type">&nbsp;</span>
+ </td><td class="summary">
+ <a href="pyinotify.UnsupportedPythonVersionError-class.html" class="summary-name">UnsupportedPythonVersionError</a><br />
+ Raised on unsupported Python versions.
+ </td>
+ </tr>
+<tr>
+ <td width="15%" align="right" valign="top" class="summary">
+ <span class="summary-type">&nbsp;</span>
+ </td><td class="summary">
+ <a href="pyinotify.UnsupportedLibcVersionError-class.html" class="summary-name">UnsupportedLibcVersionError</a><br />
+ Raised when libc couldn't be loaded or when inotify functions
+ werent provided.
+ </td>
+ </tr>
+<tr>
+ <td width="15%" align="right" valign="top" class="summary">
+ <span class="summary-type">&nbsp;</span>
+ </td><td class="summary">
+ <a href="pyinotify.PyinotifyLogger-class.html" class="summary-name">PyinotifyLogger</a><br />
+ Pyinotify logger used for logging unicode strings.
+ </td>
+ </tr>
+<tr>
+ <td width="15%" align="right" valign="top" class="summary">
+ <span class="summary-type">&nbsp;</span>
+ </td><td class="summary">
+ <a href="pyinotify.UnicodeLogRecord-class.html" class="summary-name">UnicodeLogRecord</a>
+ </td>
+ </tr>
+<tr>
+ <td width="15%" align="right" valign="top" class="summary">
+ <span class="summary-type">&nbsp;</span>
+ </td><td class="summary">
+ <a href="pyinotify.SysCtlINotify-class.html" class="summary-name">SysCtlINotify</a><br />
+ Access (read, write) inotify's variables through sysctl.
+ </td>
+ </tr>
+<tr>
+ <td width="15%" align="right" valign="top" class="summary">
+ <span class="summary-type">&nbsp;</span>
+ </td><td class="summary">
+ <a href="pyinotify.EventsCodes-class.html" class="summary-name">EventsCodes</a><br />
+ Set of codes corresponding to each kind of events.
+ </td>
+ </tr>
+<tr class="private">
+ <td width="15%" align="right" valign="top" class="summary">
+ <span class="summary-type">&nbsp;</span>
+ </td><td class="summary">
+ <a href="pyinotify._Event-class.html" class="summary-name" onclick="show_private();">_Event</a><br />
+ Event structure, represent events raised by the system.
+ </td>
+ </tr>
+<tr class="private">
+ <td width="15%" align="right" valign="top" class="summary">
+ <span class="summary-type">&nbsp;</span>
+ </td><td class="summary">
+ <a href="pyinotify._RawEvent-class.html" class="summary-name" onclick="show_private();">_RawEvent</a><br />
+ Raw event, it contains only the informations provided by the
+ system.
+ </td>
+ </tr>
+<tr>
+ <td width="15%" align="right" valign="top" class="summary">
+ <span class="summary-type">&nbsp;</span>
+ </td><td class="summary">
+ <a href="pyinotify.Event-class.html" class="summary-name">Event</a><br />
+ This class contains all the useful informations about the observed
+ event.
+ </td>
+ </tr>
+<tr>
+ <td width="15%" align="right" valign="top" class="summary">
+ <span class="summary-type">&nbsp;</span>
+ </td><td class="summary">
+ <a href="pyinotify.ProcessEventError-class.html" class="summary-name">ProcessEventError</a><br />
+ ProcessEventError Exception.
+ </td>
+ </tr>
+<tr class="private">
+ <td width="15%" align="right" valign="top" class="summary">
+ <span class="summary-type">&nbsp;</span>
+ </td><td class="summary">
+ <a href="pyinotify._ProcessEvent-class.html" class="summary-name" onclick="show_private();">_ProcessEvent</a><br />
+ Abstract processing event class.
+ </td>
+ </tr>
+<tr class="private">
+ <td width="15%" align="right" valign="top" class="summary">
+ <span class="summary-type">&nbsp;</span>
+ </td><td class="summary">
+ <a href="pyinotify._SysProcessEvent-class.html" class="summary-name" onclick="show_private();">_SysProcessEvent</a><br />
+ There is three kind of processing according to each event:
+ </td>
+ </tr>
+<tr>
+ <td width="15%" align="right" valign="top" class="summary">
+ <span class="summary-type">&nbsp;</span>
+ </td><td class="summary">
+ <a href="pyinotify.ProcessEvent-class.html" class="summary-name">ProcessEvent</a><br />
+ Process events objects, can be specialized via subclassing, thus
+ its behavior can be overriden:
+ </td>
+ </tr>
+<tr>
+ <td width="15%" align="right" valign="top" class="summary">
+ <span class="summary-type">&nbsp;</span>
+ </td><td class="summary">
+ <a href="pyinotify.PrintAllEvents-class.html" class="summary-name">PrintAllEvents</a><br />
+ Dummy class used to print events strings representations.
+ </td>
+ </tr>
+<tr>
+ <td width="15%" align="right" valign="top" class="summary">
+ <span class="summary-type">&nbsp;</span>
+ </td><td class="summary">
+ <a href="pyinotify.ChainIfTrue-class.html" class="summary-name">ChainIfTrue</a><br />
+ Makes conditional chaining depending on the result of the nested
+ processing instance.
+ </td>
+ </tr>
+<tr>
+ <td width="15%" align="right" valign="top" class="summary">
+ <span class="summary-type">&nbsp;</span>
+ </td><td class="summary">
+ <a href="pyinotify.Stats-class.html" class="summary-name">Stats</a><br />
+ Compute and display trivial statistics about processed events.
+ </td>
+ </tr>
+<tr>
+ <td width="15%" align="right" valign="top" class="summary">
+ <span class="summary-type">&nbsp;</span>
+ </td><td class="summary">
+ <a href="pyinotify.NotifierError-class.html" class="summary-name">NotifierError</a><br />
+ Notifier Exception.
+ </td>
+ </tr>
+<tr>
+ <td width="15%" align="right" valign="top" class="summary">
+ <span class="summary-type">&nbsp;</span>
+ </td><td class="summary">
+ <a href="pyinotify.Notifier-class.html" class="summary-name">Notifier</a><br />
+ Read notifications, process events.
+ </td>
+ </tr>
+<tr>
+ <td width="15%" align="right" valign="top" class="summary">
+ <span class="summary-type">&nbsp;</span>
+ </td><td class="summary">
+ <a href="pyinotify.ThreadedNotifier-class.html" class="summary-name">ThreadedNotifier</a><br />
+ This notifier inherits from threading.Thread for instanciating a
+ separate thread, and also inherits from Notifier, because it is a
+ threaded notifier.
+ </td>
+ </tr>
+<tr>
+ <td width="15%" align="right" valign="top" class="summary">
+ <span class="summary-type">&nbsp;</span>
+ </td><td class="summary">
+ <a href="pyinotify.AsyncNotifier-class.html" class="summary-name">AsyncNotifier</a><br />
+ This notifier inherits from asyncore.file_dispatcher in order to be
+ able to use pyinotify along with the asyncore framework.
+ </td>
+ </tr>
+<tr>
+ <td width="15%" align="right" valign="top" class="summary">
+ <span class="summary-type">&nbsp;</span>
+ </td><td class="summary">
+ <a href="pyinotify.Watch-class.html" class="summary-name">Watch</a><br />
+ Represent a watch, i.e.
+ </td>
+ </tr>
+<tr>
+ <td width="15%" align="right" valign="top" class="summary">
+ <span class="summary-type">&nbsp;</span>
+ </td><td class="summary">
+ <a href="pyinotify.ExcludeFilter-class.html" class="summary-name">ExcludeFilter</a><br />
+ ExcludeFilter is an exclusion filter.
+ </td>
+ </tr>
+<tr>
+ <td width="15%" align="right" valign="top" class="summary">
+ <span class="summary-type">&nbsp;</span>
+ </td><td class="summary">
+ <a href="pyinotify.WatchManagerError-class.html" class="summary-name">WatchManagerError</a><br />
+ WatchManager Exception.
+ </td>
+ </tr>
+<tr>
+ <td width="15%" align="right" valign="top" class="summary">
+ <span class="summary-type">&nbsp;</span>
+ </td><td class="summary">
+ <a href="pyinotify.WatchManager-class.html" class="summary-name">WatchManager</a><br />
+ Provide operations for watching files and directories.
+ </td>
+ </tr>
+<tr>
+ <td width="15%" align="right" valign="top" class="summary">
+ <span class="summary-type">&nbsp;</span>
+ </td><td class="summary">
+ <a href="pyinotify.RawOutputFormat-class.html" class="summary-name">RawOutputFormat</a><br />
+ Format string representations.
+ </td>
+ </tr>
+<tr>
+ <td width="15%" align="right" valign="top" class="summary">
+ <span class="summary-type">&nbsp;</span>
+ </td><td class="summary">
+ <a href="pyinotify.ColoredOutputFormat-class.html" class="summary-name">ColoredOutputFormat</a><br />
+ Format colored string representations.
+ </td>
+ </tr>
+</table>
+<!-- ==================== FUNCTIONS ==================== -->
+<a name="section-Functions"></a>
+<table class="summary" border="1" cellpadding="3"
+ cellspacing="0" width="100%" bgcolor="white">
+<tr bgcolor="#70b0f0" class="table-header">
+ <td colspan="2" class="table-header">
+ <table border="0" cellpadding="0" cellspacing="0" width="100%">
+ <tr valign="top">
+ <td align="left"><span class="table-header">Functions</span></td>
+ <td align="right" valign="top"
+ ><span class="options">[<a href="#section-Functions"
+ class="privatelink" onclick="toggle_private();"
+ >hide private</a>]</span></td>
+ </tr>
+ </table>
+ </td>
+</tr>
+<tr>
+ <td width="15%" align="right" valign="top" class="summary">
+ <span class="summary-type">&nbsp;</span>
+ </td><td class="summary">
+ <table width="100%" cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td><span class="summary-sig"><a name="strerrno"></a><span class="summary-sig-name">strerrno</span>()</span></td>
+ <td align="right" valign="top">
+ <span class="codelink"><a href="pyinotify-pysrc.html#strerrno">source&nbsp;code</a></span>
+
+ </td>
+ </tr>
+ </table>
+
+ </td>
+ </tr>
+<tr>
+ <td width="15%" align="right" valign="top" class="summary">
+ <span class="summary-type">&nbsp;</span>
+ </td><td class="summary">
+ <table width="100%" cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td><span class="summary-sig"><a name="load_libc"></a><span class="summary-sig-name">load_libc</span>()</span></td>
+ <td align="right" valign="top">
+ <span class="codelink"><a href="pyinotify-pysrc.html#load_libc">source&nbsp;code</a></span>
+
+ </td>
+ </tr>
+ </table>
+
+ </td>
+ </tr>
+<tr>
+ <td width="15%" align="right" valign="top" class="summary">
+ <span class="summary-type">&nbsp;</span>
+ </td><td class="summary">
+ <table width="100%" cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td><span class="summary-sig"><a name="logger_init"></a><span class="summary-sig-name">logger_init</span>()</span><br />
+ Initialize logger instance.</td>
+ <td align="right" valign="top">
+ <span class="codelink"><a href="pyinotify-pysrc.html#logger_init">source&nbsp;code</a></span>
+
+ </td>
+ </tr>
+ </table>
+
+ </td>
+ </tr>
+<tr>
+ <td width="15%" align="right" valign="top" class="summary">
+ <span class="summary-type">&nbsp;</span>
+ </td><td class="summary">
+ <table width="100%" cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td><span class="summary-sig"><a href="pyinotify-module.html#compatibility_mode" class="summary-sig-name">compatibility_mode</a>()</span><br />
+ Use this function to turn on the compatibility mode.</td>
+ <td align="right" valign="top">
+ <span class="codelink"><a href="pyinotify-pysrc.html#compatibility_mode">source&nbsp;code</a></span>
+
+ </td>
+ </tr>
+ </table>
+
+ </td>
+ </tr>
+<tr>
+ <td width="15%" align="right" valign="top" class="summary">
+ <span class="summary-type">&nbsp;</span>
+ </td><td class="summary">
+ <table width="100%" cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td><span class="summary-sig"><a href="pyinotify-module.html#command_line" class="summary-sig-name">command_line</a>()</span><br />
+ By default the watched path is '/tmp' and all types of events are
+ monitored.</td>
+ <td align="right" valign="top">
+ <span class="codelink"><a href="pyinotify-pysrc.html#command_line">source&nbsp;code</a></span>
+
+ </td>
+ </tr>
+ </table>
+
+ </td>
+ </tr>
+</table>
+<!-- ==================== VARIABLES ==================== -->
+<a name="section-Variables"></a>
+<table class="summary" border="1" cellpadding="3"
+ cellspacing="0" width="100%" bgcolor="white">
+<tr bgcolor="#70b0f0" class="table-header">
+ <td colspan="2" class="table-header">
+ <table border="0" cellpadding="0" cellspacing="0" width="100%">
+ <tr valign="top">
+ <td align="left"><span class="table-header">Variables</span></td>
+ <td align="right" valign="top"
+ ><span class="options">[<a href="#section-Variables"
+ class="privatelink" onclick="toggle_private();"
+ >hide private</a>]</span></td>
+ </tr>
+ </table>
+ </td>
+</tr>
+<tr>
+ <td width="15%" align="right" valign="top" class="summary">
+ <span class="summary-type">&nbsp;</span>
+ </td><td class="summary">
+ <a name="__author__"></a><span class="summary-name">__author__</span> = <code title="'seb@dbzteam.org (Sebastien Martini)'"><code class="variable-quote">'</code><code class="variable-string">seb@dbzteam.org (Sebastien Martini)</code><code class="variable-quote">'</code></code>
+ </td>
+ </tr>
+<tr>
+ <td width="15%" align="right" valign="top" class="summary">
+ <span class="summary-type">&nbsp;</span>
+ </td><td class="summary">
+ <a name="COMPATIBILITY_MODE"></a><span class="summary-name">COMPATIBILITY_MODE</span> = <code title="False">False</code>
+ </td>
+ </tr>
+<tr>
+ <td width="15%" align="right" valign="top" class="summary">
+ <span class="summary-type">&nbsp;</span>
+ </td><td class="summary">
+ <a name="LIBC"></a><span class="summary-name">LIBC</span> = <code title="&lt;CDLL 'libc.so.6', handle 2b4292ed7970 at 207d410&gt;">&lt;CDLL 'libc.so.6', handle 2b4292ed7970 at 207d410&gt;</code>
+ </td>
+ </tr>
+<tr>
+ <td width="15%" align="right" valign="top" class="summary">
+ <span class="summary-type">&nbsp;</span>
+ </td><td class="summary">
+ <a name="log"></a><span class="summary-name">log</span> = <code title="logger_init()">logger_init()</code>
+ </td>
+ </tr>
+<tr>
+ <td width="15%" align="right" valign="top" class="summary">
+ <span class="summary-type">&nbsp;</span>
+ </td><td class="summary">
+ <a name="ALL_EVENTS"></a><span class="summary-name">ALL_EVENTS</span> = <code title="4095">4095</code>
+ </td>
+ </tr>
+<tr>
+ <td width="15%" align="right" valign="top" class="summary">
+ <span class="summary-type">&nbsp;</span>
+ </td><td class="summary">
+ <a name="output_format"></a><span class="summary-name">output_format</span> = <code title="RawOutputFormat()">RawOutputFormat()</code>
+ </td>
+ </tr>
+<tr>
+ <td width="15%" align="right" valign="top" class="summary">
+ <span class="summary-type">&nbsp;</span>
+ </td><td class="summary">
+ <a name="IN_ACCESS"></a><span class="summary-name">IN_ACCESS</span> = <code title="1">1</code>
+ </td>
+ </tr>
+<tr>
+ <td width="15%" align="right" valign="top" class="summary">
+ <span class="summary-type">&nbsp;</span>
+ </td><td class="summary">
+ <a name="IN_ATTRIB"></a><span class="summary-name">IN_ATTRIB</span> = <code title="4">4</code>
+ </td>
+ </tr>
+<tr>
+ <td width="15%" align="right" valign="top" class="summary">
+ <span class="summary-type">&nbsp;</span>
+ </td><td class="summary">
+ <a name="IN_CLOSE_NOWRITE"></a><span class="summary-name">IN_CLOSE_NOWRITE</span> = <code title="16">16</code>
+ </td>
+ </tr>
+<tr>
+ <td width="15%" align="right" valign="top" class="summary">
+ <span class="summary-type">&nbsp;</span>
+ </td><td class="summary">
+ <a name="IN_CLOSE_WRITE"></a><span class="summary-name">IN_CLOSE_WRITE</span> = <code title="8">8</code>
+ </td>
+ </tr>
+<tr>
+ <td width="15%" align="right" valign="top" class="summary">
+ <span class="summary-type">&nbsp;</span>
+ </td><td class="summary">
+ <a name="IN_CREATE"></a><span class="summary-name">IN_CREATE</span> = <code title="256">256</code>
+ </td>
+ </tr>
+<tr>
+ <td width="15%" align="right" valign="top" class="summary">
+ <span class="summary-type">&nbsp;</span>
+ </td><td class="summary">
+ <a name="IN_DELETE"></a><span class="summary-name">IN_DELETE</span> = <code title="512">512</code>
+ </td>
+ </tr>
+<tr>
+ <td width="15%" align="right" valign="top" class="summary">
+ <span class="summary-type">&nbsp;</span>
+ </td><td class="summary">
+ <a name="IN_DELETE_SELF"></a><span class="summary-name">IN_DELETE_SELF</span> = <code title="1024">1024</code>
+ </td>
+ </tr>
+<tr>
+ <td width="15%" align="right" valign="top" class="summary">
+ <span class="summary-type">&nbsp;</span>
+ </td><td class="summary">
+ <a name="IN_DONT_FOLLOW"></a><span class="summary-name">IN_DONT_FOLLOW</span> = <code title="33554432">33554432</code>
+ </td>
+ </tr>
+<tr>
+ <td width="15%" align="right" valign="top" class="summary">
+ <span class="summary-type">&nbsp;</span>
+ </td><td class="summary">
+ <a name="IN_IGNORED"></a><span class="summary-name">IN_IGNORED</span> = <code title="32768">32768</code>
+ </td>
+ </tr>
+<tr>
+ <td width="15%" align="right" valign="top" class="summary">
+ <span class="summary-type">&nbsp;</span>
+ </td><td class="summary">
+ <a name="IN_ISDIR"></a><span class="summary-name">IN_ISDIR</span> = <code title="1073741824">1073741824</code>
+ </td>
+ </tr>
+<tr>
+ <td width="15%" align="right" valign="top" class="summary">
+ <span class="summary-type">&nbsp;</span>
+ </td><td class="summary">
+ <a name="IN_MASK_ADD"></a><span class="summary-name">IN_MASK_ADD</span> = <code title="536870912">536870912</code>
+ </td>
+ </tr>
+<tr>
+ <td width="15%" align="right" valign="top" class="summary">
+ <span class="summary-type">&nbsp;</span>
+ </td><td class="summary">
+ <a name="IN_MODIFY"></a><span class="summary-name">IN_MODIFY</span> = <code title="2">2</code>
+ </td>
+ </tr>
+<tr>
+ <td width="15%" align="right" valign="top" class="summary">
+ <span class="summary-type">&nbsp;</span>
+ </td><td class="summary">
+ <a name="IN_MOVED_FROM"></a><span class="summary-name">IN_MOVED_FROM</span> = <code title="64">64</code>
+ </td>
+ </tr>
+<tr>
+ <td width="15%" align="right" valign="top" class="summary">
+ <span class="summary-type">&nbsp;</span>
+ </td><td class="summary">
+ <a name="IN_MOVED_TO"></a><span class="summary-name">IN_MOVED_TO</span> = <code title="128">128</code>
+ </td>
+ </tr>
+<tr>
+ <td width="15%" align="right" valign="top" class="summary">
+ <span class="summary-type">&nbsp;</span>
+ </td><td class="summary">
+ <a name="IN_MOVE_SELF"></a><span class="summary-name">IN_MOVE_SELF</span> = <code title="2048">2048</code>
+ </td>
+ </tr>
+<tr>
+ <td width="15%" align="right" valign="top" class="summary">
+ <span class="summary-type">&nbsp;</span>
+ </td><td class="summary">
+ <a name="IN_ONESHOT"></a><span class="summary-name">IN_ONESHOT</span> = <code title="2147483648">2147483648</code>
+ </td>
+ </tr>
+<tr>
+ <td width="15%" align="right" valign="top" class="summary">
+ <span class="summary-type">&nbsp;</span>
+ </td><td class="summary">
+ <a name="IN_ONLYDIR"></a><span class="summary-name">IN_ONLYDIR</span> = <code title="16777216">16777216</code>
+ </td>
+ </tr>
+<tr>
+ <td width="15%" align="right" valign="top" class="summary">
+ <span class="summary-type">&nbsp;</span>
+ </td><td class="summary">
+ <a name="IN_OPEN"></a><span class="summary-name">IN_OPEN</span> = <code title="32">32</code>
+ </td>
+ </tr>
+<tr>
+ <td width="15%" align="right" valign="top" class="summary">
+ <span class="summary-type">&nbsp;</span>
+ </td><td class="summary">
+ <a name="IN_Q_OVERFLOW"></a><span class="summary-name">IN_Q_OVERFLOW</span> = <code title="16384">16384</code>
+ </td>
+ </tr>
+<tr>
+ <td width="15%" align="right" valign="top" class="summary">
+ <span class="summary-type">&nbsp;</span>
+ </td><td class="summary">
+ <a name="IN_UNMOUNT"></a><span class="summary-name">IN_UNMOUNT</span> = <code title="8192">8192</code>
+ </td>
+ </tr>
+<tr>
+ <td width="15%" align="right" valign="top" class="summary">
+ <span class="summary-type">&nbsp;</span>
+ </td><td class="summary">
+ <a name="__package__"></a><span class="summary-name">__package__</span> = <code title="None">None</code>
+ </td>
+ </tr>
+<tr>
+ <td width="15%" align="right" valign="top" class="summary">
+ <span class="summary-type">&nbsp;</span>
+ </td><td class="summary">
+ <a name="attrname"></a><span class="summary-name">attrname</span> = <code title="'max_user_watches'"><code class="variable-quote">'</code><code class="variable-string">max_user_watches</code><code class="variable-quote">'</code></code>
+ </td>
+ </tr>
+<tr>
+ <td width="15%" align="right" valign="top" class="summary">
+ <span class="summary-type">&nbsp;</span>
+ </td><td class="summary">
+ <a name="flagc"></a><span class="summary-name">flagc</span> = <code title="'EVENT_FLAGS'"><code class="variable-quote">'</code><code class="variable-string">EVENT_FLAGS</code><code class="variable-quote">'</code></code>
+ </td>
+ </tr>
+<tr>
+ <td width="15%" align="right" valign="top" class="summary">
+ <span class="summary-type">&nbsp;</span>
+ </td><td class="summary">
+ <a name="max_queued_events"></a><span class="summary-name">max_queued_events</span> = <code title="&lt;max_queued_events=16384&gt;">&lt;max_queued_events=16384&gt;</code>
+ </td>
+ </tr>
+<tr>
+ <td width="15%" align="right" valign="top" class="summary">
+ <span class="summary-type">&nbsp;</span>
+ </td><td class="summary">
+ <a name="max_user_instances"></a><span class="summary-name">max_user_instances</span> = <code title="&lt;max_user_instances=128&gt;">&lt;max_user_instances=128&gt;</code>
+ </td>
+ </tr>
+<tr>
+ <td width="15%" align="right" valign="top" class="summary">
+ <span class="summary-type">&nbsp;</span>
+ </td><td class="summary">
+ <a name="max_user_watches"></a><span class="summary-name">max_user_watches</span> = <code title="&lt;max_user_watches=8192&gt;">&lt;max_user_watches=8192&gt;</code>
+ </td>
+ </tr>
+<tr>
+ <td width="15%" align="right" valign="top" class="summary">
+ <span class="summary-type">&nbsp;</span>
+ </td><td class="summary">
+ <a name="name"></a><span class="summary-name">name</span> = <code title="'IN_UNMOUNT'"><code class="variable-quote">'</code><code class="variable-string">IN_UNMOUNT</code><code class="variable-quote">'</code></code>
+ </td>
+ </tr>
+<tr>
+ <td width="15%" align="right" valign="top" class="summary">
+ <span class="summary-type">&nbsp;</span>
+ </td><td class="summary">
+ <a name="val"></a><span class="summary-name">val</span> = <code title="8192">8192</code>
+ </td>
+ </tr>
+<tr>
+ <td width="15%" align="right" valign="top" class="summary">
+ <span class="summary-type">&nbsp;</span>
+ </td><td class="summary">
+ <a href="pyinotify-module.html#valc" class="summary-name">valc</a> = <code title="{'IN_IGNORED': 32768, 'IN_Q_OVERFLOW': 16384, 'IN_UNMOUNT': 8192}"><code class="variable-group">{</code><code class="variable-quote">'</code><code class="variable-string">IN_IGNORED</code><code class="variable-quote">'</code><code class="variable-op">: </code>32768<code class="variable-op">, </code><code class="variable-quote">'</code><code class="variable-string">IN_Q_OVERFLOW</code><code class="variable-quote">'</code><code class="variable-op">: </code>16384<code class="variable-op">, </code><code class="variable-quote">'</code><code class="variable-string">IN_UNMOU</code><code class="variable-ellipsis">...</code></code>
+ </td>
+ </tr>
+</table>
+<!-- ==================== FUNCTION DETAILS ==================== -->
+<a name="section-FunctionDetails"></a>
+<table class="details" border="1" cellpadding="3"
+ cellspacing="0" width="100%" bgcolor="white">
+<tr bgcolor="#70b0f0" class="table-header">
+ <td colspan="2" class="table-header">
+ <table border="0" cellpadding="0" cellspacing="0" width="100%">
+ <tr valign="top">
+ <td align="left"><span class="table-header">Function Details</span></td>
+ <td align="right" valign="top"
+ ><span class="options">[<a href="#section-FunctionDetails"
+ class="privatelink" onclick="toggle_private();"
+ >hide private</a>]</span></td>
+ </tr>
+ </table>
+ </td>
+</tr>
+</table>
+<a name="compatibility_mode"></a>
+<div>
+<table class="details" border="1" cellpadding="3"
+ cellspacing="0" width="100%" bgcolor="white">
+<tr><td>
+ <table width="100%" cellpadding="0" cellspacing="0" border="0">
+ <tr valign="top"><td>
+ <h3 class="epydoc"><span class="sig"><span class="sig-name">compatibility_mode</span>()</span>
+ </h3>
+ </td><td align="right" valign="top"
+ ><span class="codelink"><a href="pyinotify-pysrc.html#compatibility_mode">source&nbsp;code</a></span>&nbsp;
+ </td>
+ </tr></table>
+
+ <p>Use this function to turn on the compatibility mode. The compatibility
+ mode is used to improve compatibility with Pyinotify 0.7.1 (or older)
+ programs. The compatibility mode provides additional variables 'is_dir',
+ 'event_name', 'EventsCodes.IN_*' and 'EventsCodes.ALL_EVENTS' as
+ Pyinotify 0.7.1 provided. Do not call this function from new programs!!
+ Especially if there are developped for Pyinotify &gt;= 0.8.x.</p>
+ <dl class="fields">
+ </dl>
+</td></tr></table>
+</div>
+<a name="command_line"></a>
+<div>
+<table class="details" border="1" cellpadding="3"
+ cellspacing="0" width="100%" bgcolor="white">
+<tr><td>
+ <table width="100%" cellpadding="0" cellspacing="0" border="0">
+ <tr valign="top"><td>
+ <h3 class="epydoc"><span class="sig"><span class="sig-name">command_line</span>()</span>
+ </h3>
+ </td><td align="right" valign="top"
+ ><span class="codelink"><a href="pyinotify-pysrc.html#command_line">source&nbsp;code</a></span>&nbsp;
+ </td>
+ </tr></table>
+
+ <p>By default the watched path is '/tmp' and all types of events are
+ monitored. Events monitoring serves forever, type c^c to stop it.</p>
+ <dl class="fields">
+ </dl>
+</td></tr></table>
+</div>
+<br />
+<!-- ==================== VARIABLES DETAILS ==================== -->
+<a name="section-VariablesDetails"></a>
+<table class="details" border="1" cellpadding="3"
+ cellspacing="0" width="100%" bgcolor="white">
+<tr bgcolor="#70b0f0" class="table-header">
+ <td colspan="2" class="table-header">
+ <table border="0" cellpadding="0" cellspacing="0" width="100%">
+ <tr valign="top">
+ <td align="left"><span class="table-header">Variables Details</span></td>
+ <td align="right" valign="top"
+ ><span class="options">[<a href="#section-VariablesDetails"
+ class="privatelink" onclick="toggle_private();"
+ >hide private</a>]</span></td>
+ </tr>
+ </table>
+ </td>
+</tr>
+</table>
+<a name="valc"></a>
+<div>
+<table class="details" border="1" cellpadding="3"
+ cellspacing="0" width="100%" bgcolor="white">
+<tr><td>
+ <h3 class="epydoc">valc</h3>
+
+ <dl class="fields">
+ </dl>
+ <dl class="fields">
+ <dt>Value:</dt>
+ <dd><table><tr><td><pre class="variable">
+<code class="variable-group">{</code><code class="variable-quote">'</code><code class="variable-string">IN_IGNORED</code><code class="variable-quote">'</code><code class="variable-op">: </code>32768<code class="variable-op">, </code><code class="variable-quote">'</code><code class="variable-string">IN_Q_OVERFLOW</code><code class="variable-quote">'</code><code class="variable-op">: </code>16384<code class="variable-op">, </code><code class="variable-quote">'</code><code class="variable-string">IN_UNMOUNT</code><code class="variable-quote">'</code><code class="variable-op">: </code>8192<code class="variable-group">}</code>
+</pre></td></tr></table>
+</dd>
+ </dl>
+</td></tr></table>
+</div>
+<br />
+<!-- ==================== NAVIGATION BAR ==================== -->
+<table class="navbar" border="0" width="100%" cellpadding="0"
+ bgcolor="#a0c0ff" cellspacing="0">
+ <tr valign="middle">
+ <!-- Home link -->
+ <th bgcolor="#70b0f0" class="navbar-select"
+ >&nbsp;&nbsp;&nbsp;Home&nbsp;&nbsp;&nbsp;</th>
+
+ <!-- Tree link -->
+ <th>&nbsp;&nbsp;&nbsp;<a
+ href="module-tree.html">Trees</a>&nbsp;&nbsp;&nbsp;</th>
+
+ <!-- Index link -->
+ <th>&nbsp;&nbsp;&nbsp;<a
+ href="identifier-index.html">Indices</a>&nbsp;&nbsp;&nbsp;</th>
+
+ <!-- Help link -->
+ <th>&nbsp;&nbsp;&nbsp;<a
+ href="help.html">Help</a>&nbsp;&nbsp;&nbsp;</th>
+
+ <th class="navbar" width="100%"></th>
+ </tr>
+</table>
+<table border="0" cellpadding="0" cellspacing="0" width="100%%">
+ <tr>
+ <td align="left" class="footer">
+ Generated by Epydoc 3.0.1 on Wed Sep 15 21:46:49 2010
+ </td>
+ <td align="right" class="footer">
+ <a target="mainFrame" href="http://epydoc.sourceforge.net"
+ >http://epydoc.sourceforge.net</a>
+ </td>
+ </tr>
+</table>
+
+<script type="text/javascript">
+ <!--
+ // Private objects are initially displayed (because if
+ // javascript is turned off then we want them to be
+ // visible); but by default, we want to hide them. So hide
+ // them unless we have a cookie that says to show them.
+ checkCookie();
+ // -->
+</script>
+</body>
+</html>
diff --git a/python2/docstrings/pyinotify-pysrc.html b/python2/docstrings/pyinotify-pysrc.html
new file mode 100644
index 0000000..c4da3ef
--- /dev/null
+++ b/python2/docstrings/pyinotify-pysrc.html
@@ -0,0 +1,2585 @@
+<?xml version="1.0" encoding="ascii"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+ <title>pyinotify</title>
+ <link rel="stylesheet" href="epydoc.css" type="text/css" />
+ <script type="text/javascript" src="epydoc.js"></script>
+</head>
+
+<body bgcolor="white" text="black" link="blue" vlink="#204080"
+ alink="#204080">
+<!-- ==================== NAVIGATION BAR ==================== -->
+<table class="navbar" border="0" width="100%" cellpadding="0"
+ bgcolor="#a0c0ff" cellspacing="0">
+ <tr valign="middle">
+ <!-- Home link -->
+ <th bgcolor="#70b0f0" class="navbar-select"
+ >&nbsp;&nbsp;&nbsp;Home&nbsp;&nbsp;&nbsp;</th>
+
+ <!-- Tree link -->
+ <th>&nbsp;&nbsp;&nbsp;<a
+ href="module-tree.html">Trees</a>&nbsp;&nbsp;&nbsp;</th>
+
+ <!-- Index link -->
+ <th>&nbsp;&nbsp;&nbsp;<a
+ href="identifier-index.html">Indices</a>&nbsp;&nbsp;&nbsp;</th>
+
+ <!-- Help link -->
+ <th>&nbsp;&nbsp;&nbsp;<a
+ href="help.html">Help</a>&nbsp;&nbsp;&nbsp;</th>
+
+ <th class="navbar" width="100%"></th>
+ </tr>
+</table>
+<table width="100%" cellpadding="0" cellspacing="0">
+ <tr valign="top">
+ <td width="100%">
+ <span class="breadcrumbs">
+ Module&nbsp;pyinotify
+ </span>
+ </td>
+ <td>
+ <table cellpadding="0" cellspacing="0">
+ <!-- hide/show private -->
+ <tr><td align="right"><span class="options">[<a href="javascript:void(0);" class="privatelink"
+ onclick="toggle_private();">hide&nbsp;private</a>]</span></td></tr>
+ <tr><td align="right"><span class="options"
+ >[<a href="frames.html" target="_top">frames</a
+ >]&nbsp;|&nbsp;<a href="pyinotify-pysrc.html"
+ target="_top">no&nbsp;frames</a>]</span></td></tr>
+ </table>
+ </td>
+ </tr>
+</table>
+<h1 class="epydoc">Source Code for <a href="pyinotify-module.html">Module pyinotify</a></h1>
+<pre class="py-src">
+<a name="L1"></a><tt class="py-lineno"> 1</tt> <tt class="py-line"><tt class="py-comment">#!/usr/bin/env python</tt> </tt>
+<a name="L2"></a><tt class="py-lineno"> 2</tt> <tt class="py-line"> </tt>
+<a name="L3"></a><tt class="py-lineno"> 3</tt> <tt class="py-line"><tt class="py-comment"># pyinotify.py - python interface to inotify</tt> </tt>
+<a name="L4"></a><tt class="py-lineno"> 4</tt> <tt class="py-line"><tt class="py-comment"># Copyright (c) 2010 Sebastien Martini &lt;seb@dbzteam.org&gt;</tt> </tt>
+<a name="L5"></a><tt class="py-lineno"> 5</tt> <tt class="py-line"><tt class="py-comment">#</tt> </tt>
+<a name="L6"></a><tt class="py-lineno"> 6</tt> <tt class="py-line"><tt class="py-comment"># Permission is hereby granted, free of charge, to any person obtaining a copy</tt> </tt>
+<a name="L7"></a><tt class="py-lineno"> 7</tt> <tt class="py-line"><tt class="py-comment"># of this software and associated documentation files (the "Software"), to deal</tt> </tt>
+<a name="L8"></a><tt class="py-lineno"> 8</tt> <tt class="py-line"><tt class="py-comment"># in the Software without restriction, including without limitation the rights</tt> </tt>
+<a name="L9"></a><tt class="py-lineno"> 9</tt> <tt class="py-line"><tt class="py-comment"># to use, copy, modify, merge, publish, distribute, sublicense, and/or sell</tt> </tt>
+<a name="L10"></a><tt class="py-lineno"> 10</tt> <tt class="py-line"><tt class="py-comment"># copies of the Software, and to permit persons to whom the Software is</tt> </tt>
+<a name="L11"></a><tt class="py-lineno"> 11</tt> <tt class="py-line"><tt class="py-comment"># furnished to do so, subject to the following conditions:</tt> </tt>
+<a name="L12"></a><tt class="py-lineno"> 12</tt> <tt class="py-line"><tt class="py-comment">#</tt> </tt>
+<a name="L13"></a><tt class="py-lineno"> 13</tt> <tt class="py-line"><tt class="py-comment"># The above copyright notice and this permission notice shall be included in</tt> </tt>
+<a name="L14"></a><tt class="py-lineno"> 14</tt> <tt class="py-line"><tt class="py-comment"># all copies or substantial portions of the Software.</tt> </tt>
+<a name="L15"></a><tt class="py-lineno"> 15</tt> <tt class="py-line"><tt class="py-comment">#</tt> </tt>
+<a name="L16"></a><tt class="py-lineno"> 16</tt> <tt class="py-line"><tt class="py-comment"># THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR</tt> </tt>
+<a name="L17"></a><tt class="py-lineno"> 17</tt> <tt class="py-line"><tt class="py-comment"># IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,</tt> </tt>
+<a name="L18"></a><tt class="py-lineno"> 18</tt> <tt class="py-line"><tt class="py-comment"># FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE</tt> </tt>
+<a name="L19"></a><tt class="py-lineno"> 19</tt> <tt class="py-line"><tt class="py-comment"># AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER</tt> </tt>
+<a name="L20"></a><tt class="py-lineno"> 20</tt> <tt class="py-line"><tt class="py-comment"># LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,</tt> </tt>
+<a name="L21"></a><tt class="py-lineno"> 21</tt> <tt class="py-line"><tt class="py-comment"># OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN</tt> </tt>
+<a name="L22"></a><tt class="py-lineno"> 22</tt> <tt class="py-line"><tt class="py-comment"># THE SOFTWARE.</tt> </tt>
+<a name="L23"></a><tt class="py-lineno"> 23</tt> <tt class="py-line"><tt class="py-docstring">"""</tt> </tt>
+<a name="L24"></a><tt class="py-lineno"> 24</tt> <tt class="py-line"><tt class="py-docstring">pyinotify</tt> </tt>
+<a name="L25"></a><tt class="py-lineno"> 25</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
+<a name="L26"></a><tt class="py-lineno"> 26</tt> <tt class="py-line"><tt class="py-docstring">@author: Sebastien Martini</tt> </tt>
+<a name="L27"></a><tt class="py-lineno"> 27</tt> <tt class="py-line"><tt class="py-docstring">@license: MIT License</tt> </tt>
+<a name="L28"></a><tt class="py-lineno"> 28</tt> <tt class="py-line"><tt class="py-docstring">@contact: seb@dbzteam.org</tt> </tt>
+<a name="L29"></a><tt class="py-lineno"> 29</tt> <tt class="py-line"><tt class="py-docstring">"""</tt> </tt>
+<a name="PyinotifyError"></a><div id="PyinotifyError-def"><a name="L30"></a><tt class="py-lineno"> 30</tt> <tt class="py-line"> </tt>
+<a name="L31"></a><tt class="py-lineno"> 31</tt> <a class="py-toggle" href="#" id="PyinotifyError-toggle" onclick="return toggle('PyinotifyError');">-</a><tt class="py-line"><tt class="py-keyword">class</tt> <a class="py-def-name" href="pyinotify.PyinotifyError-class.html">PyinotifyError</a><tt class="py-op">(</tt><tt class="py-base-class">Exception</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
+</div><div id="PyinotifyError-collapsed" style="display:none;" pad="++++" indent="++++"></div><div id="PyinotifyError-expanded"><a name="L32"></a><tt class="py-lineno"> 32</tt> <tt class="py-line"> <tt class="py-docstring">"""Indicates exceptions raised by a Pyinotify class."""</tt> </tt>
+<a name="L33"></a><tt class="py-lineno"> 33</tt> <tt class="py-line"> <tt class="py-keyword">pass</tt> </tt>
+</div><a name="L34"></a><tt class="py-lineno"> 34</tt> <tt class="py-line"> </tt>
+<a name="UnsupportedPythonVersionError"></a><div id="UnsupportedPythonVersionError-def"><a name="L35"></a><tt class="py-lineno"> 35</tt> <tt class="py-line"> </tt>
+<a name="L36"></a><tt class="py-lineno"> 36</tt> <a class="py-toggle" href="#" id="UnsupportedPythonVersionError-toggle" onclick="return toggle('UnsupportedPythonVersionError');">-</a><tt class="py-line"><tt class="py-keyword">class</tt> <a class="py-def-name" href="pyinotify.UnsupportedPythonVersionError-class.html">UnsupportedPythonVersionError</a><tt class="py-op">(</tt><tt class="py-base-class">PyinotifyError</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
+</div><div id="UnsupportedPythonVersionError-collapsed" style="display:none;" pad="++++" indent="++++"></div><div id="UnsupportedPythonVersionError-expanded"><a name="L37"></a><tt class="py-lineno"> 37</tt> <tt class="py-line"> <tt class="py-docstring">"""</tt> </tt>
+<a name="L38"></a><tt class="py-lineno"> 38</tt> <tt class="py-line"><tt class="py-docstring"> Raised on unsupported Python versions.</tt> </tt>
+<a name="L39"></a><tt class="py-lineno"> 39</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt>
+<a name="UnsupportedPythonVersionError.__init__"></a><div id="UnsupportedPythonVersionError.__init__-def"><a name="L40"></a><tt class="py-lineno"> 40</tt> <a class="py-toggle" href="#" id="UnsupportedPythonVersionError.__init__-toggle" onclick="return toggle('UnsupportedPythonVersionError.__init__');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="pyinotify.UnsupportedPythonVersionError-class.html#__init__">__init__</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">,</tt> <tt class="py-param">version</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
+</div><div id="UnsupportedPythonVersionError.__init__-collapsed" style="display:none;" pad="++++" indent="++++++++"></div><div id="UnsupportedPythonVersionError.__init__-expanded"><a name="L41"></a><tt class="py-lineno"> 41</tt> <tt class="py-line"> <tt class="py-docstring">"""</tt> </tt>
+<a name="L42"></a><tt class="py-lineno"> 42</tt> <tt class="py-line"><tt class="py-docstring"> @param version: Current Python version</tt> </tt>
+<a name="L43"></a><tt class="py-lineno"> 43</tt> <tt class="py-line"><tt class="py-docstring"> @type version: string</tt> </tt>
+<a name="L44"></a><tt class="py-lineno"> 44</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt>
+<a name="L45"></a><tt class="py-lineno"> 45</tt> <tt class="py-line"> <tt id="link-0" class="py-name" targets="Class pyinotify.PyinotifyError=pyinotify.PyinotifyError-class.html"><a title="pyinotify.PyinotifyError" class="py-name" href="#" onclick="return doclink('link-0', 'PyinotifyError', 'link-0');">PyinotifyError</a></tt><tt class="py-op">.</tt><tt id="link-1" class="py-name" targets="Method pyinotify.AsyncNotifier.__init__()=pyinotify.AsyncNotifier-class.html#__init__,Method pyinotify.ColoredOutputFormat.__init__()=pyinotify.ColoredOutputFormat-class.html#__init__,Method pyinotify.Event.__init__()=pyinotify.Event-class.html#__init__,Method pyinotify.ExcludeFilter.__init__()=pyinotify.ExcludeFilter-class.html#__init__,Method pyinotify.Notifier.__init__()=pyinotify.Notifier-class.html#__init__,Method pyinotify.NotifierError.__init__()=pyinotify.NotifierError-class.html#__init__,Method pyinotify.ProcessEvent.__init__()=pyinotify.ProcessEvent-class.html#__init__,Method pyinotify.ProcessEventError.__init__()=pyinotify.ProcessEventError-class.html#__init__,Method pyinotify.RawOutputFormat.__init__()=pyinotify.RawOutputFormat-class.html#__init__,Method pyinotify.SysCtlINotify.__init__()=pyinotify.SysCtlINotify-class.html#__init__,Method pyinotify.ThreadedNotifier.__init__()=pyinotify.ThreadedNotifier-class.html#__init__,Method pyinotify.UnicodeLogRecord.__init__()=pyinotify.UnicodeLogRecord-class.html#__init__,Method pyinotify.UnsupportedLibcVersionError.__init__()=pyinotify.UnsupportedLibcVersionError-class.html#__init__,Method pyinotify.UnsupportedPythonVersionError.__init__()=pyinotify.UnsupportedPythonVersionError-class.html#__init__,Method pyinotify.Watch.__init__()=pyinotify.Watch-class.html#__init__,Method pyinotify.WatchManager.__init__()=pyinotify.WatchManager-class.html#__init__,Method pyinotify.WatchManagerError.__init__()=pyinotify.WatchManagerError-class.html#__init__,Method pyinotify._Event.__init__()=pyinotify._Event-class.html#__init__,Method pyinotify._RawEvent.__init__()=pyinotify._RawEvent-class.html#__init__,Method pyinotify._SysProcessEvent.__init__()=pyinotify._SysProcessEvent-class.html#__init__"><a title="pyinotify.AsyncNotifier.__init__
+pyinotify.ColoredOutputFormat.__init__
+pyinotify.Event.__init__
+pyinotify.ExcludeFilter.__init__
+pyinotify.Notifier.__init__
+pyinotify.NotifierError.__init__
+pyinotify.ProcessEvent.__init__
+pyinotify.ProcessEventError.__init__
+pyinotify.RawOutputFormat.__init__
+pyinotify.SysCtlINotify.__init__
+pyinotify.ThreadedNotifier.__init__
+pyinotify.UnicodeLogRecord.__init__
+pyinotify.UnsupportedLibcVersionError.__init__
+pyinotify.UnsupportedPythonVersionError.__init__
+pyinotify.Watch.__init__
+pyinotify.WatchManager.__init__
+pyinotify.WatchManagerError.__init__
+pyinotify._Event.__init__
+pyinotify._RawEvent.__init__
+pyinotify._SysProcessEvent.__init__" class="py-name" href="#" onclick="return doclink('link-1', '__init__', 'link-1');">__init__</a></tt><tt class="py-op">(</tt><tt class="py-name">self</tt><tt class="py-op">,</tt> </tt>
+<a name="L46"></a><tt class="py-lineno"> 46</tt> <tt class="py-line"> <tt class="py-op">(</tt><tt class="py-string">'Python %s is unsupported, requires '</tt> </tt>
+<a name="L47"></a><tt class="py-lineno"> 47</tt> <tt class="py-line"> <tt class="py-string">'at least Python 2.4'</tt><tt class="py-op">)</tt> <tt class="py-op">%</tt> <tt class="py-name">version</tt><tt class="py-op">)</tt> </tt>
+</div></div><a name="L48"></a><tt class="py-lineno"> 48</tt> <tt class="py-line"> </tt>
+<a name="UnsupportedLibcVersionError"></a><div id="UnsupportedLibcVersionError-def"><a name="L49"></a><tt class="py-lineno"> 49</tt> <tt class="py-line"> </tt>
+<a name="L50"></a><tt class="py-lineno"> 50</tt> <a class="py-toggle" href="#" id="UnsupportedLibcVersionError-toggle" onclick="return toggle('UnsupportedLibcVersionError');">-</a><tt class="py-line"><tt class="py-keyword">class</tt> <a class="py-def-name" href="pyinotify.UnsupportedLibcVersionError-class.html">UnsupportedLibcVersionError</a><tt class="py-op">(</tt><tt class="py-base-class">PyinotifyError</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
+</div><div id="UnsupportedLibcVersionError-collapsed" style="display:none;" pad="++++" indent="++++"></div><div id="UnsupportedLibcVersionError-expanded"><a name="L51"></a><tt class="py-lineno"> 51</tt> <tt class="py-line"> <tt class="py-docstring">"""</tt> </tt>
+<a name="L52"></a><tt class="py-lineno"> 52</tt> <tt class="py-line"><tt class="py-docstring"> Raised when libc couldn't be loaded or when inotify functions werent</tt> </tt>
+<a name="L53"></a><tt class="py-lineno"> 53</tt> <tt class="py-line"><tt class="py-docstring"> provided.</tt> </tt>
+<a name="L54"></a><tt class="py-lineno"> 54</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt>
+<a name="UnsupportedLibcVersionError.__init__"></a><div id="UnsupportedLibcVersionError.__init__-def"><a name="L55"></a><tt class="py-lineno"> 55</tt> <a class="py-toggle" href="#" id="UnsupportedLibcVersionError.__init__-toggle" onclick="return toggle('UnsupportedLibcVersionError.__init__');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="pyinotify.UnsupportedLibcVersionError-class.html#__init__">__init__</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
+</div><div id="UnsupportedLibcVersionError.__init__-collapsed" style="display:none;" pad="++++" indent="++++++++"></div><div id="UnsupportedLibcVersionError.__init__-expanded"><a name="L56"></a><tt class="py-lineno"> 56</tt> <tt class="py-line"> <tt class="py-name">err</tt> <tt class="py-op">=</tt> <tt class="py-string">'libc does not provide required inotify support'</tt> </tt>
+<a name="L57"></a><tt class="py-lineno"> 57</tt> <tt class="py-line"> <tt id="link-2" class="py-name"><a title="pyinotify.PyinotifyError" class="py-name" href="#" onclick="return doclink('link-2', 'PyinotifyError', 'link-0');">PyinotifyError</a></tt><tt class="py-op">.</tt><tt id="link-3" class="py-name"><a title="pyinotify.AsyncNotifier.__init__
+pyinotify.ColoredOutputFormat.__init__
+pyinotify.Event.__init__
+pyinotify.ExcludeFilter.__init__
+pyinotify.Notifier.__init__
+pyinotify.NotifierError.__init__
+pyinotify.ProcessEvent.__init__
+pyinotify.ProcessEventError.__init__
+pyinotify.RawOutputFormat.__init__
+pyinotify.SysCtlINotify.__init__
+pyinotify.ThreadedNotifier.__init__
+pyinotify.UnicodeLogRecord.__init__
+pyinotify.UnsupportedLibcVersionError.__init__
+pyinotify.UnsupportedPythonVersionError.__init__
+pyinotify.Watch.__init__
+pyinotify.WatchManager.__init__
+pyinotify.WatchManagerError.__init__
+pyinotify._Event.__init__
+pyinotify._RawEvent.__init__
+pyinotify._SysProcessEvent.__init__" class="py-name" href="#" onclick="return doclink('link-3', '__init__', 'link-1');">__init__</a></tt><tt class="py-op">(</tt><tt class="py-name">self</tt><tt class="py-op">,</tt> <tt class="py-name">err</tt><tt class="py-op">)</tt> </tt>
+</div></div><a name="L58"></a><tt class="py-lineno"> 58</tt> <tt class="py-line"> </tt>
+<a name="L59"></a><tt class="py-lineno"> 59</tt> <tt class="py-line"> </tt>
+<a name="L60"></a><tt class="py-lineno"> 60</tt> <tt class="py-line"><tt class="py-comment"># Check Python version</tt> </tt>
+<a name="L61"></a><tt class="py-lineno"> 61</tt> <tt class="py-line"><tt class="py-keyword">import</tt> <tt class="py-name">sys</tt> </tt>
+<a name="L62"></a><tt class="py-lineno"> 62</tt> <tt class="py-line"><tt class="py-keyword">if</tt> <tt class="py-name">sys</tt><tt class="py-op">.</tt><tt class="py-name">version</tt> <tt class="py-op">&lt;</tt> <tt class="py-string">'2.4'</tt><tt class="py-op">:</tt> </tt>
+<a name="L63"></a><tt class="py-lineno"> 63</tt> <tt class="py-line"> <tt class="py-keyword">raise</tt> <tt id="link-4" class="py-name" targets="Class pyinotify.UnsupportedPythonVersionError=pyinotify.UnsupportedPythonVersionError-class.html"><a title="pyinotify.UnsupportedPythonVersionError" class="py-name" href="#" onclick="return doclink('link-4', 'UnsupportedPythonVersionError', 'link-4');">UnsupportedPythonVersionError</a></tt><tt class="py-op">(</tt><tt class="py-name">sys</tt><tt class="py-op">.</tt><tt class="py-name">version</tt><tt class="py-op">)</tt> </tt>
+<a name="L64"></a><tt class="py-lineno"> 64</tt> <tt class="py-line"> </tt>
+<a name="L65"></a><tt class="py-lineno"> 65</tt> <tt class="py-line"> </tt>
+<a name="L66"></a><tt class="py-lineno"> 66</tt> <tt class="py-line"><tt class="py-comment"># Import directives</tt> </tt>
+<a name="L67"></a><tt class="py-lineno"> 67</tt> <tt class="py-line"><tt class="py-keyword">import</tt> <tt class="py-name">threading</tt> </tt>
+<a name="L68"></a><tt class="py-lineno"> 68</tt> <tt class="py-line"><tt class="py-keyword">import</tt> <tt class="py-name">os</tt> </tt>
+<a name="L69"></a><tt class="py-lineno"> 69</tt> <tt class="py-line"><tt class="py-keyword">import</tt> <tt class="py-name">select</tt> </tt>
+<a name="L70"></a><tt class="py-lineno"> 70</tt> <tt class="py-line"><tt class="py-keyword">import</tt> <tt class="py-name">struct</tt> </tt>
+<a name="L71"></a><tt class="py-lineno"> 71</tt> <tt class="py-line"><tt class="py-keyword">import</tt> <tt class="py-name">fcntl</tt> </tt>
+<a name="L72"></a><tt class="py-lineno"> 72</tt> <tt class="py-line"><tt class="py-keyword">import</tt> <tt class="py-name">errno</tt> </tt>
+<a name="L73"></a><tt class="py-lineno"> 73</tt> <tt class="py-line"><tt class="py-keyword">import</tt> <tt class="py-name">termios</tt> </tt>
+<a name="L74"></a><tt class="py-lineno"> 74</tt> <tt class="py-line"><tt class="py-keyword">import</tt> <tt class="py-name">array</tt> </tt>
+<a name="L75"></a><tt class="py-lineno"> 75</tt> <tt class="py-line"><tt class="py-keyword">import</tt> <tt class="py-name">logging</tt> </tt>
+<a name="L76"></a><tt class="py-lineno"> 76</tt> <tt class="py-line"><tt class="py-keyword">import</tt> <tt class="py-name">atexit</tt> </tt>
+<a name="L77"></a><tt class="py-lineno"> 77</tt> <tt class="py-line"><tt class="py-keyword">from</tt> <tt class="py-name">collections</tt> <tt class="py-keyword">import</tt> <tt class="py-name">deque</tt> </tt>
+<a name="L78"></a><tt class="py-lineno"> 78</tt> <tt class="py-line"><tt class="py-keyword">from</tt> <tt class="py-name">datetime</tt> <tt class="py-keyword">import</tt> <tt class="py-name">datetime</tt><tt class="py-op">,</tt> <tt class="py-name">timedelta</tt> </tt>
+<a name="L79"></a><tt class="py-lineno"> 79</tt> <tt class="py-line"><tt class="py-keyword">import</tt> <tt class="py-name">time</tt> </tt>
+<a name="L80"></a><tt class="py-lineno"> 80</tt> <tt class="py-line"><tt class="py-keyword">import</tt> <tt class="py-name">fnmatch</tt> </tt>
+<a name="L81"></a><tt class="py-lineno"> 81</tt> <tt class="py-line"><tt class="py-keyword">import</tt> <tt class="py-name">re</tt> </tt>
+<a name="L82"></a><tt class="py-lineno"> 82</tt> <tt class="py-line"><tt class="py-keyword">import</tt> <tt class="py-name">ctypes</tt> </tt>
+<a name="L83"></a><tt class="py-lineno"> 83</tt> <tt class="py-line"><tt class="py-keyword">import</tt> <tt class="py-name">ctypes</tt><tt class="py-op">.</tt><tt class="py-name">util</tt> </tt>
+<a name="L84"></a><tt class="py-lineno"> 84</tt> <tt class="py-line"><tt class="py-keyword">import</tt> <tt class="py-name">asyncore</tt> </tt>
+<a name="L85"></a><tt class="py-lineno"> 85</tt> <tt class="py-line"><tt class="py-keyword">import</tt> <tt class="py-name">glob</tt> </tt>
+<a name="L86"></a><tt class="py-lineno"> 86</tt> <tt class="py-line"> </tt>
+<a name="L87"></a><tt class="py-lineno"> 87</tt> <tt class="py-line"><tt class="py-keyword">try</tt><tt class="py-op">:</tt> </tt>
+<a name="L88"></a><tt class="py-lineno"> 88</tt> <tt class="py-line"> <tt class="py-keyword">from</tt> <tt class="py-name">functools</tt> <tt class="py-keyword">import</tt> <tt class="py-name">reduce</tt> </tt>
+<a name="L89"></a><tt class="py-lineno"> 89</tt> <tt class="py-line"><tt class="py-keyword">except</tt> <tt class="py-name">ImportError</tt><tt class="py-op">:</tt> </tt>
+<a name="L90"></a><tt class="py-lineno"> 90</tt> <tt class="py-line"> <tt class="py-keyword">pass</tt> <tt class="py-comment"># Will fail on Python 2.4 which has reduce() builtin anyway.</tt> </tt>
+<a name="L91"></a><tt class="py-lineno"> 91</tt> <tt class="py-line"> </tt>
+<a name="L92"></a><tt class="py-lineno"> 92</tt> <tt class="py-line"><tt id="link-5" class="py-name" targets="Variable pyinotify.__author__=pyinotify-module.html#__author__"><a title="pyinotify.__author__" class="py-name" href="#" onclick="return doclink('link-5', '__author__', 'link-5');">__author__</a></tt> <tt class="py-op">=</tt> <tt class="py-string">"seb@dbzteam.org (Sebastien Martini)"</tt> </tt>
+<a name="L93"></a><tt class="py-lineno"> 93</tt> <tt class="py-line"> </tt>
+<a name="L94"></a><tt class="py-lineno"> 94</tt> <tt class="py-line"><tt class="py-name">__version__</tt> <tt class="py-op">=</tt> <tt class="py-string">"git.current.python2"</tt> </tt>
+<a name="L95"></a><tt class="py-lineno"> 95</tt> <tt class="py-line"> </tt>
+<a name="L96"></a><tt class="py-lineno"> 96</tt> <tt class="py-line"><tt class="py-name">__metaclass__</tt> <tt class="py-op">=</tt> <tt class="py-name">type</tt> <tt class="py-comment"># Use new-style classes by default</tt> </tt>
+<a name="L97"></a><tt class="py-lineno"> 97</tt> <tt class="py-line"> </tt>
+<a name="L98"></a><tt class="py-lineno"> 98</tt> <tt class="py-line"> </tt>
+<a name="L99"></a><tt class="py-lineno"> 99</tt> <tt class="py-line"><tt class="py-comment"># Compatibity mode: set to True to improve compatibility with</tt> </tt>
+<a name="L100"></a><tt class="py-lineno"> 100</tt> <tt class="py-line"><tt class="py-comment"># Pyinotify 0.7.1. Do not set this variable yourself, call the</tt> </tt>
+<a name="L101"></a><tt class="py-lineno"> 101</tt> <tt class="py-line"><tt class="py-comment"># function compatibility_mode() instead.</tt> </tt>
+<a name="L102"></a><tt class="py-lineno"> 102</tt> <tt class="py-line"><tt id="link-6" class="py-name" targets="Variable pyinotify.COMPATIBILITY_MODE=pyinotify-module.html#COMPATIBILITY_MODE"><a title="pyinotify.COMPATIBILITY_MODE" class="py-name" href="#" onclick="return doclink('link-6', 'COMPATIBILITY_MODE', 'link-6');">COMPATIBILITY_MODE</a></tt> <tt class="py-op">=</tt> <tt class="py-name">False</tt> </tt>
+<a name="L103"></a><tt class="py-lineno"> 103</tt> <tt class="py-line"> </tt>
+<a name="L104"></a><tt class="py-lineno"> 104</tt> <tt class="py-line"> </tt>
+<a name="L105"></a><tt class="py-lineno"> 105</tt> <tt class="py-line"><tt class="py-comment"># Load libc</tt> </tt>
+<a name="L106"></a><tt class="py-lineno"> 106</tt> <tt class="py-line"><tt id="link-7" class="py-name" targets="Variable pyinotify.LIBC=pyinotify-module.html#LIBC"><a title="pyinotify.LIBC" class="py-name" href="#" onclick="return doclink('link-7', 'LIBC', 'link-7');">LIBC</a></tt> <tt class="py-op">=</tt> <tt class="py-name">None</tt> </tt>
+<a name="L107"></a><tt class="py-lineno"> 107</tt> <tt class="py-line"><tt id="link-8" class="py-name" targets="Function pyinotify.strerrno()=pyinotify-module.html#strerrno"><a title="pyinotify.strerrno" class="py-name" href="#" onclick="return doclink('link-8', 'strerrno', 'link-8');">strerrno</a></tt> <tt class="py-op">=</tt> <tt class="py-name">None</tt> </tt>
+<a name="load_libc"></a><div id="load_libc-def"><a name="L108"></a><tt class="py-lineno"> 108</tt> <tt class="py-line"> </tt>
+<a name="L109"></a><tt class="py-lineno"> 109</tt> <a class="py-toggle" href="#" id="load_libc-toggle" onclick="return toggle('load_libc');">-</a><tt class="py-line"><tt class="py-keyword">def</tt> <a class="py-def-name" href="pyinotify-module.html#load_libc">load_libc</a><tt class="py-op">(</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
+</div><div id="load_libc-collapsed" style="display:none;" pad="++++" indent="++++"></div><div id="load_libc-expanded"><a name="L110"></a><tt class="py-lineno"> 110</tt> <tt class="py-line"> <tt class="py-keyword">global</tt> <tt id="link-9" class="py-name"><a title="pyinotify.strerrno" class="py-name" href="#" onclick="return doclink('link-9', 'strerrno', 'link-8');">strerrno</a></tt> </tt>
+<a name="L111"></a><tt class="py-lineno"> 111</tt> <tt class="py-line"> <tt class="py-keyword">global</tt> <tt id="link-10" class="py-name"><a title="pyinotify.LIBC" class="py-name" href="#" onclick="return doclink('link-10', 'LIBC', 'link-7');">LIBC</a></tt> </tt>
+<a name="L112"></a><tt class="py-lineno"> 112</tt> <tt class="py-line"> </tt>
+<a name="L113"></a><tt class="py-lineno"> 113</tt> <tt class="py-line"> <tt class="py-name">libc</tt> <tt class="py-op">=</tt> <tt class="py-name">None</tt> </tt>
+<a name="L114"></a><tt class="py-lineno"> 114</tt> <tt class="py-line"> <tt class="py-keyword">try</tt><tt class="py-op">:</tt> </tt>
+<a name="L115"></a><tt class="py-lineno"> 115</tt> <tt class="py-line"> <tt class="py-name">libc</tt> <tt class="py-op">=</tt> <tt class="py-name">ctypes</tt><tt class="py-op">.</tt><tt class="py-name">util</tt><tt class="py-op">.</tt><tt class="py-name">find_library</tt><tt class="py-op">(</tt><tt class="py-string">'c'</tt><tt class="py-op">)</tt> </tt>
+<a name="L116"></a><tt class="py-lineno"> 116</tt> <tt class="py-line"> <tt class="py-keyword">except</tt> <tt class="py-op">(</tt><tt class="py-name">OSError</tt><tt class="py-op">,</tt> <tt class="py-name">IOError</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
+<a name="L117"></a><tt class="py-lineno"> 117</tt> <tt class="py-line"> <tt class="py-keyword">pass</tt> <tt class="py-comment"># Will attemp to load it with None anyway.</tt> </tt>
+<a name="L118"></a><tt class="py-lineno"> 118</tt> <tt class="py-line"> </tt>
+<a name="L119"></a><tt class="py-lineno"> 119</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">sys</tt><tt class="py-op">.</tt><tt class="py-name">version_info</tt><tt class="py-op">[</tt><tt class="py-number">0</tt><tt class="py-op">]</tt> <tt class="py-op">&gt;=</tt> <tt class="py-number">2</tt> <tt class="py-keyword">and</tt> <tt class="py-name">sys</tt><tt class="py-op">.</tt><tt class="py-name">version_info</tt><tt class="py-op">[</tt><tt class="py-number">1</tt><tt class="py-op">]</tt> <tt class="py-op">&gt;=</tt> <tt class="py-number">6</tt><tt class="py-op">:</tt> </tt>
+<a name="L120"></a><tt class="py-lineno"> 120</tt> <tt class="py-line"> <tt id="link-11" class="py-name"><a title="pyinotify.LIBC" class="py-name" href="#" onclick="return doclink('link-11', 'LIBC', 'link-7');">LIBC</a></tt> <tt class="py-op">=</tt> <tt class="py-name">ctypes</tt><tt class="py-op">.</tt><tt class="py-name">CDLL</tt><tt class="py-op">(</tt><tt class="py-name">libc</tt><tt class="py-op">,</tt> <tt class="py-name">use_errno</tt><tt class="py-op">=</tt><tt class="py-name">True</tt><tt class="py-op">)</tt> </tt>
+<a name="L121"></a><tt class="py-lineno"> 121</tt> <tt class="py-line"> <tt class="py-keyword">def</tt> <tt class="py-def-name">_strerrno</tt><tt class="py-op">(</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
+<a name="L122"></a><tt class="py-lineno"> 122</tt> <tt class="py-line"> <tt class="py-name">code</tt> <tt class="py-op">=</tt> <tt class="py-name">ctypes</tt><tt class="py-op">.</tt><tt class="py-name">get_errno</tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt>
+<a name="L123"></a><tt class="py-lineno"> 123</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-string">' Errno=%s (%s)'</tt> <tt class="py-op">%</tt> <tt class="py-op">(</tt><tt class="py-name">os</tt><tt class="py-op">.</tt><tt class="py-name">strerror</tt><tt class="py-op">(</tt><tt class="py-name">code</tt><tt class="py-op">)</tt><tt class="py-op">,</tt> <tt class="py-name">errno</tt><tt class="py-op">.</tt><tt class="py-name">errorcode</tt><tt class="py-op">[</tt><tt class="py-name">code</tt><tt class="py-op">]</tt><tt class="py-op">)</tt> </tt>
+</div><a name="L124"></a><tt class="py-lineno"> 124</tt> <tt class="py-line"> <tt id="link-12" class="py-name"><a title="pyinotify.strerrno" class="py-name" href="#" onclick="return doclink('link-12', 'strerrno', 'link-8');">strerrno</a></tt> <tt class="py-op">=</tt> <tt class="py-name">_strerrno</tt> </tt>
+<a name="L125"></a><tt class="py-lineno"> 125</tt> <tt class="py-line"> <tt class="py-keyword">else</tt><tt class="py-op">:</tt> </tt>
+<a name="L126"></a><tt class="py-lineno"> 126</tt> <tt class="py-line"> <tt id="link-13" class="py-name"><a title="pyinotify.LIBC" class="py-name" href="#" onclick="return doclink('link-13', 'LIBC', 'link-7');">LIBC</a></tt> <tt class="py-op">=</tt> <tt class="py-name">ctypes</tt><tt class="py-op">.</tt><tt class="py-name">CDLL</tt><tt class="py-op">(</tt><tt class="py-name">libc</tt><tt class="py-op">)</tt> </tt>
+<a name="L127"></a><tt class="py-lineno"> 127</tt> <tt class="py-line"> <tt id="link-14" class="py-name"><a title="pyinotify.strerrno" class="py-name" href="#" onclick="return doclink('link-14', 'strerrno', 'link-8');">strerrno</a></tt> <tt class="py-op">=</tt> <tt class="py-keyword">lambda</tt> <tt class="py-op">:</tt> <tt class="py-string">''</tt> </tt>
+<a name="L128"></a><tt class="py-lineno"> 128</tt> <tt class="py-line"> </tt>
+<a name="L129"></a><tt class="py-lineno"> 129</tt> <tt class="py-line"> <tt class="py-comment"># Check that libc has needed functions inside.</tt> </tt>
+<a name="L130"></a><tt class="py-lineno"> 130</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-op">(</tt><tt class="py-keyword">not</tt> <tt class="py-name">hasattr</tt><tt class="py-op">(</tt><tt id="link-15" class="py-name"><a title="pyinotify.LIBC" class="py-name" href="#" onclick="return doclink('link-15', 'LIBC', 'link-7');">LIBC</a></tt><tt class="py-op">,</tt> <tt class="py-string">'inotify_init'</tt><tt class="py-op">)</tt> <tt class="py-keyword">or</tt> </tt>
+<a name="L131"></a><tt class="py-lineno"> 131</tt> <tt class="py-line"> <tt class="py-keyword">not</tt> <tt class="py-name">hasattr</tt><tt class="py-op">(</tt><tt id="link-16" class="py-name"><a title="pyinotify.LIBC" class="py-name" href="#" onclick="return doclink('link-16', 'LIBC', 'link-7');">LIBC</a></tt><tt class="py-op">,</tt> <tt class="py-string">'inotify_add_watch'</tt><tt class="py-op">)</tt> <tt class="py-keyword">or</tt> </tt>
+<a name="L132"></a><tt class="py-lineno"> 132</tt> <tt class="py-line"> <tt class="py-keyword">not</tt> <tt class="py-name">hasattr</tt><tt class="py-op">(</tt><tt id="link-17" class="py-name"><a title="pyinotify.LIBC" class="py-name" href="#" onclick="return doclink('link-17', 'LIBC', 'link-7');">LIBC</a></tt><tt class="py-op">,</tt> <tt class="py-string">'inotify_rm_watch'</tt><tt class="py-op">)</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
+<a name="L133"></a><tt class="py-lineno"> 133</tt> <tt class="py-line"> <tt class="py-keyword">raise</tt> <tt id="link-18" class="py-name" targets="Class pyinotify.UnsupportedLibcVersionError=pyinotify.UnsupportedLibcVersionError-class.html"><a title="pyinotify.UnsupportedLibcVersionError" class="py-name" href="#" onclick="return doclink('link-18', 'UnsupportedLibcVersionError', 'link-18');">UnsupportedLibcVersionError</a></tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt>
+</div><a name="L134"></a><tt class="py-lineno"> 134</tt> <tt class="py-line"> </tt>
+<a name="L135"></a><tt class="py-lineno"> 135</tt> <tt class="py-line"><tt id="link-19" class="py-name" targets="Function pyinotify.load_libc()=pyinotify-module.html#load_libc"><a title="pyinotify.load_libc" class="py-name" href="#" onclick="return doclink('link-19', 'load_libc', 'link-19');">load_libc</a></tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt>
+<a name="PyinotifyLogger"></a><div id="PyinotifyLogger-def"><a name="L136"></a><tt class="py-lineno"> 136</tt> <tt class="py-line"> </tt>
+<a name="L137"></a><tt class="py-lineno"> 137</tt> <tt class="py-line"> </tt>
+<a name="L138"></a><tt class="py-lineno"> 138</tt> <a class="py-toggle" href="#" id="PyinotifyLogger-toggle" onclick="return toggle('PyinotifyLogger');">-</a><tt class="py-line"><tt class="py-keyword">class</tt> <a class="py-def-name" href="pyinotify.PyinotifyLogger-class.html">PyinotifyLogger</a><tt class="py-op">(</tt><tt class="py-base-class">logging</tt><tt class="py-op">.</tt><tt class="py-base-class">Logger</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
+</div><div id="PyinotifyLogger-collapsed" style="display:none;" pad="++++" indent="++++"></div><div id="PyinotifyLogger-expanded"><a name="L139"></a><tt class="py-lineno"> 139</tt> <tt class="py-line"> <tt class="py-docstring">"""</tt> </tt>
+<a name="L140"></a><tt class="py-lineno"> 140</tt> <tt class="py-line"><tt class="py-docstring"> Pyinotify logger used for logging unicode strings.</tt> </tt>
+<a name="L141"></a><tt class="py-lineno"> 141</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt>
+<a name="PyinotifyLogger.makeRecord"></a><div id="PyinotifyLogger.makeRecord-def"><a name="L142"></a><tt class="py-lineno"> 142</tt> <a class="py-toggle" href="#" id="PyinotifyLogger.makeRecord-toggle" onclick="return toggle('PyinotifyLogger.makeRecord');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="pyinotify.PyinotifyLogger-class.html#makeRecord">makeRecord</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">,</tt> <tt class="py-param">name</tt><tt class="py-op">,</tt> <tt class="py-param">level</tt><tt class="py-op">,</tt> <tt class="py-param">fn</tt><tt class="py-op">,</tt> <tt class="py-param">lno</tt><tt class="py-op">,</tt> <tt class="py-param">msg</tt><tt class="py-op">,</tt> <tt class="py-param">args</tt><tt class="py-op">,</tt> <tt class="py-param">exc_info</tt><tt class="py-op">,</tt> <tt class="py-param">func</tt><tt class="py-op">=</tt><tt class="py-name">None</tt><tt class="py-op">,</tt> </tt>
+<a name="L143"></a><tt class="py-lineno"> 143</tt> <tt class="py-line"> <tt class="py-param">extra</tt><tt class="py-op">=</tt><tt class="py-name">None</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
+</div><div id="PyinotifyLogger.makeRecord-collapsed" style="display:none;" pad="++++" indent="++++++++"></div><div id="PyinotifyLogger.makeRecord-expanded"><a name="L144"></a><tt class="py-lineno"> 144</tt> <tt class="py-line"> <tt class="py-name">rv</tt> <tt class="py-op">=</tt> <tt id="link-20" class="py-name" targets="Class pyinotify.UnicodeLogRecord=pyinotify.UnicodeLogRecord-class.html"><a title="pyinotify.UnicodeLogRecord" class="py-name" href="#" onclick="return doclink('link-20', 'UnicodeLogRecord', 'link-20');">UnicodeLogRecord</a></tt><tt class="py-op">(</tt><tt id="link-21" class="py-name" targets="Variable pyinotify.name=pyinotify-module.html#name"><a title="pyinotify.name" class="py-name" href="#" onclick="return doclink('link-21', 'name', 'link-21');">name</a></tt><tt class="py-op">,</tt> <tt class="py-name">level</tt><tt class="py-op">,</tt> <tt class="py-name">fn</tt><tt class="py-op">,</tt> <tt class="py-name">lno</tt><tt class="py-op">,</tt> <tt class="py-name">msg</tt><tt class="py-op">,</tt> <tt class="py-name">args</tt><tt class="py-op">,</tt> <tt class="py-name">exc_info</tt><tt class="py-op">,</tt> <tt class="py-name">func</tt><tt class="py-op">)</tt> </tt>
+<a name="L145"></a><tt class="py-lineno"> 145</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">extra</tt> <tt class="py-keyword">is</tt> <tt class="py-keyword">not</tt> <tt class="py-name">None</tt><tt class="py-op">:</tt> </tt>
+<a name="L146"></a><tt class="py-lineno"> 146</tt> <tt class="py-line"> <tt class="py-keyword">for</tt> <tt class="py-name">key</tt> <tt class="py-keyword">in</tt> <tt class="py-name">extra</tt><tt class="py-op">:</tt> </tt>
+<a name="L147"></a><tt class="py-lineno"> 147</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-op">(</tt><tt class="py-name">key</tt> <tt class="py-keyword">in</tt> <tt class="py-op">[</tt><tt class="py-string">"message"</tt><tt class="py-op">,</tt> <tt class="py-string">"asctime"</tt><tt class="py-op">]</tt><tt class="py-op">)</tt> <tt class="py-keyword">or</tt> <tt class="py-op">(</tt><tt class="py-name">key</tt> <tt class="py-keyword">in</tt> <tt class="py-name">rv</tt><tt class="py-op">.</tt><tt class="py-name">__dict__</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
+<a name="L148"></a><tt class="py-lineno"> 148</tt> <tt class="py-line"> <tt class="py-keyword">raise</tt> <tt class="py-name">KeyError</tt><tt class="py-op">(</tt><tt class="py-string">"Attempt to overwrite %r in LogRecord"</tt> <tt class="py-op">%</tt> <tt class="py-name">key</tt><tt class="py-op">)</tt> </tt>
+<a name="L149"></a><tt class="py-lineno"> 149</tt> <tt class="py-line"> <tt class="py-name">rv</tt><tt class="py-op">.</tt><tt class="py-name">__dict__</tt><tt class="py-op">[</tt><tt class="py-name">key</tt><tt class="py-op">]</tt> <tt class="py-op">=</tt> <tt class="py-name">extra</tt><tt class="py-op">[</tt><tt class="py-name">key</tt><tt class="py-op">]</tt> </tt>
+<a name="L150"></a><tt class="py-lineno"> 150</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-name">rv</tt> </tt>
+</div></div><a name="L151"></a><tt class="py-lineno"> 151</tt> <tt class="py-line"> </tt>
+<a name="UnicodeLogRecord"></a><div id="UnicodeLogRecord-def"><a name="L152"></a><tt class="py-lineno"> 152</tt> <tt class="py-line"> </tt>
+<a name="L153"></a><tt class="py-lineno"> 153</tt> <a class="py-toggle" href="#" id="UnicodeLogRecord-toggle" onclick="return toggle('UnicodeLogRecord');">-</a><tt class="py-line"><tt class="py-keyword">class</tt> <a class="py-def-name" href="pyinotify.UnicodeLogRecord-class.html">UnicodeLogRecord</a><tt class="py-op">(</tt><tt class="py-base-class">logging</tt><tt class="py-op">.</tt><tt class="py-base-class">LogRecord</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
+</div><div id="UnicodeLogRecord-collapsed" style="display:none;" pad="++++" indent="++++"></div><div id="UnicodeLogRecord-expanded"><a name="UnicodeLogRecord.__init__"></a><div id="UnicodeLogRecord.__init__-def"><a name="L154"></a><tt class="py-lineno"> 154</tt> <a class="py-toggle" href="#" id="UnicodeLogRecord.__init__-toggle" onclick="return toggle('UnicodeLogRecord.__init__');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="pyinotify.UnicodeLogRecord-class.html#__init__">__init__</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">,</tt> <tt class="py-param">name</tt><tt class="py-op">,</tt> <tt class="py-param">level</tt><tt class="py-op">,</tt> <tt class="py-param">pathname</tt><tt class="py-op">,</tt> <tt class="py-param">lineno</tt><tt class="py-op">,</tt> </tt>
+<a name="L155"></a><tt class="py-lineno"> 155</tt> <tt class="py-line"> <tt class="py-param">msg</tt><tt class="py-op">,</tt> <tt class="py-param">args</tt><tt class="py-op">,</tt> <tt class="py-param">exc_info</tt><tt class="py-op">,</tt> <tt class="py-param">func</tt><tt class="py-op">=</tt><tt class="py-name">None</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
+</div><div id="UnicodeLogRecord.__init__-collapsed" style="display:none;" pad="++++" indent="++++++++"></div><div id="UnicodeLogRecord.__init__-expanded"><a name="L156"></a><tt class="py-lineno"> 156</tt> <tt class="py-line"> <tt class="py-name">py_version</tt> <tt class="py-op">=</tt> <tt class="py-name">sys</tt><tt class="py-op">.</tt><tt class="py-name">version_info</tt> </tt>
+<a name="L157"></a><tt class="py-lineno"> 157</tt> <tt class="py-line"> <tt class="py-comment"># func argument was added in Python 2.5, just ignore it otherwise.</tt> </tt>
+<a name="L158"></a><tt class="py-lineno"> 158</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">py_version</tt><tt class="py-op">[</tt><tt class="py-number">0</tt><tt class="py-op">]</tt> <tt class="py-op">&gt;=</tt> <tt class="py-number">2</tt> <tt class="py-keyword">and</tt> <tt class="py-name">py_version</tt><tt class="py-op">[</tt><tt class="py-number">1</tt><tt class="py-op">]</tt> <tt class="py-op">&gt;=</tt> <tt class="py-number">5</tt><tt class="py-op">:</tt> </tt>
+<a name="L159"></a><tt class="py-lineno"> 159</tt> <tt class="py-line"> <tt class="py-name">logging</tt><tt class="py-op">.</tt><tt class="py-name">LogRecord</tt><tt class="py-op">.</tt><tt id="link-22" class="py-name"><a title="pyinotify.AsyncNotifier.__init__
+pyinotify.ColoredOutputFormat.__init__
+pyinotify.Event.__init__
+pyinotify.ExcludeFilter.__init__
+pyinotify.Notifier.__init__
+pyinotify.NotifierError.__init__
+pyinotify.ProcessEvent.__init__
+pyinotify.ProcessEventError.__init__
+pyinotify.RawOutputFormat.__init__
+pyinotify.SysCtlINotify.__init__
+pyinotify.ThreadedNotifier.__init__
+pyinotify.UnicodeLogRecord.__init__
+pyinotify.UnsupportedLibcVersionError.__init__
+pyinotify.UnsupportedPythonVersionError.__init__
+pyinotify.Watch.__init__
+pyinotify.WatchManager.__init__
+pyinotify.WatchManagerError.__init__
+pyinotify._Event.__init__
+pyinotify._RawEvent.__init__
+pyinotify._SysProcessEvent.__init__" class="py-name" href="#" onclick="return doclink('link-22', '__init__', 'link-1');">__init__</a></tt><tt class="py-op">(</tt><tt class="py-name">self</tt><tt class="py-op">,</tt> <tt id="link-23" class="py-name"><a title="pyinotify.name" class="py-name" href="#" onclick="return doclink('link-23', 'name', 'link-21');">name</a></tt><tt class="py-op">,</tt> <tt class="py-name">level</tt><tt class="py-op">,</tt> <tt class="py-name">pathname</tt><tt class="py-op">,</tt> <tt class="py-name">lineno</tt><tt class="py-op">,</tt> </tt>
+<a name="L160"></a><tt class="py-lineno"> 160</tt> <tt class="py-line"> <tt class="py-name">msg</tt><tt class="py-op">,</tt> <tt class="py-name">args</tt><tt class="py-op">,</tt> <tt class="py-name">exc_info</tt><tt class="py-op">,</tt> <tt class="py-name">func</tt><tt class="py-op">)</tt> </tt>
+<a name="L161"></a><tt class="py-lineno"> 161</tt> <tt class="py-line"> <tt class="py-keyword">else</tt><tt class="py-op">:</tt> </tt>
+<a name="L162"></a><tt class="py-lineno"> 162</tt> <tt class="py-line"> <tt class="py-name">logging</tt><tt class="py-op">.</tt><tt class="py-name">LogRecord</tt><tt class="py-op">.</tt><tt id="link-24" class="py-name"><a title="pyinotify.AsyncNotifier.__init__
+pyinotify.ColoredOutputFormat.__init__
+pyinotify.Event.__init__
+pyinotify.ExcludeFilter.__init__
+pyinotify.Notifier.__init__
+pyinotify.NotifierError.__init__
+pyinotify.ProcessEvent.__init__
+pyinotify.ProcessEventError.__init__
+pyinotify.RawOutputFormat.__init__
+pyinotify.SysCtlINotify.__init__
+pyinotify.ThreadedNotifier.__init__
+pyinotify.UnicodeLogRecord.__init__
+pyinotify.UnsupportedLibcVersionError.__init__
+pyinotify.UnsupportedPythonVersionError.__init__
+pyinotify.Watch.__init__
+pyinotify.WatchManager.__init__
+pyinotify.WatchManagerError.__init__
+pyinotify._Event.__init__
+pyinotify._RawEvent.__init__
+pyinotify._SysProcessEvent.__init__" class="py-name" href="#" onclick="return doclink('link-24', '__init__', 'link-1');">__init__</a></tt><tt class="py-op">(</tt><tt class="py-name">self</tt><tt class="py-op">,</tt> <tt id="link-25" class="py-name"><a title="pyinotify.name" class="py-name" href="#" onclick="return doclink('link-25', 'name', 'link-21');">name</a></tt><tt class="py-op">,</tt> <tt class="py-name">level</tt><tt class="py-op">,</tt> <tt class="py-name">pathname</tt><tt class="py-op">,</tt> <tt class="py-name">lineno</tt><tt class="py-op">,</tt> </tt>
+<a name="L163"></a><tt class="py-lineno"> 163</tt> <tt class="py-line"> <tt class="py-name">msg</tt><tt class="py-op">,</tt> <tt class="py-name">args</tt><tt class="py-op">,</tt> <tt class="py-name">exc_info</tt><tt class="py-op">)</tt> </tt>
+</div><a name="L164"></a><tt class="py-lineno"> 164</tt> <tt class="py-line"> </tt>
+<a name="UnicodeLogRecord.getMessage"></a><div id="UnicodeLogRecord.getMessage-def"><a name="L165"></a><tt class="py-lineno"> 165</tt> <a class="py-toggle" href="#" id="UnicodeLogRecord.getMessage-toggle" onclick="return toggle('UnicodeLogRecord.getMessage');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="pyinotify.UnicodeLogRecord-class.html#getMessage">getMessage</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
+</div><div id="UnicodeLogRecord.getMessage-collapsed" style="display:none;" pad="++++" indent="++++++++"></div><div id="UnicodeLogRecord.getMessage-expanded"><a name="L166"></a><tt class="py-lineno"> 166</tt> <tt class="py-line"> <tt class="py-name">msg</tt> <tt class="py-op">=</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">msg</tt> </tt>
+<a name="L167"></a><tt class="py-lineno"> 167</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-keyword">not</tt> <tt class="py-name">isinstance</tt><tt class="py-op">(</tt><tt class="py-name">msg</tt><tt class="py-op">,</tt> <tt class="py-op">(</tt><tt class="py-name">unicode</tt><tt class="py-op">,</tt> <tt class="py-name">str</tt><tt class="py-op">)</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
+<a name="L168"></a><tt class="py-lineno"> 168</tt> <tt class="py-line"> <tt class="py-keyword">try</tt><tt class="py-op">:</tt> </tt>
+<a name="L169"></a><tt class="py-lineno"> 169</tt> <tt class="py-line"> <tt class="py-name">msg</tt> <tt class="py-op">=</tt> <tt class="py-name">str</tt><tt class="py-op">(</tt><tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">msg</tt><tt class="py-op">)</tt> </tt>
+<a name="L170"></a><tt class="py-lineno"> 170</tt> <tt class="py-line"> <tt class="py-keyword">except</tt> <tt class="py-name">UnicodeError</tt><tt class="py-op">:</tt> </tt>
+<a name="L171"></a><tt class="py-lineno"> 171</tt> <tt class="py-line"> <tt class="py-keyword">pass</tt> </tt>
+<a name="L172"></a><tt class="py-lineno"> 172</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">args</tt><tt class="py-op">:</tt> </tt>
+<a name="L173"></a><tt class="py-lineno"> 173</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">isinstance</tt><tt class="py-op">(</tt><tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">args</tt><tt class="py-op">,</tt> <tt class="py-name">tuple</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
+<a name="L174"></a><tt class="py-lineno"> 174</tt> <tt class="py-line"> <tt class="py-keyword">def</tt> <tt class="py-def-name">str_to_unicode</tt><tt class="py-op">(</tt><tt class="py-param">s</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
+<a name="L175"></a><tt class="py-lineno"> 175</tt> <tt class="py-line"> <tt class="py-docstring">"""Return unicode string."""</tt> </tt>
+<a name="L176"></a><tt class="py-lineno"> 176</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-keyword">not</tt> <tt class="py-name">isinstance</tt><tt class="py-op">(</tt><tt class="py-name">s</tt><tt class="py-op">,</tt> <tt class="py-name">str</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
+<a name="L177"></a><tt class="py-lineno"> 177</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-name">s</tt> </tt>
+<a name="L178"></a><tt class="py-lineno"> 178</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-name">unicode</tt><tt class="py-op">(</tt><tt class="py-name">s</tt><tt class="py-op">,</tt> <tt class="py-name">sys</tt><tt class="py-op">.</tt><tt class="py-name">getfilesystemencoding</tt><tt class="py-op">(</tt><tt class="py-op">)</tt><tt class="py-op">)</tt> </tt>
+</div><a name="L179"></a><tt class="py-lineno"> 179</tt> <tt class="py-line"> <tt class="py-name">args</tt> <tt class="py-op">=</tt> <tt class="py-name">tuple</tt><tt class="py-op">(</tt><tt class="py-op">[</tt><tt class="py-name">str_to_unicode</tt><tt class="py-op">(</tt><tt class="py-name">m</tt><tt class="py-op">)</tt> <tt class="py-keyword">for</tt> <tt class="py-name">m</tt> <tt class="py-keyword">in</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">args</tt><tt class="py-op">]</tt><tt class="py-op">)</tt> </tt>
+<a name="L180"></a><tt class="py-lineno"> 180</tt> <tt class="py-line"> <tt class="py-keyword">else</tt><tt class="py-op">:</tt> </tt>
+<a name="L181"></a><tt class="py-lineno"> 181</tt> <tt class="py-line"> <tt class="py-name">args</tt> <tt class="py-op">=</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">args</tt> </tt>
+<a name="L182"></a><tt class="py-lineno"> 182</tt> <tt class="py-line"> <tt class="py-name">msg</tt> <tt class="py-op">=</tt> <tt class="py-name">msg</tt> <tt class="py-op">%</tt> <tt class="py-name">args</tt> </tt>
+<a name="L183"></a><tt class="py-lineno"> 183</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-keyword">not</tt> <tt class="py-name">isinstance</tt><tt class="py-op">(</tt><tt class="py-name">msg</tt><tt class="py-op">,</tt> <tt class="py-name">unicode</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
+<a name="L184"></a><tt class="py-lineno"> 184</tt> <tt class="py-line"> <tt class="py-name">msg</tt> <tt class="py-op">=</tt> <tt class="py-name">unicode</tt><tt class="py-op">(</tt><tt class="py-name">msg</tt><tt class="py-op">,</tt> <tt class="py-name">sys</tt><tt class="py-op">.</tt><tt class="py-name">getfilesystemencoding</tt><tt class="py-op">(</tt><tt class="py-op">)</tt><tt class="py-op">)</tt> </tt>
+<a name="L185"></a><tt class="py-lineno"> 185</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-name">msg</tt> </tt>
+</div></div><a name="L186"></a><tt class="py-lineno"> 186</tt> <tt class="py-line"> </tt>
+<a name="logger_init"></a><div id="logger_init-def"><a name="L187"></a><tt class="py-lineno"> 187</tt> <tt class="py-line"> </tt>
+<a name="L188"></a><tt class="py-lineno"> 188</tt> <tt class="py-line"><tt class="py-comment"># Logging</tt> </tt>
+<a name="L189"></a><tt class="py-lineno"> 189</tt> <a class="py-toggle" href="#" id="logger_init-toggle" onclick="return toggle('logger_init');">-</a><tt class="py-line"><tt class="py-keyword">def</tt> <a class="py-def-name" href="pyinotify-module.html#logger_init">logger_init</a><tt class="py-op">(</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
+</div><div id="logger_init-collapsed" style="display:none;" pad="++++" indent="++++"></div><div id="logger_init-expanded"><a name="L190"></a><tt class="py-lineno"> 190</tt> <tt class="py-line"> <tt class="py-docstring">"""Initialize logger instance."""</tt> </tt>
+<a name="L191"></a><tt class="py-lineno"> 191</tt> <tt class="py-line"> <tt class="py-name">logging</tt><tt class="py-op">.</tt><tt class="py-name">setLoggerClass</tt><tt class="py-op">(</tt><tt id="link-26" class="py-name" targets="Class pyinotify.PyinotifyLogger=pyinotify.PyinotifyLogger-class.html"><a title="pyinotify.PyinotifyLogger" class="py-name" href="#" onclick="return doclink('link-26', 'PyinotifyLogger', 'link-26');">PyinotifyLogger</a></tt><tt class="py-op">)</tt> </tt>
+<a name="L192"></a><tt class="py-lineno"> 192</tt> <tt class="py-line"> <tt id="link-27" class="py-name" targets="Variable pyinotify.log=pyinotify-module.html#log"><a title="pyinotify.log" class="py-name" href="#" onclick="return doclink('link-27', 'log', 'link-27');">log</a></tt> <tt class="py-op">=</tt> <tt class="py-name">logging</tt><tt class="py-op">.</tt><tt class="py-name">getLogger</tt><tt class="py-op">(</tt><tt class="py-string">"pyinotify"</tt><tt class="py-op">)</tt> </tt>
+<a name="L193"></a><tt class="py-lineno"> 193</tt> <tt class="py-line"> <tt class="py-name">console_handler</tt> <tt class="py-op">=</tt> <tt class="py-name">logging</tt><tt class="py-op">.</tt><tt class="py-name">StreamHandler</tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt>
+<a name="L194"></a><tt class="py-lineno"> 194</tt> <tt class="py-line"> <tt class="py-name">console_handler</tt><tt class="py-op">.</tt><tt class="py-name">setFormatter</tt><tt class="py-op">(</tt> </tt>
+<a name="L195"></a><tt class="py-lineno"> 195</tt> <tt class="py-line"> <tt class="py-name">logging</tt><tt class="py-op">.</tt><tt class="py-name">Formatter</tt><tt class="py-op">(</tt><tt class="py-string">"[%(asctime)s %(name)s %(levelname)s] %(message)s"</tt><tt class="py-op">)</tt><tt class="py-op">)</tt> </tt>
+<a name="L196"></a><tt class="py-lineno"> 196</tt> <tt class="py-line"> <tt id="link-28" class="py-name"><a title="pyinotify.log" class="py-name" href="#" onclick="return doclink('link-28', 'log', 'link-27');">log</a></tt><tt class="py-op">.</tt><tt class="py-name">addHandler</tt><tt class="py-op">(</tt><tt class="py-name">console_handler</tt><tt class="py-op">)</tt> </tt>
+<a name="L197"></a><tt class="py-lineno"> 197</tt> <tt class="py-line"> <tt id="link-29" class="py-name"><a title="pyinotify.log" class="py-name" href="#" onclick="return doclink('link-29', 'log', 'link-27');">log</a></tt><tt class="py-op">.</tt><tt class="py-name">setLevel</tt><tt class="py-op">(</tt><tt class="py-number">20</tt><tt class="py-op">)</tt> </tt>
+<a name="L198"></a><tt class="py-lineno"> 198</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt id="link-30" class="py-name"><a title="pyinotify.log" class="py-name" href="#" onclick="return doclink('link-30', 'log', 'link-27');">log</a></tt> </tt>
+</div><a name="L199"></a><tt class="py-lineno"> 199</tt> <tt class="py-line"> </tt>
+<a name="L200"></a><tt class="py-lineno"> 200</tt> <tt class="py-line"><tt id="link-31" class="py-name"><a title="pyinotify.log" class="py-name" href="#" onclick="return doclink('link-31', 'log', 'link-27');">log</a></tt> <tt class="py-op">=</tt> <tt id="link-32" class="py-name" targets="Function pyinotify.logger_init()=pyinotify-module.html#logger_init"><a title="pyinotify.logger_init" class="py-name" href="#" onclick="return doclink('link-32', 'logger_init', 'link-32');">logger_init</a></tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt>
+<a name="SysCtlINotify"></a><div id="SysCtlINotify-def"><a name="L201"></a><tt class="py-lineno"> 201</tt> <tt class="py-line"> </tt>
+<a name="L202"></a><tt class="py-lineno"> 202</tt> <tt class="py-line"> </tt>
+<a name="L203"></a><tt class="py-lineno"> 203</tt> <tt class="py-line"><tt class="py-comment"># inotify's variables</tt> </tt>
+<a name="L204"></a><tt class="py-lineno"> 204</tt> <a class="py-toggle" href="#" id="SysCtlINotify-toggle" onclick="return toggle('SysCtlINotify');">-</a><tt class="py-line"><tt class="py-keyword">class</tt> <a class="py-def-name" href="pyinotify.SysCtlINotify-class.html">SysCtlINotify</a><tt class="py-op">:</tt> </tt>
+</div><div id="SysCtlINotify-collapsed" style="display:none;" pad="++++" indent="++++"></div><div id="SysCtlINotify-expanded"><a name="L205"></a><tt class="py-lineno"> 205</tt> <tt class="py-line"> <tt class="py-docstring">"""</tt> </tt>
+<a name="L206"></a><tt class="py-lineno"> 206</tt> <tt class="py-line"><tt class="py-docstring"> Access (read, write) inotify's variables through sysctl. Usually it</tt> </tt>
+<a name="L207"></a><tt class="py-lineno"> 207</tt> <tt class="py-line"><tt class="py-docstring"> requires administrator rights to update them.</tt> </tt>
+<a name="L208"></a><tt class="py-lineno"> 208</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
+<a name="L209"></a><tt class="py-lineno"> 209</tt> <tt class="py-line"><tt class="py-docstring"> Examples:</tt> </tt>
+<a name="L210"></a><tt class="py-lineno"> 210</tt> <tt class="py-line"><tt class="py-docstring"> - Read max_queued_events attribute: myvar = max_queued_events.value</tt> </tt>
+<a name="L211"></a><tt class="py-lineno"> 211</tt> <tt class="py-line"><tt class="py-docstring"> - Update max_queued_events attribute: max_queued_events.value = 42</tt> </tt>
+<a name="L212"></a><tt class="py-lineno"> 212</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt>
+<a name="L213"></a><tt class="py-lineno"> 213</tt> <tt class="py-line"> </tt>
+<a name="L214"></a><tt class="py-lineno"> 214</tt> <tt class="py-line"> <tt id="link-33" class="py-name" targets="Variable pyinotify.SysCtlINotify.inotify_attrs=pyinotify.SysCtlINotify-class.html#inotify_attrs"><a title="pyinotify.SysCtlINotify.inotify_attrs" class="py-name" href="#" onclick="return doclink('link-33', 'inotify_attrs', 'link-33');">inotify_attrs</a></tt> <tt class="py-op">=</tt> <tt class="py-op">{</tt><tt class="py-string">'max_user_instances'</tt><tt class="py-op">:</tt> <tt class="py-number">1</tt><tt class="py-op">,</tt> </tt>
+<a name="L215"></a><tt class="py-lineno"> 215</tt> <tt class="py-line"> <tt class="py-string">'max_user_watches'</tt><tt class="py-op">:</tt> <tt class="py-number">2</tt><tt class="py-op">,</tt> </tt>
+<a name="L216"></a><tt class="py-lineno"> 216</tt> <tt class="py-line"> <tt class="py-string">'max_queued_events'</tt><tt class="py-op">:</tt> <tt class="py-number">3</tt><tt class="py-op">}</tt> </tt>
+<a name="L217"></a><tt class="py-lineno"> 217</tt> <tt class="py-line"> </tt>
+<a name="SysCtlINotify.__init__"></a><div id="SysCtlINotify.__init__-def"><a name="L218"></a><tt class="py-lineno"> 218</tt> <a class="py-toggle" href="#" id="SysCtlINotify.__init__-toggle" onclick="return toggle('SysCtlINotify.__init__');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="pyinotify.SysCtlINotify-class.html#__init__">__init__</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">,</tt> <tt class="py-param">attrname</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
+</div><div id="SysCtlINotify.__init__-collapsed" style="display:none;" pad="++++" indent="++++++++"></div><div id="SysCtlINotify.__init__-expanded"><a name="L219"></a><tt class="py-lineno"> 219</tt> <tt class="py-line"> <tt class="py-name">sino</tt> <tt class="py-op">=</tt> <tt class="py-name">ctypes</tt><tt class="py-op">.</tt><tt class="py-name">c_int</tt> <tt class="py-op">*</tt> <tt class="py-number">3</tt> </tt>
+<a name="L220"></a><tt class="py-lineno"> 220</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_attrname</tt> <tt class="py-op">=</tt> <tt id="link-34" class="py-name" targets="Variable pyinotify.attrname=pyinotify-module.html#attrname"><a title="pyinotify.attrname" class="py-name" href="#" onclick="return doclink('link-34', 'attrname', 'link-34');">attrname</a></tt> </tt>
+<a name="L221"></a><tt class="py-lineno"> 221</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_attr</tt> <tt class="py-op">=</tt> <tt class="py-name">sino</tt><tt class="py-op">(</tt><tt class="py-number">5</tt><tt class="py-op">,</tt> <tt class="py-number">20</tt><tt class="py-op">,</tt> <tt id="link-35" class="py-name" targets="Class pyinotify.SysCtlINotify=pyinotify.SysCtlINotify-class.html"><a title="pyinotify.SysCtlINotify" class="py-name" href="#" onclick="return doclink('link-35', 'SysCtlINotify', 'link-35');">SysCtlINotify</a></tt><tt class="py-op">.</tt><tt id="link-36" class="py-name"><a title="pyinotify.SysCtlINotify.inotify_attrs" class="py-name" href="#" onclick="return doclink('link-36', 'inotify_attrs', 'link-33');">inotify_attrs</a></tt><tt class="py-op">[</tt><tt id="link-37" class="py-name"><a title="pyinotify.attrname" class="py-name" href="#" onclick="return doclink('link-37', 'attrname', 'link-34');">attrname</a></tt><tt class="py-op">]</tt><tt class="py-op">)</tt> </tt>
+</div><a name="L222"></a><tt class="py-lineno"> 222</tt> <tt class="py-line"> </tt>
+<a name="SysCtlINotify.get_val"></a><div id="SysCtlINotify.get_val-def"><a name="L223"></a><tt class="py-lineno"> 223</tt> <a class="py-toggle" href="#" id="SysCtlINotify.get_val-toggle" onclick="return toggle('SysCtlINotify.get_val');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="pyinotify.SysCtlINotify-class.html#get_val">get_val</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
+</div><div id="SysCtlINotify.get_val-collapsed" style="display:none;" pad="++++" indent="++++++++"></div><div id="SysCtlINotify.get_val-expanded"><a name="L224"></a><tt class="py-lineno"> 224</tt> <tt class="py-line"> <tt class="py-docstring">"""</tt> </tt>
+<a name="L225"></a><tt class="py-lineno"> 225</tt> <tt class="py-line"><tt class="py-docstring"> Gets attribute's value.</tt> </tt>
+<a name="L226"></a><tt class="py-lineno"> 226</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
+<a name="L227"></a><tt class="py-lineno"> 227</tt> <tt class="py-line"><tt class="py-docstring"> @return: stored value.</tt> </tt>
+<a name="L228"></a><tt class="py-lineno"> 228</tt> <tt class="py-line"><tt class="py-docstring"> @rtype: int</tt> </tt>
+<a name="L229"></a><tt class="py-lineno"> 229</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt>
+<a name="L230"></a><tt class="py-lineno"> 230</tt> <tt class="py-line"> <tt class="py-name">oldv</tt> <tt class="py-op">=</tt> <tt class="py-name">ctypes</tt><tt class="py-op">.</tt><tt class="py-name">c_int</tt><tt class="py-op">(</tt><tt class="py-number">0</tt><tt class="py-op">)</tt> </tt>
+<a name="L231"></a><tt class="py-lineno"> 231</tt> <tt class="py-line"> <tt class="py-name">size</tt> <tt class="py-op">=</tt> <tt class="py-name">ctypes</tt><tt class="py-op">.</tt><tt class="py-name">c_int</tt><tt class="py-op">(</tt><tt class="py-name">ctypes</tt><tt class="py-op">.</tt><tt class="py-name">sizeof</tt><tt class="py-op">(</tt><tt class="py-name">oldv</tt><tt class="py-op">)</tt><tt class="py-op">)</tt> </tt>
+<a name="L232"></a><tt class="py-lineno"> 232</tt> <tt class="py-line"> <tt id="link-38" class="py-name"><a title="pyinotify.LIBC" class="py-name" href="#" onclick="return doclink('link-38', 'LIBC', 'link-7');">LIBC</a></tt><tt class="py-op">.</tt><tt class="py-name">sysctl</tt><tt class="py-op">(</tt><tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_attr</tt><tt class="py-op">,</tt> <tt class="py-number">3</tt><tt class="py-op">,</tt> </tt>
+<a name="L233"></a><tt class="py-lineno"> 233</tt> <tt class="py-line"> <tt class="py-name">ctypes</tt><tt class="py-op">.</tt><tt class="py-name">c_voidp</tt><tt class="py-op">(</tt><tt class="py-name">ctypes</tt><tt class="py-op">.</tt><tt class="py-name">addressof</tt><tt class="py-op">(</tt><tt class="py-name">oldv</tt><tt class="py-op">)</tt><tt class="py-op">)</tt><tt class="py-op">,</tt> </tt>
+<a name="L234"></a><tt class="py-lineno"> 234</tt> <tt class="py-line"> <tt class="py-name">ctypes</tt><tt class="py-op">.</tt><tt class="py-name">addressof</tt><tt class="py-op">(</tt><tt class="py-name">size</tt><tt class="py-op">)</tt><tt class="py-op">,</tt> </tt>
+<a name="L235"></a><tt class="py-lineno"> 235</tt> <tt class="py-line"> <tt class="py-name">None</tt><tt class="py-op">,</tt> <tt class="py-number">0</tt><tt class="py-op">)</tt> </tt>
+<a name="L236"></a><tt class="py-lineno"> 236</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-name">oldv</tt><tt class="py-op">.</tt><tt id="link-39" class="py-name" targets="Variable pyinotify.SysCtlINotify.value=pyinotify.SysCtlINotify-class.html#value"><a title="pyinotify.SysCtlINotify.value" class="py-name" href="#" onclick="return doclink('link-39', 'value', 'link-39');">value</a></tt> </tt>
+</div><a name="L237"></a><tt class="py-lineno"> 237</tt> <tt class="py-line"> </tt>
+<a name="SysCtlINotify.set_val"></a><div id="SysCtlINotify.set_val-def"><a name="L238"></a><tt class="py-lineno"> 238</tt> <a class="py-toggle" href="#" id="SysCtlINotify.set_val-toggle" onclick="return toggle('SysCtlINotify.set_val');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="pyinotify.SysCtlINotify-class.html#set_val">set_val</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">,</tt> <tt class="py-param">nval</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
+</div><div id="SysCtlINotify.set_val-collapsed" style="display:none;" pad="++++" indent="++++++++"></div><div id="SysCtlINotify.set_val-expanded"><a name="L239"></a><tt class="py-lineno"> 239</tt> <tt class="py-line"> <tt class="py-docstring">"""</tt> </tt>
+<a name="L240"></a><tt class="py-lineno"> 240</tt> <tt class="py-line"><tt class="py-docstring"> Sets new attribute's value.</tt> </tt>
+<a name="L241"></a><tt class="py-lineno"> 241</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
+<a name="L242"></a><tt class="py-lineno"> 242</tt> <tt class="py-line"><tt class="py-docstring"> @param nval: replaces current value by nval.</tt> </tt>
+<a name="L243"></a><tt class="py-lineno"> 243</tt> <tt class="py-line"><tt class="py-docstring"> @type nval: int</tt> </tt>
+<a name="L244"></a><tt class="py-lineno"> 244</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt>
+<a name="L245"></a><tt class="py-lineno"> 245</tt> <tt class="py-line"> <tt class="py-name">oldv</tt> <tt class="py-op">=</tt> <tt class="py-name">ctypes</tt><tt class="py-op">.</tt><tt class="py-name">c_int</tt><tt class="py-op">(</tt><tt class="py-number">0</tt><tt class="py-op">)</tt> </tt>
+<a name="L246"></a><tt class="py-lineno"> 246</tt> <tt class="py-line"> <tt class="py-name">sizeo</tt> <tt class="py-op">=</tt> <tt class="py-name">ctypes</tt><tt class="py-op">.</tt><tt class="py-name">c_int</tt><tt class="py-op">(</tt><tt class="py-name">ctypes</tt><tt class="py-op">.</tt><tt class="py-name">sizeof</tt><tt class="py-op">(</tt><tt class="py-name">oldv</tt><tt class="py-op">)</tt><tt class="py-op">)</tt> </tt>
+<a name="L247"></a><tt class="py-lineno"> 247</tt> <tt class="py-line"> <tt class="py-name">newv</tt> <tt class="py-op">=</tt> <tt class="py-name">ctypes</tt><tt class="py-op">.</tt><tt class="py-name">c_int</tt><tt class="py-op">(</tt><tt class="py-name">nval</tt><tt class="py-op">)</tt> </tt>
+<a name="L248"></a><tt class="py-lineno"> 248</tt> <tt class="py-line"> <tt class="py-name">sizen</tt> <tt class="py-op">=</tt> <tt class="py-name">ctypes</tt><tt class="py-op">.</tt><tt class="py-name">c_int</tt><tt class="py-op">(</tt><tt class="py-name">ctypes</tt><tt class="py-op">.</tt><tt class="py-name">sizeof</tt><tt class="py-op">(</tt><tt class="py-name">newv</tt><tt class="py-op">)</tt><tt class="py-op">)</tt> </tt>
+<a name="L249"></a><tt class="py-lineno"> 249</tt> <tt class="py-line"> <tt id="link-40" class="py-name"><a title="pyinotify.LIBC" class="py-name" href="#" onclick="return doclink('link-40', 'LIBC', 'link-7');">LIBC</a></tt><tt class="py-op">.</tt><tt class="py-name">sysctl</tt><tt class="py-op">(</tt><tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_attr</tt><tt class="py-op">,</tt> <tt class="py-number">3</tt><tt class="py-op">,</tt> </tt>
+<a name="L250"></a><tt class="py-lineno"> 250</tt> <tt class="py-line"> <tt class="py-name">ctypes</tt><tt class="py-op">.</tt><tt class="py-name">c_voidp</tt><tt class="py-op">(</tt><tt class="py-name">ctypes</tt><tt class="py-op">.</tt><tt class="py-name">addressof</tt><tt class="py-op">(</tt><tt class="py-name">oldv</tt><tt class="py-op">)</tt><tt class="py-op">)</tt><tt class="py-op">,</tt> </tt>
+<a name="L251"></a><tt class="py-lineno"> 251</tt> <tt class="py-line"> <tt class="py-name">ctypes</tt><tt class="py-op">.</tt><tt class="py-name">addressof</tt><tt class="py-op">(</tt><tt class="py-name">sizeo</tt><tt class="py-op">)</tt><tt class="py-op">,</tt> </tt>
+<a name="L252"></a><tt class="py-lineno"> 252</tt> <tt class="py-line"> <tt class="py-name">ctypes</tt><tt class="py-op">.</tt><tt class="py-name">c_voidp</tt><tt class="py-op">(</tt><tt class="py-name">ctypes</tt><tt class="py-op">.</tt><tt class="py-name">addressof</tt><tt class="py-op">(</tt><tt class="py-name">newv</tt><tt class="py-op">)</tt><tt class="py-op">)</tt><tt class="py-op">,</tt> </tt>
+<a name="L253"></a><tt class="py-lineno"> 253</tt> <tt class="py-line"> <tt class="py-name">ctypes</tt><tt class="py-op">.</tt><tt class="py-name">addressof</tt><tt class="py-op">(</tt><tt class="py-name">sizen</tt><tt class="py-op">)</tt><tt class="py-op">)</tt> </tt>
+</div><a name="L254"></a><tt class="py-lineno"> 254</tt> <tt class="py-line"> </tt>
+<a name="L255"></a><tt class="py-lineno"> 255</tt> <tt class="py-line"> <tt id="link-41" class="py-name"><a title="pyinotify.SysCtlINotify.value" class="py-name" href="#" onclick="return doclink('link-41', 'value', 'link-39');">value</a></tt> <tt class="py-op">=</tt> <tt class="py-name">property</tt><tt class="py-op">(</tt><tt id="link-42" class="py-name" targets="Method pyinotify.SysCtlINotify.get_val()=pyinotify.SysCtlINotify-class.html#get_val"><a title="pyinotify.SysCtlINotify.get_val" class="py-name" href="#" onclick="return doclink('link-42', 'get_val', 'link-42');">get_val</a></tt><tt class="py-op">,</tt> <tt id="link-43" class="py-name" targets="Method pyinotify.SysCtlINotify.set_val()=pyinotify.SysCtlINotify-class.html#set_val"><a title="pyinotify.SysCtlINotify.set_val" class="py-name" href="#" onclick="return doclink('link-43', 'set_val', 'link-43');">set_val</a></tt><tt class="py-op">)</tt> </tt>
+<a name="L256"></a><tt class="py-lineno"> 256</tt> <tt class="py-line"> </tt>
+<a name="SysCtlINotify.__repr__"></a><div id="SysCtlINotify.__repr__-def"><a name="L257"></a><tt class="py-lineno"> 257</tt> <a class="py-toggle" href="#" id="SysCtlINotify.__repr__-toggle" onclick="return toggle('SysCtlINotify.__repr__');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="pyinotify.SysCtlINotify-class.html#__repr__">__repr__</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
+</div><div id="SysCtlINotify.__repr__-collapsed" style="display:none;" pad="++++" indent="++++++++"></div><div id="SysCtlINotify.__repr__-expanded"><a name="L258"></a><tt class="py-lineno"> 258</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-string">'&lt;%s=%d&gt;'</tt> <tt class="py-op">%</tt> <tt class="py-op">(</tt><tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_attrname</tt><tt class="py-op">,</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-44" class="py-name"><a title="pyinotify.SysCtlINotify.get_val" class="py-name" href="#" onclick="return doclink('link-44', 'get_val', 'link-42');">get_val</a></tt><tt class="py-op">(</tt><tt class="py-op">)</tt><tt class="py-op">)</tt> </tt>
+</div></div><a name="L259"></a><tt class="py-lineno"> 259</tt> <tt class="py-line"> </tt>
+<a name="L260"></a><tt class="py-lineno"> 260</tt> <tt class="py-line"> </tt>
+<a name="L261"></a><tt class="py-lineno"> 261</tt> <tt class="py-line"><tt class="py-comment"># Singleton instances</tt> </tt>
+<a name="L262"></a><tt class="py-lineno"> 262</tt> <tt class="py-line"><tt class="py-comment">#</tt> </tt>
+<a name="L263"></a><tt class="py-lineno"> 263</tt> <tt class="py-line"><tt class="py-comment"># read: myvar = max_queued_events.value</tt> </tt>
+<a name="L264"></a><tt class="py-lineno"> 264</tt> <tt class="py-line"><tt class="py-comment"># update: max_queued_events.value = 42</tt> </tt>
+<a name="L265"></a><tt class="py-lineno"> 265</tt> <tt class="py-line"><tt class="py-comment">#</tt> </tt>
+<a name="L266"></a><tt class="py-lineno"> 266</tt> <tt class="py-line"><tt class="py-keyword">for</tt> <tt id="link-45" class="py-name"><a title="pyinotify.attrname" class="py-name" href="#" onclick="return doclink('link-45', 'attrname', 'link-34');">attrname</a></tt> <tt class="py-keyword">in</tt> <tt class="py-op">(</tt><tt class="py-string">'max_queued_events'</tt><tt class="py-op">,</tt> <tt class="py-string">'max_user_instances'</tt><tt class="py-op">,</tt> <tt class="py-string">'max_user_watches'</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
+<a name="L267"></a><tt class="py-lineno"> 267</tt> <tt class="py-line"> <tt class="py-name">globals</tt><tt class="py-op">(</tt><tt class="py-op">)</tt><tt class="py-op">[</tt><tt id="link-46" class="py-name"><a title="pyinotify.attrname" class="py-name" href="#" onclick="return doclink('link-46', 'attrname', 'link-34');">attrname</a></tt><tt class="py-op">]</tt> <tt class="py-op">=</tt> <tt id="link-47" class="py-name"><a title="pyinotify.SysCtlINotify" class="py-name" href="#" onclick="return doclink('link-47', 'SysCtlINotify', 'link-35');">SysCtlINotify</a></tt><tt class="py-op">(</tt><tt id="link-48" class="py-name"><a title="pyinotify.attrname" class="py-name" href="#" onclick="return doclink('link-48', 'attrname', 'link-34');">attrname</a></tt><tt class="py-op">)</tt> </tt>
+<a name="EventsCodes"></a><div id="EventsCodes-def"><a name="L268"></a><tt class="py-lineno"> 268</tt> <tt class="py-line"> </tt>
+<a name="L269"></a><tt class="py-lineno"> 269</tt> <tt class="py-line"> </tt>
+<a name="L270"></a><tt class="py-lineno"> 270</tt> <a class="py-toggle" href="#" id="EventsCodes-toggle" onclick="return toggle('EventsCodes');">-</a><tt class="py-line"><tt class="py-keyword">class</tt> <a class="py-def-name" href="pyinotify.EventsCodes-class.html">EventsCodes</a><tt class="py-op">:</tt> </tt>
+</div><div id="EventsCodes-collapsed" style="display:none;" pad="++++" indent="++++"></div><div id="EventsCodes-expanded"><a name="L271"></a><tt class="py-lineno"> 271</tt> <tt class="py-line"> <tt class="py-docstring">"""</tt> </tt>
+<a name="L272"></a><tt class="py-lineno"> 272</tt> <tt class="py-line"><tt class="py-docstring"> Set of codes corresponding to each kind of events.</tt> </tt>
+<a name="L273"></a><tt class="py-lineno"> 273</tt> <tt class="py-line"><tt class="py-docstring"> Some of these flags are used to communicate with inotify, whereas</tt> </tt>
+<a name="L274"></a><tt class="py-lineno"> 274</tt> <tt class="py-line"><tt class="py-docstring"> the others are sent to userspace by inotify notifying some events.</tt> </tt>
+<a name="L275"></a><tt class="py-lineno"> 275</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
+<a name="L276"></a><tt class="py-lineno"> 276</tt> <tt class="py-line"><tt class="py-docstring"> @cvar IN_ACCESS: File was accessed.</tt> </tt>
+<a name="L277"></a><tt class="py-lineno"> 277</tt> <tt class="py-line"><tt class="py-docstring"> @type IN_ACCESS: int</tt> </tt>
+<a name="L278"></a><tt class="py-lineno"> 278</tt> <tt class="py-line"><tt class="py-docstring"> @cvar IN_MODIFY: File was modified.</tt> </tt>
+<a name="L279"></a><tt class="py-lineno"> 279</tt> <tt class="py-line"><tt class="py-docstring"> @type IN_MODIFY: int</tt> </tt>
+<a name="L280"></a><tt class="py-lineno"> 280</tt> <tt class="py-line"><tt class="py-docstring"> @cvar IN_ATTRIB: Metadata changed.</tt> </tt>
+<a name="L281"></a><tt class="py-lineno"> 281</tt> <tt class="py-line"><tt class="py-docstring"> @type IN_ATTRIB: int</tt> </tt>
+<a name="L282"></a><tt class="py-lineno"> 282</tt> <tt class="py-line"><tt class="py-docstring"> @cvar IN_CLOSE_WRITE: Writtable file was closed.</tt> </tt>
+<a name="L283"></a><tt class="py-lineno"> 283</tt> <tt class="py-line"><tt class="py-docstring"> @type IN_CLOSE_WRITE: int</tt> </tt>
+<a name="L284"></a><tt class="py-lineno"> 284</tt> <tt class="py-line"><tt class="py-docstring"> @cvar IN_CLOSE_NOWRITE: Unwrittable file closed.</tt> </tt>
+<a name="L285"></a><tt class="py-lineno"> 285</tt> <tt class="py-line"><tt class="py-docstring"> @type IN_CLOSE_NOWRITE: int</tt> </tt>
+<a name="L286"></a><tt class="py-lineno"> 286</tt> <tt class="py-line"><tt class="py-docstring"> @cvar IN_OPEN: File was opened.</tt> </tt>
+<a name="L287"></a><tt class="py-lineno"> 287</tt> <tt class="py-line"><tt class="py-docstring"> @type IN_OPEN: int</tt> </tt>
+<a name="L288"></a><tt class="py-lineno"> 288</tt> <tt class="py-line"><tt class="py-docstring"> @cvar IN_MOVED_FROM: File was moved from X.</tt> </tt>
+<a name="L289"></a><tt class="py-lineno"> 289</tt> <tt class="py-line"><tt class="py-docstring"> @type IN_MOVED_FROM: int</tt> </tt>
+<a name="L290"></a><tt class="py-lineno"> 290</tt> <tt class="py-line"><tt class="py-docstring"> @cvar IN_MOVED_TO: File was moved to Y.</tt> </tt>
+<a name="L291"></a><tt class="py-lineno"> 291</tt> <tt class="py-line"><tt class="py-docstring"> @type IN_MOVED_TO: int</tt> </tt>
+<a name="L292"></a><tt class="py-lineno"> 292</tt> <tt class="py-line"><tt class="py-docstring"> @cvar IN_CREATE: Subfile was created.</tt> </tt>
+<a name="L293"></a><tt class="py-lineno"> 293</tt> <tt class="py-line"><tt class="py-docstring"> @type IN_CREATE: int</tt> </tt>
+<a name="L294"></a><tt class="py-lineno"> 294</tt> <tt class="py-line"><tt class="py-docstring"> @cvar IN_DELETE: Subfile was deleted.</tt> </tt>
+<a name="L295"></a><tt class="py-lineno"> 295</tt> <tt class="py-line"><tt class="py-docstring"> @type IN_DELETE: int</tt> </tt>
+<a name="L296"></a><tt class="py-lineno"> 296</tt> <tt class="py-line"><tt class="py-docstring"> @cvar IN_DELETE_SELF: Self (watched item itself) was deleted.</tt> </tt>
+<a name="L297"></a><tt class="py-lineno"> 297</tt> <tt class="py-line"><tt class="py-docstring"> @type IN_DELETE_SELF: int</tt> </tt>
+<a name="L298"></a><tt class="py-lineno"> 298</tt> <tt class="py-line"><tt class="py-docstring"> @cvar IN_MOVE_SELF: Self (watched item itself) was moved.</tt> </tt>
+<a name="L299"></a><tt class="py-lineno"> 299</tt> <tt class="py-line"><tt class="py-docstring"> @type IN_MOVE_SELF: int</tt> </tt>
+<a name="L300"></a><tt class="py-lineno"> 300</tt> <tt class="py-line"><tt class="py-docstring"> @cvar IN_UNMOUNT: Backing fs was unmounted.</tt> </tt>
+<a name="L301"></a><tt class="py-lineno"> 301</tt> <tt class="py-line"><tt class="py-docstring"> @type IN_UNMOUNT: int</tt> </tt>
+<a name="L302"></a><tt class="py-lineno"> 302</tt> <tt class="py-line"><tt class="py-docstring"> @cvar IN_Q_OVERFLOW: Event queued overflowed.</tt> </tt>
+<a name="L303"></a><tt class="py-lineno"> 303</tt> <tt class="py-line"><tt class="py-docstring"> @type IN_Q_OVERFLOW: int</tt> </tt>
+<a name="L304"></a><tt class="py-lineno"> 304</tt> <tt class="py-line"><tt class="py-docstring"> @cvar IN_IGNORED: File was ignored.</tt> </tt>
+<a name="L305"></a><tt class="py-lineno"> 305</tt> <tt class="py-line"><tt class="py-docstring"> @type IN_IGNORED: int</tt> </tt>
+<a name="L306"></a><tt class="py-lineno"> 306</tt> <tt class="py-line"><tt class="py-docstring"> @cvar IN_ONLYDIR: only watch the path if it is a directory (new</tt> </tt>
+<a name="L307"></a><tt class="py-lineno"> 307</tt> <tt class="py-line"><tt class="py-docstring"> in kernel 2.6.15).</tt> </tt>
+<a name="L308"></a><tt class="py-lineno"> 308</tt> <tt class="py-line"><tt class="py-docstring"> @type IN_ONLYDIR: int</tt> </tt>
+<a name="L309"></a><tt class="py-lineno"> 309</tt> <tt class="py-line"><tt class="py-docstring"> @cvar IN_DONT_FOLLOW: don't follow a symlink (new in kernel 2.6.15).</tt> </tt>
+<a name="L310"></a><tt class="py-lineno"> 310</tt> <tt class="py-line"><tt class="py-docstring"> IN_ONLYDIR we can make sure that we don't watch</tt> </tt>
+<a name="L311"></a><tt class="py-lineno"> 311</tt> <tt class="py-line"><tt class="py-docstring"> the target of symlinks.</tt> </tt>
+<a name="L312"></a><tt class="py-lineno"> 312</tt> <tt class="py-line"><tt class="py-docstring"> @type IN_DONT_FOLLOW: int</tt> </tt>
+<a name="L313"></a><tt class="py-lineno"> 313</tt> <tt class="py-line"><tt class="py-docstring"> @cvar IN_MASK_ADD: add to the mask of an already existing watch (new</tt> </tt>
+<a name="L314"></a><tt class="py-lineno"> 314</tt> <tt class="py-line"><tt class="py-docstring"> in kernel 2.6.14).</tt> </tt>
+<a name="L315"></a><tt class="py-lineno"> 315</tt> <tt class="py-line"><tt class="py-docstring"> @type IN_MASK_ADD: int</tt> </tt>
+<a name="L316"></a><tt class="py-lineno"> 316</tt> <tt class="py-line"><tt class="py-docstring"> @cvar IN_ISDIR: Event occurred against dir.</tt> </tt>
+<a name="L317"></a><tt class="py-lineno"> 317</tt> <tt class="py-line"><tt class="py-docstring"> @type IN_ISDIR: int</tt> </tt>
+<a name="L318"></a><tt class="py-lineno"> 318</tt> <tt class="py-line"><tt class="py-docstring"> @cvar IN_ONESHOT: Only send event once.</tt> </tt>
+<a name="L319"></a><tt class="py-lineno"> 319</tt> <tt class="py-line"><tt class="py-docstring"> @type IN_ONESHOT: int</tt> </tt>
+<a name="L320"></a><tt class="py-lineno"> 320</tt> <tt class="py-line"><tt class="py-docstring"> @cvar ALL_EVENTS: Alias for considering all of the events.</tt> </tt>
+<a name="L321"></a><tt class="py-lineno"> 321</tt> <tt class="py-line"><tt class="py-docstring"> @type ALL_EVENTS: int</tt> </tt>
+<a name="L322"></a><tt class="py-lineno"> 322</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt>
+<a name="L323"></a><tt class="py-lineno"> 323</tt> <tt class="py-line"> </tt>
+<a name="L324"></a><tt class="py-lineno"> 324</tt> <tt class="py-line"> <tt class="py-comment"># The idea here is 'configuration-as-code' - this way, we get our nice class</tt> </tt>
+<a name="L325"></a><tt class="py-lineno"> 325</tt> <tt class="py-line"> <tt class="py-comment"># constants, but we also get nice human-friendly text mappings to do lookups</tt> </tt>
+<a name="L326"></a><tt class="py-lineno"> 326</tt> <tt class="py-line"> <tt class="py-comment"># against as well, for free:</tt> </tt>
+<a name="L327"></a><tt class="py-lineno"> 327</tt> <tt class="py-line"> <tt id="link-49" class="py-name" targets="Variable pyinotify.EventsCodes.FLAG_COLLECTIONS=pyinotify.EventsCodes-class.html#FLAG_COLLECTIONS"><a title="pyinotify.EventsCodes.FLAG_COLLECTIONS" class="py-name" href="#" onclick="return doclink('link-49', 'FLAG_COLLECTIONS', 'link-49');">FLAG_COLLECTIONS</a></tt> <tt class="py-op">=</tt> <tt class="py-op">{</tt><tt class="py-string">'OP_FLAGS'</tt><tt class="py-op">:</tt> <tt class="py-op">{</tt> </tt>
+<a name="L328"></a><tt class="py-lineno"> 328</tt> <tt class="py-line"> <tt class="py-string">'IN_ACCESS'</tt> <tt class="py-op">:</tt> <tt class="py-number">0x00000001</tt><tt class="py-op">,</tt> <tt class="py-comment"># File was accessed</tt> </tt>
+<a name="L329"></a><tt class="py-lineno"> 329</tt> <tt class="py-line"> <tt class="py-string">'IN_MODIFY'</tt> <tt class="py-op">:</tt> <tt class="py-number">0x00000002</tt><tt class="py-op">,</tt> <tt class="py-comment"># File was modified</tt> </tt>
+<a name="L330"></a><tt class="py-lineno"> 330</tt> <tt class="py-line"> <tt class="py-string">'IN_ATTRIB'</tt> <tt class="py-op">:</tt> <tt class="py-number">0x00000004</tt><tt class="py-op">,</tt> <tt class="py-comment"># Metadata changed</tt> </tt>
+<a name="L331"></a><tt class="py-lineno"> 331</tt> <tt class="py-line"> <tt class="py-string">'IN_CLOSE_WRITE'</tt> <tt class="py-op">:</tt> <tt class="py-number">0x00000008</tt><tt class="py-op">,</tt> <tt class="py-comment"># Writable file was closed</tt> </tt>
+<a name="L332"></a><tt class="py-lineno"> 332</tt> <tt class="py-line"> <tt class="py-string">'IN_CLOSE_NOWRITE'</tt> <tt class="py-op">:</tt> <tt class="py-number">0x00000010</tt><tt class="py-op">,</tt> <tt class="py-comment"># Unwritable file closed</tt> </tt>
+<a name="L333"></a><tt class="py-lineno"> 333</tt> <tt class="py-line"> <tt class="py-string">'IN_OPEN'</tt> <tt class="py-op">:</tt> <tt class="py-number">0x00000020</tt><tt class="py-op">,</tt> <tt class="py-comment"># File was opened</tt> </tt>
+<a name="L334"></a><tt class="py-lineno"> 334</tt> <tt class="py-line"> <tt class="py-string">'IN_MOVED_FROM'</tt> <tt class="py-op">:</tt> <tt class="py-number">0x00000040</tt><tt class="py-op">,</tt> <tt class="py-comment"># File was moved from X</tt> </tt>
+<a name="L335"></a><tt class="py-lineno"> 335</tt> <tt class="py-line"> <tt class="py-string">'IN_MOVED_TO'</tt> <tt class="py-op">:</tt> <tt class="py-number">0x00000080</tt><tt class="py-op">,</tt> <tt class="py-comment"># File was moved to Y</tt> </tt>
+<a name="L336"></a><tt class="py-lineno"> 336</tt> <tt class="py-line"> <tt class="py-string">'IN_CREATE'</tt> <tt class="py-op">:</tt> <tt class="py-number">0x00000100</tt><tt class="py-op">,</tt> <tt class="py-comment"># Subfile was created</tt> </tt>
+<a name="L337"></a><tt class="py-lineno"> 337</tt> <tt class="py-line"> <tt class="py-string">'IN_DELETE'</tt> <tt class="py-op">:</tt> <tt class="py-number">0x00000200</tt><tt class="py-op">,</tt> <tt class="py-comment"># Subfile was deleted</tt> </tt>
+<a name="L338"></a><tt class="py-lineno"> 338</tt> <tt class="py-line"> <tt class="py-string">'IN_DELETE_SELF'</tt> <tt class="py-op">:</tt> <tt class="py-number">0x00000400</tt><tt class="py-op">,</tt> <tt class="py-comment"># Self (watched item itself)</tt> </tt>
+<a name="L339"></a><tt class="py-lineno"> 339</tt> <tt class="py-line"> <tt class="py-comment"># was deleted</tt> </tt>
+<a name="L340"></a><tt class="py-lineno"> 340</tt> <tt class="py-line"> <tt class="py-string">'IN_MOVE_SELF'</tt> <tt class="py-op">:</tt> <tt class="py-number">0x00000800</tt><tt class="py-op">,</tt> <tt class="py-comment"># Self (watched item itself) was moved</tt> </tt>
+<a name="L341"></a><tt class="py-lineno"> 341</tt> <tt class="py-line"> <tt class="py-op">}</tt><tt class="py-op">,</tt> </tt>
+<a name="L342"></a><tt class="py-lineno"> 342</tt> <tt class="py-line"> <tt class="py-string">'EVENT_FLAGS'</tt><tt class="py-op">:</tt> <tt class="py-op">{</tt> </tt>
+<a name="L343"></a><tt class="py-lineno"> 343</tt> <tt class="py-line"> <tt class="py-string">'IN_UNMOUNT'</tt> <tt class="py-op">:</tt> <tt class="py-number">0x00002000</tt><tt class="py-op">,</tt> <tt class="py-comment"># Backing fs was unmounted</tt> </tt>
+<a name="L344"></a><tt class="py-lineno"> 344</tt> <tt class="py-line"> <tt class="py-string">'IN_Q_OVERFLOW'</tt> <tt class="py-op">:</tt> <tt class="py-number">0x00004000</tt><tt class="py-op">,</tt> <tt class="py-comment"># Event queued overflowed</tt> </tt>
+<a name="L345"></a><tt class="py-lineno"> 345</tt> <tt class="py-line"> <tt class="py-string">'IN_IGNORED'</tt> <tt class="py-op">:</tt> <tt class="py-number">0x00008000</tt><tt class="py-op">,</tt> <tt class="py-comment"># File was ignored</tt> </tt>
+<a name="L346"></a><tt class="py-lineno"> 346</tt> <tt class="py-line"> <tt class="py-op">}</tt><tt class="py-op">,</tt> </tt>
+<a name="L347"></a><tt class="py-lineno"> 347</tt> <tt class="py-line"> <tt class="py-string">'SPECIAL_FLAGS'</tt><tt class="py-op">:</tt> <tt class="py-op">{</tt> </tt>
+<a name="L348"></a><tt class="py-lineno"> 348</tt> <tt class="py-line"> <tt class="py-string">'IN_ONLYDIR'</tt> <tt class="py-op">:</tt> <tt class="py-number">0x01000000</tt><tt class="py-op">,</tt> <tt class="py-comment"># only watch the path if it is a</tt> </tt>
+<a name="L349"></a><tt class="py-lineno"> 349</tt> <tt class="py-line"> <tt class="py-comment"># directory</tt> </tt>
+<a name="L350"></a><tt class="py-lineno"> 350</tt> <tt class="py-line"> <tt class="py-string">'IN_DONT_FOLLOW'</tt> <tt class="py-op">:</tt> <tt class="py-number">0x02000000</tt><tt class="py-op">,</tt> <tt class="py-comment"># don't follow a symlink</tt> </tt>
+<a name="L351"></a><tt class="py-lineno"> 351</tt> <tt class="py-line"> <tt class="py-string">'IN_MASK_ADD'</tt> <tt class="py-op">:</tt> <tt class="py-number">0x20000000</tt><tt class="py-op">,</tt> <tt class="py-comment"># add to the mask of an already</tt> </tt>
+<a name="L352"></a><tt class="py-lineno"> 352</tt> <tt class="py-line"> <tt class="py-comment"># existing watch</tt> </tt>
+<a name="L353"></a><tt class="py-lineno"> 353</tt> <tt class="py-line"> <tt class="py-string">'IN_ISDIR'</tt> <tt class="py-op">:</tt> <tt class="py-number">0x40000000</tt><tt class="py-op">,</tt> <tt class="py-comment"># event occurred against dir</tt> </tt>
+<a name="L354"></a><tt class="py-lineno"> 354</tt> <tt class="py-line"> <tt class="py-string">'IN_ONESHOT'</tt> <tt class="py-op">:</tt> <tt class="py-number">0x80000000</tt><tt class="py-op">,</tt> <tt class="py-comment"># only send event once</tt> </tt>
+<a name="L355"></a><tt class="py-lineno"> 355</tt> <tt class="py-line"> <tt class="py-op">}</tt><tt class="py-op">,</tt> </tt>
+<a name="L356"></a><tt class="py-lineno"> 356</tt> <tt class="py-line"> <tt class="py-op">}</tt> </tt>
+<a name="L357"></a><tt class="py-lineno"> 357</tt> <tt class="py-line"> </tt>
+<a name="EventsCodes.maskname"></a><div id="EventsCodes.maskname-def"><a name="L358"></a><tt class="py-lineno"> 358</tt> <a class="py-toggle" href="#" id="EventsCodes.maskname-toggle" onclick="return toggle('EventsCodes.maskname');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="pyinotify.EventsCodes-class.html#maskname">maskname</a><tt class="py-op">(</tt><tt class="py-param">mask</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
+</div><div id="EventsCodes.maskname-collapsed" style="display:none;" pad="++++" indent="++++++++"></div><div id="EventsCodes.maskname-expanded"><a name="L359"></a><tt class="py-lineno"> 359</tt> <tt class="py-line"> <tt class="py-docstring">"""</tt> </tt>
+<a name="L360"></a><tt class="py-lineno"> 360</tt> <tt class="py-line"><tt class="py-docstring"> Returns the event name associated to mask. IN_ISDIR is appended to</tt> </tt>
+<a name="L361"></a><tt class="py-lineno"> 361</tt> <tt class="py-line"><tt class="py-docstring"> the result when appropriate. Note: only one event is returned, because</tt> </tt>
+<a name="L362"></a><tt class="py-lineno"> 362</tt> <tt class="py-line"><tt class="py-docstring"> only one event can be raised at a given time.</tt> </tt>
+<a name="L363"></a><tt class="py-lineno"> 363</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
+<a name="L364"></a><tt class="py-lineno"> 364</tt> <tt class="py-line"><tt class="py-docstring"> @param mask: mask.</tt> </tt>
+<a name="L365"></a><tt class="py-lineno"> 365</tt> <tt class="py-line"><tt class="py-docstring"> @type mask: int</tt> </tt>
+<a name="L366"></a><tt class="py-lineno"> 366</tt> <tt class="py-line"><tt class="py-docstring"> @return: event name.</tt> </tt>
+<a name="L367"></a><tt class="py-lineno"> 367</tt> <tt class="py-line"><tt class="py-docstring"> @rtype: str</tt> </tt>
+<a name="L368"></a><tt class="py-lineno"> 368</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt>
+<a name="L369"></a><tt class="py-lineno"> 369</tt> <tt class="py-line"> <tt class="py-name">ms</tt> <tt class="py-op">=</tt> <tt class="py-name">mask</tt> </tt>
+<a name="L370"></a><tt class="py-lineno"> 370</tt> <tt class="py-line"> <tt id="link-50" class="py-name"><a title="pyinotify.name" class="py-name" href="#" onclick="return doclink('link-50', 'name', 'link-21');">name</a></tt> <tt class="py-op">=</tt> <tt class="py-string">'%s'</tt> </tt>
+<a name="L371"></a><tt class="py-lineno"> 371</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">mask</tt> <tt class="py-op">&amp;</tt> <tt id="link-51" class="py-name" targets="Variable pyinotify.IN_ISDIR=pyinotify-module.html#IN_ISDIR"><a title="pyinotify.IN_ISDIR" class="py-name" href="#" onclick="return doclink('link-51', 'IN_ISDIR', 'link-51');">IN_ISDIR</a></tt><tt class="py-op">:</tt> </tt>
+<a name="L372"></a><tt class="py-lineno"> 372</tt> <tt class="py-line"> <tt class="py-name">ms</tt> <tt class="py-op">=</tt> <tt class="py-name">mask</tt> <tt class="py-op">-</tt> <tt id="link-52" class="py-name"><a title="pyinotify.IN_ISDIR" class="py-name" href="#" onclick="return doclink('link-52', 'IN_ISDIR', 'link-51');">IN_ISDIR</a></tt> </tt>
+<a name="L373"></a><tt class="py-lineno"> 373</tt> <tt class="py-line"> <tt id="link-53" class="py-name"><a title="pyinotify.name" class="py-name" href="#" onclick="return doclink('link-53', 'name', 'link-21');">name</a></tt> <tt class="py-op">=</tt> <tt class="py-string">'%s|IN_ISDIR'</tt> </tt>
+<a name="L374"></a><tt class="py-lineno"> 374</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt id="link-54" class="py-name"><a title="pyinotify.name" class="py-name" href="#" onclick="return doclink('link-54', 'name', 'link-21');">name</a></tt> <tt class="py-op">%</tt> <tt id="link-55" class="py-name" targets="Class pyinotify.EventsCodes=pyinotify.EventsCodes-class.html"><a title="pyinotify.EventsCodes" class="py-name" href="#" onclick="return doclink('link-55', 'EventsCodes', 'link-55');">EventsCodes</a></tt><tt class="py-op">.</tt><tt id="link-56" class="py-name" targets="Variable pyinotify.EventsCodes.ALL_VALUES=pyinotify.EventsCodes-class.html#ALL_VALUES"><a title="pyinotify.EventsCodes.ALL_VALUES" class="py-name" href="#" onclick="return doclink('link-56', 'ALL_VALUES', 'link-56');">ALL_VALUES</a></tt><tt class="py-op">[</tt><tt class="py-name">ms</tt><tt class="py-op">]</tt> </tt>
+</div><a name="L375"></a><tt class="py-lineno"> 375</tt> <tt class="py-line"> </tt>
+<a name="L376"></a><tt class="py-lineno"> 376</tt> <tt class="py-line"> <tt id="link-57" class="py-name" targets="Static Method pyinotify.EventsCodes.maskname()=pyinotify.EventsCodes-class.html#maskname"><a title="pyinotify.EventsCodes.maskname" class="py-name" href="#" onclick="return doclink('link-57', 'maskname', 'link-57');">maskname</a></tt> <tt class="py-op">=</tt> <tt class="py-name">staticmethod</tt><tt class="py-op">(</tt><tt id="link-58" class="py-name"><a title="pyinotify.EventsCodes.maskname" class="py-name" href="#" onclick="return doclink('link-58', 'maskname', 'link-57');">maskname</a></tt><tt class="py-op">)</tt> </tt>
+</div><a name="L377"></a><tt class="py-lineno"> 377</tt> <tt class="py-line"> </tt>
+<a name="L378"></a><tt class="py-lineno"> 378</tt> <tt class="py-line"> </tt>
+<a name="L379"></a><tt class="py-lineno"> 379</tt> <tt class="py-line"><tt class="py-comment"># So let's now turn the configuration into code</tt> </tt>
+<a name="L380"></a><tt class="py-lineno"> 380</tt> <tt class="py-line"><tt id="link-59" class="py-name"><a title="pyinotify.EventsCodes" class="py-name" href="#" onclick="return doclink('link-59', 'EventsCodes', 'link-55');">EventsCodes</a></tt><tt class="py-op">.</tt><tt id="link-60" class="py-name" targets="Variable pyinotify.EventsCodes.ALL_FLAGS=pyinotify.EventsCodes-class.html#ALL_FLAGS"><a title="pyinotify.EventsCodes.ALL_FLAGS" class="py-name" href="#" onclick="return doclink('link-60', 'ALL_FLAGS', 'link-60');">ALL_FLAGS</a></tt> <tt class="py-op">=</tt> <tt class="py-op">{</tt><tt class="py-op">}</tt> </tt>
+<a name="L381"></a><tt class="py-lineno"> 381</tt> <tt class="py-line"><tt id="link-61" class="py-name"><a title="pyinotify.EventsCodes" class="py-name" href="#" onclick="return doclink('link-61', 'EventsCodes', 'link-55');">EventsCodes</a></tt><tt class="py-op">.</tt><tt id="link-62" class="py-name"><a title="pyinotify.EventsCodes.ALL_VALUES" class="py-name" href="#" onclick="return doclink('link-62', 'ALL_VALUES', 'link-56');">ALL_VALUES</a></tt> <tt class="py-op">=</tt> <tt class="py-op">{</tt><tt class="py-op">}</tt> </tt>
+<a name="L382"></a><tt class="py-lineno"> 382</tt> <tt class="py-line"><tt class="py-keyword">for</tt> <tt id="link-63" class="py-name" targets="Variable pyinotify.flagc=pyinotify-module.html#flagc"><a title="pyinotify.flagc" class="py-name" href="#" onclick="return doclink('link-63', 'flagc', 'link-63');">flagc</a></tt><tt class="py-op">,</tt> <tt id="link-64" class="py-name" targets="Variable pyinotify.valc=pyinotify-module.html#valc"><a title="pyinotify.valc" class="py-name" href="#" onclick="return doclink('link-64', 'valc', 'link-64');">valc</a></tt> <tt class="py-keyword">in</tt> <tt id="link-65" class="py-name"><a title="pyinotify.EventsCodes" class="py-name" href="#" onclick="return doclink('link-65', 'EventsCodes', 'link-55');">EventsCodes</a></tt><tt class="py-op">.</tt><tt id="link-66" class="py-name"><a title="pyinotify.EventsCodes.FLAG_COLLECTIONS" class="py-name" href="#" onclick="return doclink('link-66', 'FLAG_COLLECTIONS', 'link-49');">FLAG_COLLECTIONS</a></tt><tt class="py-op">.</tt><tt class="py-name">items</tt><tt class="py-op">(</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
+<a name="L383"></a><tt class="py-lineno"> 383</tt> <tt class="py-line"> <tt class="py-comment"># Make the collections' members directly accessible through the</tt> </tt>
+<a name="L384"></a><tt class="py-lineno"> 384</tt> <tt class="py-line"> <tt class="py-comment"># class dictionary</tt> </tt>
+<a name="L385"></a><tt class="py-lineno"> 385</tt> <tt class="py-line"> <tt class="py-name">setattr</tt><tt class="py-op">(</tt><tt id="link-67" class="py-name"><a title="pyinotify.EventsCodes" class="py-name" href="#" onclick="return doclink('link-67', 'EventsCodes', 'link-55');">EventsCodes</a></tt><tt class="py-op">,</tt> <tt id="link-68" class="py-name"><a title="pyinotify.flagc" class="py-name" href="#" onclick="return doclink('link-68', 'flagc', 'link-63');">flagc</a></tt><tt class="py-op">,</tt> <tt id="link-69" class="py-name"><a title="pyinotify.valc" class="py-name" href="#" onclick="return doclink('link-69', 'valc', 'link-64');">valc</a></tt><tt class="py-op">)</tt> </tt>
+<a name="L386"></a><tt class="py-lineno"> 386</tt> <tt class="py-line"> </tt>
+<a name="L387"></a><tt class="py-lineno"> 387</tt> <tt class="py-line"> <tt class="py-comment"># Collect all the flags under a common umbrella</tt> </tt>
+<a name="L388"></a><tt class="py-lineno"> 388</tt> <tt class="py-line"> <tt id="link-70" class="py-name"><a title="pyinotify.EventsCodes" class="py-name" href="#" onclick="return doclink('link-70', 'EventsCodes', 'link-55');">EventsCodes</a></tt><tt class="py-op">.</tt><tt id="link-71" class="py-name"><a title="pyinotify.EventsCodes.ALL_FLAGS" class="py-name" href="#" onclick="return doclink('link-71', 'ALL_FLAGS', 'link-60');">ALL_FLAGS</a></tt><tt class="py-op">.</tt><tt class="py-name">update</tt><tt class="py-op">(</tt><tt id="link-72" class="py-name"><a title="pyinotify.valc" class="py-name" href="#" onclick="return doclink('link-72', 'valc', 'link-64');">valc</a></tt><tt class="py-op">)</tt> </tt>
+<a name="L389"></a><tt class="py-lineno"> 389</tt> <tt class="py-line"> </tt>
+<a name="L390"></a><tt class="py-lineno"> 390</tt> <tt class="py-line"> <tt class="py-comment"># Make the individual masks accessible as 'constants' at globals() scope</tt> </tt>
+<a name="L391"></a><tt class="py-lineno"> 391</tt> <tt class="py-line"> <tt class="py-comment"># and masknames accessible by values.</tt> </tt>
+<a name="L392"></a><tt class="py-lineno"> 392</tt> <tt class="py-line"> <tt class="py-keyword">for</tt> <tt id="link-73" class="py-name"><a title="pyinotify.name" class="py-name" href="#" onclick="return doclink('link-73', 'name', 'link-21');">name</a></tt><tt class="py-op">,</tt> <tt id="link-74" class="py-name" targets="Variable pyinotify.val=pyinotify-module.html#val"><a title="pyinotify.val" class="py-name" href="#" onclick="return doclink('link-74', 'val', 'link-74');">val</a></tt> <tt class="py-keyword">in</tt> <tt id="link-75" class="py-name"><a title="pyinotify.valc" class="py-name" href="#" onclick="return doclink('link-75', 'valc', 'link-64');">valc</a></tt><tt class="py-op">.</tt><tt class="py-name">items</tt><tt class="py-op">(</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
+<a name="L393"></a><tt class="py-lineno"> 393</tt> <tt class="py-line"> <tt class="py-name">globals</tt><tt class="py-op">(</tt><tt class="py-op">)</tt><tt class="py-op">[</tt><tt id="link-76" class="py-name"><a title="pyinotify.name" class="py-name" href="#" onclick="return doclink('link-76', 'name', 'link-21');">name</a></tt><tt class="py-op">]</tt> <tt class="py-op">=</tt> <tt id="link-77" class="py-name"><a title="pyinotify.val" class="py-name" href="#" onclick="return doclink('link-77', 'val', 'link-74');">val</a></tt> </tt>
+<a name="L394"></a><tt class="py-lineno"> 394</tt> <tt class="py-line"> <tt id="link-78" class="py-name"><a title="pyinotify.EventsCodes" class="py-name" href="#" onclick="return doclink('link-78', 'EventsCodes', 'link-55');">EventsCodes</a></tt><tt class="py-op">.</tt><tt id="link-79" class="py-name"><a title="pyinotify.EventsCodes.ALL_VALUES" class="py-name" href="#" onclick="return doclink('link-79', 'ALL_VALUES', 'link-56');">ALL_VALUES</a></tt><tt class="py-op">[</tt><tt id="link-80" class="py-name"><a title="pyinotify.val" class="py-name" href="#" onclick="return doclink('link-80', 'val', 'link-74');">val</a></tt><tt class="py-op">]</tt> <tt class="py-op">=</tt> <tt id="link-81" class="py-name"><a title="pyinotify.name" class="py-name" href="#" onclick="return doclink('link-81', 'name', 'link-21');">name</a></tt> </tt>
+<a name="L395"></a><tt class="py-lineno"> 395</tt> <tt class="py-line"> </tt>
+<a name="L396"></a><tt class="py-lineno"> 396</tt> <tt class="py-line"> </tt>
+<a name="L397"></a><tt class="py-lineno"> 397</tt> <tt class="py-line"><tt class="py-comment"># all 'normal' events</tt> </tt>
+<a name="L398"></a><tt class="py-lineno"> 398</tt> <tt class="py-line"><tt id="link-82" class="py-name" targets="Variable pyinotify.ALL_EVENTS=pyinotify-module.html#ALL_EVENTS"><a title="pyinotify.ALL_EVENTS" class="py-name" href="#" onclick="return doclink('link-82', 'ALL_EVENTS', 'link-82');">ALL_EVENTS</a></tt> <tt class="py-op">=</tt> <tt class="py-name">reduce</tt><tt class="py-op">(</tt><tt class="py-keyword">lambda</tt> <tt class="py-name">x</tt><tt class="py-op">,</tt> <tt class="py-name">y</tt><tt class="py-op">:</tt> <tt class="py-name">x</tt> <tt class="py-op">|</tt> <tt class="py-name">y</tt><tt class="py-op">,</tt> <tt id="link-83" class="py-name"><a title="pyinotify.EventsCodes" class="py-name" href="#" onclick="return doclink('link-83', 'EventsCodes', 'link-55');">EventsCodes</a></tt><tt class="py-op">.</tt><tt id="link-84" class="py-name" targets="Variable pyinotify.EventsCodes.OP_FLAGS=pyinotify.EventsCodes-class.html#OP_FLAGS"><a title="pyinotify.EventsCodes.OP_FLAGS" class="py-name" href="#" onclick="return doclink('link-84', 'OP_FLAGS', 'link-84');">OP_FLAGS</a></tt><tt class="py-op">.</tt><tt class="py-name">values</tt><tt class="py-op">(</tt><tt class="py-op">)</tt><tt class="py-op">)</tt> </tt>
+<a name="L399"></a><tt class="py-lineno"> 399</tt> <tt class="py-line"><tt id="link-85" class="py-name"><a title="pyinotify.EventsCodes" class="py-name" href="#" onclick="return doclink('link-85', 'EventsCodes', 'link-55');">EventsCodes</a></tt><tt class="py-op">.</tt><tt id="link-86" class="py-name"><a title="pyinotify.EventsCodes.ALL_FLAGS" class="py-name" href="#" onclick="return doclink('link-86', 'ALL_FLAGS', 'link-60');">ALL_FLAGS</a></tt><tt class="py-op">[</tt><tt class="py-string">'ALL_EVENTS'</tt><tt class="py-op">]</tt> <tt class="py-op">=</tt> <tt id="link-87" class="py-name"><a title="pyinotify.ALL_EVENTS" class="py-name" href="#" onclick="return doclink('link-87', 'ALL_EVENTS', 'link-82');">ALL_EVENTS</a></tt> </tt>
+<a name="L400"></a><tt class="py-lineno"> 400</tt> <tt class="py-line"><tt id="link-88" class="py-name"><a title="pyinotify.EventsCodes" class="py-name" href="#" onclick="return doclink('link-88', 'EventsCodes', 'link-55');">EventsCodes</a></tt><tt class="py-op">.</tt><tt id="link-89" class="py-name"><a title="pyinotify.EventsCodes.ALL_VALUES" class="py-name" href="#" onclick="return doclink('link-89', 'ALL_VALUES', 'link-56');">ALL_VALUES</a></tt><tt class="py-op">[</tt><tt id="link-90" class="py-name"><a title="pyinotify.ALL_EVENTS" class="py-name" href="#" onclick="return doclink('link-90', 'ALL_EVENTS', 'link-82');">ALL_EVENTS</a></tt><tt class="py-op">]</tt> <tt class="py-op">=</tt> <tt class="py-string">'ALL_EVENTS'</tt> </tt>
+<a name="_Event"></a><div id="_Event-def"><a name="L401"></a><tt class="py-lineno"> 401</tt> <tt class="py-line"> </tt>
+<a name="L402"></a><tt class="py-lineno"> 402</tt> <tt class="py-line"> </tt>
+<a name="L403"></a><tt class="py-lineno"> 403</tt> <a class="py-toggle" href="#" id="_Event-toggle" onclick="return toggle('_Event');">-</a><tt class="py-line"><tt class="py-keyword">class</tt> <a class="py-def-name" href="pyinotify._Event-class.html">_Event</a><tt class="py-op">:</tt> </tt>
+</div><div id="_Event-collapsed" style="display:none;" pad="++++" indent="++++"></div><div id="_Event-expanded"><a name="L404"></a><tt class="py-lineno"> 404</tt> <tt class="py-line"> <tt class="py-docstring">"""</tt> </tt>
+<a name="L405"></a><tt class="py-lineno"> 405</tt> <tt class="py-line"><tt class="py-docstring"> Event structure, represent events raised by the system. This</tt> </tt>
+<a name="L406"></a><tt class="py-lineno"> 406</tt> <tt class="py-line"><tt class="py-docstring"> is the base class and should be subclassed.</tt> </tt>
+<a name="L407"></a><tt class="py-lineno"> 407</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
+<a name="L408"></a><tt class="py-lineno"> 408</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt>
+<a name="_Event.__init__"></a><div id="_Event.__init__-def"><a name="L409"></a><tt class="py-lineno"> 409</tt> <a class="py-toggle" href="#" id="_Event.__init__-toggle" onclick="return toggle('_Event.__init__');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="pyinotify._Event-class.html#__init__">__init__</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">,</tt> <tt class="py-param">dict_</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
+</div><div id="_Event.__init__-collapsed" style="display:none;" pad="++++" indent="++++++++"></div><div id="_Event.__init__-expanded"><a name="L410"></a><tt class="py-lineno"> 410</tt> <tt class="py-line"> <tt class="py-docstring">"""</tt> </tt>
+<a name="L411"></a><tt class="py-lineno"> 411</tt> <tt class="py-line"><tt class="py-docstring"> Attach attributes (contained in dict_) to self.</tt> </tt>
+<a name="L412"></a><tt class="py-lineno"> 412</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
+<a name="L413"></a><tt class="py-lineno"> 413</tt> <tt class="py-line"><tt class="py-docstring"> @param dict_: Set of attributes.</tt> </tt>
+<a name="L414"></a><tt class="py-lineno"> 414</tt> <tt class="py-line"><tt class="py-docstring"> @type dict_: dictionary</tt> </tt>
+<a name="L415"></a><tt class="py-lineno"> 415</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt>
+<a name="L416"></a><tt class="py-lineno"> 416</tt> <tt class="py-line"> <tt class="py-keyword">for</tt> <tt class="py-name">tpl</tt> <tt class="py-keyword">in</tt> <tt class="py-name">dict_</tt><tt class="py-op">.</tt><tt class="py-name">items</tt><tt class="py-op">(</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
+<a name="L417"></a><tt class="py-lineno"> 417</tt> <tt class="py-line"> <tt class="py-name">setattr</tt><tt class="py-op">(</tt><tt class="py-name">self</tt><tt class="py-op">,</tt> <tt class="py-op">*</tt><tt class="py-name">tpl</tt><tt class="py-op">)</tt> </tt>
+</div><a name="L418"></a><tt class="py-lineno"> 418</tt> <tt class="py-line"> </tt>
+<a name="_Event.__repr__"></a><div id="_Event.__repr__-def"><a name="L419"></a><tt class="py-lineno"> 419</tt> <a class="py-toggle" href="#" id="_Event.__repr__-toggle" onclick="return toggle('_Event.__repr__');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="pyinotify._Event-class.html#__repr__">__repr__</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
+</div><div id="_Event.__repr__-collapsed" style="display:none;" pad="++++" indent="++++++++"></div><div id="_Event.__repr__-expanded"><a name="L420"></a><tt class="py-lineno"> 420</tt> <tt class="py-line"> <tt class="py-docstring">"""</tt> </tt>
+<a name="L421"></a><tt class="py-lineno"> 421</tt> <tt class="py-line"><tt class="py-docstring"> @return: Generic event string representation.</tt> </tt>
+<a name="L422"></a><tt class="py-lineno"> 422</tt> <tt class="py-line"><tt class="py-docstring"> @rtype: str</tt> </tt>
+<a name="L423"></a><tt class="py-lineno"> 423</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt>
+<a name="L424"></a><tt class="py-lineno"> 424</tt> <tt class="py-line"> <tt class="py-name">s</tt> <tt class="py-op">=</tt> <tt class="py-string">''</tt> </tt>
+<a name="L425"></a><tt class="py-lineno"> 425</tt> <tt class="py-line"> <tt class="py-keyword">for</tt> <tt class="py-name">attr</tt><tt class="py-op">,</tt> <tt id="link-91" class="py-name"><a title="pyinotify.SysCtlINotify.value" class="py-name" href="#" onclick="return doclink('link-91', 'value', 'link-39');">value</a></tt> <tt class="py-keyword">in</tt> <tt class="py-name">sorted</tt><tt class="py-op">(</tt><tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">__dict__</tt><tt class="py-op">.</tt><tt class="py-name">items</tt><tt class="py-op">(</tt><tt class="py-op">)</tt><tt class="py-op">,</tt> <tt class="py-name">key</tt><tt class="py-op">=</tt><tt class="py-keyword">lambda</tt> <tt class="py-name">x</tt><tt class="py-op">:</tt> <tt class="py-name">x</tt><tt class="py-op">[</tt><tt class="py-number">0</tt><tt class="py-op">]</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
+<a name="L426"></a><tt class="py-lineno"> 426</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">attr</tt><tt class="py-op">.</tt><tt class="py-name">startswith</tt><tt class="py-op">(</tt><tt class="py-string">'_'</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
+<a name="L427"></a><tt class="py-lineno"> 427</tt> <tt class="py-line"> <tt class="py-keyword">continue</tt> </tt>
+<a name="L428"></a><tt class="py-lineno"> 428</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">attr</tt> <tt class="py-op">==</tt> <tt class="py-string">'mask'</tt><tt class="py-op">:</tt> </tt>
+<a name="L429"></a><tt class="py-lineno"> 429</tt> <tt class="py-line"> <tt id="link-92" class="py-name"><a title="pyinotify.SysCtlINotify.value" class="py-name" href="#" onclick="return doclink('link-92', 'value', 'link-39');">value</a></tt> <tt class="py-op">=</tt> <tt class="py-name">hex</tt><tt class="py-op">(</tt><tt class="py-name">getattr</tt><tt class="py-op">(</tt><tt class="py-name">self</tt><tt class="py-op">,</tt> <tt class="py-name">attr</tt><tt class="py-op">)</tt><tt class="py-op">)</tt> </tt>
+<a name="L430"></a><tt class="py-lineno"> 430</tt> <tt class="py-line"> <tt class="py-keyword">elif</tt> <tt class="py-name">isinstance</tt><tt class="py-op">(</tt><tt id="link-93" class="py-name"><a title="pyinotify.SysCtlINotify.value" class="py-name" href="#" onclick="return doclink('link-93', 'value', 'link-39');">value</a></tt><tt class="py-op">,</tt> <tt class="py-name">basestring</tt><tt class="py-op">)</tt> <tt class="py-keyword">and</tt> <tt class="py-keyword">not</tt> <tt id="link-94" class="py-name"><a title="pyinotify.SysCtlINotify.value" class="py-name" href="#" onclick="return doclink('link-94', 'value', 'link-39');">value</a></tt><tt class="py-op">:</tt> </tt>
+<a name="L431"></a><tt class="py-lineno"> 431</tt> <tt class="py-line"> <tt id="link-95" class="py-name"><a title="pyinotify.SysCtlINotify.value" class="py-name" href="#" onclick="return doclink('link-95', 'value', 'link-39');">value</a></tt> <tt class="py-op">=</tt> <tt class="py-string">"''"</tt> </tt>
+<a name="L432"></a><tt class="py-lineno"> 432</tt> <tt class="py-line"> <tt class="py-name">s</tt> <tt class="py-op">+=</tt> <tt class="py-string">' %s%s%s'</tt> <tt class="py-op">%</tt> <tt class="py-op">(</tt><tt id="link-96" class="py-name" targets="Variable pyinotify.output_format=pyinotify-module.html#output_format"><a title="pyinotify.output_format" class="py-name" href="#" onclick="return doclink('link-96', 'output_format', 'link-96');">output_format</a></tt><tt class="py-op">.</tt><tt id="link-97" class="py-name" targets="Method pyinotify.RawOutputFormat.field_name()=pyinotify.RawOutputFormat-class.html#field_name"><a title="pyinotify.RawOutputFormat.field_name" class="py-name" href="#" onclick="return doclink('link-97', 'field_name', 'link-97');">field_name</a></tt><tt class="py-op">(</tt><tt class="py-name">attr</tt><tt class="py-op">)</tt><tt class="py-op">,</tt> </tt>
+<a name="L433"></a><tt class="py-lineno"> 433</tt> <tt class="py-line"> <tt id="link-98" class="py-name"><a title="pyinotify.output_format" class="py-name" href="#" onclick="return doclink('link-98', 'output_format', 'link-96');">output_format</a></tt><tt class="py-op">.</tt><tt id="link-99" class="py-name" targets="Method pyinotify.RawOutputFormat.punctuation()=pyinotify.RawOutputFormat-class.html#punctuation"><a title="pyinotify.RawOutputFormat.punctuation" class="py-name" href="#" onclick="return doclink('link-99', 'punctuation', 'link-99');">punctuation</a></tt><tt class="py-op">(</tt><tt class="py-string">'='</tt><tt class="py-op">)</tt><tt class="py-op">,</tt> </tt>
+<a name="L434"></a><tt class="py-lineno"> 434</tt> <tt class="py-line"> <tt id="link-100" class="py-name"><a title="pyinotify.output_format" class="py-name" href="#" onclick="return doclink('link-100', 'output_format', 'link-96');">output_format</a></tt><tt class="py-op">.</tt><tt id="link-101" class="py-name" targets="Method pyinotify.RawOutputFormat.field_value()=pyinotify.RawOutputFormat-class.html#field_value"><a title="pyinotify.RawOutputFormat.field_value" class="py-name" href="#" onclick="return doclink('link-101', 'field_value', 'link-101');">field_value</a></tt><tt class="py-op">(</tt><tt id="link-102" class="py-name"><a title="pyinotify.SysCtlINotify.value" class="py-name" href="#" onclick="return doclink('link-102', 'value', 'link-39');">value</a></tt><tt class="py-op">)</tt><tt class="py-op">)</tt> </tt>
+<a name="L435"></a><tt class="py-lineno"> 435</tt> <tt class="py-line"> </tt>
+<a name="L436"></a><tt class="py-lineno"> 436</tt> <tt class="py-line"> <tt class="py-name">s</tt> <tt class="py-op">=</tt> <tt class="py-string">'%s%s%s %s'</tt> <tt class="py-op">%</tt> <tt class="py-op">(</tt><tt id="link-103" class="py-name"><a title="pyinotify.output_format" class="py-name" href="#" onclick="return doclink('link-103', 'output_format', 'link-96');">output_format</a></tt><tt class="py-op">.</tt><tt id="link-104" class="py-name"><a title="pyinotify.RawOutputFormat.punctuation" class="py-name" href="#" onclick="return doclink('link-104', 'punctuation', 'link-99');">punctuation</a></tt><tt class="py-op">(</tt><tt class="py-string">'&lt;'</tt><tt class="py-op">)</tt><tt class="py-op">,</tt> </tt>
+<a name="L437"></a><tt class="py-lineno"> 437</tt> <tt class="py-line"> <tt id="link-105" class="py-name"><a title="pyinotify.output_format" class="py-name" href="#" onclick="return doclink('link-105', 'output_format', 'link-96');">output_format</a></tt><tt class="py-op">.</tt><tt id="link-106" class="py-name" targets="Method pyinotify.RawOutputFormat.class_name()=pyinotify.RawOutputFormat-class.html#class_name"><a title="pyinotify.RawOutputFormat.class_name" class="py-name" href="#" onclick="return doclink('link-106', 'class_name', 'link-106');">class_name</a></tt><tt class="py-op">(</tt><tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">__class__</tt><tt class="py-op">.</tt><tt class="py-name">__name__</tt><tt class="py-op">)</tt><tt class="py-op">,</tt> </tt>
+<a name="L438"></a><tt class="py-lineno"> 438</tt> <tt class="py-line"> <tt class="py-name">s</tt><tt class="py-op">,</tt> </tt>
+<a name="L439"></a><tt class="py-lineno"> 439</tt> <tt class="py-line"> <tt id="link-107" class="py-name"><a title="pyinotify.output_format" class="py-name" href="#" onclick="return doclink('link-107', 'output_format', 'link-96');">output_format</a></tt><tt class="py-op">.</tt><tt id="link-108" class="py-name"><a title="pyinotify.RawOutputFormat.punctuation" class="py-name" href="#" onclick="return doclink('link-108', 'punctuation', 'link-99');">punctuation</a></tt><tt class="py-op">(</tt><tt class="py-string">'&gt;'</tt><tt class="py-op">)</tt><tt class="py-op">)</tt> </tt>
+<a name="L440"></a><tt class="py-lineno"> 440</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-name">s</tt> </tt>
+</div><a name="L441"></a><tt class="py-lineno"> 441</tt> <tt class="py-line"> </tt>
+<a name="_Event.__str__"></a><div id="_Event.__str__-def"><a name="L442"></a><tt class="py-lineno"> 442</tt> <a class="py-toggle" href="#" id="_Event.__str__-toggle" onclick="return toggle('_Event.__str__');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="pyinotify._Event-class.html#__str__">__str__</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
+</div><div id="_Event.__str__-collapsed" style="display:none;" pad="++++" indent="++++++++"></div><div id="_Event.__str__-expanded"><a name="L443"></a><tt class="py-lineno"> 443</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-name">repr</tt><tt class="py-op">(</tt><tt class="py-name">self</tt><tt class="py-op">)</tt> </tt>
+</div></div><a name="L444"></a><tt class="py-lineno"> 444</tt> <tt class="py-line"> </tt>
+<a name="_RawEvent"></a><div id="_RawEvent-def"><a name="L445"></a><tt class="py-lineno"> 445</tt> <tt class="py-line"> </tt>
+<a name="L446"></a><tt class="py-lineno"> 446</tt> <a class="py-toggle" href="#" id="_RawEvent-toggle" onclick="return toggle('_RawEvent');">-</a><tt class="py-line"><tt class="py-keyword">class</tt> <a class="py-def-name" href="pyinotify._RawEvent-class.html">_RawEvent</a><tt class="py-op">(</tt><tt class="py-base-class">_Event</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
+</div><div id="_RawEvent-collapsed" style="display:none;" pad="++++" indent="++++"></div><div id="_RawEvent-expanded"><a name="L447"></a><tt class="py-lineno"> 447</tt> <tt class="py-line"> <tt class="py-docstring">"""</tt> </tt>
+<a name="L448"></a><tt class="py-lineno"> 448</tt> <tt class="py-line"><tt class="py-docstring"> Raw event, it contains only the informations provided by the system.</tt> </tt>
+<a name="L449"></a><tt class="py-lineno"> 449</tt> <tt class="py-line"><tt class="py-docstring"> It doesn't infer anything.</tt> </tt>
+<a name="L450"></a><tt class="py-lineno"> 450</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt>
+<a name="_RawEvent.__init__"></a><div id="_RawEvent.__init__-def"><a name="L451"></a><tt class="py-lineno"> 451</tt> <a class="py-toggle" href="#" id="_RawEvent.__init__-toggle" onclick="return toggle('_RawEvent.__init__');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="pyinotify._RawEvent-class.html#__init__">__init__</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">,</tt> <tt class="py-param">wd</tt><tt class="py-op">,</tt> <tt class="py-param">mask</tt><tt class="py-op">,</tt> <tt class="py-param">cookie</tt><tt class="py-op">,</tt> <tt class="py-param">name</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
+</div><div id="_RawEvent.__init__-collapsed" style="display:none;" pad="++++" indent="++++++++"></div><div id="_RawEvent.__init__-expanded"><a name="L452"></a><tt class="py-lineno"> 452</tt> <tt class="py-line"> <tt class="py-docstring">"""</tt> </tt>
+<a name="L453"></a><tt class="py-lineno"> 453</tt> <tt class="py-line"><tt class="py-docstring"> @param wd: Watch Descriptor.</tt> </tt>
+<a name="L454"></a><tt class="py-lineno"> 454</tt> <tt class="py-line"><tt class="py-docstring"> @type wd: int</tt> </tt>
+<a name="L455"></a><tt class="py-lineno"> 455</tt> <tt class="py-line"><tt class="py-docstring"> @param mask: Bitmask of events.</tt> </tt>
+<a name="L456"></a><tt class="py-lineno"> 456</tt> <tt class="py-line"><tt class="py-docstring"> @type mask: int</tt> </tt>
+<a name="L457"></a><tt class="py-lineno"> 457</tt> <tt class="py-line"><tt class="py-docstring"> @param cookie: Cookie.</tt> </tt>
+<a name="L458"></a><tt class="py-lineno"> 458</tt> <tt class="py-line"><tt class="py-docstring"> @type cookie: int</tt> </tt>
+<a name="L459"></a><tt class="py-lineno"> 459</tt> <tt class="py-line"><tt class="py-docstring"> @param name: Basename of the file or directory against which the</tt> </tt>
+<a name="L460"></a><tt class="py-lineno"> 460</tt> <tt class="py-line"><tt class="py-docstring"> event was raised in case where the watched directory</tt> </tt>
+<a name="L461"></a><tt class="py-lineno"> 461</tt> <tt class="py-line"><tt class="py-docstring"> is the parent directory. None if the event was raised</tt> </tt>
+<a name="L462"></a><tt class="py-lineno"> 462</tt> <tt class="py-line"><tt class="py-docstring"> on the watched item itself.</tt> </tt>
+<a name="L463"></a><tt class="py-lineno"> 463</tt> <tt class="py-line"><tt class="py-docstring"> @type name: string or None</tt> </tt>
+<a name="L464"></a><tt class="py-lineno"> 464</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt>
+<a name="L465"></a><tt class="py-lineno"> 465</tt> <tt class="py-line"> <tt class="py-comment"># Use this variable to cache the result of str(self), this object</tt> </tt>
+<a name="L466"></a><tt class="py-lineno"> 466</tt> <tt class="py-line"> <tt class="py-comment"># is immutable.</tt> </tt>
+<a name="L467"></a><tt class="py-lineno"> 467</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_str</tt> <tt class="py-op">=</tt> <tt class="py-name">None</tt> </tt>
+<a name="L468"></a><tt class="py-lineno"> 468</tt> <tt class="py-line"> <tt class="py-comment"># name: remove trailing '\0'</tt> </tt>
+<a name="L469"></a><tt class="py-lineno"> 469</tt> <tt class="py-line"> <tt class="py-name">d</tt> <tt class="py-op">=</tt> <tt class="py-op">{</tt><tt class="py-string">'wd'</tt><tt class="py-op">:</tt> <tt class="py-name">wd</tt><tt class="py-op">,</tt> </tt>
+<a name="L470"></a><tt class="py-lineno"> 470</tt> <tt class="py-line"> <tt class="py-string">'mask'</tt><tt class="py-op">:</tt> <tt class="py-name">mask</tt><tt class="py-op">,</tt> </tt>
+<a name="L471"></a><tt class="py-lineno"> 471</tt> <tt class="py-line"> <tt class="py-string">'cookie'</tt><tt class="py-op">:</tt> <tt class="py-name">cookie</tt><tt class="py-op">,</tt> </tt>
+<a name="L472"></a><tt class="py-lineno"> 472</tt> <tt class="py-line"> <tt class="py-string">'name'</tt><tt class="py-op">:</tt> <tt id="link-109" class="py-name"><a title="pyinotify.name" class="py-name" href="#" onclick="return doclink('link-109', 'name', 'link-21');">name</a></tt><tt class="py-op">.</tt><tt class="py-name">rstrip</tt><tt class="py-op">(</tt><tt class="py-string">'\0'</tt><tt class="py-op">)</tt><tt class="py-op">}</tt> </tt>
+<a name="L473"></a><tt class="py-lineno"> 473</tt> <tt class="py-line"> <tt id="link-110" class="py-name" targets="Class pyinotify._Event=pyinotify._Event-class.html"><a title="pyinotify._Event" class="py-name" href="#" onclick="return doclink('link-110', '_Event', 'link-110');">_Event</a></tt><tt class="py-op">.</tt><tt id="link-111" class="py-name"><a title="pyinotify.AsyncNotifier.__init__
+pyinotify.ColoredOutputFormat.__init__
+pyinotify.Event.__init__
+pyinotify.ExcludeFilter.__init__
+pyinotify.Notifier.__init__
+pyinotify.NotifierError.__init__
+pyinotify.ProcessEvent.__init__
+pyinotify.ProcessEventError.__init__
+pyinotify.RawOutputFormat.__init__
+pyinotify.SysCtlINotify.__init__
+pyinotify.ThreadedNotifier.__init__
+pyinotify.UnicodeLogRecord.__init__
+pyinotify.UnsupportedLibcVersionError.__init__
+pyinotify.UnsupportedPythonVersionError.__init__
+pyinotify.Watch.__init__
+pyinotify.WatchManager.__init__
+pyinotify.WatchManagerError.__init__
+pyinotify._Event.__init__
+pyinotify._RawEvent.__init__
+pyinotify._SysProcessEvent.__init__" class="py-name" href="#" onclick="return doclink('link-111', '__init__', 'link-1');">__init__</a></tt><tt class="py-op">(</tt><tt class="py-name">self</tt><tt class="py-op">,</tt> <tt class="py-name">d</tt><tt class="py-op">)</tt> </tt>
+<a name="L474"></a><tt class="py-lineno"> 474</tt> <tt class="py-line"> <tt id="link-112" class="py-name"><a title="pyinotify.log" class="py-name" href="#" onclick="return doclink('link-112', 'log', 'link-27');">log</a></tt><tt class="py-op">.</tt><tt class="py-name">debug</tt><tt class="py-op">(</tt><tt class="py-name">str</tt><tt class="py-op">(</tt><tt class="py-name">self</tt><tt class="py-op">)</tt><tt class="py-op">)</tt> </tt>
+</div><a name="L475"></a><tt class="py-lineno"> 475</tt> <tt class="py-line"> </tt>
+<a name="_RawEvent.__str__"></a><div id="_RawEvent.__str__-def"><a name="L476"></a><tt class="py-lineno"> 476</tt> <a class="py-toggle" href="#" id="_RawEvent.__str__-toggle" onclick="return toggle('_RawEvent.__str__');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="pyinotify._RawEvent-class.html#__str__">__str__</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
+</div><div id="_RawEvent.__str__-collapsed" style="display:none;" pad="++++" indent="++++++++"></div><div id="_RawEvent.__str__-expanded"><a name="L477"></a><tt class="py-lineno"> 477</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_str</tt> <tt class="py-keyword">is</tt> <tt class="py-name">None</tt><tt class="py-op">:</tt> </tt>
+<a name="L478"></a><tt class="py-lineno"> 478</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_str</tt> <tt class="py-op">=</tt> <tt id="link-113" class="py-name"><a title="pyinotify._Event" class="py-name" href="#" onclick="return doclink('link-113', '_Event', 'link-110');">_Event</a></tt><tt class="py-op">.</tt><tt id="link-114" class="py-name" targets="Method pyinotify.Stats.__str__()=pyinotify.Stats-class.html#__str__,Method pyinotify._Event.__str__()=pyinotify._Event-class.html#__str__,Method pyinotify._RawEvent.__str__()=pyinotify._RawEvent-class.html#__str__"><a title="pyinotify.Stats.__str__
+pyinotify._Event.__str__
+pyinotify._RawEvent.__str__" class="py-name" href="#" onclick="return doclink('link-114', '__str__', 'link-114');">__str__</a></tt><tt class="py-op">(</tt><tt class="py-name">self</tt><tt class="py-op">)</tt> </tt>
+<a name="L479"></a><tt class="py-lineno"> 479</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_str</tt> </tt>
+</div></div><a name="L480"></a><tt class="py-lineno"> 480</tt> <tt class="py-line"> </tt>
+<a name="Event"></a><div id="Event-def"><a name="L481"></a><tt class="py-lineno"> 481</tt> <tt class="py-line"> </tt>
+<a name="L482"></a><tt class="py-lineno"> 482</tt> <a class="py-toggle" href="#" id="Event-toggle" onclick="return toggle('Event');">-</a><tt class="py-line"><tt class="py-keyword">class</tt> <a class="py-def-name" href="pyinotify.Event-class.html">Event</a><tt class="py-op">(</tt><tt class="py-base-class">_Event</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
+</div><div id="Event-collapsed" style="display:none;" pad="++++" indent="++++"></div><div id="Event-expanded"><a name="L483"></a><tt class="py-lineno"> 483</tt> <tt class="py-line"> <tt class="py-docstring">"""</tt> </tt>
+<a name="L484"></a><tt class="py-lineno"> 484</tt> <tt class="py-line"><tt class="py-docstring"> This class contains all the useful informations about the observed</tt> </tt>
+<a name="L485"></a><tt class="py-lineno"> 485</tt> <tt class="py-line"><tt class="py-docstring"> event. However, the presence of each field is not guaranteed and</tt> </tt>
+<a name="L486"></a><tt class="py-lineno"> 486</tt> <tt class="py-line"><tt class="py-docstring"> depends on the type of event. In effect, some fields are irrelevant</tt> </tt>
+<a name="L487"></a><tt class="py-lineno"> 487</tt> <tt class="py-line"><tt class="py-docstring"> for some kind of event (for example 'cookie' is meaningless for</tt> </tt>
+<a name="L488"></a><tt class="py-lineno"> 488</tt> <tt class="py-line"><tt class="py-docstring"> IN_CREATE whereas it is mandatory for IN_MOVE_TO).</tt> </tt>
+<a name="L489"></a><tt class="py-lineno"> 489</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
+<a name="L490"></a><tt class="py-lineno"> 490</tt> <tt class="py-line"><tt class="py-docstring"> The possible fields are:</tt> </tt>
+<a name="L491"></a><tt class="py-lineno"> 491</tt> <tt class="py-line"><tt class="py-docstring"> - wd (int): Watch Descriptor.</tt> </tt>
+<a name="L492"></a><tt class="py-lineno"> 492</tt> <tt class="py-line"><tt class="py-docstring"> - mask (int): Mask.</tt> </tt>
+<a name="L493"></a><tt class="py-lineno"> 493</tt> <tt class="py-line"><tt class="py-docstring"> - maskname (str): Readable event name.</tt> </tt>
+<a name="L494"></a><tt class="py-lineno"> 494</tt> <tt class="py-line"><tt class="py-docstring"> - path (str): path of the file or directory being watched.</tt> </tt>
+<a name="L495"></a><tt class="py-lineno"> 495</tt> <tt class="py-line"><tt class="py-docstring"> - name (str): Basename of the file or directory against which the</tt> </tt>
+<a name="L496"></a><tt class="py-lineno"> 496</tt> <tt class="py-line"><tt class="py-docstring"> event was raised in case where the watched directory</tt> </tt>
+<a name="L497"></a><tt class="py-lineno"> 497</tt> <tt class="py-line"><tt class="py-docstring"> is the parent directory. None if the event was raised</tt> </tt>
+<a name="L498"></a><tt class="py-lineno"> 498</tt> <tt class="py-line"><tt class="py-docstring"> on the watched item itself. This field is always provided</tt> </tt>
+<a name="L499"></a><tt class="py-lineno"> 499</tt> <tt class="py-line"><tt class="py-docstring"> even if the string is ''.</tt> </tt>
+<a name="L500"></a><tt class="py-lineno"> 500</tt> <tt class="py-line"><tt class="py-docstring"> - pathname (str): Concatenation of 'path' and 'name'.</tt> </tt>
+<a name="L501"></a><tt class="py-lineno"> 501</tt> <tt class="py-line"><tt class="py-docstring"> - src_pathname (str): Only present for IN_MOVED_TO events and only in</tt> </tt>
+<a name="L502"></a><tt class="py-lineno"> 502</tt> <tt class="py-line"><tt class="py-docstring"> the case where IN_MOVED_FROM events are watched too. Holds the</tt> </tt>
+<a name="L503"></a><tt class="py-lineno"> 503</tt> <tt class="py-line"><tt class="py-docstring"> source pathname from where pathname was moved from.</tt> </tt>
+<a name="L504"></a><tt class="py-lineno"> 504</tt> <tt class="py-line"><tt class="py-docstring"> - cookie (int): Cookie.</tt> </tt>
+<a name="L505"></a><tt class="py-lineno"> 505</tt> <tt class="py-line"><tt class="py-docstring"> - dir (bool): True if the event was raised against a directory.</tt> </tt>
+<a name="L506"></a><tt class="py-lineno"> 506</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
+<a name="L507"></a><tt class="py-lineno"> 507</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt>
+<a name="Event.__init__"></a><div id="Event.__init__-def"><a name="L508"></a><tt class="py-lineno"> 508</tt> <a class="py-toggle" href="#" id="Event.__init__-toggle" onclick="return toggle('Event.__init__');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="pyinotify.Event-class.html#__init__">__init__</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">,</tt> <tt class="py-param">raw</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
+</div><div id="Event.__init__-collapsed" style="display:none;" pad="++++" indent="++++++++"></div><div id="Event.__init__-expanded"><a name="L509"></a><tt class="py-lineno"> 509</tt> <tt class="py-line"> <tt class="py-docstring">"""</tt> </tt>
+<a name="L510"></a><tt class="py-lineno"> 510</tt> <tt class="py-line"><tt class="py-docstring"> Concretely, this is the raw event plus inferred infos.</tt> </tt>
+<a name="L511"></a><tt class="py-lineno"> 511</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt>
+<a name="L512"></a><tt class="py-lineno"> 512</tt> <tt class="py-line"> <tt id="link-115" class="py-name"><a title="pyinotify._Event" class="py-name" href="#" onclick="return doclink('link-115', '_Event', 'link-110');">_Event</a></tt><tt class="py-op">.</tt><tt id="link-116" class="py-name"><a title="pyinotify.AsyncNotifier.__init__
+pyinotify.ColoredOutputFormat.__init__
+pyinotify.Event.__init__
+pyinotify.ExcludeFilter.__init__
+pyinotify.Notifier.__init__
+pyinotify.NotifierError.__init__
+pyinotify.ProcessEvent.__init__
+pyinotify.ProcessEventError.__init__
+pyinotify.RawOutputFormat.__init__
+pyinotify.SysCtlINotify.__init__
+pyinotify.ThreadedNotifier.__init__
+pyinotify.UnicodeLogRecord.__init__
+pyinotify.UnsupportedLibcVersionError.__init__
+pyinotify.UnsupportedPythonVersionError.__init__
+pyinotify.Watch.__init__
+pyinotify.WatchManager.__init__
+pyinotify.WatchManagerError.__init__
+pyinotify._Event.__init__
+pyinotify._RawEvent.__init__
+pyinotify._SysProcessEvent.__init__" class="py-name" href="#" onclick="return doclink('link-116', '__init__', 'link-1');">__init__</a></tt><tt class="py-op">(</tt><tt class="py-name">self</tt><tt class="py-op">,</tt> <tt class="py-name">raw</tt><tt class="py-op">)</tt> </tt>
+<a name="L513"></a><tt class="py-lineno"> 513</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-117" class="py-name"><a title="pyinotify.EventsCodes.maskname" class="py-name" href="#" onclick="return doclink('link-117', 'maskname', 'link-57');">maskname</a></tt> <tt class="py-op">=</tt> <tt id="link-118" class="py-name"><a title="pyinotify.EventsCodes" class="py-name" href="#" onclick="return doclink('link-118', 'EventsCodes', 'link-55');">EventsCodes</a></tt><tt class="py-op">.</tt><tt id="link-119" class="py-name"><a title="pyinotify.EventsCodes.maskname" class="py-name" href="#" onclick="return doclink('link-119', 'maskname', 'link-57');">maskname</a></tt><tt class="py-op">(</tt><tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">mask</tt><tt class="py-op">)</tt> </tt>
+<a name="L514"></a><tt class="py-lineno"> 514</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt id="link-120" class="py-name"><a title="pyinotify.COMPATIBILITY_MODE" class="py-name" href="#" onclick="return doclink('link-120', 'COMPATIBILITY_MODE', 'link-6');">COMPATIBILITY_MODE</a></tt><tt class="py-op">:</tt> </tt>
+<a name="L515"></a><tt class="py-lineno"> 515</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">event_name</tt> <tt class="py-op">=</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-121" class="py-name"><a title="pyinotify.EventsCodes.maskname" class="py-name" href="#" onclick="return doclink('link-121', 'maskname', 'link-57');">maskname</a></tt> </tt>
+<a name="L516"></a><tt class="py-lineno"> 516</tt> <tt class="py-line"> <tt class="py-keyword">try</tt><tt class="py-op">:</tt> </tt>
+<a name="L517"></a><tt class="py-lineno"> 517</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-122" class="py-name"><a title="pyinotify.name" class="py-name" href="#" onclick="return doclink('link-122', 'name', 'link-21');">name</a></tt><tt class="py-op">:</tt> </tt>
+<a name="L518"></a><tt class="py-lineno"> 518</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">pathname</tt> <tt class="py-op">=</tt> <tt class="py-name">os</tt><tt class="py-op">.</tt><tt class="py-name">path</tt><tt class="py-op">.</tt><tt class="py-name">abspath</tt><tt class="py-op">(</tt><tt class="py-name">os</tt><tt class="py-op">.</tt><tt class="py-name">path</tt><tt class="py-op">.</tt><tt class="py-name">join</tt><tt class="py-op">(</tt><tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">path</tt><tt class="py-op">,</tt> </tt>
+<a name="L519"></a><tt class="py-lineno"> 519</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-123" class="py-name"><a title="pyinotify.name" class="py-name" href="#" onclick="return doclink('link-123', 'name', 'link-21');">name</a></tt><tt class="py-op">)</tt><tt class="py-op">)</tt> </tt>
+<a name="L520"></a><tt class="py-lineno"> 520</tt> <tt class="py-line"> <tt class="py-keyword">else</tt><tt class="py-op">:</tt> </tt>
+<a name="L521"></a><tt class="py-lineno"> 521</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">pathname</tt> <tt class="py-op">=</tt> <tt class="py-name">os</tt><tt class="py-op">.</tt><tt class="py-name">path</tt><tt class="py-op">.</tt><tt class="py-name">abspath</tt><tt class="py-op">(</tt><tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">path</tt><tt class="py-op">)</tt> </tt>
+<a name="L522"></a><tt class="py-lineno"> 522</tt> <tt class="py-line"> <tt class="py-keyword">except</tt> <tt class="py-name">AttributeError</tt><tt class="py-op">,</tt> <tt class="py-name">err</tt><tt class="py-op">:</tt> </tt>
+<a name="L523"></a><tt class="py-lineno"> 523</tt> <tt class="py-line"> <tt class="py-comment"># Usually it is not an error some events are perfectly valids</tt> </tt>
+<a name="L524"></a><tt class="py-lineno"> 524</tt> <tt class="py-line"> <tt class="py-comment"># despite the lack of these attributes.</tt> </tt>
+<a name="L525"></a><tt class="py-lineno"> 525</tt> <tt class="py-line"> <tt id="link-124" class="py-name"><a title="pyinotify.log" class="py-name" href="#" onclick="return doclink('link-124', 'log', 'link-27');">log</a></tt><tt class="py-op">.</tt><tt class="py-name">debug</tt><tt class="py-op">(</tt><tt class="py-name">err</tt><tt class="py-op">)</tt> </tt>
+</div></div><a name="L526"></a><tt class="py-lineno"> 526</tt> <tt class="py-line"> </tt>
+<a name="ProcessEventError"></a><div id="ProcessEventError-def"><a name="L527"></a><tt class="py-lineno"> 527</tt> <tt class="py-line"> </tt>
+<a name="L528"></a><tt class="py-lineno"> 528</tt> <a class="py-toggle" href="#" id="ProcessEventError-toggle" onclick="return toggle('ProcessEventError');">-</a><tt class="py-line"><tt class="py-keyword">class</tt> <a class="py-def-name" href="pyinotify.ProcessEventError-class.html">ProcessEventError</a><tt class="py-op">(</tt><tt class="py-base-class">PyinotifyError</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
+</div><div id="ProcessEventError-collapsed" style="display:none;" pad="++++" indent="++++"></div><div id="ProcessEventError-expanded"><a name="L529"></a><tt class="py-lineno"> 529</tt> <tt class="py-line"> <tt class="py-docstring">"""</tt> </tt>
+<a name="L530"></a><tt class="py-lineno"> 530</tt> <tt class="py-line"><tt class="py-docstring"> ProcessEventError Exception. Raised on ProcessEvent error.</tt> </tt>
+<a name="L531"></a><tt class="py-lineno"> 531</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt>
+<a name="ProcessEventError.__init__"></a><div id="ProcessEventError.__init__-def"><a name="L532"></a><tt class="py-lineno"> 532</tt> <a class="py-toggle" href="#" id="ProcessEventError.__init__-toggle" onclick="return toggle('ProcessEventError.__init__');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="pyinotify.ProcessEventError-class.html#__init__">__init__</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">,</tt> <tt class="py-param">err</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
+</div><div id="ProcessEventError.__init__-collapsed" style="display:none;" pad="++++" indent="++++++++"></div><div id="ProcessEventError.__init__-expanded"><a name="L533"></a><tt class="py-lineno"> 533</tt> <tt class="py-line"> <tt class="py-docstring">"""</tt> </tt>
+<a name="L534"></a><tt class="py-lineno"> 534</tt> <tt class="py-line"><tt class="py-docstring"> @param err: Exception error description.</tt> </tt>
+<a name="L535"></a><tt class="py-lineno"> 535</tt> <tt class="py-line"><tt class="py-docstring"> @type err: string</tt> </tt>
+<a name="L536"></a><tt class="py-lineno"> 536</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt>
+<a name="L537"></a><tt class="py-lineno"> 537</tt> <tt class="py-line"> <tt id="link-125" class="py-name"><a title="pyinotify.PyinotifyError" class="py-name" href="#" onclick="return doclink('link-125', 'PyinotifyError', 'link-0');">PyinotifyError</a></tt><tt class="py-op">.</tt><tt id="link-126" class="py-name"><a title="pyinotify.AsyncNotifier.__init__
+pyinotify.ColoredOutputFormat.__init__
+pyinotify.Event.__init__
+pyinotify.ExcludeFilter.__init__
+pyinotify.Notifier.__init__
+pyinotify.NotifierError.__init__
+pyinotify.ProcessEvent.__init__
+pyinotify.ProcessEventError.__init__
+pyinotify.RawOutputFormat.__init__
+pyinotify.SysCtlINotify.__init__
+pyinotify.ThreadedNotifier.__init__
+pyinotify.UnicodeLogRecord.__init__
+pyinotify.UnsupportedLibcVersionError.__init__
+pyinotify.UnsupportedPythonVersionError.__init__
+pyinotify.Watch.__init__
+pyinotify.WatchManager.__init__
+pyinotify.WatchManagerError.__init__
+pyinotify._Event.__init__
+pyinotify._RawEvent.__init__
+pyinotify._SysProcessEvent.__init__" class="py-name" href="#" onclick="return doclink('link-126', '__init__', 'link-1');">__init__</a></tt><tt class="py-op">(</tt><tt class="py-name">self</tt><tt class="py-op">,</tt> <tt class="py-name">err</tt><tt class="py-op">)</tt> </tt>
+</div></div><a name="L538"></a><tt class="py-lineno"> 538</tt> <tt class="py-line"> </tt>
+<a name="_ProcessEvent"></a><div id="_ProcessEvent-def"><a name="L539"></a><tt class="py-lineno"> 539</tt> <tt class="py-line"> </tt>
+<a name="L540"></a><tt class="py-lineno"> 540</tt> <a class="py-toggle" href="#" id="_ProcessEvent-toggle" onclick="return toggle('_ProcessEvent');">-</a><tt class="py-line"><tt class="py-keyword">class</tt> <a class="py-def-name" href="pyinotify._ProcessEvent-class.html">_ProcessEvent</a><tt class="py-op">:</tt> </tt>
+</div><div id="_ProcessEvent-collapsed" style="display:none;" pad="++++" indent="++++"></div><div id="_ProcessEvent-expanded"><a name="L541"></a><tt class="py-lineno"> 541</tt> <tt class="py-line"> <tt class="py-docstring">"""</tt> </tt>
+<a name="L542"></a><tt class="py-lineno"> 542</tt> <tt class="py-line"><tt class="py-docstring"> Abstract processing event class.</tt> </tt>
+<a name="L543"></a><tt class="py-lineno"> 543</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt>
+<a name="_ProcessEvent.__call__"></a><div id="_ProcessEvent.__call__-def"><a name="L544"></a><tt class="py-lineno"> 544</tt> <a class="py-toggle" href="#" id="_ProcessEvent.__call__-toggle" onclick="return toggle('_ProcessEvent.__call__');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="pyinotify._ProcessEvent-class.html#__call__">__call__</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">,</tt> <tt class="py-param">event</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
+</div><div id="_ProcessEvent.__call__-collapsed" style="display:none;" pad="++++" indent="++++++++"></div><div id="_ProcessEvent.__call__-expanded"><a name="L545"></a><tt class="py-lineno"> 545</tt> <tt class="py-line"> <tt class="py-docstring">"""</tt> </tt>
+<a name="L546"></a><tt class="py-lineno"> 546</tt> <tt class="py-line"><tt class="py-docstring"> To behave like a functor the object must be callable.</tt> </tt>
+<a name="L547"></a><tt class="py-lineno"> 547</tt> <tt class="py-line"><tt class="py-docstring"> This method is a dispatch method. Its lookup order is:</tt> </tt>
+<a name="L548"></a><tt class="py-lineno"> 548</tt> <tt class="py-line"><tt class="py-docstring"> 1. process_MASKNAME method</tt> </tt>
+<a name="L549"></a><tt class="py-lineno"> 549</tt> <tt class="py-line"><tt class="py-docstring"> 2. process_FAMILY_NAME method</tt> </tt>
+<a name="L550"></a><tt class="py-lineno"> 550</tt> <tt class="py-line"><tt class="py-docstring"> 3. otherwise calls process_default</tt> </tt>
+<a name="L551"></a><tt class="py-lineno"> 551</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
+<a name="L552"></a><tt class="py-lineno"> 552</tt> <tt class="py-line"><tt class="py-docstring"> @param event: Event to be processed.</tt> </tt>
+<a name="L553"></a><tt class="py-lineno"> 553</tt> <tt class="py-line"><tt class="py-docstring"> @type event: Event object</tt> </tt>
+<a name="L554"></a><tt class="py-lineno"> 554</tt> <tt class="py-line"><tt class="py-docstring"> @return: By convention when used from the ProcessEvent class:</tt> </tt>
+<a name="L555"></a><tt class="py-lineno"> 555</tt> <tt class="py-line"><tt class="py-docstring"> - Returning False or None (default value) means keep on</tt> </tt>
+<a name="L556"></a><tt class="py-lineno"> 556</tt> <tt class="py-line"><tt class="py-docstring"> executing next chained functors (see chain.py example).</tt> </tt>
+<a name="L557"></a><tt class="py-lineno"> 557</tt> <tt class="py-line"><tt class="py-docstring"> - Returning True instead means do not execute next</tt> </tt>
+<a name="L558"></a><tt class="py-lineno"> 558</tt> <tt class="py-line"><tt class="py-docstring"> processing functions.</tt> </tt>
+<a name="L559"></a><tt class="py-lineno"> 559</tt> <tt class="py-line"><tt class="py-docstring"> @rtype: bool</tt> </tt>
+<a name="L560"></a><tt class="py-lineno"> 560</tt> <tt class="py-line"><tt class="py-docstring"> @raise ProcessEventError: Event object undispatchable,</tt> </tt>
+<a name="L561"></a><tt class="py-lineno"> 561</tt> <tt class="py-line"><tt class="py-docstring"> unknown event.</tt> </tt>
+<a name="L562"></a><tt class="py-lineno"> 562</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt>
+<a name="L563"></a><tt class="py-lineno"> 563</tt> <tt class="py-line"> <tt class="py-name">stripped_mask</tt> <tt class="py-op">=</tt> <tt class="py-name">event</tt><tt class="py-op">.</tt><tt class="py-name">mask</tt> <tt class="py-op">-</tt> <tt class="py-op">(</tt><tt class="py-name">event</tt><tt class="py-op">.</tt><tt class="py-name">mask</tt> <tt class="py-op">&amp;</tt> <tt id="link-127" class="py-name"><a title="pyinotify.IN_ISDIR" class="py-name" href="#" onclick="return doclink('link-127', 'IN_ISDIR', 'link-51');">IN_ISDIR</a></tt><tt class="py-op">)</tt> </tt>
+<a name="L564"></a><tt class="py-lineno"> 564</tt> <tt class="py-line"> <tt id="link-128" class="py-name"><a title="pyinotify.EventsCodes.maskname" class="py-name" href="#" onclick="return doclink('link-128', 'maskname', 'link-57');">maskname</a></tt> <tt class="py-op">=</tt> <tt id="link-129" class="py-name"><a title="pyinotify.EventsCodes" class="py-name" href="#" onclick="return doclink('link-129', 'EventsCodes', 'link-55');">EventsCodes</a></tt><tt class="py-op">.</tt><tt id="link-130" class="py-name"><a title="pyinotify.EventsCodes.ALL_VALUES" class="py-name" href="#" onclick="return doclink('link-130', 'ALL_VALUES', 'link-56');">ALL_VALUES</a></tt><tt class="py-op">.</tt><tt class="py-name">get</tt><tt class="py-op">(</tt><tt class="py-name">stripped_mask</tt><tt class="py-op">)</tt> </tt>
+<a name="L565"></a><tt class="py-lineno"> 565</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt id="link-131" class="py-name"><a title="pyinotify.EventsCodes.maskname" class="py-name" href="#" onclick="return doclink('link-131', 'maskname', 'link-57');">maskname</a></tt> <tt class="py-keyword">is</tt> <tt class="py-name">None</tt><tt class="py-op">:</tt> </tt>
+<a name="L566"></a><tt class="py-lineno"> 566</tt> <tt class="py-line"> <tt class="py-keyword">raise</tt> <tt id="link-132" class="py-name" targets="Class pyinotify.ProcessEventError=pyinotify.ProcessEventError-class.html"><a title="pyinotify.ProcessEventError" class="py-name" href="#" onclick="return doclink('link-132', 'ProcessEventError', 'link-132');">ProcessEventError</a></tt><tt class="py-op">(</tt><tt class="py-string">"Unknown mask 0x%08x"</tt> <tt class="py-op">%</tt> <tt class="py-name">stripped_mask</tt><tt class="py-op">)</tt> </tt>
+<a name="L567"></a><tt class="py-lineno"> 567</tt> <tt class="py-line"> </tt>
+<a name="L568"></a><tt class="py-lineno"> 568</tt> <tt class="py-line"> <tt class="py-comment"># 1- look for process_MASKNAME</tt> </tt>
+<a name="L569"></a><tt class="py-lineno"> 569</tt> <tt class="py-line"> <tt class="py-name">meth</tt> <tt class="py-op">=</tt> <tt class="py-name">getattr</tt><tt class="py-op">(</tt><tt class="py-name">self</tt><tt class="py-op">,</tt> <tt class="py-string">'process_'</tt> <tt class="py-op">+</tt> <tt id="link-133" class="py-name"><a title="pyinotify.EventsCodes.maskname" class="py-name" href="#" onclick="return doclink('link-133', 'maskname', 'link-57');">maskname</a></tt><tt class="py-op">,</tt> <tt class="py-name">None</tt><tt class="py-op">)</tt> </tt>
+<a name="L570"></a><tt class="py-lineno"> 570</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">meth</tt> <tt class="py-keyword">is</tt> <tt class="py-keyword">not</tt> <tt class="py-name">None</tt><tt class="py-op">:</tt> </tt>
+<a name="L571"></a><tt class="py-lineno"> 571</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-name">meth</tt><tt class="py-op">(</tt><tt class="py-name">event</tt><tt class="py-op">)</tt> </tt>
+<a name="L572"></a><tt class="py-lineno"> 572</tt> <tt class="py-line"> <tt class="py-comment"># 2- look for process_FAMILY_NAME</tt> </tt>
+<a name="L573"></a><tt class="py-lineno"> 573</tt> <tt class="py-line"> <tt class="py-name">meth</tt> <tt class="py-op">=</tt> <tt class="py-name">getattr</tt><tt class="py-op">(</tt><tt class="py-name">self</tt><tt class="py-op">,</tt> <tt class="py-string">'process_IN_'</tt> <tt class="py-op">+</tt> <tt id="link-134" class="py-name"><a title="pyinotify.EventsCodes.maskname" class="py-name" href="#" onclick="return doclink('link-134', 'maskname', 'link-57');">maskname</a></tt><tt class="py-op">.</tt><tt class="py-name">split</tt><tt class="py-op">(</tt><tt class="py-string">'_'</tt><tt class="py-op">)</tt><tt class="py-op">[</tt><tt class="py-number">1</tt><tt class="py-op">]</tt><tt class="py-op">,</tt> <tt class="py-name">None</tt><tt class="py-op">)</tt> </tt>
+<a name="L574"></a><tt class="py-lineno"> 574</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">meth</tt> <tt class="py-keyword">is</tt> <tt class="py-keyword">not</tt> <tt class="py-name">None</tt><tt class="py-op">:</tt> </tt>
+<a name="L575"></a><tt class="py-lineno"> 575</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-name">meth</tt><tt class="py-op">(</tt><tt class="py-name">event</tt><tt class="py-op">)</tt> </tt>
+<a name="L576"></a><tt class="py-lineno"> 576</tt> <tt class="py-line"> <tt class="py-comment"># 3- default call method process_default</tt> </tt>
+<a name="L577"></a><tt class="py-lineno"> 577</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-135" class="py-name" targets="Method pyinotify.ChainIfTrue.process_default()=pyinotify.ChainIfTrue-class.html#process_default,Method pyinotify.PrintAllEvents.process_default()=pyinotify.PrintAllEvents-class.html#process_default,Method pyinotify.ProcessEvent.process_default()=pyinotify.ProcessEvent-class.html#process_default,Method pyinotify.Stats.process_default()=pyinotify.Stats-class.html#process_default,Method pyinotify._SysProcessEvent.process_default()=pyinotify._SysProcessEvent-class.html#process_default"><a title="pyinotify.ChainIfTrue.process_default
+pyinotify.PrintAllEvents.process_default
+pyinotify.ProcessEvent.process_default
+pyinotify.Stats.process_default
+pyinotify._SysProcessEvent.process_default" class="py-name" href="#" onclick="return doclink('link-135', 'process_default', 'link-135');">process_default</a></tt><tt class="py-op">(</tt><tt class="py-name">event</tt><tt class="py-op">)</tt> </tt>
+</div><a name="L578"></a><tt class="py-lineno"> 578</tt> <tt class="py-line"> </tt>
+<a name="_ProcessEvent.__repr__"></a><div id="_ProcessEvent.__repr__-def"><a name="L579"></a><tt class="py-lineno"> 579</tt> <a class="py-toggle" href="#" id="_ProcessEvent.__repr__-toggle" onclick="return toggle('_ProcessEvent.__repr__');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="pyinotify._ProcessEvent-class.html#__repr__">__repr__</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
+</div><div id="_ProcessEvent.__repr__-collapsed" style="display:none;" pad="++++" indent="++++++++"></div><div id="_ProcessEvent.__repr__-expanded"><a name="L580"></a><tt class="py-lineno"> 580</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-string">'&lt;%s&gt;'</tt> <tt class="py-op">%</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">__class__</tt><tt class="py-op">.</tt><tt class="py-name">__name__</tt> </tt>
+</div></div><a name="L581"></a><tt class="py-lineno"> 581</tt> <tt class="py-line"> </tt>
+<a name="_SysProcessEvent"></a><div id="_SysProcessEvent-def"><a name="L582"></a><tt class="py-lineno"> 582</tt> <tt class="py-line"> </tt>
+<a name="L583"></a><tt class="py-lineno"> 583</tt> <a class="py-toggle" href="#" id="_SysProcessEvent-toggle" onclick="return toggle('_SysProcessEvent');">-</a><tt class="py-line"><tt class="py-keyword">class</tt> <a class="py-def-name" href="pyinotify._SysProcessEvent-class.html">_SysProcessEvent</a><tt class="py-op">(</tt><tt class="py-base-class">_ProcessEvent</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
+</div><div id="_SysProcessEvent-collapsed" style="display:none;" pad="++++" indent="++++"></div><div id="_SysProcessEvent-expanded"><a name="L584"></a><tt class="py-lineno"> 584</tt> <tt class="py-line"> <tt class="py-docstring">"""</tt> </tt>
+<a name="L585"></a><tt class="py-lineno"> 585</tt> <tt class="py-line"><tt class="py-docstring"> There is three kind of processing according to each event:</tt> </tt>
+<a name="L586"></a><tt class="py-lineno"> 586</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
+<a name="L587"></a><tt class="py-lineno"> 587</tt> <tt class="py-line"><tt class="py-docstring"> 1. special handling (deletion from internal container, bug, ...).</tt> </tt>
+<a name="L588"></a><tt class="py-lineno"> 588</tt> <tt class="py-line"><tt class="py-docstring"> 2. default treatment: which is applied to the majority of events.</tt> </tt>
+<a name="L589"></a><tt class="py-lineno"> 589</tt> <tt class="py-line"><tt class="py-docstring"> 3. IN_ISDIR is never sent alone, he is piggybacked with a standard</tt> </tt>
+<a name="L590"></a><tt class="py-lineno"> 590</tt> <tt class="py-line"><tt class="py-docstring"> event, he is not processed as the others events, instead, its</tt> </tt>
+<a name="L591"></a><tt class="py-lineno"> 591</tt> <tt class="py-line"><tt class="py-docstring"> value is captured and appropriately aggregated to dst event.</tt> </tt>
+<a name="L592"></a><tt class="py-lineno"> 592</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt>
+<a name="_SysProcessEvent.__init__"></a><div id="_SysProcessEvent.__init__-def"><a name="L593"></a><tt class="py-lineno"> 593</tt> <a class="py-toggle" href="#" id="_SysProcessEvent.__init__-toggle" onclick="return toggle('_SysProcessEvent.__init__');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="pyinotify._SysProcessEvent-class.html#__init__">__init__</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">,</tt> <tt class="py-param">wm</tt><tt class="py-op">,</tt> <tt class="py-param">notifier</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
+</div><div id="_SysProcessEvent.__init__-collapsed" style="display:none;" pad="++++" indent="++++++++"></div><div id="_SysProcessEvent.__init__-expanded"><a name="L594"></a><tt class="py-lineno"> 594</tt> <tt class="py-line"> <tt class="py-docstring">"""</tt> </tt>
+<a name="L595"></a><tt class="py-lineno"> 595</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
+<a name="L596"></a><tt class="py-lineno"> 596</tt> <tt class="py-line"><tt class="py-docstring"> @param wm: Watch Manager.</tt> </tt>
+<a name="L597"></a><tt class="py-lineno"> 597</tt> <tt class="py-line"><tt class="py-docstring"> @type wm: WatchManager instance</tt> </tt>
+<a name="L598"></a><tt class="py-lineno"> 598</tt> <tt class="py-line"><tt class="py-docstring"> @param notifier: Notifier.</tt> </tt>
+<a name="L599"></a><tt class="py-lineno"> 599</tt> <tt class="py-line"><tt class="py-docstring"> @type notifier: Notifier instance</tt> </tt>
+<a name="L600"></a><tt class="py-lineno"> 600</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt>
+<a name="L601"></a><tt class="py-lineno"> 601</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_watch_manager</tt> <tt class="py-op">=</tt> <tt class="py-name">wm</tt> <tt class="py-comment"># watch manager</tt> </tt>
+<a name="L602"></a><tt class="py-lineno"> 602</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_notifier</tt> <tt class="py-op">=</tt> <tt class="py-name">notifier</tt> <tt class="py-comment"># notifier</tt> </tt>
+<a name="L603"></a><tt class="py-lineno"> 603</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_mv_cookie</tt> <tt class="py-op">=</tt> <tt class="py-op">{</tt><tt class="py-op">}</tt> <tt class="py-comment"># {cookie(int): (src_path(str), date), ...}</tt> </tt>
+<a name="L604"></a><tt class="py-lineno"> 604</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_mv</tt> <tt class="py-op">=</tt> <tt class="py-op">{</tt><tt class="py-op">}</tt> <tt class="py-comment"># {src_path(str): (dst_path(str), date), ...}</tt> </tt>
+</div><a name="L605"></a><tt class="py-lineno"> 605</tt> <tt class="py-line"> </tt>
+<a name="_SysProcessEvent.cleanup"></a><div id="_SysProcessEvent.cleanup-def"><a name="L606"></a><tt class="py-lineno"> 606</tt> <a class="py-toggle" href="#" id="_SysProcessEvent.cleanup-toggle" onclick="return toggle('_SysProcessEvent.cleanup');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="pyinotify._SysProcessEvent-class.html#cleanup">cleanup</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
+</div><div id="_SysProcessEvent.cleanup-collapsed" style="display:none;" pad="++++" indent="++++++++"></div><div id="_SysProcessEvent.cleanup-expanded"><a name="L607"></a><tt class="py-lineno"> 607</tt> <tt class="py-line"> <tt class="py-docstring">"""</tt> </tt>
+<a name="L608"></a><tt class="py-lineno"> 608</tt> <tt class="py-line"><tt class="py-docstring"> Cleanup (delete) old (&gt;1mn) records contained in self._mv_cookie</tt> </tt>
+<a name="L609"></a><tt class="py-lineno"> 609</tt> <tt class="py-line"><tt class="py-docstring"> and self._mv.</tt> </tt>
+<a name="L610"></a><tt class="py-lineno"> 610</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt>
+<a name="L611"></a><tt class="py-lineno"> 611</tt> <tt class="py-line"> <tt class="py-name">date_cur_</tt> <tt class="py-op">=</tt> <tt class="py-name">datetime</tt><tt class="py-op">.</tt><tt class="py-name">now</tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt>
+<a name="L612"></a><tt class="py-lineno"> 612</tt> <tt class="py-line"> <tt class="py-keyword">for</tt> <tt class="py-name">seq</tt> <tt class="py-keyword">in</tt> <tt class="py-op">[</tt><tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_mv_cookie</tt><tt class="py-op">,</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_mv</tt><tt class="py-op">]</tt><tt class="py-op">:</tt> </tt>
+<a name="L613"></a><tt class="py-lineno"> 613</tt> <tt class="py-line"> <tt class="py-keyword">for</tt> <tt class="py-name">k</tt> <tt class="py-keyword">in</tt> <tt class="py-name">seq</tt><tt class="py-op">.</tt><tt class="py-name">keys</tt><tt class="py-op">(</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
+<a name="L614"></a><tt class="py-lineno"> 614</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-op">(</tt><tt class="py-name">date_cur_</tt> <tt class="py-op">-</tt> <tt class="py-name">seq</tt><tt class="py-op">[</tt><tt class="py-name">k</tt><tt class="py-op">]</tt><tt class="py-op">[</tt><tt class="py-number">1</tt><tt class="py-op">]</tt><tt class="py-op">)</tt> <tt class="py-op">&gt;</tt> <tt class="py-name">timedelta</tt><tt class="py-op">(</tt><tt class="py-name">minutes</tt><tt class="py-op">=</tt><tt class="py-number">1</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
+<a name="L615"></a><tt class="py-lineno"> 615</tt> <tt class="py-line"> <tt id="link-136" class="py-name"><a title="pyinotify.log" class="py-name" href="#" onclick="return doclink('link-136', 'log', 'link-27');">log</a></tt><tt class="py-op">.</tt><tt class="py-name">debug</tt><tt class="py-op">(</tt><tt class="py-string">'Cleanup: deleting entry %s'</tt><tt class="py-op">,</tt> <tt class="py-name">seq</tt><tt class="py-op">[</tt><tt class="py-name">k</tt><tt class="py-op">]</tt><tt class="py-op">[</tt><tt class="py-number">0</tt><tt class="py-op">]</tt><tt class="py-op">)</tt> </tt>
+<a name="L616"></a><tt class="py-lineno"> 616</tt> <tt class="py-line"> <tt class="py-keyword">del</tt> <tt class="py-name">seq</tt><tt class="py-op">[</tt><tt class="py-name">k</tt><tt class="py-op">]</tt> </tt>
+</div><a name="L617"></a><tt class="py-lineno"> 617</tt> <tt class="py-line"> </tt>
+<a name="_SysProcessEvent.process_IN_CREATE"></a><div id="_SysProcessEvent.process_IN_CREATE-def"><a name="L618"></a><tt class="py-lineno"> 618</tt> <a class="py-toggle" href="#" id="_SysProcessEvent.process_IN_CREATE-toggle" onclick="return toggle('_SysProcessEvent.process_IN_CREATE');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="pyinotify._SysProcessEvent-class.html#process_IN_CREATE">process_IN_CREATE</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">,</tt> <tt class="py-param">raw_event</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
+</div><div id="_SysProcessEvent.process_IN_CREATE-collapsed" style="display:none;" pad="++++" indent="++++++++"></div><div id="_SysProcessEvent.process_IN_CREATE-expanded"><a name="L619"></a><tt class="py-lineno"> 619</tt> <tt class="py-line"> <tt class="py-docstring">"""</tt> </tt>
+<a name="L620"></a><tt class="py-lineno"> 620</tt> <tt class="py-line"><tt class="py-docstring"> If the event affects a directory and the auto_add flag of the</tt> </tt>
+<a name="L621"></a><tt class="py-lineno"> 621</tt> <tt class="py-line"><tt class="py-docstring"> targetted watch is set to True, a new watch is added on this</tt> </tt>
+<a name="L622"></a><tt class="py-lineno"> 622</tt> <tt class="py-line"><tt class="py-docstring"> new directory, with the same attribute values than those of</tt> </tt>
+<a name="L623"></a><tt class="py-lineno"> 623</tt> <tt class="py-line"><tt class="py-docstring"> this watch.</tt> </tt>
+<a name="L624"></a><tt class="py-lineno"> 624</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt>
+<a name="L625"></a><tt class="py-lineno"> 625</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">raw_event</tt><tt class="py-op">.</tt><tt class="py-name">mask</tt> <tt class="py-op">&amp;</tt> <tt id="link-137" class="py-name"><a title="pyinotify.IN_ISDIR" class="py-name" href="#" onclick="return doclink('link-137', 'IN_ISDIR', 'link-51');">IN_ISDIR</a></tt><tt class="py-op">:</tt> </tt>
+<a name="L626"></a><tt class="py-lineno"> 626</tt> <tt class="py-line"> <tt class="py-name">watch_</tt> <tt class="py-op">=</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_watch_manager</tt><tt class="py-op">.</tt><tt id="link-138" class="py-name" targets="Method pyinotify.WatchManager.get_watch()=pyinotify.WatchManager-class.html#get_watch"><a title="pyinotify.WatchManager.get_watch" class="py-name" href="#" onclick="return doclink('link-138', 'get_watch', 'link-138');">get_watch</a></tt><tt class="py-op">(</tt><tt class="py-name">raw_event</tt><tt class="py-op">.</tt><tt class="py-name">wd</tt><tt class="py-op">)</tt> </tt>
+<a name="L627"></a><tt class="py-lineno"> 627</tt> <tt class="py-line"> <tt class="py-name">created_dir</tt> <tt class="py-op">=</tt> <tt class="py-name">os</tt><tt class="py-op">.</tt><tt class="py-name">path</tt><tt class="py-op">.</tt><tt class="py-name">join</tt><tt class="py-op">(</tt><tt class="py-name">watch_</tt><tt class="py-op">.</tt><tt class="py-name">path</tt><tt class="py-op">,</tt> <tt class="py-name">raw_event</tt><tt class="py-op">.</tt><tt id="link-139" class="py-name"><a title="pyinotify.name" class="py-name" href="#" onclick="return doclink('link-139', 'name', 'link-21');">name</a></tt><tt class="py-op">)</tt> </tt>
+<a name="L628"></a><tt class="py-lineno"> 628</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">watch_</tt><tt class="py-op">.</tt><tt class="py-name">auto_add</tt> <tt class="py-keyword">and</tt> <tt class="py-keyword">not</tt> <tt class="py-name">watch_</tt><tt class="py-op">.</tt><tt class="py-name">exclude_filter</tt><tt class="py-op">(</tt><tt class="py-name">created_dir</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
+<a name="L629"></a><tt class="py-lineno"> 629</tt> <tt class="py-line"> <tt class="py-name">addw</tt> <tt class="py-op">=</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_watch_manager</tt><tt class="py-op">.</tt><tt id="link-140" class="py-name" targets="Method pyinotify.WatchManager.add_watch()=pyinotify.WatchManager-class.html#add_watch"><a title="pyinotify.WatchManager.add_watch" class="py-name" href="#" onclick="return doclink('link-140', 'add_watch', 'link-140');">add_watch</a></tt> </tt>
+<a name="L630"></a><tt class="py-lineno"> 630</tt> <tt class="py-line"> <tt class="py-comment"># The newly monitored directory inherits attributes from its</tt> </tt>
+<a name="L631"></a><tt class="py-lineno"> 631</tt> <tt class="py-line"> <tt class="py-comment"># parent directory.</tt> </tt>
+<a name="L632"></a><tt class="py-lineno"> 632</tt> <tt class="py-line"> <tt class="py-name">addw_ret</tt> <tt class="py-op">=</tt> <tt class="py-name">addw</tt><tt class="py-op">(</tt><tt class="py-name">created_dir</tt><tt class="py-op">,</tt> <tt class="py-name">watch_</tt><tt class="py-op">.</tt><tt class="py-name">mask</tt><tt class="py-op">,</tt> </tt>
+<a name="L633"></a><tt class="py-lineno"> 633</tt> <tt class="py-line"> <tt id="link-141" class="py-name" targets="Method pyinotify.Notifier.proc_fun()=pyinotify.Notifier-class.html#proc_fun"><a title="pyinotify.Notifier.proc_fun" class="py-name" href="#" onclick="return doclink('link-141', 'proc_fun', 'link-141');">proc_fun</a></tt><tt class="py-op">=</tt><tt class="py-name">watch_</tt><tt class="py-op">.</tt><tt id="link-142" class="py-name"><a title="pyinotify.Notifier.proc_fun" class="py-name" href="#" onclick="return doclink('link-142', 'proc_fun', 'link-141');">proc_fun</a></tt><tt class="py-op">,</tt> </tt>
+<a name="L634"></a><tt class="py-lineno"> 634</tt> <tt class="py-line"> <tt class="py-name">rec</tt><tt class="py-op">=</tt><tt class="py-name">False</tt><tt class="py-op">,</tt> <tt class="py-name">auto_add</tt><tt class="py-op">=</tt><tt class="py-name">watch_</tt><tt class="py-op">.</tt><tt class="py-name">auto_add</tt><tt class="py-op">,</tt> </tt>
+<a name="L635"></a><tt class="py-lineno"> 635</tt> <tt class="py-line"> <tt class="py-name">exclude_filter</tt><tt class="py-op">=</tt><tt class="py-name">watch_</tt><tt class="py-op">.</tt><tt class="py-name">exclude_filter</tt><tt class="py-op">)</tt> </tt>
+<a name="L636"></a><tt class="py-lineno"> 636</tt> <tt class="py-line"> </tt>
+<a name="L637"></a><tt class="py-lineno"> 637</tt> <tt class="py-line"> <tt class="py-comment"># Trick to handle mkdir -p /t1/t2/t3 where t1 is watched and</tt> </tt>
+<a name="L638"></a><tt class="py-lineno"> 638</tt> <tt class="py-line"> <tt class="py-comment"># t2 and t3 are created.</tt> </tt>
+<a name="L639"></a><tt class="py-lineno"> 639</tt> <tt class="py-line"> <tt class="py-comment"># Since the directory is new, then everything inside it</tt> </tt>
+<a name="L640"></a><tt class="py-lineno"> 640</tt> <tt class="py-line"> <tt class="py-comment"># must also be new.</tt> </tt>
+<a name="L641"></a><tt class="py-lineno"> 641</tt> <tt class="py-line"> <tt class="py-name">created_dir_wd</tt> <tt class="py-op">=</tt> <tt class="py-name">addw_ret</tt><tt class="py-op">.</tt><tt class="py-name">get</tt><tt class="py-op">(</tt><tt class="py-name">created_dir</tt><tt class="py-op">)</tt> </tt>
+<a name="L642"></a><tt class="py-lineno"> 642</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-op">(</tt><tt class="py-name">created_dir_wd</tt> <tt class="py-keyword">is</tt> <tt class="py-keyword">not</tt> <tt class="py-name">None</tt><tt class="py-op">)</tt> <tt class="py-keyword">and</tt> <tt class="py-name">created_dir_wd</tt> <tt class="py-op">&gt;</tt> <tt class="py-number">0</tt><tt class="py-op">:</tt> </tt>
+<a name="L643"></a><tt class="py-lineno"> 643</tt> <tt class="py-line"> <tt class="py-keyword">for</tt> <tt id="link-143" class="py-name"><a title="pyinotify.name" class="py-name" href="#" onclick="return doclink('link-143', 'name', 'link-21');">name</a></tt> <tt class="py-keyword">in</tt> <tt class="py-name">os</tt><tt class="py-op">.</tt><tt class="py-name">listdir</tt><tt class="py-op">(</tt><tt class="py-name">created_dir</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
+<a name="L644"></a><tt class="py-lineno"> 644</tt> <tt class="py-line"> <tt class="py-name">inner</tt> <tt class="py-op">=</tt> <tt class="py-name">os</tt><tt class="py-op">.</tt><tt class="py-name">path</tt><tt class="py-op">.</tt><tt class="py-name">join</tt><tt class="py-op">(</tt><tt class="py-name">created_dir</tt><tt class="py-op">,</tt> <tt id="link-144" class="py-name"><a title="pyinotify.name" class="py-name" href="#" onclick="return doclink('link-144', 'name', 'link-21');">name</a></tt><tt class="py-op">)</tt> </tt>
+<a name="L645"></a><tt class="py-lineno"> 645</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-op">(</tt><tt class="py-name">os</tt><tt class="py-op">.</tt><tt class="py-name">path</tt><tt class="py-op">.</tt><tt class="py-name">isdir</tt><tt class="py-op">(</tt><tt class="py-name">inner</tt><tt class="py-op">)</tt> <tt class="py-keyword">and</tt> </tt>
+<a name="L646"></a><tt class="py-lineno"> 646</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_watch_manager</tt><tt class="py-op">.</tt><tt id="link-145" class="py-name" targets="Method pyinotify.WatchManager.get_wd()=pyinotify.WatchManager-class.html#get_wd"><a title="pyinotify.WatchManager.get_wd" class="py-name" href="#" onclick="return doclink('link-145', 'get_wd', 'link-145');">get_wd</a></tt><tt class="py-op">(</tt><tt class="py-name">inner</tt><tt class="py-op">)</tt> <tt class="py-keyword">is</tt> <tt class="py-name">None</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
+<a name="L647"></a><tt class="py-lineno"> 647</tt> <tt class="py-line"> <tt class="py-comment"># Generate (simulate) creation event for sub</tt> </tt>
+<a name="L648"></a><tt class="py-lineno"> 648</tt> <tt class="py-line"> <tt class="py-comment"># directories.</tt> </tt>
+<a name="L649"></a><tt class="py-lineno"> 649</tt> <tt class="py-line"> <tt class="py-name">rawevent</tt> <tt class="py-op">=</tt> <tt id="link-146" class="py-name" targets="Class pyinotify._RawEvent=pyinotify._RawEvent-class.html"><a title="pyinotify._RawEvent" class="py-name" href="#" onclick="return doclink('link-146', '_RawEvent', 'link-146');">_RawEvent</a></tt><tt class="py-op">(</tt><tt class="py-name">created_dir_wd</tt><tt class="py-op">,</tt> </tt>
+<a name="L650"></a><tt class="py-lineno"> 650</tt> <tt class="py-line"> <tt id="link-147" class="py-name" targets="Variable pyinotify.IN_CREATE=pyinotify-module.html#IN_CREATE"><a title="pyinotify.IN_CREATE" class="py-name" href="#" onclick="return doclink('link-147', 'IN_CREATE', 'link-147');">IN_CREATE</a></tt> <tt class="py-op">|</tt> <tt id="link-148" class="py-name"><a title="pyinotify.IN_ISDIR" class="py-name" href="#" onclick="return doclink('link-148', 'IN_ISDIR', 'link-51');">IN_ISDIR</a></tt><tt class="py-op">,</tt> </tt>
+<a name="L651"></a><tt class="py-lineno"> 651</tt> <tt class="py-line"> <tt class="py-number">0</tt><tt class="py-op">,</tt> <tt id="link-149" class="py-name"><a title="pyinotify.name" class="py-name" href="#" onclick="return doclink('link-149', 'name', 'link-21');">name</a></tt><tt class="py-op">)</tt> </tt>
+<a name="L652"></a><tt class="py-lineno"> 652</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_notifier</tt><tt class="py-op">.</tt><tt id="link-150" class="py-name" targets="Method pyinotify.Notifier.append_event()=pyinotify.Notifier-class.html#append_event"><a title="pyinotify.Notifier.append_event" class="py-name" href="#" onclick="return doclink('link-150', 'append_event', 'link-150');">append_event</a></tt><tt class="py-op">(</tt><tt class="py-name">rawevent</tt><tt class="py-op">)</tt> </tt>
+<a name="L653"></a><tt class="py-lineno"> 653</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-151" class="py-name"><a title="pyinotify.ChainIfTrue.process_default
+pyinotify.PrintAllEvents.process_default
+pyinotify.ProcessEvent.process_default
+pyinotify.Stats.process_default
+pyinotify._SysProcessEvent.process_default" class="py-name" href="#" onclick="return doclink('link-151', 'process_default', 'link-135');">process_default</a></tt><tt class="py-op">(</tt><tt class="py-name">raw_event</tt><tt class="py-op">)</tt> </tt>
+</div><a name="L654"></a><tt class="py-lineno"> 654</tt> <tt class="py-line"> </tt>
+<a name="_SysProcessEvent.process_IN_MOVED_FROM"></a><div id="_SysProcessEvent.process_IN_MOVED_FROM-def"><a name="L655"></a><tt class="py-lineno"> 655</tt> <a class="py-toggle" href="#" id="_SysProcessEvent.process_IN_MOVED_FROM-toggle" onclick="return toggle('_SysProcessEvent.process_IN_MOVED_FROM');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="pyinotify._SysProcessEvent-class.html#process_IN_MOVED_FROM">process_IN_MOVED_FROM</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">,</tt> <tt class="py-param">raw_event</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
+</div><div id="_SysProcessEvent.process_IN_MOVED_FROM-collapsed" style="display:none;" pad="++++" indent="++++++++"></div><div id="_SysProcessEvent.process_IN_MOVED_FROM-expanded"><a name="L656"></a><tt class="py-lineno"> 656</tt> <tt class="py-line"> <tt class="py-docstring">"""</tt> </tt>
+<a name="L657"></a><tt class="py-lineno"> 657</tt> <tt class="py-line"><tt class="py-docstring"> Map the cookie with the source path (+ date for cleaning).</tt> </tt>
+<a name="L658"></a><tt class="py-lineno"> 658</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt>
+<a name="L659"></a><tt class="py-lineno"> 659</tt> <tt class="py-line"> <tt class="py-name">watch_</tt> <tt class="py-op">=</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_watch_manager</tt><tt class="py-op">.</tt><tt id="link-152" class="py-name"><a title="pyinotify.WatchManager.get_watch" class="py-name" href="#" onclick="return doclink('link-152', 'get_watch', 'link-138');">get_watch</a></tt><tt class="py-op">(</tt><tt class="py-name">raw_event</tt><tt class="py-op">.</tt><tt class="py-name">wd</tt><tt class="py-op">)</tt> </tt>
+<a name="L660"></a><tt class="py-lineno"> 660</tt> <tt class="py-line"> <tt class="py-name">path_</tt> <tt class="py-op">=</tt> <tt class="py-name">watch_</tt><tt class="py-op">.</tt><tt class="py-name">path</tt> </tt>
+<a name="L661"></a><tt class="py-lineno"> 661</tt> <tt class="py-line"> <tt class="py-name">src_path</tt> <tt class="py-op">=</tt> <tt class="py-name">os</tt><tt class="py-op">.</tt><tt class="py-name">path</tt><tt class="py-op">.</tt><tt class="py-name">normpath</tt><tt class="py-op">(</tt><tt class="py-name">os</tt><tt class="py-op">.</tt><tt class="py-name">path</tt><tt class="py-op">.</tt><tt class="py-name">join</tt><tt class="py-op">(</tt><tt class="py-name">path_</tt><tt class="py-op">,</tt> <tt class="py-name">raw_event</tt><tt class="py-op">.</tt><tt id="link-153" class="py-name"><a title="pyinotify.name" class="py-name" href="#" onclick="return doclink('link-153', 'name', 'link-21');">name</a></tt><tt class="py-op">)</tt><tt class="py-op">)</tt> </tt>
+<a name="L662"></a><tt class="py-lineno"> 662</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_mv_cookie</tt><tt class="py-op">[</tt><tt class="py-name">raw_event</tt><tt class="py-op">.</tt><tt class="py-name">cookie</tt><tt class="py-op">]</tt> <tt class="py-op">=</tt> <tt class="py-op">(</tt><tt class="py-name">src_path</tt><tt class="py-op">,</tt> <tt class="py-name">datetime</tt><tt class="py-op">.</tt><tt class="py-name">now</tt><tt class="py-op">(</tt><tt class="py-op">)</tt><tt class="py-op">)</tt> </tt>
+<a name="L663"></a><tt class="py-lineno"> 663</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-154" class="py-name"><a title="pyinotify.ChainIfTrue.process_default
+pyinotify.PrintAllEvents.process_default
+pyinotify.ProcessEvent.process_default
+pyinotify.Stats.process_default
+pyinotify._SysProcessEvent.process_default" class="py-name" href="#" onclick="return doclink('link-154', 'process_default', 'link-135');">process_default</a></tt><tt class="py-op">(</tt><tt class="py-name">raw_event</tt><tt class="py-op">,</tt> <tt class="py-op">{</tt><tt class="py-string">'cookie'</tt><tt class="py-op">:</tt> <tt class="py-name">raw_event</tt><tt class="py-op">.</tt><tt class="py-name">cookie</tt><tt class="py-op">}</tt><tt class="py-op">)</tt> </tt>
+</div><a name="L664"></a><tt class="py-lineno"> 664</tt> <tt class="py-line"> </tt>
+<a name="_SysProcessEvent.process_IN_MOVED_TO"></a><div id="_SysProcessEvent.process_IN_MOVED_TO-def"><a name="L665"></a><tt class="py-lineno"> 665</tt> <a class="py-toggle" href="#" id="_SysProcessEvent.process_IN_MOVED_TO-toggle" onclick="return toggle('_SysProcessEvent.process_IN_MOVED_TO');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="pyinotify._SysProcessEvent-class.html#process_IN_MOVED_TO">process_IN_MOVED_TO</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">,</tt> <tt class="py-param">raw_event</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
+</div><div id="_SysProcessEvent.process_IN_MOVED_TO-collapsed" style="display:none;" pad="++++" indent="++++++++"></div><div id="_SysProcessEvent.process_IN_MOVED_TO-expanded"><a name="L666"></a><tt class="py-lineno"> 666</tt> <tt class="py-line"> <tt class="py-docstring">"""</tt> </tt>
+<a name="L667"></a><tt class="py-lineno"> 667</tt> <tt class="py-line"><tt class="py-docstring"> Map the source path with the destination path (+ date for</tt> </tt>
+<a name="L668"></a><tt class="py-lineno"> 668</tt> <tt class="py-line"><tt class="py-docstring"> cleaning).</tt> </tt>
+<a name="L669"></a><tt class="py-lineno"> 669</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt>
+<a name="L670"></a><tt class="py-lineno"> 670</tt> <tt class="py-line"> <tt class="py-name">watch_</tt> <tt class="py-op">=</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_watch_manager</tt><tt class="py-op">.</tt><tt id="link-155" class="py-name"><a title="pyinotify.WatchManager.get_watch" class="py-name" href="#" onclick="return doclink('link-155', 'get_watch', 'link-138');">get_watch</a></tt><tt class="py-op">(</tt><tt class="py-name">raw_event</tt><tt class="py-op">.</tt><tt class="py-name">wd</tt><tt class="py-op">)</tt> </tt>
+<a name="L671"></a><tt class="py-lineno"> 671</tt> <tt class="py-line"> <tt class="py-name">path_</tt> <tt class="py-op">=</tt> <tt class="py-name">watch_</tt><tt class="py-op">.</tt><tt class="py-name">path</tt> </tt>
+<a name="L672"></a><tt class="py-lineno"> 672</tt> <tt class="py-line"> <tt class="py-name">dst_path</tt> <tt class="py-op">=</tt> <tt class="py-name">os</tt><tt class="py-op">.</tt><tt class="py-name">path</tt><tt class="py-op">.</tt><tt class="py-name">normpath</tt><tt class="py-op">(</tt><tt class="py-name">os</tt><tt class="py-op">.</tt><tt class="py-name">path</tt><tt class="py-op">.</tt><tt class="py-name">join</tt><tt class="py-op">(</tt><tt class="py-name">path_</tt><tt class="py-op">,</tt> <tt class="py-name">raw_event</tt><tt class="py-op">.</tt><tt id="link-156" class="py-name"><a title="pyinotify.name" class="py-name" href="#" onclick="return doclink('link-156', 'name', 'link-21');">name</a></tt><tt class="py-op">)</tt><tt class="py-op">)</tt> </tt>
+<a name="L673"></a><tt class="py-lineno"> 673</tt> <tt class="py-line"> <tt class="py-name">mv_</tt> <tt class="py-op">=</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_mv_cookie</tt><tt class="py-op">.</tt><tt class="py-name">get</tt><tt class="py-op">(</tt><tt class="py-name">raw_event</tt><tt class="py-op">.</tt><tt class="py-name">cookie</tt><tt class="py-op">)</tt> </tt>
+<a name="L674"></a><tt class="py-lineno"> 674</tt> <tt class="py-line"> <tt class="py-name">to_append</tt> <tt class="py-op">=</tt> <tt class="py-op">{</tt><tt class="py-string">'cookie'</tt><tt class="py-op">:</tt> <tt class="py-name">raw_event</tt><tt class="py-op">.</tt><tt class="py-name">cookie</tt><tt class="py-op">}</tt> </tt>
+<a name="L675"></a><tt class="py-lineno"> 675</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">mv_</tt> <tt class="py-keyword">is</tt> <tt class="py-keyword">not</tt> <tt class="py-name">None</tt><tt class="py-op">:</tt> </tt>
+<a name="L676"></a><tt class="py-lineno"> 676</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_mv</tt><tt class="py-op">[</tt><tt class="py-name">mv_</tt><tt class="py-op">[</tt><tt class="py-number">0</tt><tt class="py-op">]</tt><tt class="py-op">]</tt> <tt class="py-op">=</tt> <tt class="py-op">(</tt><tt class="py-name">dst_path</tt><tt class="py-op">,</tt> <tt class="py-name">datetime</tt><tt class="py-op">.</tt><tt class="py-name">now</tt><tt class="py-op">(</tt><tt class="py-op">)</tt><tt class="py-op">)</tt> </tt>
+<a name="L677"></a><tt class="py-lineno"> 677</tt> <tt class="py-line"> <tt class="py-comment"># Let's assume that IN_MOVED_FROM event is always queued before</tt> </tt>
+<a name="L678"></a><tt class="py-lineno"> 678</tt> <tt class="py-line"> <tt class="py-comment"># that its associated (they share a common cookie) IN_MOVED_TO</tt> </tt>
+<a name="L679"></a><tt class="py-lineno"> 679</tt> <tt class="py-line"> <tt class="py-comment"># event is queued itself. It is then possible in that scenario</tt> </tt>
+<a name="L680"></a><tt class="py-lineno"> 680</tt> <tt class="py-line"> <tt class="py-comment"># to provide as additional information to the IN_MOVED_TO event</tt> </tt>
+<a name="L681"></a><tt class="py-lineno"> 681</tt> <tt class="py-line"> <tt class="py-comment"># the original pathname of the moved file/directory.</tt> </tt>
+<a name="L682"></a><tt class="py-lineno"> 682</tt> <tt class="py-line"> <tt class="py-name">to_append</tt><tt class="py-op">[</tt><tt class="py-string">'src_pathname'</tt><tt class="py-op">]</tt> <tt class="py-op">=</tt> <tt class="py-name">mv_</tt><tt class="py-op">[</tt><tt class="py-number">0</tt><tt class="py-op">]</tt> </tt>
+<a name="L683"></a><tt class="py-lineno"> 683</tt> <tt class="py-line"> <tt class="py-keyword">elif</tt> <tt class="py-op">(</tt><tt class="py-name">raw_event</tt><tt class="py-op">.</tt><tt class="py-name">mask</tt> <tt class="py-op">&amp;</tt> <tt id="link-157" class="py-name"><a title="pyinotify.IN_ISDIR" class="py-name" href="#" onclick="return doclink('link-157', 'IN_ISDIR', 'link-51');">IN_ISDIR</a></tt> <tt class="py-keyword">and</tt> <tt class="py-name">watch_</tt><tt class="py-op">.</tt><tt class="py-name">auto_add</tt> <tt class="py-keyword">and</tt> </tt>
+<a name="L684"></a><tt class="py-lineno"> 684</tt> <tt class="py-line"> <tt class="py-keyword">not</tt> <tt class="py-name">watch_</tt><tt class="py-op">.</tt><tt class="py-name">exclude_filter</tt><tt class="py-op">(</tt><tt class="py-name">dst_path</tt><tt class="py-op">)</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
+<a name="L685"></a><tt class="py-lineno"> 685</tt> <tt class="py-line"> <tt class="py-comment"># We got a diretory that's "moved in" from an unknown source and</tt> </tt>
+<a name="L686"></a><tt class="py-lineno"> 686</tt> <tt class="py-line"> <tt class="py-comment"># auto_add is enabled. Manually add watches to the inner subtrees.</tt> </tt>
+<a name="L687"></a><tt class="py-lineno"> 687</tt> <tt class="py-line"> <tt class="py-comment"># The newly monitored directory inherits attributes from its</tt> </tt>
+<a name="L688"></a><tt class="py-lineno"> 688</tt> <tt class="py-line"> <tt class="py-comment"># parent directory.</tt> </tt>
+<a name="L689"></a><tt class="py-lineno"> 689</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_watch_manager</tt><tt class="py-op">.</tt><tt id="link-158" class="py-name"><a title="pyinotify.WatchManager.add_watch" class="py-name" href="#" onclick="return doclink('link-158', 'add_watch', 'link-140');">add_watch</a></tt><tt class="py-op">(</tt><tt class="py-name">dst_path</tt><tt class="py-op">,</tt> <tt class="py-name">watch_</tt><tt class="py-op">.</tt><tt class="py-name">mask</tt><tt class="py-op">,</tt> </tt>
+<a name="L690"></a><tt class="py-lineno"> 690</tt> <tt class="py-line"> <tt id="link-159" class="py-name"><a title="pyinotify.Notifier.proc_fun" class="py-name" href="#" onclick="return doclink('link-159', 'proc_fun', 'link-141');">proc_fun</a></tt><tt class="py-op">=</tt><tt class="py-name">watch_</tt><tt class="py-op">.</tt><tt id="link-160" class="py-name"><a title="pyinotify.Notifier.proc_fun" class="py-name" href="#" onclick="return doclink('link-160', 'proc_fun', 'link-141');">proc_fun</a></tt><tt class="py-op">,</tt> </tt>
+<a name="L691"></a><tt class="py-lineno"> 691</tt> <tt class="py-line"> <tt class="py-name">rec</tt><tt class="py-op">=</tt><tt class="py-name">True</tt><tt class="py-op">,</tt> <tt class="py-name">auto_add</tt><tt class="py-op">=</tt><tt class="py-name">True</tt><tt class="py-op">,</tt> </tt>
+<a name="L692"></a><tt class="py-lineno"> 692</tt> <tt class="py-line"> <tt class="py-name">exclude_filter</tt><tt class="py-op">=</tt><tt class="py-name">watch_</tt><tt class="py-op">.</tt><tt class="py-name">exclude_filter</tt><tt class="py-op">)</tt> </tt>
+<a name="L693"></a><tt class="py-lineno"> 693</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-161" class="py-name"><a title="pyinotify.ChainIfTrue.process_default
+pyinotify.PrintAllEvents.process_default
+pyinotify.ProcessEvent.process_default
+pyinotify.Stats.process_default
+pyinotify._SysProcessEvent.process_default" class="py-name" href="#" onclick="return doclink('link-161', 'process_default', 'link-135');">process_default</a></tt><tt class="py-op">(</tt><tt class="py-name">raw_event</tt><tt class="py-op">,</tt> <tt class="py-name">to_append</tt><tt class="py-op">)</tt> </tt>
+</div><a name="L694"></a><tt class="py-lineno"> 694</tt> <tt class="py-line"> </tt>
+<a name="_SysProcessEvent.process_IN_MOVE_SELF"></a><div id="_SysProcessEvent.process_IN_MOVE_SELF-def"><a name="L695"></a><tt class="py-lineno"> 695</tt> <a class="py-toggle" href="#" id="_SysProcessEvent.process_IN_MOVE_SELF-toggle" onclick="return toggle('_SysProcessEvent.process_IN_MOVE_SELF');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="pyinotify._SysProcessEvent-class.html#process_IN_MOVE_SELF">process_IN_MOVE_SELF</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">,</tt> <tt class="py-param">raw_event</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
+</div><div id="_SysProcessEvent.process_IN_MOVE_SELF-collapsed" style="display:none;" pad="++++" indent="++++++++"></div><div id="_SysProcessEvent.process_IN_MOVE_SELF-expanded"><a name="L696"></a><tt class="py-lineno"> 696</tt> <tt class="py-line"> <tt class="py-docstring">"""</tt> </tt>
+<a name="L697"></a><tt class="py-lineno"> 697</tt> <tt class="py-line"><tt class="py-docstring"> STATUS: the following bug has been fixed in recent kernels (FIXME:</tt> </tt>
+<a name="L698"></a><tt class="py-lineno"> 698</tt> <tt class="py-line"><tt class="py-docstring"> which version ?). Now it raises IN_DELETE_SELF instead.</tt> </tt>
+<a name="L699"></a><tt class="py-lineno"> 699</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
+<a name="L700"></a><tt class="py-lineno"> 700</tt> <tt class="py-line"><tt class="py-docstring"> Old kernels were bugged, this event raised when the watched item</tt> </tt>
+<a name="L701"></a><tt class="py-lineno"> 701</tt> <tt class="py-line"><tt class="py-docstring"> were moved, so we had to update its path, but under some circumstances</tt> </tt>
+<a name="L702"></a><tt class="py-lineno"> 702</tt> <tt class="py-line"><tt class="py-docstring"> it was impossible: if its parent directory and its destination</tt> </tt>
+<a name="L703"></a><tt class="py-lineno"> 703</tt> <tt class="py-line"><tt class="py-docstring"> directory wasn't watched. The kernel (see include/linux/fsnotify.h)</tt> </tt>
+<a name="L704"></a><tt class="py-lineno"> 704</tt> <tt class="py-line"><tt class="py-docstring"> doesn't bring us enough informations like the destination path of</tt> </tt>
+<a name="L705"></a><tt class="py-lineno"> 705</tt> <tt class="py-line"><tt class="py-docstring"> moved items.</tt> </tt>
+<a name="L706"></a><tt class="py-lineno"> 706</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt>
+<a name="L707"></a><tt class="py-lineno"> 707</tt> <tt class="py-line"> <tt class="py-name">watch_</tt> <tt class="py-op">=</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_watch_manager</tt><tt class="py-op">.</tt><tt id="link-162" class="py-name"><a title="pyinotify.WatchManager.get_watch" class="py-name" href="#" onclick="return doclink('link-162', 'get_watch', 'link-138');">get_watch</a></tt><tt class="py-op">(</tt><tt class="py-name">raw_event</tt><tt class="py-op">.</tt><tt class="py-name">wd</tt><tt class="py-op">)</tt> </tt>
+<a name="L708"></a><tt class="py-lineno"> 708</tt> <tt class="py-line"> <tt class="py-name">src_path</tt> <tt class="py-op">=</tt> <tt class="py-name">watch_</tt><tt class="py-op">.</tt><tt class="py-name">path</tt> </tt>
+<a name="L709"></a><tt class="py-lineno"> 709</tt> <tt class="py-line"> <tt class="py-name">mv_</tt> <tt class="py-op">=</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_mv</tt><tt class="py-op">.</tt><tt class="py-name">get</tt><tt class="py-op">(</tt><tt class="py-name">src_path</tt><tt class="py-op">)</tt> </tt>
+<a name="L710"></a><tt class="py-lineno"> 710</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">mv_</tt><tt class="py-op">:</tt> </tt>
+<a name="L711"></a><tt class="py-lineno"> 711</tt> <tt class="py-line"> <tt class="py-name">dest_path</tt> <tt class="py-op">=</tt> <tt class="py-name">mv_</tt><tt class="py-op">[</tt><tt class="py-number">0</tt><tt class="py-op">]</tt> </tt>
+<a name="L712"></a><tt class="py-lineno"> 712</tt> <tt class="py-line"> <tt class="py-name">watch_</tt><tt class="py-op">.</tt><tt class="py-name">path</tt> <tt class="py-op">=</tt> <tt class="py-name">dest_path</tt> </tt>
+<a name="L713"></a><tt class="py-lineno"> 713</tt> <tt class="py-line"> <tt class="py-comment"># add the separator to the source path to avoid overlapping</tt> </tt>
+<a name="L714"></a><tt class="py-lineno"> 714</tt> <tt class="py-line"> <tt class="py-comment"># path issue when testing with startswith()</tt> </tt>
+<a name="L715"></a><tt class="py-lineno"> 715</tt> <tt class="py-line"> <tt class="py-name">src_path</tt> <tt class="py-op">+=</tt> <tt class="py-name">os</tt><tt class="py-op">.</tt><tt class="py-name">path</tt><tt class="py-op">.</tt><tt class="py-name">sep</tt> </tt>
+<a name="L716"></a><tt class="py-lineno"> 716</tt> <tt class="py-line"> <tt class="py-name">src_path_len</tt> <tt class="py-op">=</tt> <tt class="py-name">len</tt><tt class="py-op">(</tt><tt class="py-name">src_path</tt><tt class="py-op">)</tt> </tt>
+<a name="L717"></a><tt class="py-lineno"> 717</tt> <tt class="py-line"> <tt class="py-comment"># The next loop renames all watches with src_path as base path.</tt> </tt>
+<a name="L718"></a><tt class="py-lineno"> 718</tt> <tt class="py-line"> <tt class="py-comment"># It seems that IN_MOVE_SELF does not provide IN_ISDIR information</tt> </tt>
+<a name="L719"></a><tt class="py-lineno"> 719</tt> <tt class="py-line"> <tt class="py-comment"># therefore the next loop is iterated even if raw_event is a file.</tt> </tt>
+<a name="L720"></a><tt class="py-lineno"> 720</tt> <tt class="py-line"> <tt class="py-keyword">for</tt> <tt class="py-name">w</tt> <tt class="py-keyword">in</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_watch_manager</tt><tt class="py-op">.</tt><tt id="link-163" class="py-name" targets="Variable pyinotify.WatchManager.watches=pyinotify.WatchManager-class.html#watches"><a title="pyinotify.WatchManager.watches" class="py-name" href="#" onclick="return doclink('link-163', 'watches', 'link-163');">watches</a></tt><tt class="py-op">.</tt><tt class="py-name">values</tt><tt class="py-op">(</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
+<a name="L721"></a><tt class="py-lineno"> 721</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">w</tt><tt class="py-op">.</tt><tt class="py-name">path</tt><tt class="py-op">.</tt><tt class="py-name">startswith</tt><tt class="py-op">(</tt><tt class="py-name">src_path</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
+<a name="L722"></a><tt class="py-lineno"> 722</tt> <tt class="py-line"> <tt class="py-comment"># Note that dest_path is a normalized path.</tt> </tt>
+<a name="L723"></a><tt class="py-lineno"> 723</tt> <tt class="py-line"> <tt class="py-name">w</tt><tt class="py-op">.</tt><tt class="py-name">path</tt> <tt class="py-op">=</tt> <tt class="py-name">os</tt><tt class="py-op">.</tt><tt class="py-name">path</tt><tt class="py-op">.</tt><tt class="py-name">join</tt><tt class="py-op">(</tt><tt class="py-name">dest_path</tt><tt class="py-op">,</tt> <tt class="py-name">w</tt><tt class="py-op">.</tt><tt class="py-name">path</tt><tt class="py-op">[</tt><tt class="py-name">src_path_len</tt><tt class="py-op">:</tt><tt class="py-op">]</tt><tt class="py-op">)</tt> </tt>
+<a name="L724"></a><tt class="py-lineno"> 724</tt> <tt class="py-line"> <tt class="py-keyword">else</tt><tt class="py-op">:</tt> </tt>
+<a name="L725"></a><tt class="py-lineno"> 725</tt> <tt class="py-line"> <tt id="link-164" class="py-name"><a title="pyinotify.log" class="py-name" href="#" onclick="return doclink('link-164', 'log', 'link-27');">log</a></tt><tt class="py-op">.</tt><tt class="py-name">error</tt><tt class="py-op">(</tt><tt class="py-string">"The pathname '%s' of this watch %s has probably changed "</tt> </tt>
+<a name="L726"></a><tt class="py-lineno"> 726</tt> <tt class="py-line"> <tt class="py-string">"and couldn't be updated, so it cannot be trusted "</tt> </tt>
+<a name="L727"></a><tt class="py-lineno"> 727</tt> <tt class="py-line"> <tt class="py-string">"anymore. To fix this error move directories/files only "</tt> </tt>
+<a name="L728"></a><tt class="py-lineno"> 728</tt> <tt class="py-line"> <tt class="py-string">"between watched parents directories, in this case e.g. "</tt> </tt>
+<a name="L729"></a><tt class="py-lineno"> 729</tt> <tt class="py-line"> <tt class="py-string">"put a watch on '%s'."</tt><tt class="py-op">,</tt> </tt>
+<a name="L730"></a><tt class="py-lineno"> 730</tt> <tt class="py-line"> <tt class="py-name">watch_</tt><tt class="py-op">.</tt><tt class="py-name">path</tt><tt class="py-op">,</tt> <tt class="py-name">watch_</tt><tt class="py-op">,</tt> </tt>
+<a name="L731"></a><tt class="py-lineno"> 731</tt> <tt class="py-line"> <tt class="py-name">os</tt><tt class="py-op">.</tt><tt class="py-name">path</tt><tt class="py-op">.</tt><tt class="py-name">normpath</tt><tt class="py-op">(</tt><tt class="py-name">os</tt><tt class="py-op">.</tt><tt class="py-name">path</tt><tt class="py-op">.</tt><tt class="py-name">join</tt><tt class="py-op">(</tt><tt class="py-name">watch_</tt><tt class="py-op">.</tt><tt class="py-name">path</tt><tt class="py-op">,</tt> </tt>
+<a name="L732"></a><tt class="py-lineno"> 732</tt> <tt class="py-line"> <tt class="py-name">os</tt><tt class="py-op">.</tt><tt class="py-name">path</tt><tt class="py-op">.</tt><tt class="py-name">pardir</tt><tt class="py-op">)</tt><tt class="py-op">)</tt><tt class="py-op">)</tt> </tt>
+<a name="L733"></a><tt class="py-lineno"> 733</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-keyword">not</tt> <tt class="py-name">watch_</tt><tt class="py-op">.</tt><tt class="py-name">path</tt><tt class="py-op">.</tt><tt class="py-name">endswith</tt><tt class="py-op">(</tt><tt class="py-string">'-unknown-path'</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
+<a name="L734"></a><tt class="py-lineno"> 734</tt> <tt class="py-line"> <tt class="py-name">watch_</tt><tt class="py-op">.</tt><tt class="py-name">path</tt> <tt class="py-op">+=</tt> <tt class="py-string">'-unknown-path'</tt> </tt>
+<a name="L735"></a><tt class="py-lineno"> 735</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-165" class="py-name"><a title="pyinotify.ChainIfTrue.process_default
+pyinotify.PrintAllEvents.process_default
+pyinotify.ProcessEvent.process_default
+pyinotify.Stats.process_default
+pyinotify._SysProcessEvent.process_default" class="py-name" href="#" onclick="return doclink('link-165', 'process_default', 'link-135');">process_default</a></tt><tt class="py-op">(</tt><tt class="py-name">raw_event</tt><tt class="py-op">)</tt> </tt>
+</div><a name="L736"></a><tt class="py-lineno"> 736</tt> <tt class="py-line"> </tt>
+<a name="_SysProcessEvent.process_IN_Q_OVERFLOW"></a><div id="_SysProcessEvent.process_IN_Q_OVERFLOW-def"><a name="L737"></a><tt class="py-lineno"> 737</tt> <a class="py-toggle" href="#" id="_SysProcessEvent.process_IN_Q_OVERFLOW-toggle" onclick="return toggle('_SysProcessEvent.process_IN_Q_OVERFLOW');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="pyinotify._SysProcessEvent-class.html#process_IN_Q_OVERFLOW">process_IN_Q_OVERFLOW</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">,</tt> <tt class="py-param">raw_event</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
+</div><div id="_SysProcessEvent.process_IN_Q_OVERFLOW-collapsed" style="display:none;" pad="++++" indent="++++++++"></div><div id="_SysProcessEvent.process_IN_Q_OVERFLOW-expanded"><a name="L738"></a><tt class="py-lineno"> 738</tt> <tt class="py-line"> <tt class="py-docstring">"""</tt> </tt>
+<a name="L739"></a><tt class="py-lineno"> 739</tt> <tt class="py-line"><tt class="py-docstring"> Only signal an overflow, most of the common flags are irrelevant</tt> </tt>
+<a name="L740"></a><tt class="py-lineno"> 740</tt> <tt class="py-line"><tt class="py-docstring"> for this event (path, wd, name).</tt> </tt>
+<a name="L741"></a><tt class="py-lineno"> 741</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt>
+<a name="L742"></a><tt class="py-lineno"> 742</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt id="link-166" class="py-name" targets="Class pyinotify.Event=pyinotify.Event-class.html"><a title="pyinotify.Event" class="py-name" href="#" onclick="return doclink('link-166', 'Event', 'link-166');">Event</a></tt><tt class="py-op">(</tt><tt class="py-op">{</tt><tt class="py-string">'mask'</tt><tt class="py-op">:</tt> <tt class="py-name">raw_event</tt><tt class="py-op">.</tt><tt class="py-name">mask</tt><tt class="py-op">}</tt><tt class="py-op">)</tt> </tt>
+</div><a name="L743"></a><tt class="py-lineno"> 743</tt> <tt class="py-line"> </tt>
+<a name="_SysProcessEvent.process_IN_IGNORED"></a><div id="_SysProcessEvent.process_IN_IGNORED-def"><a name="L744"></a><tt class="py-lineno"> 744</tt> <a class="py-toggle" href="#" id="_SysProcessEvent.process_IN_IGNORED-toggle" onclick="return toggle('_SysProcessEvent.process_IN_IGNORED');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="pyinotify._SysProcessEvent-class.html#process_IN_IGNORED">process_IN_IGNORED</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">,</tt> <tt class="py-param">raw_event</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
+</div><div id="_SysProcessEvent.process_IN_IGNORED-collapsed" style="display:none;" pad="++++" indent="++++++++"></div><div id="_SysProcessEvent.process_IN_IGNORED-expanded"><a name="L745"></a><tt class="py-lineno"> 745</tt> <tt class="py-line"> <tt class="py-docstring">"""</tt> </tt>
+<a name="L746"></a><tt class="py-lineno"> 746</tt> <tt class="py-line"><tt class="py-docstring"> The watch descriptor raised by this event is now ignored (forever),</tt> </tt>
+<a name="L747"></a><tt class="py-lineno"> 747</tt> <tt class="py-line"><tt class="py-docstring"> it can be safely deleted from the watch manager dictionary.</tt> </tt>
+<a name="L748"></a><tt class="py-lineno"> 748</tt> <tt class="py-line"><tt class="py-docstring"> After this event we can be sure that neither the event queue nor</tt> </tt>
+<a name="L749"></a><tt class="py-lineno"> 749</tt> <tt class="py-line"><tt class="py-docstring"> the system will raise an event associated to this wd again.</tt> </tt>
+<a name="L750"></a><tt class="py-lineno"> 750</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt>
+<a name="L751"></a><tt class="py-lineno"> 751</tt> <tt class="py-line"> <tt class="py-name">event_</tt> <tt class="py-op">=</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-167" class="py-name"><a title="pyinotify.ChainIfTrue.process_default
+pyinotify.PrintAllEvents.process_default
+pyinotify.ProcessEvent.process_default
+pyinotify.Stats.process_default
+pyinotify._SysProcessEvent.process_default" class="py-name" href="#" onclick="return doclink('link-167', 'process_default', 'link-135');">process_default</a></tt><tt class="py-op">(</tt><tt class="py-name">raw_event</tt><tt class="py-op">)</tt> </tt>
+<a name="L752"></a><tt class="py-lineno"> 752</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_watch_manager</tt><tt class="py-op">.</tt><tt id="link-168" class="py-name" targets="Method pyinotify.WatchManager.del_watch()=pyinotify.WatchManager-class.html#del_watch"><a title="pyinotify.WatchManager.del_watch" class="py-name" href="#" onclick="return doclink('link-168', 'del_watch', 'link-168');">del_watch</a></tt><tt class="py-op">(</tt><tt class="py-name">raw_event</tt><tt class="py-op">.</tt><tt class="py-name">wd</tt><tt class="py-op">)</tt> </tt>
+<a name="L753"></a><tt class="py-lineno"> 753</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-name">event_</tt> </tt>
+</div><a name="L754"></a><tt class="py-lineno"> 754</tt> <tt class="py-line"> </tt>
+<a name="_SysProcessEvent.process_default"></a><div id="_SysProcessEvent.process_default-def"><a name="L755"></a><tt class="py-lineno"> 755</tt> <a class="py-toggle" href="#" id="_SysProcessEvent.process_default-toggle" onclick="return toggle('_SysProcessEvent.process_default');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="pyinotify._SysProcessEvent-class.html#process_default">process_default</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">,</tt> <tt class="py-param">raw_event</tt><tt class="py-op">,</tt> <tt class="py-param">to_append</tt><tt class="py-op">=</tt><tt class="py-name">None</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
+</div><div id="_SysProcessEvent.process_default-collapsed" style="display:none;" pad="++++" indent="++++++++"></div><div id="_SysProcessEvent.process_default-expanded"><a name="L756"></a><tt class="py-lineno"> 756</tt> <tt class="py-line"> <tt class="py-docstring">"""</tt> </tt>
+<a name="L757"></a><tt class="py-lineno"> 757</tt> <tt class="py-line"><tt class="py-docstring"> Commons handling for the followings events:</tt> </tt>
+<a name="L758"></a><tt class="py-lineno"> 758</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
+<a name="L759"></a><tt class="py-lineno"> 759</tt> <tt class="py-line"><tt class="py-docstring"> IN_ACCESS, IN_MODIFY, IN_ATTRIB, IN_CLOSE_WRITE, IN_CLOSE_NOWRITE,</tt> </tt>
+<a name="L760"></a><tt class="py-lineno"> 760</tt> <tt class="py-line"><tt class="py-docstring"> IN_OPEN, IN_DELETE, IN_DELETE_SELF, IN_UNMOUNT.</tt> </tt>
+<a name="L761"></a><tt class="py-lineno"> 761</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt>
+<a name="L762"></a><tt class="py-lineno"> 762</tt> <tt class="py-line"> <tt class="py-name">watch_</tt> <tt class="py-op">=</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_watch_manager</tt><tt class="py-op">.</tt><tt id="link-169" class="py-name"><a title="pyinotify.WatchManager.get_watch" class="py-name" href="#" onclick="return doclink('link-169', 'get_watch', 'link-138');">get_watch</a></tt><tt class="py-op">(</tt><tt class="py-name">raw_event</tt><tt class="py-op">.</tt><tt class="py-name">wd</tt><tt class="py-op">)</tt> </tt>
+<a name="L763"></a><tt class="py-lineno"> 763</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">raw_event</tt><tt class="py-op">.</tt><tt class="py-name">mask</tt> <tt class="py-op">&amp;</tt> <tt class="py-op">(</tt><tt id="link-170" class="py-name" targets="Variable pyinotify.IN_DELETE_SELF=pyinotify-module.html#IN_DELETE_SELF"><a title="pyinotify.IN_DELETE_SELF" class="py-name" href="#" onclick="return doclink('link-170', 'IN_DELETE_SELF', 'link-170');">IN_DELETE_SELF</a></tt> <tt class="py-op">|</tt> <tt id="link-171" class="py-name" targets="Variable pyinotify.IN_MOVE_SELF=pyinotify-module.html#IN_MOVE_SELF"><a title="pyinotify.IN_MOVE_SELF" class="py-name" href="#" onclick="return doclink('link-171', 'IN_MOVE_SELF', 'link-171');">IN_MOVE_SELF</a></tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
+<a name="L764"></a><tt class="py-lineno"> 764</tt> <tt class="py-line"> <tt class="py-comment"># Unfornulately this information is not provided by the kernel</tt> </tt>
+<a name="L765"></a><tt class="py-lineno"> 765</tt> <tt class="py-line"> <tt class="py-name">dir_</tt> <tt class="py-op">=</tt> <tt class="py-name">watch_</tt><tt class="py-op">.</tt><tt class="py-name">dir</tt> </tt>
+<a name="L766"></a><tt class="py-lineno"> 766</tt> <tt class="py-line"> <tt class="py-keyword">else</tt><tt class="py-op">:</tt> </tt>
+<a name="L767"></a><tt class="py-lineno"> 767</tt> <tt class="py-line"> <tt class="py-name">dir_</tt> <tt class="py-op">=</tt> <tt class="py-name">bool</tt><tt class="py-op">(</tt><tt class="py-name">raw_event</tt><tt class="py-op">.</tt><tt class="py-name">mask</tt> <tt class="py-op">&amp;</tt> <tt id="link-172" class="py-name"><a title="pyinotify.IN_ISDIR" class="py-name" href="#" onclick="return doclink('link-172', 'IN_ISDIR', 'link-51');">IN_ISDIR</a></tt><tt class="py-op">)</tt> </tt>
+<a name="L768"></a><tt class="py-lineno"> 768</tt> <tt class="py-line"> <tt class="py-name">dict_</tt> <tt class="py-op">=</tt> <tt class="py-op">{</tt><tt class="py-string">'wd'</tt><tt class="py-op">:</tt> <tt class="py-name">raw_event</tt><tt class="py-op">.</tt><tt class="py-name">wd</tt><tt class="py-op">,</tt> </tt>
+<a name="L769"></a><tt class="py-lineno"> 769</tt> <tt class="py-line"> <tt class="py-string">'mask'</tt><tt class="py-op">:</tt> <tt class="py-name">raw_event</tt><tt class="py-op">.</tt><tt class="py-name">mask</tt><tt class="py-op">,</tt> </tt>
+<a name="L770"></a><tt class="py-lineno"> 770</tt> <tt class="py-line"> <tt class="py-string">'path'</tt><tt class="py-op">:</tt> <tt class="py-name">watch_</tt><tt class="py-op">.</tt><tt class="py-name">path</tt><tt class="py-op">,</tt> </tt>
+<a name="L771"></a><tt class="py-lineno"> 771</tt> <tt class="py-line"> <tt class="py-string">'name'</tt><tt class="py-op">:</tt> <tt class="py-name">raw_event</tt><tt class="py-op">.</tt><tt id="link-173" class="py-name"><a title="pyinotify.name" class="py-name" href="#" onclick="return doclink('link-173', 'name', 'link-21');">name</a></tt><tt class="py-op">,</tt> </tt>
+<a name="L772"></a><tt class="py-lineno"> 772</tt> <tt class="py-line"> <tt class="py-string">'dir'</tt><tt class="py-op">:</tt> <tt class="py-name">dir_</tt><tt class="py-op">}</tt> </tt>
+<a name="L773"></a><tt class="py-lineno"> 773</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt id="link-174" class="py-name"><a title="pyinotify.COMPATIBILITY_MODE" class="py-name" href="#" onclick="return doclink('link-174', 'COMPATIBILITY_MODE', 'link-6');">COMPATIBILITY_MODE</a></tt><tt class="py-op">:</tt> </tt>
+<a name="L774"></a><tt class="py-lineno"> 774</tt> <tt class="py-line"> <tt class="py-name">dict_</tt><tt class="py-op">[</tt><tt class="py-string">'is_dir'</tt><tt class="py-op">]</tt> <tt class="py-op">=</tt> <tt class="py-name">dir_</tt> </tt>
+<a name="L775"></a><tt class="py-lineno"> 775</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">to_append</tt> <tt class="py-keyword">is</tt> <tt class="py-keyword">not</tt> <tt class="py-name">None</tt><tt class="py-op">:</tt> </tt>
+<a name="L776"></a><tt class="py-lineno"> 776</tt> <tt class="py-line"> <tt class="py-name">dict_</tt><tt class="py-op">.</tt><tt class="py-name">update</tt><tt class="py-op">(</tt><tt class="py-name">to_append</tt><tt class="py-op">)</tt> </tt>
+<a name="L777"></a><tt class="py-lineno"> 777</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt id="link-175" class="py-name"><a title="pyinotify.Event" class="py-name" href="#" onclick="return doclink('link-175', 'Event', 'link-166');">Event</a></tt><tt class="py-op">(</tt><tt class="py-name">dict_</tt><tt class="py-op">)</tt> </tt>
+</div></div><a name="L778"></a><tt class="py-lineno"> 778</tt> <tt class="py-line"> </tt>
+<a name="ProcessEvent"></a><div id="ProcessEvent-def"><a name="L779"></a><tt class="py-lineno"> 779</tt> <tt class="py-line"> </tt>
+<a name="L780"></a><tt class="py-lineno"> 780</tt> <a class="py-toggle" href="#" id="ProcessEvent-toggle" onclick="return toggle('ProcessEvent');">-</a><tt class="py-line"><tt class="py-keyword">class</tt> <a class="py-def-name" href="pyinotify.ProcessEvent-class.html">ProcessEvent</a><tt class="py-op">(</tt><tt class="py-base-class">_ProcessEvent</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
+</div><div id="ProcessEvent-collapsed" style="display:none;" pad="++++" indent="++++"></div><div id="ProcessEvent-expanded"><a name="L781"></a><tt class="py-lineno"> 781</tt> <tt class="py-line"> <tt class="py-docstring">"""</tt> </tt>
+<a name="L782"></a><tt class="py-lineno"> 782</tt> <tt class="py-line"><tt class="py-docstring"> Process events objects, can be specialized via subclassing, thus its</tt> </tt>
+<a name="L783"></a><tt class="py-lineno"> 783</tt> <tt class="py-line"><tt class="py-docstring"> behavior can be overriden:</tt> </tt>
+<a name="L784"></a><tt class="py-lineno"> 784</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
+<a name="L785"></a><tt class="py-lineno"> 785</tt> <tt class="py-line"><tt class="py-docstring"> Note: you should not override __init__ in your subclass instead define</tt> </tt>
+<a name="L786"></a><tt class="py-lineno"> 786</tt> <tt class="py-line"><tt class="py-docstring"> a my_init() method, this method will be called automatically from the</tt> </tt>
+<a name="L787"></a><tt class="py-lineno"> 787</tt> <tt class="py-line"><tt class="py-docstring"> constructor of this class with its optionals parameters.</tt> </tt>
+<a name="L788"></a><tt class="py-lineno"> 788</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
+<a name="L789"></a><tt class="py-lineno"> 789</tt> <tt class="py-line"><tt class="py-docstring"> 1. Provide specialized individual methods, e.g. process_IN_DELETE for</tt> </tt>
+<a name="L790"></a><tt class="py-lineno"> 790</tt> <tt class="py-line"><tt class="py-docstring"> processing a precise type of event (e.g. IN_DELETE in this case).</tt> </tt>
+<a name="L791"></a><tt class="py-lineno"> 791</tt> <tt class="py-line"><tt class="py-docstring"> 2. Or/and provide methods for processing events by 'family', e.g.</tt> </tt>
+<a name="L792"></a><tt class="py-lineno"> 792</tt> <tt class="py-line"><tt class="py-docstring"> process_IN_CLOSE method will process both IN_CLOSE_WRITE and</tt> </tt>
+<a name="L793"></a><tt class="py-lineno"> 793</tt> <tt class="py-line"><tt class="py-docstring"> IN_CLOSE_NOWRITE events (if process_IN_CLOSE_WRITE and</tt> </tt>
+<a name="L794"></a><tt class="py-lineno"> 794</tt> <tt class="py-line"><tt class="py-docstring"> process_IN_CLOSE_NOWRITE aren't defined though).</tt> </tt>
+<a name="L795"></a><tt class="py-lineno"> 795</tt> <tt class="py-line"><tt class="py-docstring"> 3. Or/and override process_default for catching and processing all</tt> </tt>
+<a name="L796"></a><tt class="py-lineno"> 796</tt> <tt class="py-line"><tt class="py-docstring"> the remaining types of events.</tt> </tt>
+<a name="L797"></a><tt class="py-lineno"> 797</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt>
+<a name="L798"></a><tt class="py-lineno"> 798</tt> <tt class="py-line"> <tt id="link-176" class="py-name" targets="Variable pyinotify.ProcessEvent.pevent=pyinotify.ProcessEvent-class.html#pevent"><a title="pyinotify.ProcessEvent.pevent" class="py-name" href="#" onclick="return doclink('link-176', 'pevent', 'link-176');">pevent</a></tt> <tt class="py-op">=</tt> <tt class="py-name">None</tt> </tt>
+<a name="L799"></a><tt class="py-lineno"> 799</tt> <tt class="py-line"> </tt>
+<a name="ProcessEvent.__init__"></a><div id="ProcessEvent.__init__-def"><a name="L800"></a><tt class="py-lineno"> 800</tt> <a class="py-toggle" href="#" id="ProcessEvent.__init__-toggle" onclick="return toggle('ProcessEvent.__init__');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="pyinotify.ProcessEvent-class.html#__init__">__init__</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">,</tt> <tt class="py-param">pevent</tt><tt class="py-op">=</tt><tt class="py-name">None</tt><tt class="py-op">,</tt> <tt class="py-op">**</tt><tt class="py-param">kargs</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
+</div><div id="ProcessEvent.__init__-collapsed" style="display:none;" pad="++++" indent="++++++++"></div><div id="ProcessEvent.__init__-expanded"><a name="L801"></a><tt class="py-lineno"> 801</tt> <tt class="py-line"> <tt class="py-docstring">"""</tt> </tt>
+<a name="L802"></a><tt class="py-lineno"> 802</tt> <tt class="py-line"><tt class="py-docstring"> Enable chaining of ProcessEvent instances.</tt> </tt>
+<a name="L803"></a><tt class="py-lineno"> 803</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
+<a name="L804"></a><tt class="py-lineno"> 804</tt> <tt class="py-line"><tt class="py-docstring"> @param pevent: Optional callable object, will be called on event</tt> </tt>
+<a name="L805"></a><tt class="py-lineno"> 805</tt> <tt class="py-line"><tt class="py-docstring"> processing (before self).</tt> </tt>
+<a name="L806"></a><tt class="py-lineno"> 806</tt> <tt class="py-line"><tt class="py-docstring"> @type pevent: callable</tt> </tt>
+<a name="L807"></a><tt class="py-lineno"> 807</tt> <tt class="py-line"><tt class="py-docstring"> @param kargs: This constructor is implemented as a template method</tt> </tt>
+<a name="L808"></a><tt class="py-lineno"> 808</tt> <tt class="py-line"><tt class="py-docstring"> delegating its optionals keyworded arguments to the</tt> </tt>
+<a name="L809"></a><tt class="py-lineno"> 809</tt> <tt class="py-line"><tt class="py-docstring"> method my_init().</tt> </tt>
+<a name="L810"></a><tt class="py-lineno"> 810</tt> <tt class="py-line"><tt class="py-docstring"> @type kargs: dict</tt> </tt>
+<a name="L811"></a><tt class="py-lineno"> 811</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt>
+<a name="L812"></a><tt class="py-lineno"> 812</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-177" class="py-name"><a title="pyinotify.ProcessEvent.pevent" class="py-name" href="#" onclick="return doclink('link-177', 'pevent', 'link-176');">pevent</a></tt> <tt class="py-op">=</tt> <tt id="link-178" class="py-name"><a title="pyinotify.ProcessEvent.pevent" class="py-name" href="#" onclick="return doclink('link-178', 'pevent', 'link-176');">pevent</a></tt> </tt>
+<a name="L813"></a><tt class="py-lineno"> 813</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-179" class="py-name" targets="Method pyinotify.ChainIfTrue.my_init()=pyinotify.ChainIfTrue-class.html#my_init,Method pyinotify.PrintAllEvents.my_init()=pyinotify.PrintAllEvents-class.html#my_init,Method pyinotify.ProcessEvent.my_init()=pyinotify.ProcessEvent-class.html#my_init,Method pyinotify.Stats.my_init()=pyinotify.Stats-class.html#my_init"><a title="pyinotify.ChainIfTrue.my_init
+pyinotify.PrintAllEvents.my_init
+pyinotify.ProcessEvent.my_init
+pyinotify.Stats.my_init" class="py-name" href="#" onclick="return doclink('link-179', 'my_init', 'link-179');">my_init</a></tt><tt class="py-op">(</tt><tt class="py-op">**</tt><tt class="py-name">kargs</tt><tt class="py-op">)</tt> </tt>
+</div><a name="L814"></a><tt class="py-lineno"> 814</tt> <tt class="py-line"> </tt>
+<a name="ProcessEvent.my_init"></a><div id="ProcessEvent.my_init-def"><a name="L815"></a><tt class="py-lineno"> 815</tt> <a class="py-toggle" href="#" id="ProcessEvent.my_init-toggle" onclick="return toggle('ProcessEvent.my_init');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="pyinotify.ProcessEvent-class.html#my_init">my_init</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">,</tt> <tt class="py-op">**</tt><tt class="py-param">kargs</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
+</div><div id="ProcessEvent.my_init-collapsed" style="display:none;" pad="++++" indent="++++++++"></div><div id="ProcessEvent.my_init-expanded"><a name="L816"></a><tt class="py-lineno"> 816</tt> <tt class="py-line"> <tt class="py-docstring">"""</tt> </tt>
+<a name="L817"></a><tt class="py-lineno"> 817</tt> <tt class="py-line"><tt class="py-docstring"> This method is called from ProcessEvent.__init__(). This method is</tt> </tt>
+<a name="L818"></a><tt class="py-lineno"> 818</tt> <tt class="py-line"><tt class="py-docstring"> empty here and must be redefined to be useful. In effect, if you</tt> </tt>
+<a name="L819"></a><tt class="py-lineno"> 819</tt> <tt class="py-line"><tt class="py-docstring"> need to specifically initialize your subclass' instance then you</tt> </tt>
+<a name="L820"></a><tt class="py-lineno"> 820</tt> <tt class="py-line"><tt class="py-docstring"> just have to override this method in your subclass. Then all the</tt> </tt>
+<a name="L821"></a><tt class="py-lineno"> 821</tt> <tt class="py-line"><tt class="py-docstring"> keyworded arguments passed to ProcessEvent.__init__() will be</tt> </tt>
+<a name="L822"></a><tt class="py-lineno"> 822</tt> <tt class="py-line"><tt class="py-docstring"> transmitted as parameters to this method. Beware you MUST pass</tt> </tt>
+<a name="L823"></a><tt class="py-lineno"> 823</tt> <tt class="py-line"><tt class="py-docstring"> keyword arguments though.</tt> </tt>
+<a name="L824"></a><tt class="py-lineno"> 824</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
+<a name="L825"></a><tt class="py-lineno"> 825</tt> <tt class="py-line"><tt class="py-docstring"> @param kargs: optional delegated arguments from __init__().</tt> </tt>
+<a name="L826"></a><tt class="py-lineno"> 826</tt> <tt class="py-line"><tt class="py-docstring"> @type kargs: dict</tt> </tt>
+<a name="L827"></a><tt class="py-lineno"> 827</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt>
+<a name="L828"></a><tt class="py-lineno"> 828</tt> <tt class="py-line"> <tt class="py-keyword">pass</tt> </tt>
+</div><a name="L829"></a><tt class="py-lineno"> 829</tt> <tt class="py-line"> </tt>
+<a name="ProcessEvent.__call__"></a><div id="ProcessEvent.__call__-def"><a name="L830"></a><tt class="py-lineno"> 830</tt> <a class="py-toggle" href="#" id="ProcessEvent.__call__-toggle" onclick="return toggle('ProcessEvent.__call__');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="pyinotify.ProcessEvent-class.html#__call__">__call__</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">,</tt> <tt class="py-param">event</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
+</div><div id="ProcessEvent.__call__-collapsed" style="display:none;" pad="++++" indent="++++++++"></div><div id="ProcessEvent.__call__-expanded"><a name="L831"></a><tt class="py-lineno"> 831</tt> <tt class="py-line"> <tt class="py-name">stop_chaining</tt> <tt class="py-op">=</tt> <tt class="py-name">False</tt> </tt>
+<a name="L832"></a><tt class="py-lineno"> 832</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-180" class="py-name"><a title="pyinotify.ProcessEvent.pevent" class="py-name" href="#" onclick="return doclink('link-180', 'pevent', 'link-176');">pevent</a></tt> <tt class="py-keyword">is</tt> <tt class="py-keyword">not</tt> <tt class="py-name">None</tt><tt class="py-op">:</tt> </tt>
+<a name="L833"></a><tt class="py-lineno"> 833</tt> <tt class="py-line"> <tt class="py-comment"># By default methods return None so we set as guideline</tt> </tt>
+<a name="L834"></a><tt class="py-lineno"> 834</tt> <tt class="py-line"> <tt class="py-comment"># that methods asking for stop chaining must explicitely</tt> </tt>
+<a name="L835"></a><tt class="py-lineno"> 835</tt> <tt class="py-line"> <tt class="py-comment"># return non None or non False values, otherwise the default</tt> </tt>
+<a name="L836"></a><tt class="py-lineno"> 836</tt> <tt class="py-line"> <tt class="py-comment"># behavior will be to accept chain call to the corresponding</tt> </tt>
+<a name="L837"></a><tt class="py-lineno"> 837</tt> <tt class="py-line"> <tt class="py-comment"># local method.</tt> </tt>
+<a name="L838"></a><tt class="py-lineno"> 838</tt> <tt class="py-line"> <tt class="py-name">stop_chaining</tt> <tt class="py-op">=</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-181" class="py-name"><a title="pyinotify.ProcessEvent.pevent" class="py-name" href="#" onclick="return doclink('link-181', 'pevent', 'link-176');">pevent</a></tt><tt class="py-op">(</tt><tt class="py-name">event</tt><tt class="py-op">)</tt> </tt>
+<a name="L839"></a><tt class="py-lineno"> 839</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-keyword">not</tt> <tt class="py-name">stop_chaining</tt><tt class="py-op">:</tt> </tt>
+<a name="L840"></a><tt class="py-lineno"> 840</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt id="link-182" class="py-name" targets="Class pyinotify._ProcessEvent=pyinotify._ProcessEvent-class.html"><a title="pyinotify._ProcessEvent" class="py-name" href="#" onclick="return doclink('link-182', '_ProcessEvent', 'link-182');">_ProcessEvent</a></tt><tt class="py-op">.</tt><tt id="link-183" class="py-name" targets="Method pyinotify.ExcludeFilter.__call__()=pyinotify.ExcludeFilter-class.html#__call__,Method pyinotify.ProcessEvent.__call__()=pyinotify.ProcessEvent-class.html#__call__,Method pyinotify._ProcessEvent.__call__()=pyinotify._ProcessEvent-class.html#__call__"><a title="pyinotify.ExcludeFilter.__call__
+pyinotify.ProcessEvent.__call__
+pyinotify._ProcessEvent.__call__" class="py-name" href="#" onclick="return doclink('link-183', '__call__', 'link-183');">__call__</a></tt><tt class="py-op">(</tt><tt class="py-name">self</tt><tt class="py-op">,</tt> <tt class="py-name">event</tt><tt class="py-op">)</tt> </tt>
+</div><a name="L841"></a><tt class="py-lineno"> 841</tt> <tt class="py-line"> </tt>
+<a name="ProcessEvent.nested_pevent"></a><div id="ProcessEvent.nested_pevent-def"><a name="L842"></a><tt class="py-lineno"> 842</tt> <a class="py-toggle" href="#" id="ProcessEvent.nested_pevent-toggle" onclick="return toggle('ProcessEvent.nested_pevent');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="pyinotify.ProcessEvent-class.html#nested_pevent">nested_pevent</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
+</div><div id="ProcessEvent.nested_pevent-collapsed" style="display:none;" pad="++++" indent="++++++++"></div><div id="ProcessEvent.nested_pevent-expanded"><a name="L843"></a><tt class="py-lineno"> 843</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-184" class="py-name"><a title="pyinotify.ProcessEvent.pevent" class="py-name" href="#" onclick="return doclink('link-184', 'pevent', 'link-176');">pevent</a></tt> </tt>
+</div><a name="L844"></a><tt class="py-lineno"> 844</tt> <tt class="py-line"> </tt>
+<a name="ProcessEvent.process_IN_Q_OVERFLOW"></a><div id="ProcessEvent.process_IN_Q_OVERFLOW-def"><a name="L845"></a><tt class="py-lineno"> 845</tt> <a class="py-toggle" href="#" id="ProcessEvent.process_IN_Q_OVERFLOW-toggle" onclick="return toggle('ProcessEvent.process_IN_Q_OVERFLOW');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="pyinotify.ProcessEvent-class.html#process_IN_Q_OVERFLOW">process_IN_Q_OVERFLOW</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">,</tt> <tt class="py-param">event</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
+</div><div id="ProcessEvent.process_IN_Q_OVERFLOW-collapsed" style="display:none;" pad="++++" indent="++++++++"></div><div id="ProcessEvent.process_IN_Q_OVERFLOW-expanded"><a name="L846"></a><tt class="py-lineno"> 846</tt> <tt class="py-line"> <tt class="py-docstring">"""</tt> </tt>
+<a name="L847"></a><tt class="py-lineno"> 847</tt> <tt class="py-line"><tt class="py-docstring"> By default this method only reports warning messages, you can overredide</tt> </tt>
+<a name="L848"></a><tt class="py-lineno"> 848</tt> <tt class="py-line"><tt class="py-docstring"> it by subclassing ProcessEvent and implement your own</tt> </tt>
+<a name="L849"></a><tt class="py-lineno"> 849</tt> <tt class="py-line"><tt class="py-docstring"> process_IN_Q_OVERFLOW method. The actions you can take on receiving this</tt> </tt>
+<a name="L850"></a><tt class="py-lineno"> 850</tt> <tt class="py-line"><tt class="py-docstring"> event is either to update the variable max_queued_events in order to</tt> </tt>
+<a name="L851"></a><tt class="py-lineno"> 851</tt> <tt class="py-line"><tt class="py-docstring"> handle more simultaneous events or to modify your code in order to</tt> </tt>
+<a name="L852"></a><tt class="py-lineno"> 852</tt> <tt class="py-line"><tt class="py-docstring"> accomplish a better filtering diminishing the number of raised events.</tt> </tt>
+<a name="L853"></a><tt class="py-lineno"> 853</tt> <tt class="py-line"><tt class="py-docstring"> Because this method is defined, IN_Q_OVERFLOW will never get</tt> </tt>
+<a name="L854"></a><tt class="py-lineno"> 854</tt> <tt class="py-line"><tt class="py-docstring"> transmitted as arguments to process_default calls.</tt> </tt>
+<a name="L855"></a><tt class="py-lineno"> 855</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
+<a name="L856"></a><tt class="py-lineno"> 856</tt> <tt class="py-line"><tt class="py-docstring"> @param event: IN_Q_OVERFLOW event.</tt> </tt>
+<a name="L857"></a><tt class="py-lineno"> 857</tt> <tt class="py-line"><tt class="py-docstring"> @type event: dict</tt> </tt>
+<a name="L858"></a><tt class="py-lineno"> 858</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt>
+<a name="L859"></a><tt class="py-lineno"> 859</tt> <tt class="py-line"> <tt id="link-185" class="py-name"><a title="pyinotify.log" class="py-name" href="#" onclick="return doclink('link-185', 'log', 'link-27');">log</a></tt><tt class="py-op">.</tt><tt class="py-name">warning</tt><tt class="py-op">(</tt><tt class="py-string">'Event queue overflowed.'</tt><tt class="py-op">)</tt> </tt>
+</div><a name="L860"></a><tt class="py-lineno"> 860</tt> <tt class="py-line"> </tt>
+<a name="ProcessEvent.process_default"></a><div id="ProcessEvent.process_default-def"><a name="L861"></a><tt class="py-lineno"> 861</tt> <a class="py-toggle" href="#" id="ProcessEvent.process_default-toggle" onclick="return toggle('ProcessEvent.process_default');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="pyinotify.ProcessEvent-class.html#process_default">process_default</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">,</tt> <tt class="py-param">event</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
+</div><div id="ProcessEvent.process_default-collapsed" style="display:none;" pad="++++" indent="++++++++"></div><div id="ProcessEvent.process_default-expanded"><a name="L862"></a><tt class="py-lineno"> 862</tt> <tt class="py-line"> <tt class="py-docstring">"""</tt> </tt>
+<a name="L863"></a><tt class="py-lineno"> 863</tt> <tt class="py-line"><tt class="py-docstring"> Default processing event method. By default does nothing. Subclass</tt> </tt>
+<a name="L864"></a><tt class="py-lineno"> 864</tt> <tt class="py-line"><tt class="py-docstring"> ProcessEvent and redefine this method in order to modify its behavior.</tt> </tt>
+<a name="L865"></a><tt class="py-lineno"> 865</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
+<a name="L866"></a><tt class="py-lineno"> 866</tt> <tt class="py-line"><tt class="py-docstring"> @param event: Event to be processed. Can be of any type of events but</tt> </tt>
+<a name="L867"></a><tt class="py-lineno"> 867</tt> <tt class="py-line"><tt class="py-docstring"> IN_Q_OVERFLOW events (see method process_IN_Q_OVERFLOW).</tt> </tt>
+<a name="L868"></a><tt class="py-lineno"> 868</tt> <tt class="py-line"><tt class="py-docstring"> @type event: Event instance</tt> </tt>
+<a name="L869"></a><tt class="py-lineno"> 869</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt>
+<a name="L870"></a><tt class="py-lineno"> 870</tt> <tt class="py-line"> <tt class="py-keyword">pass</tt> </tt>
+</div></div><a name="L871"></a><tt class="py-lineno"> 871</tt> <tt class="py-line"> </tt>
+<a name="PrintAllEvents"></a><div id="PrintAllEvents-def"><a name="L872"></a><tt class="py-lineno"> 872</tt> <tt class="py-line"> </tt>
+<a name="L873"></a><tt class="py-lineno"> 873</tt> <a class="py-toggle" href="#" id="PrintAllEvents-toggle" onclick="return toggle('PrintAllEvents');">-</a><tt class="py-line"><tt class="py-keyword">class</tt> <a class="py-def-name" href="pyinotify.PrintAllEvents-class.html">PrintAllEvents</a><tt class="py-op">(</tt><tt class="py-base-class">ProcessEvent</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
+</div><div id="PrintAllEvents-collapsed" style="display:none;" pad="++++" indent="++++"></div><div id="PrintAllEvents-expanded"><a name="L874"></a><tt class="py-lineno"> 874</tt> <tt class="py-line"> <tt class="py-docstring">"""</tt> </tt>
+<a name="L875"></a><tt class="py-lineno"> 875</tt> <tt class="py-line"><tt class="py-docstring"> Dummy class used to print events strings representations. For instance this</tt> </tt>
+<a name="L876"></a><tt class="py-lineno"> 876</tt> <tt class="py-line"><tt class="py-docstring"> class is used from command line to print all received events to stdout.</tt> </tt>
+<a name="L877"></a><tt class="py-lineno"> 877</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt>
+<a name="PrintAllEvents.my_init"></a><div id="PrintAllEvents.my_init-def"><a name="L878"></a><tt class="py-lineno"> 878</tt> <a class="py-toggle" href="#" id="PrintAllEvents.my_init-toggle" onclick="return toggle('PrintAllEvents.my_init');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="pyinotify.PrintAllEvents-class.html#my_init">my_init</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">,</tt> <tt class="py-param">out</tt><tt class="py-op">=</tt><tt class="py-name">None</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
+</div><div id="PrintAllEvents.my_init-collapsed" style="display:none;" pad="++++" indent="++++++++"></div><div id="PrintAllEvents.my_init-expanded"><a name="L879"></a><tt class="py-lineno"> 879</tt> <tt class="py-line"> <tt class="py-docstring">"""</tt> </tt>
+<a name="L880"></a><tt class="py-lineno"> 880</tt> <tt class="py-line"><tt class="py-docstring"> @param out: Where events will be written.</tt> </tt>
+<a name="L881"></a><tt class="py-lineno"> 881</tt> <tt class="py-line"><tt class="py-docstring"> @type out: Object providing a valid file object interface.</tt> </tt>
+<a name="L882"></a><tt class="py-lineno"> 882</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt>
+<a name="L883"></a><tt class="py-lineno"> 883</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">out</tt> <tt class="py-keyword">is</tt> <tt class="py-name">None</tt><tt class="py-op">:</tt> </tt>
+<a name="L884"></a><tt class="py-lineno"> 884</tt> <tt class="py-line"> <tt class="py-name">out</tt> <tt class="py-op">=</tt> <tt class="py-name">sys</tt><tt class="py-op">.</tt><tt class="py-name">stdout</tt> </tt>
+<a name="L885"></a><tt class="py-lineno"> 885</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_out</tt> <tt class="py-op">=</tt> <tt class="py-name">out</tt> </tt>
+</div><a name="L886"></a><tt class="py-lineno"> 886</tt> <tt class="py-line"> </tt>
+<a name="PrintAllEvents.process_default"></a><div id="PrintAllEvents.process_default-def"><a name="L887"></a><tt class="py-lineno"> 887</tt> <a class="py-toggle" href="#" id="PrintAllEvents.process_default-toggle" onclick="return toggle('PrintAllEvents.process_default');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="pyinotify.PrintAllEvents-class.html#process_default">process_default</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">,</tt> <tt class="py-param">event</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
+</div><div id="PrintAllEvents.process_default-collapsed" style="display:none;" pad="++++" indent="++++++++"></div><div id="PrintAllEvents.process_default-expanded"><a name="L888"></a><tt class="py-lineno"> 888</tt> <tt class="py-line"> <tt class="py-docstring">"""</tt> </tt>
+<a name="L889"></a><tt class="py-lineno"> 889</tt> <tt class="py-line"><tt class="py-docstring"> Writes event string representation to file object provided to</tt> </tt>
+<a name="L890"></a><tt class="py-lineno"> 890</tt> <tt class="py-line"><tt class="py-docstring"> my_init().</tt> </tt>
+<a name="L891"></a><tt class="py-lineno"> 891</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
+<a name="L892"></a><tt class="py-lineno"> 892</tt> <tt class="py-line"><tt class="py-docstring"> @param event: Event to be processed. Can be of any type of events but</tt> </tt>
+<a name="L893"></a><tt class="py-lineno"> 893</tt> <tt class="py-line"><tt class="py-docstring"> IN_Q_OVERFLOW events (see method process_IN_Q_OVERFLOW).</tt> </tt>
+<a name="L894"></a><tt class="py-lineno"> 894</tt> <tt class="py-line"><tt class="py-docstring"> @type event: Event instance</tt> </tt>
+<a name="L895"></a><tt class="py-lineno"> 895</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt>
+<a name="L896"></a><tt class="py-lineno"> 896</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_out</tt><tt class="py-op">.</tt><tt class="py-name">write</tt><tt class="py-op">(</tt><tt class="py-name">str</tt><tt class="py-op">(</tt><tt class="py-name">event</tt><tt class="py-op">)</tt><tt class="py-op">)</tt> </tt>
+<a name="L897"></a><tt class="py-lineno"> 897</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_out</tt><tt class="py-op">.</tt><tt class="py-name">write</tt><tt class="py-op">(</tt><tt class="py-string">'\n'</tt><tt class="py-op">)</tt> </tt>
+<a name="L898"></a><tt class="py-lineno"> 898</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_out</tt><tt class="py-op">.</tt><tt class="py-name">flush</tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt>
+</div></div><a name="L899"></a><tt class="py-lineno"> 899</tt> <tt class="py-line"> </tt>
+<a name="ChainIfTrue"></a><div id="ChainIfTrue-def"><a name="L900"></a><tt class="py-lineno"> 900</tt> <tt class="py-line"> </tt>
+<a name="L901"></a><tt class="py-lineno"> 901</tt> <a class="py-toggle" href="#" id="ChainIfTrue-toggle" onclick="return toggle('ChainIfTrue');">-</a><tt class="py-line"><tt class="py-keyword">class</tt> <a class="py-def-name" href="pyinotify.ChainIfTrue-class.html">ChainIfTrue</a><tt class="py-op">(</tt><tt class="py-base-class">ProcessEvent</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
+</div><div id="ChainIfTrue-collapsed" style="display:none;" pad="++++" indent="++++"></div><div id="ChainIfTrue-expanded"><a name="L902"></a><tt class="py-lineno"> 902</tt> <tt class="py-line"> <tt class="py-docstring">"""</tt> </tt>
+<a name="L903"></a><tt class="py-lineno"> 903</tt> <tt class="py-line"><tt class="py-docstring"> Makes conditional chaining depending on the result of the nested</tt> </tt>
+<a name="L904"></a><tt class="py-lineno"> 904</tt> <tt class="py-line"><tt class="py-docstring"> processing instance.</tt> </tt>
+<a name="L905"></a><tt class="py-lineno"> 905</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt>
+<a name="ChainIfTrue.my_init"></a><div id="ChainIfTrue.my_init-def"><a name="L906"></a><tt class="py-lineno"> 906</tt> <a class="py-toggle" href="#" id="ChainIfTrue.my_init-toggle" onclick="return toggle('ChainIfTrue.my_init');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="pyinotify.ChainIfTrue-class.html#my_init">my_init</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">,</tt> <tt class="py-param">func</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
+</div><div id="ChainIfTrue.my_init-collapsed" style="display:none;" pad="++++" indent="++++++++"></div><div id="ChainIfTrue.my_init-expanded"><a name="L907"></a><tt class="py-lineno"> 907</tt> <tt class="py-line"> <tt class="py-docstring">"""</tt> </tt>
+<a name="L908"></a><tt class="py-lineno"> 908</tt> <tt class="py-line"><tt class="py-docstring"> Method automatically called from base class constructor.</tt> </tt>
+<a name="L909"></a><tt class="py-lineno"> 909</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt>
+<a name="L910"></a><tt class="py-lineno"> 910</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_func</tt> <tt class="py-op">=</tt> <tt class="py-name">func</tt> </tt>
+</div><a name="L911"></a><tt class="py-lineno"> 911</tt> <tt class="py-line"> </tt>
+<a name="ChainIfTrue.process_default"></a><div id="ChainIfTrue.process_default-def"><a name="L912"></a><tt class="py-lineno"> 912</tt> <a class="py-toggle" href="#" id="ChainIfTrue.process_default-toggle" onclick="return toggle('ChainIfTrue.process_default');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="pyinotify.ChainIfTrue-class.html#process_default">process_default</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">,</tt> <tt class="py-param">event</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
+</div><div id="ChainIfTrue.process_default-collapsed" style="display:none;" pad="++++" indent="++++++++"></div><div id="ChainIfTrue.process_default-expanded"><a name="L913"></a><tt class="py-lineno"> 913</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-keyword">not</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_func</tt><tt class="py-op">(</tt><tt class="py-name">event</tt><tt class="py-op">)</tt> </tt>
+</div></div><a name="L914"></a><tt class="py-lineno"> 914</tt> <tt class="py-line"> </tt>
+<a name="Stats"></a><div id="Stats-def"><a name="L915"></a><tt class="py-lineno"> 915</tt> <tt class="py-line"> </tt>
+<a name="L916"></a><tt class="py-lineno"> 916</tt> <a class="py-toggle" href="#" id="Stats-toggle" onclick="return toggle('Stats');">-</a><tt class="py-line"><tt class="py-keyword">class</tt> <a class="py-def-name" href="pyinotify.Stats-class.html">Stats</a><tt class="py-op">(</tt><tt class="py-base-class">ProcessEvent</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
+</div><div id="Stats-collapsed" style="display:none;" pad="++++" indent="++++"></div><div id="Stats-expanded"><a name="L917"></a><tt class="py-lineno"> 917</tt> <tt class="py-line"> <tt class="py-docstring">"""</tt> </tt>
+<a name="L918"></a><tt class="py-lineno"> 918</tt> <tt class="py-line"><tt class="py-docstring"> Compute and display trivial statistics about processed events.</tt> </tt>
+<a name="L919"></a><tt class="py-lineno"> 919</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt>
+<a name="Stats.my_init"></a><div id="Stats.my_init-def"><a name="L920"></a><tt class="py-lineno"> 920</tt> <a class="py-toggle" href="#" id="Stats.my_init-toggle" onclick="return toggle('Stats.my_init');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="pyinotify.Stats-class.html#my_init">my_init</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
+</div><div id="Stats.my_init-collapsed" style="display:none;" pad="++++" indent="++++++++"></div><div id="Stats.my_init-expanded"><a name="L921"></a><tt class="py-lineno"> 921</tt> <tt class="py-line"> <tt class="py-docstring">"""</tt> </tt>
+<a name="L922"></a><tt class="py-lineno"> 922</tt> <tt class="py-line"><tt class="py-docstring"> Method automatically called from base class constructor.</tt> </tt>
+<a name="L923"></a><tt class="py-lineno"> 923</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt>
+<a name="L924"></a><tt class="py-lineno"> 924</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_start_time</tt> <tt class="py-op">=</tt> <tt class="py-name">time</tt><tt class="py-op">.</tt><tt class="py-name">time</tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt>
+<a name="L925"></a><tt class="py-lineno"> 925</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_stats</tt> <tt class="py-op">=</tt> <tt class="py-op">{</tt><tt class="py-op">}</tt> </tt>
+<a name="L926"></a><tt class="py-lineno"> 926</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_stats_lock</tt> <tt class="py-op">=</tt> <tt class="py-name">threading</tt><tt class="py-op">.</tt><tt class="py-name">Lock</tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt>
+</div><a name="L927"></a><tt class="py-lineno"> 927</tt> <tt class="py-line"> </tt>
+<a name="Stats.process_default"></a><div id="Stats.process_default-def"><a name="L928"></a><tt class="py-lineno"> 928</tt> <a class="py-toggle" href="#" id="Stats.process_default-toggle" onclick="return toggle('Stats.process_default');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="pyinotify.Stats-class.html#process_default">process_default</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">,</tt> <tt class="py-param">event</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
+</div><div id="Stats.process_default-collapsed" style="display:none;" pad="++++" indent="++++++++"></div><div id="Stats.process_default-expanded"><a name="L929"></a><tt class="py-lineno"> 929</tt> <tt class="py-line"> <tt class="py-docstring">"""</tt> </tt>
+<a name="L930"></a><tt class="py-lineno"> 930</tt> <tt class="py-line"><tt class="py-docstring"> Processes |event|.</tt> </tt>
+<a name="L931"></a><tt class="py-lineno"> 931</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt>
+<a name="L932"></a><tt class="py-lineno"> 932</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_stats_lock</tt><tt class="py-op">.</tt><tt class="py-name">acquire</tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt>
+<a name="L933"></a><tt class="py-lineno"> 933</tt> <tt class="py-line"> <tt class="py-keyword">try</tt><tt class="py-op">:</tt> </tt>
+<a name="L934"></a><tt class="py-lineno"> 934</tt> <tt class="py-line"> <tt class="py-name">events</tt> <tt class="py-op">=</tt> <tt class="py-name">event</tt><tt class="py-op">.</tt><tt id="link-186" class="py-name"><a title="pyinotify.EventsCodes.maskname" class="py-name" href="#" onclick="return doclink('link-186', 'maskname', 'link-57');">maskname</a></tt><tt class="py-op">.</tt><tt class="py-name">split</tt><tt class="py-op">(</tt><tt class="py-string">'|'</tt><tt class="py-op">)</tt> </tt>
+<a name="L935"></a><tt class="py-lineno"> 935</tt> <tt class="py-line"> <tt class="py-keyword">for</tt> <tt class="py-name">event_name</tt> <tt class="py-keyword">in</tt> <tt class="py-name">events</tt><tt class="py-op">:</tt> </tt>
+<a name="L936"></a><tt class="py-lineno"> 936</tt> <tt class="py-line"> <tt class="py-name">count</tt> <tt class="py-op">=</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_stats</tt><tt class="py-op">.</tt><tt class="py-name">get</tt><tt class="py-op">(</tt><tt class="py-name">event_name</tt><tt class="py-op">,</tt> <tt class="py-number">0</tt><tt class="py-op">)</tt> </tt>
+<a name="L937"></a><tt class="py-lineno"> 937</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_stats</tt><tt class="py-op">[</tt><tt class="py-name">event_name</tt><tt class="py-op">]</tt> <tt class="py-op">=</tt> <tt class="py-name">count</tt> <tt class="py-op">+</tt> <tt class="py-number">1</tt> </tt>
+<a name="L938"></a><tt class="py-lineno"> 938</tt> <tt class="py-line"> <tt class="py-keyword">finally</tt><tt class="py-op">:</tt> </tt>
+<a name="L939"></a><tt class="py-lineno"> 939</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_stats_lock</tt><tt class="py-op">.</tt><tt class="py-name">release</tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt>
+</div><a name="L940"></a><tt class="py-lineno"> 940</tt> <tt class="py-line"> </tt>
+<a name="Stats._stats_copy"></a><div id="Stats._stats_copy-def"><a name="L941"></a><tt class="py-lineno"> 941</tt> <a class="py-toggle" href="#" id="Stats._stats_copy-toggle" onclick="return toggle('Stats._stats_copy');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="pyinotify.Stats-class.html#_stats_copy">_stats_copy</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
+</div><div id="Stats._stats_copy-collapsed" style="display:none;" pad="++++" indent="++++++++"></div><div id="Stats._stats_copy-expanded"><a name="L942"></a><tt class="py-lineno"> 942</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_stats_lock</tt><tt class="py-op">.</tt><tt class="py-name">acquire</tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt>
+<a name="L943"></a><tt class="py-lineno"> 943</tt> <tt class="py-line"> <tt class="py-keyword">try</tt><tt class="py-op">:</tt> </tt>
+<a name="L944"></a><tt class="py-lineno"> 944</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_stats</tt><tt class="py-op">.</tt><tt class="py-name">copy</tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt>
+<a name="L945"></a><tt class="py-lineno"> 945</tt> <tt class="py-line"> <tt class="py-keyword">finally</tt><tt class="py-op">:</tt> </tt>
+<a name="L946"></a><tt class="py-lineno"> 946</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_stats_lock</tt><tt class="py-op">.</tt><tt class="py-name">release</tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt>
+</div><a name="L947"></a><tt class="py-lineno"> 947</tt> <tt class="py-line"> </tt>
+<a name="Stats.__repr__"></a><div id="Stats.__repr__-def"><a name="L948"></a><tt class="py-lineno"> 948</tt> <a class="py-toggle" href="#" id="Stats.__repr__-toggle" onclick="return toggle('Stats.__repr__');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="pyinotify.Stats-class.html#__repr__">__repr__</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
+</div><div id="Stats.__repr__-collapsed" style="display:none;" pad="++++" indent="++++++++"></div><div id="Stats.__repr__-expanded"><a name="L949"></a><tt class="py-lineno"> 949</tt> <tt class="py-line"> <tt class="py-name">stats</tt> <tt class="py-op">=</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-187" class="py-name" targets="Method pyinotify.Stats._stats_copy()=pyinotify.Stats-class.html#_stats_copy"><a title="pyinotify.Stats._stats_copy" class="py-name" href="#" onclick="return doclink('link-187', '_stats_copy', 'link-187');">_stats_copy</a></tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt>
+<a name="L950"></a><tt class="py-lineno"> 950</tt> <tt class="py-line"> </tt>
+<a name="L951"></a><tt class="py-lineno"> 951</tt> <tt class="py-line"> <tt class="py-name">elapsed</tt> <tt class="py-op">=</tt> <tt class="py-name">int</tt><tt class="py-op">(</tt><tt class="py-name">time</tt><tt class="py-op">.</tt><tt class="py-name">time</tt><tt class="py-op">(</tt><tt class="py-op">)</tt> <tt class="py-op">-</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_start_time</tt><tt class="py-op">)</tt> </tt>
+<a name="L952"></a><tt class="py-lineno"> 952</tt> <tt class="py-line"> <tt class="py-name">elapsed_str</tt> <tt class="py-op">=</tt> <tt class="py-string">''</tt> </tt>
+<a name="L953"></a><tt class="py-lineno"> 953</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">elapsed</tt> <tt class="py-op">&lt;</tt> <tt class="py-number">60</tt><tt class="py-op">:</tt> </tt>
+<a name="L954"></a><tt class="py-lineno"> 954</tt> <tt class="py-line"> <tt class="py-name">elapsed_str</tt> <tt class="py-op">=</tt> <tt class="py-name">str</tt><tt class="py-op">(</tt><tt class="py-name">elapsed</tt><tt class="py-op">)</tt> <tt class="py-op">+</tt> <tt class="py-string">'sec'</tt> </tt>
+<a name="L955"></a><tt class="py-lineno"> 955</tt> <tt class="py-line"> <tt class="py-keyword">elif</tt> <tt class="py-number">60</tt> <tt class="py-op">&lt;=</tt> <tt class="py-name">elapsed</tt> <tt class="py-op">&lt;</tt> <tt class="py-number">3600</tt><tt class="py-op">:</tt> </tt>
+<a name="L956"></a><tt class="py-lineno"> 956</tt> <tt class="py-line"> <tt class="py-name">elapsed_str</tt> <tt class="py-op">=</tt> <tt class="py-string">'%dmn%dsec'</tt> <tt class="py-op">%</tt> <tt class="py-op">(</tt><tt class="py-name">elapsed</tt> <tt class="py-op">/</tt> <tt class="py-number">60</tt><tt class="py-op">,</tt> <tt class="py-name">elapsed</tt> <tt class="py-op">%</tt> <tt class="py-number">60</tt><tt class="py-op">)</tt> </tt>
+<a name="L957"></a><tt class="py-lineno"> 957</tt> <tt class="py-line"> <tt class="py-keyword">elif</tt> <tt class="py-number">3600</tt> <tt class="py-op">&lt;=</tt> <tt class="py-name">elapsed</tt> <tt class="py-op">&lt;</tt> <tt class="py-number">86400</tt><tt class="py-op">:</tt> </tt>
+<a name="L958"></a><tt class="py-lineno"> 958</tt> <tt class="py-line"> <tt class="py-name">elapsed_str</tt> <tt class="py-op">=</tt> <tt class="py-string">'%dh%dmn'</tt> <tt class="py-op">%</tt> <tt class="py-op">(</tt><tt class="py-name">elapsed</tt> <tt class="py-op">/</tt> <tt class="py-number">3600</tt><tt class="py-op">,</tt> <tt class="py-op">(</tt><tt class="py-name">elapsed</tt> <tt class="py-op">%</tt> <tt class="py-number">3600</tt><tt class="py-op">)</tt> <tt class="py-op">/</tt> <tt class="py-number">60</tt><tt class="py-op">)</tt> </tt>
+<a name="L959"></a><tt class="py-lineno"> 959</tt> <tt class="py-line"> <tt class="py-keyword">elif</tt> <tt class="py-name">elapsed</tt> <tt class="py-op">&gt;=</tt> <tt class="py-number">86400</tt><tt class="py-op">:</tt> </tt>
+<a name="L960"></a><tt class="py-lineno"> 960</tt> <tt class="py-line"> <tt class="py-name">elapsed_str</tt> <tt class="py-op">=</tt> <tt class="py-string">'%dd%dh'</tt> <tt class="py-op">%</tt> <tt class="py-op">(</tt><tt class="py-name">elapsed</tt> <tt class="py-op">/</tt> <tt class="py-number">86400</tt><tt class="py-op">,</tt> <tt class="py-op">(</tt><tt class="py-name">elapsed</tt> <tt class="py-op">%</tt> <tt class="py-number">86400</tt><tt class="py-op">)</tt> <tt class="py-op">/</tt> <tt class="py-number">3600</tt><tt class="py-op">)</tt> </tt>
+<a name="L961"></a><tt class="py-lineno"> 961</tt> <tt class="py-line"> <tt class="py-name">stats</tt><tt class="py-op">[</tt><tt class="py-string">'ElapsedTime'</tt><tt class="py-op">]</tt> <tt class="py-op">=</tt> <tt class="py-name">elapsed_str</tt> </tt>
+<a name="L962"></a><tt class="py-lineno"> 962</tt> <tt class="py-line"> </tt>
+<a name="L963"></a><tt class="py-lineno"> 963</tt> <tt class="py-line"> <tt class="py-name">l</tt> <tt class="py-op">=</tt> <tt class="py-op">[</tt><tt class="py-op">]</tt> </tt>
+<a name="L964"></a><tt class="py-lineno"> 964</tt> <tt class="py-line"> <tt class="py-keyword">for</tt> <tt class="py-name">ev</tt><tt class="py-op">,</tt> <tt id="link-188" class="py-name"><a title="pyinotify.SysCtlINotify.value" class="py-name" href="#" onclick="return doclink('link-188', 'value', 'link-39');">value</a></tt> <tt class="py-keyword">in</tt> <tt class="py-name">sorted</tt><tt class="py-op">(</tt><tt class="py-name">stats</tt><tt class="py-op">.</tt><tt class="py-name">items</tt><tt class="py-op">(</tt><tt class="py-op">)</tt><tt class="py-op">,</tt> <tt class="py-name">key</tt><tt class="py-op">=</tt><tt class="py-keyword">lambda</tt> <tt class="py-name">x</tt><tt class="py-op">:</tt> <tt class="py-name">x</tt><tt class="py-op">[</tt><tt class="py-number">0</tt><tt class="py-op">]</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
+<a name="L965"></a><tt class="py-lineno"> 965</tt> <tt class="py-line"> <tt class="py-name">l</tt><tt class="py-op">.</tt><tt class="py-name">append</tt><tt class="py-op">(</tt><tt class="py-string">' %s=%s'</tt> <tt class="py-op">%</tt> <tt class="py-op">(</tt><tt id="link-189" class="py-name"><a title="pyinotify.output_format" class="py-name" href="#" onclick="return doclink('link-189', 'output_format', 'link-96');">output_format</a></tt><tt class="py-op">.</tt><tt id="link-190" class="py-name"><a title="pyinotify.RawOutputFormat.field_name" class="py-name" href="#" onclick="return doclink('link-190', 'field_name', 'link-97');">field_name</a></tt><tt class="py-op">(</tt><tt class="py-name">ev</tt><tt class="py-op">)</tt><tt class="py-op">,</tt> </tt>
+<a name="L966"></a><tt class="py-lineno"> 966</tt> <tt class="py-line"> <tt id="link-191" class="py-name"><a title="pyinotify.output_format" class="py-name" href="#" onclick="return doclink('link-191', 'output_format', 'link-96');">output_format</a></tt><tt class="py-op">.</tt><tt id="link-192" class="py-name"><a title="pyinotify.RawOutputFormat.field_value" class="py-name" href="#" onclick="return doclink('link-192', 'field_value', 'link-101');">field_value</a></tt><tt class="py-op">(</tt><tt id="link-193" class="py-name"><a title="pyinotify.SysCtlINotify.value" class="py-name" href="#" onclick="return doclink('link-193', 'value', 'link-39');">value</a></tt><tt class="py-op">)</tt><tt class="py-op">)</tt><tt class="py-op">)</tt> </tt>
+<a name="L967"></a><tt class="py-lineno"> 967</tt> <tt class="py-line"> <tt class="py-name">s</tt> <tt class="py-op">=</tt> <tt class="py-string">'&lt;%s%s &gt;'</tt> <tt class="py-op">%</tt> <tt class="py-op">(</tt><tt id="link-194" class="py-name"><a title="pyinotify.output_format" class="py-name" href="#" onclick="return doclink('link-194', 'output_format', 'link-96');">output_format</a></tt><tt class="py-op">.</tt><tt id="link-195" class="py-name"><a title="pyinotify.RawOutputFormat.class_name" class="py-name" href="#" onclick="return doclink('link-195', 'class_name', 'link-106');">class_name</a></tt><tt class="py-op">(</tt><tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">__class__</tt><tt class="py-op">.</tt><tt class="py-name">__name__</tt><tt class="py-op">)</tt><tt class="py-op">,</tt> </tt>
+<a name="L968"></a><tt class="py-lineno"> 968</tt> <tt class="py-line"> <tt class="py-string">''</tt><tt class="py-op">.</tt><tt class="py-name">join</tt><tt class="py-op">(</tt><tt class="py-name">l</tt><tt class="py-op">)</tt><tt class="py-op">)</tt> </tt>
+<a name="L969"></a><tt class="py-lineno"> 969</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-name">s</tt> </tt>
+</div><a name="L970"></a><tt class="py-lineno"> 970</tt> <tt class="py-line"> </tt>
+<a name="Stats.dump"></a><div id="Stats.dump-def"><a name="L971"></a><tt class="py-lineno"> 971</tt> <a class="py-toggle" href="#" id="Stats.dump-toggle" onclick="return toggle('Stats.dump');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="pyinotify.Stats-class.html#dump">dump</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">,</tt> <tt class="py-param">filename</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
+</div><div id="Stats.dump-collapsed" style="display:none;" pad="++++" indent="++++++++"></div><div id="Stats.dump-expanded"><a name="L972"></a><tt class="py-lineno"> 972</tt> <tt class="py-line"> <tt class="py-docstring">"""</tt> </tt>
+<a name="L973"></a><tt class="py-lineno"> 973</tt> <tt class="py-line"><tt class="py-docstring"> Dumps statistics.</tt> </tt>
+<a name="L974"></a><tt class="py-lineno"> 974</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
+<a name="L975"></a><tt class="py-lineno"> 975</tt> <tt class="py-line"><tt class="py-docstring"> @param filename: filename where stats will be dumped, filename is</tt> </tt>
+<a name="L976"></a><tt class="py-lineno"> 976</tt> <tt class="py-line"><tt class="py-docstring"> created and must not exist prior to this call.</tt> </tt>
+<a name="L977"></a><tt class="py-lineno"> 977</tt> <tt class="py-line"><tt class="py-docstring"> @type filename: string</tt> </tt>
+<a name="L978"></a><tt class="py-lineno"> 978</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt>
+<a name="L979"></a><tt class="py-lineno"> 979</tt> <tt class="py-line"> <tt class="py-name">flags</tt> <tt class="py-op">=</tt> <tt class="py-name">os</tt><tt class="py-op">.</tt><tt class="py-name">O_WRONLY</tt><tt class="py-op">|</tt><tt class="py-name">os</tt><tt class="py-op">.</tt><tt class="py-name">O_CREAT</tt><tt class="py-op">|</tt><tt class="py-name">os</tt><tt class="py-op">.</tt><tt class="py-name">O_NOFOLLOW</tt><tt class="py-op">|</tt><tt class="py-name">os</tt><tt class="py-op">.</tt><tt class="py-name">O_EXCL</tt> </tt>
+<a name="L980"></a><tt class="py-lineno"> 980</tt> <tt class="py-line"> <tt class="py-name">fd</tt> <tt class="py-op">=</tt> <tt class="py-name">os</tt><tt class="py-op">.</tt><tt class="py-name">open</tt><tt class="py-op">(</tt><tt class="py-name">filename</tt><tt class="py-op">,</tt> <tt class="py-name">flags</tt><tt class="py-op">,</tt> <tt class="py-number">0600</tt><tt class="py-op">)</tt> </tt>
+<a name="L981"></a><tt class="py-lineno"> 981</tt> <tt class="py-line"> <tt class="py-name">os</tt><tt class="py-op">.</tt><tt class="py-name">write</tt><tt class="py-op">(</tt><tt class="py-name">fd</tt><tt class="py-op">,</tt> <tt class="py-name">str</tt><tt class="py-op">(</tt><tt class="py-name">self</tt><tt class="py-op">)</tt><tt class="py-op">)</tt> </tt>
+<a name="L982"></a><tt class="py-lineno"> 982</tt> <tt class="py-line"> <tt class="py-name">os</tt><tt class="py-op">.</tt><tt id="link-196" class="py-name" targets="Method pyinotify.WatchManager.close()=pyinotify.WatchManager-class.html#close"><a title="pyinotify.WatchManager.close" class="py-name" href="#" onclick="return doclink('link-196', 'close', 'link-196');">close</a></tt><tt class="py-op">(</tt><tt class="py-name">fd</tt><tt class="py-op">)</tt> </tt>
+</div><a name="L983"></a><tt class="py-lineno"> 983</tt> <tt class="py-line"> </tt>
+<a name="Stats.__str__"></a><div id="Stats.__str__-def"><a name="L984"></a><tt class="py-lineno"> 984</tt> <a class="py-toggle" href="#" id="Stats.__str__-toggle" onclick="return toggle('Stats.__str__');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="pyinotify.Stats-class.html#__str__">__str__</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">,</tt> <tt class="py-param">scale</tt><tt class="py-op">=</tt><tt class="py-number">45</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
+</div><div id="Stats.__str__-collapsed" style="display:none;" pad="++++" indent="++++++++"></div><div id="Stats.__str__-expanded"><a name="L985"></a><tt class="py-lineno"> 985</tt> <tt class="py-line"> <tt class="py-name">stats</tt> <tt class="py-op">=</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-197" class="py-name"><a title="pyinotify.Stats._stats_copy" class="py-name" href="#" onclick="return doclink('link-197', '_stats_copy', 'link-187');">_stats_copy</a></tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt>
+<a name="L986"></a><tt class="py-lineno"> 986</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-keyword">not</tt> <tt class="py-name">stats</tt><tt class="py-op">:</tt> </tt>
+<a name="L987"></a><tt class="py-lineno"> 987</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-string">''</tt> </tt>
+<a name="L988"></a><tt class="py-lineno"> 988</tt> <tt class="py-line"> </tt>
+<a name="L989"></a><tt class="py-lineno"> 989</tt> <tt class="py-line"> <tt class="py-name">m</tt> <tt class="py-op">=</tt> <tt class="py-name">max</tt><tt class="py-op">(</tt><tt class="py-name">stats</tt><tt class="py-op">.</tt><tt class="py-name">values</tt><tt class="py-op">(</tt><tt class="py-op">)</tt><tt class="py-op">)</tt> </tt>
+<a name="L990"></a><tt class="py-lineno"> 990</tt> <tt class="py-line"> <tt class="py-name">unity</tt> <tt class="py-op">=</tt> <tt class="py-name">float</tt><tt class="py-op">(</tt><tt class="py-name">scale</tt><tt class="py-op">)</tt> <tt class="py-op">/</tt> <tt class="py-name">m</tt> </tt>
+<a name="L991"></a><tt class="py-lineno"> 991</tt> <tt class="py-line"> <tt class="py-name">fmt</tt> <tt class="py-op">=</tt> <tt class="py-string">'%%-26s%%-%ds%%s'</tt> <tt class="py-op">%</tt> <tt class="py-op">(</tt><tt class="py-name">len</tt><tt class="py-op">(</tt><tt id="link-198" class="py-name"><a title="pyinotify.output_format" class="py-name" href="#" onclick="return doclink('link-198', 'output_format', 'link-96');">output_format</a></tt><tt class="py-op">.</tt><tt id="link-199" class="py-name"><a title="pyinotify.RawOutputFormat.field_value" class="py-name" href="#" onclick="return doclink('link-199', 'field_value', 'link-101');">field_value</a></tt><tt class="py-op">(</tt><tt class="py-string">'@'</tt> <tt class="py-op">*</tt> <tt class="py-name">scale</tt><tt class="py-op">)</tt><tt class="py-op">)</tt> </tt>
+<a name="L992"></a><tt class="py-lineno"> 992</tt> <tt class="py-line"> <tt class="py-op">+</tt> <tt class="py-number">1</tt><tt class="py-op">)</tt> </tt>
+<a name="L993"></a><tt class="py-lineno"> 993</tt> <tt class="py-line"> <tt class="py-keyword">def</tt> <tt class="py-def-name">func</tt><tt class="py-op">(</tt><tt class="py-param">x</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
+<a name="L994"></a><tt class="py-lineno"> 994</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-name">fmt</tt> <tt class="py-op">%</tt> <tt class="py-op">(</tt><tt id="link-200" class="py-name"><a title="pyinotify.output_format" class="py-name" href="#" onclick="return doclink('link-200', 'output_format', 'link-96');">output_format</a></tt><tt class="py-op">.</tt><tt id="link-201" class="py-name"><a title="pyinotify.RawOutputFormat.field_name" class="py-name" href="#" onclick="return doclink('link-201', 'field_name', 'link-97');">field_name</a></tt><tt class="py-op">(</tt><tt class="py-name">x</tt><tt class="py-op">[</tt><tt class="py-number">0</tt><tt class="py-op">]</tt><tt class="py-op">)</tt><tt class="py-op">,</tt> </tt>
+<a name="L995"></a><tt class="py-lineno"> 995</tt> <tt class="py-line"> <tt id="link-202" class="py-name"><a title="pyinotify.output_format" class="py-name" href="#" onclick="return doclink('link-202', 'output_format', 'link-96');">output_format</a></tt><tt class="py-op">.</tt><tt id="link-203" class="py-name"><a title="pyinotify.RawOutputFormat.field_value" class="py-name" href="#" onclick="return doclink('link-203', 'field_value', 'link-101');">field_value</a></tt><tt class="py-op">(</tt><tt class="py-string">'@'</tt> <tt class="py-op">*</tt> <tt class="py-name">int</tt><tt class="py-op">(</tt><tt class="py-name">x</tt><tt class="py-op">[</tt><tt class="py-number">1</tt><tt class="py-op">]</tt> <tt class="py-op">*</tt> <tt class="py-name">unity</tt><tt class="py-op">)</tt><tt class="py-op">)</tt><tt class="py-op">,</tt> </tt>
+<a name="L996"></a><tt class="py-lineno"> 996</tt> <tt class="py-line"> <tt id="link-204" class="py-name"><a title="pyinotify.output_format" class="py-name" href="#" onclick="return doclink('link-204', 'output_format', 'link-96');">output_format</a></tt><tt class="py-op">.</tt><tt id="link-205" class="py-name" targets="Method pyinotify.RawOutputFormat.simple()=pyinotify.RawOutputFormat-class.html#simple"><a title="pyinotify.RawOutputFormat.simple" class="py-name" href="#" onclick="return doclink('link-205', 'simple', 'link-205');">simple</a></tt><tt class="py-op">(</tt><tt class="py-string">'%d'</tt> <tt class="py-op">%</tt> <tt class="py-name">x</tt><tt class="py-op">[</tt><tt class="py-number">1</tt><tt class="py-op">]</tt><tt class="py-op">,</tt> <tt class="py-string">'yellow'</tt><tt class="py-op">)</tt><tt class="py-op">)</tt> </tt>
+</div><a name="L997"></a><tt class="py-lineno"> 997</tt> <tt class="py-line"> <tt class="py-name">s</tt> <tt class="py-op">=</tt> <tt class="py-string">'\n'</tt><tt class="py-op">.</tt><tt class="py-name">join</tt><tt class="py-op">(</tt><tt class="py-name">map</tt><tt class="py-op">(</tt><tt class="py-name">func</tt><tt class="py-op">,</tt> <tt class="py-name">sorted</tt><tt class="py-op">(</tt><tt class="py-name">stats</tt><tt class="py-op">.</tt><tt class="py-name">items</tt><tt class="py-op">(</tt><tt class="py-op">)</tt><tt class="py-op">,</tt> <tt class="py-name">key</tt><tt class="py-op">=</tt><tt class="py-keyword">lambda</tt> <tt class="py-name">x</tt><tt class="py-op">:</tt> <tt class="py-name">x</tt><tt class="py-op">[</tt><tt class="py-number">0</tt><tt class="py-op">]</tt><tt class="py-op">)</tt><tt class="py-op">)</tt><tt class="py-op">)</tt> </tt>
+<a name="L998"></a><tt class="py-lineno"> 998</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-name">s</tt> </tt>
+</div></div><a name="L999"></a><tt class="py-lineno"> 999</tt> <tt class="py-line"> </tt>
+<a name="NotifierError"></a><div id="NotifierError-def"><a name="L1000"></a><tt class="py-lineno">1000</tt> <tt class="py-line"> </tt>
+<a name="L1001"></a><tt class="py-lineno">1001</tt> <a class="py-toggle" href="#" id="NotifierError-toggle" onclick="return toggle('NotifierError');">-</a><tt class="py-line"><tt class="py-keyword">class</tt> <a class="py-def-name" href="pyinotify.NotifierError-class.html">NotifierError</a><tt class="py-op">(</tt><tt class="py-base-class">PyinotifyError</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
+</div><div id="NotifierError-collapsed" style="display:none;" pad="++++" indent="++++"></div><div id="NotifierError-expanded"><a name="L1002"></a><tt class="py-lineno">1002</tt> <tt class="py-line"> <tt class="py-docstring">"""</tt> </tt>
+<a name="L1003"></a><tt class="py-lineno">1003</tt> <tt class="py-line"><tt class="py-docstring"> Notifier Exception. Raised on Notifier error.</tt> </tt>
+<a name="L1004"></a><tt class="py-lineno">1004</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
+<a name="L1005"></a><tt class="py-lineno">1005</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt>
+<a name="NotifierError.__init__"></a><div id="NotifierError.__init__-def"><a name="L1006"></a><tt class="py-lineno">1006</tt> <a class="py-toggle" href="#" id="NotifierError.__init__-toggle" onclick="return toggle('NotifierError.__init__');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="pyinotify.NotifierError-class.html#__init__">__init__</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">,</tt> <tt class="py-param">err</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
+</div><div id="NotifierError.__init__-collapsed" style="display:none;" pad="++++" indent="++++++++"></div><div id="NotifierError.__init__-expanded"><a name="L1007"></a><tt class="py-lineno">1007</tt> <tt class="py-line"> <tt class="py-docstring">"""</tt> </tt>
+<a name="L1008"></a><tt class="py-lineno">1008</tt> <tt class="py-line"><tt class="py-docstring"> @param err: Exception string's description.</tt> </tt>
+<a name="L1009"></a><tt class="py-lineno">1009</tt> <tt class="py-line"><tt class="py-docstring"> @type err: string</tt> </tt>
+<a name="L1010"></a><tt class="py-lineno">1010</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt>
+<a name="L1011"></a><tt class="py-lineno">1011</tt> <tt class="py-line"> <tt id="link-206" class="py-name"><a title="pyinotify.PyinotifyError" class="py-name" href="#" onclick="return doclink('link-206', 'PyinotifyError', 'link-0');">PyinotifyError</a></tt><tt class="py-op">.</tt><tt id="link-207" class="py-name"><a title="pyinotify.AsyncNotifier.__init__
+pyinotify.ColoredOutputFormat.__init__
+pyinotify.Event.__init__
+pyinotify.ExcludeFilter.__init__
+pyinotify.Notifier.__init__
+pyinotify.NotifierError.__init__
+pyinotify.ProcessEvent.__init__
+pyinotify.ProcessEventError.__init__
+pyinotify.RawOutputFormat.__init__
+pyinotify.SysCtlINotify.__init__
+pyinotify.ThreadedNotifier.__init__
+pyinotify.UnicodeLogRecord.__init__
+pyinotify.UnsupportedLibcVersionError.__init__
+pyinotify.UnsupportedPythonVersionError.__init__
+pyinotify.Watch.__init__
+pyinotify.WatchManager.__init__
+pyinotify.WatchManagerError.__init__
+pyinotify._Event.__init__
+pyinotify._RawEvent.__init__
+pyinotify._SysProcessEvent.__init__" class="py-name" href="#" onclick="return doclink('link-207', '__init__', 'link-1');">__init__</a></tt><tt class="py-op">(</tt><tt class="py-name">self</tt><tt class="py-op">,</tt> <tt class="py-name">err</tt><tt class="py-op">)</tt> </tt>
+</div></div><a name="L1012"></a><tt class="py-lineno">1012</tt> <tt class="py-line"> </tt>
+<a name="Notifier"></a><div id="Notifier-def"><a name="L1013"></a><tt class="py-lineno">1013</tt> <tt class="py-line"> </tt>
+<a name="L1014"></a><tt class="py-lineno">1014</tt> <a class="py-toggle" href="#" id="Notifier-toggle" onclick="return toggle('Notifier');">-</a><tt class="py-line"><tt class="py-keyword">class</tt> <a class="py-def-name" href="pyinotify.Notifier-class.html">Notifier</a><tt class="py-op">:</tt> </tt>
+</div><div id="Notifier-collapsed" style="display:none;" pad="++++" indent="++++"></div><div id="Notifier-expanded"><a name="L1015"></a><tt class="py-lineno">1015</tt> <tt class="py-line"> <tt class="py-docstring">"""</tt> </tt>
+<a name="L1016"></a><tt class="py-lineno">1016</tt> <tt class="py-line"><tt class="py-docstring"> Read notifications, process events.</tt> </tt>
+<a name="L1017"></a><tt class="py-lineno">1017</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
+<a name="L1018"></a><tt class="py-lineno">1018</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt>
+<a name="Notifier.__init__"></a><div id="Notifier.__init__-def"><a name="L1019"></a><tt class="py-lineno">1019</tt> <a class="py-toggle" href="#" id="Notifier.__init__-toggle" onclick="return toggle('Notifier.__init__');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="pyinotify.Notifier-class.html#__init__">__init__</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">,</tt> <tt class="py-param">watch_manager</tt><tt class="py-op">,</tt> <tt class="py-param">default_proc_fun</tt><tt class="py-op">=</tt><tt class="py-name">None</tt><tt class="py-op">,</tt> <tt class="py-param">read_freq</tt><tt class="py-op">=</tt><tt class="py-number">0</tt><tt class="py-op">,</tt> </tt>
+<a name="L1020"></a><tt class="py-lineno">1020</tt> <tt class="py-line"> <tt class="py-param">threshold</tt><tt class="py-op">=</tt><tt class="py-number">0</tt><tt class="py-op">,</tt> <tt class="py-param">timeout</tt><tt class="py-op">=</tt><tt class="py-name">None</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
+</div><div id="Notifier.__init__-collapsed" style="display:none;" pad="++++" indent="++++++++"></div><div id="Notifier.__init__-expanded"><a name="L1021"></a><tt class="py-lineno">1021</tt> <tt class="py-line"> <tt class="py-docstring">"""</tt> </tt>
+<a name="L1022"></a><tt class="py-lineno">1022</tt> <tt class="py-line"><tt class="py-docstring"> Initialization. read_freq, threshold and timeout parameters are used</tt> </tt>
+<a name="L1023"></a><tt class="py-lineno">1023</tt> <tt class="py-line"><tt class="py-docstring"> when looping.</tt> </tt>
+<a name="L1024"></a><tt class="py-lineno">1024</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
+<a name="L1025"></a><tt class="py-lineno">1025</tt> <tt class="py-line"><tt class="py-docstring"> @param watch_manager: Watch Manager.</tt> </tt>
+<a name="L1026"></a><tt class="py-lineno">1026</tt> <tt class="py-line"><tt class="py-docstring"> @type watch_manager: WatchManager instance</tt> </tt>
+<a name="L1027"></a><tt class="py-lineno">1027</tt> <tt class="py-line"><tt class="py-docstring"> @param default_proc_fun: Default processing method. If None, a new</tt> </tt>
+<a name="L1028"></a><tt class="py-lineno">1028</tt> <tt class="py-line"><tt class="py-docstring"> instance of PrintAllEvents will be assigned.</tt> </tt>
+<a name="L1029"></a><tt class="py-lineno">1029</tt> <tt class="py-line"><tt class="py-docstring"> @type default_proc_fun: instance of ProcessEvent</tt> </tt>
+<a name="L1030"></a><tt class="py-lineno">1030</tt> <tt class="py-line"><tt class="py-docstring"> @param read_freq: if read_freq == 0, events are read asap,</tt> </tt>
+<a name="L1031"></a><tt class="py-lineno">1031</tt> <tt class="py-line"><tt class="py-docstring"> if read_freq is &gt; 0, this thread sleeps</tt> </tt>
+<a name="L1032"></a><tt class="py-lineno">1032</tt> <tt class="py-line"><tt class="py-docstring"> max(0, read_freq - timeout) seconds. But if</tt> </tt>
+<a name="L1033"></a><tt class="py-lineno">1033</tt> <tt class="py-line"><tt class="py-docstring"> timeout is None it may be different because</tt> </tt>
+<a name="L1034"></a><tt class="py-lineno">1034</tt> <tt class="py-line"><tt class="py-docstring"> poll is blocking waiting for something to read.</tt> </tt>
+<a name="L1035"></a><tt class="py-lineno">1035</tt> <tt class="py-line"><tt class="py-docstring"> @type read_freq: int</tt> </tt>
+<a name="L1036"></a><tt class="py-lineno">1036</tt> <tt class="py-line"><tt class="py-docstring"> @param threshold: File descriptor will be read only if the accumulated</tt> </tt>
+<a name="L1037"></a><tt class="py-lineno">1037</tt> <tt class="py-line"><tt class="py-docstring"> size to read becomes &gt;= threshold. If != 0, you likely</tt> </tt>
+<a name="L1038"></a><tt class="py-lineno">1038</tt> <tt class="py-line"><tt class="py-docstring"> want to use it in combination with an appropriate</tt> </tt>
+<a name="L1039"></a><tt class="py-lineno">1039</tt> <tt class="py-line"><tt class="py-docstring"> value for read_freq because without that you would</tt> </tt>
+<a name="L1040"></a><tt class="py-lineno">1040</tt> <tt class="py-line"><tt class="py-docstring"> keep looping without really reading anything and that</tt> </tt>
+<a name="L1041"></a><tt class="py-lineno">1041</tt> <tt class="py-line"><tt class="py-docstring"> until the amount of events to read is &gt;= threshold.</tt> </tt>
+<a name="L1042"></a><tt class="py-lineno">1042</tt> <tt class="py-line"><tt class="py-docstring"> At least with read_freq set you might sleep.</tt> </tt>
+<a name="L1043"></a><tt class="py-lineno">1043</tt> <tt class="py-line"><tt class="py-docstring"> @type threshold: int</tt> </tt>
+<a name="L1044"></a><tt class="py-lineno">1044</tt> <tt class="py-line"><tt class="py-docstring"> @param timeout:</tt> </tt>
+<a name="L1045"></a><tt class="py-lineno">1045</tt> <tt class="py-line"><tt class="py-docstring"> http://docs.python.org/lib/poll-objects.html#poll-objects</tt> </tt>
+<a name="L1046"></a><tt class="py-lineno">1046</tt> <tt class="py-line"><tt class="py-docstring"> @type timeout: int</tt> </tt>
+<a name="L1047"></a><tt class="py-lineno">1047</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt>
+<a name="L1048"></a><tt class="py-lineno">1048</tt> <tt class="py-line"> <tt class="py-comment"># Watch Manager instance</tt> </tt>
+<a name="L1049"></a><tt class="py-lineno">1049</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_watch_manager</tt> <tt class="py-op">=</tt> <tt class="py-name">watch_manager</tt> </tt>
+<a name="L1050"></a><tt class="py-lineno">1050</tt> <tt class="py-line"> <tt class="py-comment"># File descriptor</tt> </tt>
+<a name="L1051"></a><tt class="py-lineno">1051</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_fd</tt> <tt class="py-op">=</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_watch_manager</tt><tt class="py-op">.</tt><tt id="link-208" class="py-name" targets="Method pyinotify.WatchManager.get_fd()=pyinotify.WatchManager-class.html#get_fd"><a title="pyinotify.WatchManager.get_fd" class="py-name" href="#" onclick="return doclink('link-208', 'get_fd', 'link-208');">get_fd</a></tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt>
+<a name="L1052"></a><tt class="py-lineno">1052</tt> <tt class="py-line"> <tt class="py-comment"># Poll object and registration</tt> </tt>
+<a name="L1053"></a><tt class="py-lineno">1053</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_pollobj</tt> <tt class="py-op">=</tt> <tt class="py-name">select</tt><tt class="py-op">.</tt><tt class="py-name">poll</tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt>
+<a name="L1054"></a><tt class="py-lineno">1054</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_pollobj</tt><tt class="py-op">.</tt><tt class="py-name">register</tt><tt class="py-op">(</tt><tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_fd</tt><tt class="py-op">,</tt> <tt class="py-name">select</tt><tt class="py-op">.</tt><tt class="py-name">POLLIN</tt><tt class="py-op">)</tt> </tt>
+<a name="L1055"></a><tt class="py-lineno">1055</tt> <tt class="py-line"> <tt class="py-comment"># This pipe is correctely initialized and used by ThreadedNotifier</tt> </tt>
+<a name="L1056"></a><tt class="py-lineno">1056</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_pipe</tt> <tt class="py-op">=</tt> <tt class="py-op">(</tt><tt class="py-op">-</tt><tt class="py-number">1</tt><tt class="py-op">,</tt> <tt class="py-op">-</tt><tt class="py-number">1</tt><tt class="py-op">)</tt> </tt>
+<a name="L1057"></a><tt class="py-lineno">1057</tt> <tt class="py-line"> <tt class="py-comment"># Event queue</tt> </tt>
+<a name="L1058"></a><tt class="py-lineno">1058</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_eventq</tt> <tt class="py-op">=</tt> <tt class="py-name">deque</tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt>
+<a name="L1059"></a><tt class="py-lineno">1059</tt> <tt class="py-line"> <tt class="py-comment"># System processing functor, common to all events</tt> </tt>
+<a name="L1060"></a><tt class="py-lineno">1060</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_sys_proc_fun</tt> <tt class="py-op">=</tt> <tt id="link-209" class="py-name" targets="Class pyinotify._SysProcessEvent=pyinotify._SysProcessEvent-class.html"><a title="pyinotify._SysProcessEvent" class="py-name" href="#" onclick="return doclink('link-209', '_SysProcessEvent', 'link-209');">_SysProcessEvent</a></tt><tt class="py-op">(</tt><tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_watch_manager</tt><tt class="py-op">,</tt> <tt class="py-name">self</tt><tt class="py-op">)</tt> </tt>
+<a name="L1061"></a><tt class="py-lineno">1061</tt> <tt class="py-line"> <tt class="py-comment"># Default processing method</tt> </tt>
+<a name="L1062"></a><tt class="py-lineno">1062</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_default_proc_fun</tt> <tt class="py-op">=</tt> <tt class="py-name">default_proc_fun</tt> </tt>
+<a name="L1063"></a><tt class="py-lineno">1063</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">default_proc_fun</tt> <tt class="py-keyword">is</tt> <tt class="py-name">None</tt><tt class="py-op">:</tt> </tt>
+<a name="L1064"></a><tt class="py-lineno">1064</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_default_proc_fun</tt> <tt class="py-op">=</tt> <tt id="link-210" class="py-name" targets="Class pyinotify.PrintAllEvents=pyinotify.PrintAllEvents-class.html"><a title="pyinotify.PrintAllEvents" class="py-name" href="#" onclick="return doclink('link-210', 'PrintAllEvents', 'link-210');">PrintAllEvents</a></tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt>
+<a name="L1065"></a><tt class="py-lineno">1065</tt> <tt class="py-line"> <tt class="py-comment"># Loop parameters</tt> </tt>
+<a name="L1066"></a><tt class="py-lineno">1066</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_read_freq</tt> <tt class="py-op">=</tt> <tt class="py-name">read_freq</tt> </tt>
+<a name="L1067"></a><tt class="py-lineno">1067</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_threshold</tt> <tt class="py-op">=</tt> <tt class="py-name">threshold</tt> </tt>
+<a name="L1068"></a><tt class="py-lineno">1068</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_timeout</tt> <tt class="py-op">=</tt> <tt class="py-name">timeout</tt> </tt>
+<a name="L1069"></a><tt class="py-lineno">1069</tt> <tt class="py-line"> <tt class="py-comment"># Coalesce events option</tt> </tt>
+<a name="L1070"></a><tt class="py-lineno">1070</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_coalesce</tt> <tt class="py-op">=</tt> <tt class="py-name">False</tt> </tt>
+<a name="L1071"></a><tt class="py-lineno">1071</tt> <tt class="py-line"> <tt class="py-comment"># set of str(raw_event), only used when coalesce option is True</tt> </tt>
+<a name="L1072"></a><tt class="py-lineno">1072</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_eventset</tt> <tt class="py-op">=</tt> <tt class="py-name">set</tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt>
+</div><a name="L1073"></a><tt class="py-lineno">1073</tt> <tt class="py-line"> </tt>
+<a name="Notifier.append_event"></a><div id="Notifier.append_event-def"><a name="L1074"></a><tt class="py-lineno">1074</tt> <a class="py-toggle" href="#" id="Notifier.append_event-toggle" onclick="return toggle('Notifier.append_event');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="pyinotify.Notifier-class.html#append_event">append_event</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">,</tt> <tt class="py-param">event</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
+</div><div id="Notifier.append_event-collapsed" style="display:none;" pad="++++" indent="++++++++"></div><div id="Notifier.append_event-expanded"><a name="L1075"></a><tt class="py-lineno">1075</tt> <tt class="py-line"> <tt class="py-docstring">"""</tt> </tt>
+<a name="L1076"></a><tt class="py-lineno">1076</tt> <tt class="py-line"><tt class="py-docstring"> Append a raw event to the event queue.</tt> </tt>
+<a name="L1077"></a><tt class="py-lineno">1077</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
+<a name="L1078"></a><tt class="py-lineno">1078</tt> <tt class="py-line"><tt class="py-docstring"> @param event: An event.</tt> </tt>
+<a name="L1079"></a><tt class="py-lineno">1079</tt> <tt class="py-line"><tt class="py-docstring"> @type event: _RawEvent instance.</tt> </tt>
+<a name="L1080"></a><tt class="py-lineno">1080</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt>
+<a name="L1081"></a><tt class="py-lineno">1081</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_eventq</tt><tt class="py-op">.</tt><tt class="py-name">append</tt><tt class="py-op">(</tt><tt class="py-name">event</tt><tt class="py-op">)</tt> </tt>
+</div><a name="L1082"></a><tt class="py-lineno">1082</tt> <tt class="py-line"> </tt>
+<a name="Notifier.proc_fun"></a><div id="Notifier.proc_fun-def"><a name="L1083"></a><tt class="py-lineno">1083</tt> <a class="py-toggle" href="#" id="Notifier.proc_fun-toggle" onclick="return toggle('Notifier.proc_fun');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="pyinotify.Notifier-class.html#proc_fun">proc_fun</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
+</div><div id="Notifier.proc_fun-collapsed" style="display:none;" pad="++++" indent="++++++++"></div><div id="Notifier.proc_fun-expanded"><a name="L1084"></a><tt class="py-lineno">1084</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_default_proc_fun</tt> </tt>
+</div><a name="L1085"></a><tt class="py-lineno">1085</tt> <tt class="py-line"> </tt>
+<a name="Notifier.coalesce_events"></a><div id="Notifier.coalesce_events-def"><a name="L1086"></a><tt class="py-lineno">1086</tt> <a class="py-toggle" href="#" id="Notifier.coalesce_events-toggle" onclick="return toggle('Notifier.coalesce_events');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="pyinotify.Notifier-class.html#coalesce_events">coalesce_events</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">,</tt> <tt class="py-param">coalesce</tt><tt class="py-op">=</tt><tt class="py-name">True</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
+</div><div id="Notifier.coalesce_events-collapsed" style="display:none;" pad="++++" indent="++++++++"></div><div id="Notifier.coalesce_events-expanded"><a name="L1087"></a><tt class="py-lineno">1087</tt> <tt class="py-line"> <tt class="py-docstring">"""</tt> </tt>
+<a name="L1088"></a><tt class="py-lineno">1088</tt> <tt class="py-line"><tt class="py-docstring"> Coalescing events. Events are usually processed by batchs, their size</tt> </tt>
+<a name="L1089"></a><tt class="py-lineno">1089</tt> <tt class="py-line"><tt class="py-docstring"> depend on various factors. Thus, before processing them, events received</tt> </tt>
+<a name="L1090"></a><tt class="py-lineno">1090</tt> <tt class="py-line"><tt class="py-docstring"> from inotify are aggregated in a fifo queue. If this coalescing</tt> </tt>
+<a name="L1091"></a><tt class="py-lineno">1091</tt> <tt class="py-line"><tt class="py-docstring"> option is enabled events are filtered based on their unicity, only</tt> </tt>
+<a name="L1092"></a><tt class="py-lineno">1092</tt> <tt class="py-line"><tt class="py-docstring"> unique events are enqueued, doublons are discarded. An event is unique</tt> </tt>
+<a name="L1093"></a><tt class="py-lineno">1093</tt> <tt class="py-line"><tt class="py-docstring"> when the combination of its fields (wd, mask, cookie, name) is unique</tt> </tt>
+<a name="L1094"></a><tt class="py-lineno">1094</tt> <tt class="py-line"><tt class="py-docstring"> among events of a same batch. After a batch of events is processed any</tt> </tt>
+<a name="L1095"></a><tt class="py-lineno">1095</tt> <tt class="py-line"><tt class="py-docstring"> events is accepted again. By default this option is disabled, you have</tt> </tt>
+<a name="L1096"></a><tt class="py-lineno">1096</tt> <tt class="py-line"><tt class="py-docstring"> to explictly call this function to turn it on.</tt> </tt>
+<a name="L1097"></a><tt class="py-lineno">1097</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
+<a name="L1098"></a><tt class="py-lineno">1098</tt> <tt class="py-line"><tt class="py-docstring"> @param coalesce: Optional new coalescing value. True by default.</tt> </tt>
+<a name="L1099"></a><tt class="py-lineno">1099</tt> <tt class="py-line"><tt class="py-docstring"> @type coalesce: Bool</tt> </tt>
+<a name="L1100"></a><tt class="py-lineno">1100</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt>
+<a name="L1101"></a><tt class="py-lineno">1101</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_coalesce</tt> <tt class="py-op">=</tt> <tt class="py-name">coalesce</tt> </tt>
+<a name="L1102"></a><tt class="py-lineno">1102</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-keyword">not</tt> <tt class="py-name">coalesce</tt><tt class="py-op">:</tt> </tt>
+<a name="L1103"></a><tt class="py-lineno">1103</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_eventset</tt><tt class="py-op">.</tt><tt class="py-name">clear</tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt>
+</div><a name="L1104"></a><tt class="py-lineno">1104</tt> <tt class="py-line"> </tt>
+<a name="Notifier.check_events"></a><div id="Notifier.check_events-def"><a name="L1105"></a><tt class="py-lineno">1105</tt> <a class="py-toggle" href="#" id="Notifier.check_events-toggle" onclick="return toggle('Notifier.check_events');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="pyinotify.Notifier-class.html#check_events">check_events</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">,</tt> <tt class="py-param">timeout</tt><tt class="py-op">=</tt><tt class="py-name">None</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
+</div><div id="Notifier.check_events-collapsed" style="display:none;" pad="++++" indent="++++++++"></div><div id="Notifier.check_events-expanded"><a name="L1106"></a><tt class="py-lineno">1106</tt> <tt class="py-line"> <tt class="py-docstring">"""</tt> </tt>
+<a name="L1107"></a><tt class="py-lineno">1107</tt> <tt class="py-line"><tt class="py-docstring"> Check for new events available to read, blocks up to timeout</tt> </tt>
+<a name="L1108"></a><tt class="py-lineno">1108</tt> <tt class="py-line"><tt class="py-docstring"> milliseconds.</tt> </tt>
+<a name="L1109"></a><tt class="py-lineno">1109</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
+<a name="L1110"></a><tt class="py-lineno">1110</tt> <tt class="py-line"><tt class="py-docstring"> @param timeout: If specified it overrides the corresponding instance</tt> </tt>
+<a name="L1111"></a><tt class="py-lineno">1111</tt> <tt class="py-line"><tt class="py-docstring"> attribute _timeout.</tt> </tt>
+<a name="L1112"></a><tt class="py-lineno">1112</tt> <tt class="py-line"><tt class="py-docstring"> @type timeout: int</tt> </tt>
+<a name="L1113"></a><tt class="py-lineno">1113</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
+<a name="L1114"></a><tt class="py-lineno">1114</tt> <tt class="py-line"><tt class="py-docstring"> @return: New events to read.</tt> </tt>
+<a name="L1115"></a><tt class="py-lineno">1115</tt> <tt class="py-line"><tt class="py-docstring"> @rtype: bool</tt> </tt>
+<a name="L1116"></a><tt class="py-lineno">1116</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt>
+<a name="L1117"></a><tt class="py-lineno">1117</tt> <tt class="py-line"> <tt class="py-keyword">while</tt> <tt class="py-name">True</tt><tt class="py-op">:</tt> </tt>
+<a name="L1118"></a><tt class="py-lineno">1118</tt> <tt class="py-line"> <tt class="py-keyword">try</tt><tt class="py-op">:</tt> </tt>
+<a name="L1119"></a><tt class="py-lineno">1119</tt> <tt class="py-line"> <tt class="py-comment"># blocks up to 'timeout' milliseconds</tt> </tt>
+<a name="L1120"></a><tt class="py-lineno">1120</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">timeout</tt> <tt class="py-keyword">is</tt> <tt class="py-name">None</tt><tt class="py-op">:</tt> </tt>
+<a name="L1121"></a><tt class="py-lineno">1121</tt> <tt class="py-line"> <tt class="py-name">timeout</tt> <tt class="py-op">=</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_timeout</tt> </tt>
+<a name="L1122"></a><tt class="py-lineno">1122</tt> <tt class="py-line"> <tt class="py-name">ret</tt> <tt class="py-op">=</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_pollobj</tt><tt class="py-op">.</tt><tt class="py-name">poll</tt><tt class="py-op">(</tt><tt class="py-name">timeout</tt><tt class="py-op">)</tt> </tt>
+<a name="L1123"></a><tt class="py-lineno">1123</tt> <tt class="py-line"> <tt class="py-keyword">except</tt> <tt class="py-name">select</tt><tt class="py-op">.</tt><tt class="py-name">error</tt><tt class="py-op">,</tt> <tt class="py-name">err</tt><tt class="py-op">:</tt> </tt>
+<a name="L1124"></a><tt class="py-lineno">1124</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">err</tt><tt class="py-op">[</tt><tt class="py-number">0</tt><tt class="py-op">]</tt> <tt class="py-op">==</tt> <tt class="py-name">errno</tt><tt class="py-op">.</tt><tt class="py-name">EINTR</tt><tt class="py-op">:</tt> </tt>
+<a name="L1125"></a><tt class="py-lineno">1125</tt> <tt class="py-line"> <tt class="py-keyword">continue</tt> <tt class="py-comment"># interrupted, retry</tt> </tt>
+<a name="L1126"></a><tt class="py-lineno">1126</tt> <tt class="py-line"> <tt class="py-keyword">else</tt><tt class="py-op">:</tt> </tt>
+<a name="L1127"></a><tt class="py-lineno">1127</tt> <tt class="py-line"> <tt class="py-keyword">raise</tt> </tt>
+<a name="L1128"></a><tt class="py-lineno">1128</tt> <tt class="py-line"> <tt class="py-keyword">else</tt><tt class="py-op">:</tt> </tt>
+<a name="L1129"></a><tt class="py-lineno">1129</tt> <tt class="py-line"> <tt class="py-keyword">break</tt> </tt>
+<a name="L1130"></a><tt class="py-lineno">1130</tt> <tt class="py-line"> </tt>
+<a name="L1131"></a><tt class="py-lineno">1131</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-keyword">not</tt> <tt class="py-name">ret</tt> <tt class="py-keyword">or</tt> <tt class="py-op">(</tt><tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_pipe</tt><tt class="py-op">[</tt><tt class="py-number">0</tt><tt class="py-op">]</tt> <tt class="py-op">==</tt> <tt class="py-name">ret</tt><tt class="py-op">[</tt><tt class="py-number">0</tt><tt class="py-op">]</tt><tt class="py-op">[</tt><tt class="py-number">0</tt><tt class="py-op">]</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
+<a name="L1132"></a><tt class="py-lineno">1132</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-name">False</tt> </tt>
+<a name="L1133"></a><tt class="py-lineno">1133</tt> <tt class="py-line"> <tt class="py-comment"># only one fd is polled</tt> </tt>
+<a name="L1134"></a><tt class="py-lineno">1134</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-name">ret</tt><tt class="py-op">[</tt><tt class="py-number">0</tt><tt class="py-op">]</tt><tt class="py-op">[</tt><tt class="py-number">1</tt><tt class="py-op">]</tt> <tt class="py-op">&amp;</tt> <tt class="py-name">select</tt><tt class="py-op">.</tt><tt class="py-name">POLLIN</tt> </tt>
+</div><a name="L1135"></a><tt class="py-lineno">1135</tt> <tt class="py-line"> </tt>
+<a name="Notifier.read_events"></a><div id="Notifier.read_events-def"><a name="L1136"></a><tt class="py-lineno">1136</tt> <a class="py-toggle" href="#" id="Notifier.read_events-toggle" onclick="return toggle('Notifier.read_events');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="pyinotify.Notifier-class.html#read_events">read_events</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
+</div><div id="Notifier.read_events-collapsed" style="display:none;" pad="++++" indent="++++++++"></div><div id="Notifier.read_events-expanded"><a name="L1137"></a><tt class="py-lineno">1137</tt> <tt class="py-line"> <tt class="py-docstring">"""</tt> </tt>
+<a name="L1138"></a><tt class="py-lineno">1138</tt> <tt class="py-line"><tt class="py-docstring"> Read events from device, build _RawEvents, and enqueue them.</tt> </tt>
+<a name="L1139"></a><tt class="py-lineno">1139</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt>
+<a name="L1140"></a><tt class="py-lineno">1140</tt> <tt class="py-line"> <tt class="py-name">buf_</tt> <tt class="py-op">=</tt> <tt class="py-name">array</tt><tt class="py-op">.</tt><tt class="py-name">array</tt><tt class="py-op">(</tt><tt class="py-string">'i'</tt><tt class="py-op">,</tt> <tt class="py-op">[</tt><tt class="py-number">0</tt><tt class="py-op">]</tt><tt class="py-op">)</tt> </tt>
+<a name="L1141"></a><tt class="py-lineno">1141</tt> <tt class="py-line"> <tt class="py-comment"># get event queue size</tt> </tt>
+<a name="L1142"></a><tt class="py-lineno">1142</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">fcntl</tt><tt class="py-op">.</tt><tt class="py-name">ioctl</tt><tt class="py-op">(</tt><tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_fd</tt><tt class="py-op">,</tt> <tt class="py-name">termios</tt><tt class="py-op">.</tt><tt class="py-name">FIONREAD</tt><tt class="py-op">,</tt> <tt class="py-name">buf_</tt><tt class="py-op">,</tt> <tt class="py-number">1</tt><tt class="py-op">)</tt> <tt class="py-op">==</tt> <tt class="py-op">-</tt><tt class="py-number">1</tt><tt class="py-op">:</tt> </tt>
+<a name="L1143"></a><tt class="py-lineno">1143</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> </tt>
+<a name="L1144"></a><tt class="py-lineno">1144</tt> <tt class="py-line"> <tt class="py-name">queue_size</tt> <tt class="py-op">=</tt> <tt class="py-name">buf_</tt><tt class="py-op">[</tt><tt class="py-number">0</tt><tt class="py-op">]</tt> </tt>
+<a name="L1145"></a><tt class="py-lineno">1145</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">queue_size</tt> <tt class="py-op">&lt;</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_threshold</tt><tt class="py-op">:</tt> </tt>
+<a name="L1146"></a><tt class="py-lineno">1146</tt> <tt class="py-line"> <tt id="link-211" class="py-name"><a title="pyinotify.log" class="py-name" href="#" onclick="return doclink('link-211', 'log', 'link-27');">log</a></tt><tt class="py-op">.</tt><tt class="py-name">debug</tt><tt class="py-op">(</tt><tt class="py-string">'(fd: %d) %d bytes available to read but threshold is '</tt> </tt>
+<a name="L1147"></a><tt class="py-lineno">1147</tt> <tt class="py-line"> <tt class="py-string">'fixed to %d bytes'</tt><tt class="py-op">,</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_fd</tt><tt class="py-op">,</tt> <tt class="py-name">queue_size</tt><tt class="py-op">,</tt> </tt>
+<a name="L1148"></a><tt class="py-lineno">1148</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_threshold</tt><tt class="py-op">)</tt> </tt>
+<a name="L1149"></a><tt class="py-lineno">1149</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> </tt>
+<a name="L1150"></a><tt class="py-lineno">1150</tt> <tt class="py-line"> </tt>
+<a name="L1151"></a><tt class="py-lineno">1151</tt> <tt class="py-line"> <tt class="py-keyword">try</tt><tt class="py-op">:</tt> </tt>
+<a name="L1152"></a><tt class="py-lineno">1152</tt> <tt class="py-line"> <tt class="py-comment"># Read content from file</tt> </tt>
+<a name="L1153"></a><tt class="py-lineno">1153</tt> <tt class="py-line"> <tt class="py-name">r</tt> <tt class="py-op">=</tt> <tt class="py-name">os</tt><tt class="py-op">.</tt><tt class="py-name">read</tt><tt class="py-op">(</tt><tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_fd</tt><tt class="py-op">,</tt> <tt class="py-name">queue_size</tt><tt class="py-op">)</tt> </tt>
+<a name="L1154"></a><tt class="py-lineno">1154</tt> <tt class="py-line"> <tt class="py-keyword">except</tt> <tt class="py-name">Exception</tt><tt class="py-op">,</tt> <tt class="py-name">msg</tt><tt class="py-op">:</tt> </tt>
+<a name="L1155"></a><tt class="py-lineno">1155</tt> <tt class="py-line"> <tt class="py-keyword">raise</tt> <tt id="link-212" class="py-name" targets="Class pyinotify.NotifierError=pyinotify.NotifierError-class.html"><a title="pyinotify.NotifierError" class="py-name" href="#" onclick="return doclink('link-212', 'NotifierError', 'link-212');">NotifierError</a></tt><tt class="py-op">(</tt><tt class="py-name">msg</tt><tt class="py-op">)</tt> </tt>
+<a name="L1156"></a><tt class="py-lineno">1156</tt> <tt class="py-line"> <tt id="link-213" class="py-name"><a title="pyinotify.log" class="py-name" href="#" onclick="return doclink('link-213', 'log', 'link-27');">log</a></tt><tt class="py-op">.</tt><tt class="py-name">debug</tt><tt class="py-op">(</tt><tt class="py-string">'Event queue size: %d'</tt><tt class="py-op">,</tt> <tt class="py-name">queue_size</tt><tt class="py-op">)</tt> </tt>
+<a name="L1157"></a><tt class="py-lineno">1157</tt> <tt class="py-line"> <tt class="py-name">rsum</tt> <tt class="py-op">=</tt> <tt class="py-number">0</tt> <tt class="py-comment"># counter</tt> </tt>
+<a name="L1158"></a><tt class="py-lineno">1158</tt> <tt class="py-line"> <tt class="py-keyword">while</tt> <tt class="py-name">rsum</tt> <tt class="py-op">&lt;</tt> <tt class="py-name">queue_size</tt><tt class="py-op">:</tt> </tt>
+<a name="L1159"></a><tt class="py-lineno">1159</tt> <tt class="py-line"> <tt class="py-name">s_size</tt> <tt class="py-op">=</tt> <tt class="py-number">16</tt> </tt>
+<a name="L1160"></a><tt class="py-lineno">1160</tt> <tt class="py-line"> <tt class="py-comment"># Retrieve wd, mask, cookie and fname_len</tt> </tt>
+<a name="L1161"></a><tt class="py-lineno">1161</tt> <tt class="py-line"> <tt class="py-name">wd</tt><tt class="py-op">,</tt> <tt class="py-name">mask</tt><tt class="py-op">,</tt> <tt class="py-name">cookie</tt><tt class="py-op">,</tt> <tt class="py-name">fname_len</tt> <tt class="py-op">=</tt> <tt class="py-name">struct</tt><tt class="py-op">.</tt><tt class="py-name">unpack</tt><tt class="py-op">(</tt><tt class="py-string">'iIII'</tt><tt class="py-op">,</tt> </tt>
+<a name="L1162"></a><tt class="py-lineno">1162</tt> <tt class="py-line"> <tt class="py-name">r</tt><tt class="py-op">[</tt><tt class="py-name">rsum</tt><tt class="py-op">:</tt><tt class="py-name">rsum</tt><tt class="py-op">+</tt><tt class="py-name">s_size</tt><tt class="py-op">]</tt><tt class="py-op">)</tt> </tt>
+<a name="L1163"></a><tt class="py-lineno">1163</tt> <tt class="py-line"> <tt class="py-comment"># Retrieve name</tt> </tt>
+<a name="L1164"></a><tt class="py-lineno">1164</tt> <tt class="py-line"> <tt class="py-name">fname</tt><tt class="py-op">,</tt> <tt class="py-op">=</tt> <tt class="py-name">struct</tt><tt class="py-op">.</tt><tt class="py-name">unpack</tt><tt class="py-op">(</tt><tt class="py-string">'%ds'</tt> <tt class="py-op">%</tt> <tt class="py-name">fname_len</tt><tt class="py-op">,</tt> </tt>
+<a name="L1165"></a><tt class="py-lineno">1165</tt> <tt class="py-line"> <tt class="py-name">r</tt><tt class="py-op">[</tt><tt class="py-name">rsum</tt> <tt class="py-op">+</tt> <tt class="py-name">s_size</tt><tt class="py-op">:</tt><tt class="py-name">rsum</tt> <tt class="py-op">+</tt> <tt class="py-name">s_size</tt> <tt class="py-op">+</tt> <tt class="py-name">fname_len</tt><tt class="py-op">]</tt><tt class="py-op">)</tt> </tt>
+<a name="L1166"></a><tt class="py-lineno">1166</tt> <tt class="py-line"> <tt class="py-name">rawevent</tt> <tt class="py-op">=</tt> <tt id="link-214" class="py-name"><a title="pyinotify._RawEvent" class="py-name" href="#" onclick="return doclink('link-214', '_RawEvent', 'link-146');">_RawEvent</a></tt><tt class="py-op">(</tt><tt class="py-name">wd</tt><tt class="py-op">,</tt> <tt class="py-name">mask</tt><tt class="py-op">,</tt> <tt class="py-name">cookie</tt><tt class="py-op">,</tt> <tt class="py-name">fname</tt><tt class="py-op">)</tt> </tt>
+<a name="L1167"></a><tt class="py-lineno">1167</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_coalesce</tt><tt class="py-op">:</tt> </tt>
+<a name="L1168"></a><tt class="py-lineno">1168</tt> <tt class="py-line"> <tt class="py-comment"># Only enqueue new (unique) events.</tt> </tt>
+<a name="L1169"></a><tt class="py-lineno">1169</tt> <tt class="py-line"> <tt class="py-name">raweventstr</tt> <tt class="py-op">=</tt> <tt class="py-name">str</tt><tt class="py-op">(</tt><tt class="py-name">rawevent</tt><tt class="py-op">)</tt> </tt>
+<a name="L1170"></a><tt class="py-lineno">1170</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">raweventstr</tt> <tt class="py-keyword">not</tt> <tt class="py-keyword">in</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_eventset</tt><tt class="py-op">:</tt> </tt>
+<a name="L1171"></a><tt class="py-lineno">1171</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_eventset</tt><tt class="py-op">.</tt><tt class="py-name">add</tt><tt class="py-op">(</tt><tt class="py-name">raweventstr</tt><tt class="py-op">)</tt> </tt>
+<a name="L1172"></a><tt class="py-lineno">1172</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_eventq</tt><tt class="py-op">.</tt><tt class="py-name">append</tt><tt class="py-op">(</tt><tt class="py-name">rawevent</tt><tt class="py-op">)</tt> </tt>
+<a name="L1173"></a><tt class="py-lineno">1173</tt> <tt class="py-line"> <tt class="py-keyword">else</tt><tt class="py-op">:</tt> </tt>
+<a name="L1174"></a><tt class="py-lineno">1174</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_eventq</tt><tt class="py-op">.</tt><tt class="py-name">append</tt><tt class="py-op">(</tt><tt class="py-name">rawevent</tt><tt class="py-op">)</tt> </tt>
+<a name="L1175"></a><tt class="py-lineno">1175</tt> <tt class="py-line"> <tt class="py-name">rsum</tt> <tt class="py-op">+=</tt> <tt class="py-name">s_size</tt> <tt class="py-op">+</tt> <tt class="py-name">fname_len</tt> </tt>
+</div><a name="L1176"></a><tt class="py-lineno">1176</tt> <tt class="py-line"> </tt>
+<a name="Notifier.process_events"></a><div id="Notifier.process_events-def"><a name="L1177"></a><tt class="py-lineno">1177</tt> <a class="py-toggle" href="#" id="Notifier.process_events-toggle" onclick="return toggle('Notifier.process_events');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="pyinotify.Notifier-class.html#process_events">process_events</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
+</div><div id="Notifier.process_events-collapsed" style="display:none;" pad="++++" indent="++++++++"></div><div id="Notifier.process_events-expanded"><a name="L1178"></a><tt class="py-lineno">1178</tt> <tt class="py-line"> <tt class="py-docstring">"""</tt> </tt>
+<a name="L1179"></a><tt class="py-lineno">1179</tt> <tt class="py-line"><tt class="py-docstring"> Routine for processing events from queue by calling their</tt> </tt>
+<a name="L1180"></a><tt class="py-lineno">1180</tt> <tt class="py-line"><tt class="py-docstring"> associated proccessing method (an instance of ProcessEvent).</tt> </tt>
+<a name="L1181"></a><tt class="py-lineno">1181</tt> <tt class="py-line"><tt class="py-docstring"> It also does internal processings, to keep the system updated.</tt> </tt>
+<a name="L1182"></a><tt class="py-lineno">1182</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt>
+<a name="L1183"></a><tt class="py-lineno">1183</tt> <tt class="py-line"> <tt class="py-keyword">while</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_eventq</tt><tt class="py-op">:</tt> </tt>
+<a name="L1184"></a><tt class="py-lineno">1184</tt> <tt class="py-line"> <tt class="py-name">raw_event</tt> <tt class="py-op">=</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_eventq</tt><tt class="py-op">.</tt><tt class="py-name">popleft</tt><tt class="py-op">(</tt><tt class="py-op">)</tt> <tt class="py-comment"># pop next event</tt> </tt>
+<a name="L1185"></a><tt class="py-lineno">1185</tt> <tt class="py-line"> <tt class="py-name">watch_</tt> <tt class="py-op">=</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_watch_manager</tt><tt class="py-op">.</tt><tt id="link-215" class="py-name"><a title="pyinotify.WatchManager.get_watch" class="py-name" href="#" onclick="return doclink('link-215', 'get_watch', 'link-138');">get_watch</a></tt><tt class="py-op">(</tt><tt class="py-name">raw_event</tt><tt class="py-op">.</tt><tt class="py-name">wd</tt><tt class="py-op">)</tt> </tt>
+<a name="L1186"></a><tt class="py-lineno">1186</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">watch_</tt> <tt class="py-keyword">is</tt> <tt class="py-name">None</tt><tt class="py-op">:</tt> </tt>
+<a name="L1187"></a><tt class="py-lineno">1187</tt> <tt class="py-line"> <tt class="py-comment"># Not really sure how we ended up here, nor how we should</tt> </tt>
+<a name="L1188"></a><tt class="py-lineno">1188</tt> <tt class="py-line"> <tt class="py-comment"># handle these types of events and if it is appropriate to</tt> </tt>
+<a name="L1189"></a><tt class="py-lineno">1189</tt> <tt class="py-line"> <tt class="py-comment"># completly skip them (like we are doing here).</tt> </tt>
+<a name="L1190"></a><tt class="py-lineno">1190</tt> <tt class="py-line"> <tt id="link-216" class="py-name"><a title="pyinotify.log" class="py-name" href="#" onclick="return doclink('link-216', 'log', 'link-27');">log</a></tt><tt class="py-op">.</tt><tt class="py-name">warning</tt><tt class="py-op">(</tt><tt class="py-string">"Unable to retrieve Watch object associated to %s"</tt><tt class="py-op">,</tt> </tt>
+<a name="L1191"></a><tt class="py-lineno">1191</tt> <tt class="py-line"> <tt class="py-name">repr</tt><tt class="py-op">(</tt><tt class="py-name">raw_event</tt><tt class="py-op">)</tt><tt class="py-op">)</tt> </tt>
+<a name="L1192"></a><tt class="py-lineno">1192</tt> <tt class="py-line"> <tt class="py-keyword">continue</tt> </tt>
+<a name="L1193"></a><tt class="py-lineno">1193</tt> <tt class="py-line"> <tt class="py-name">revent</tt> <tt class="py-op">=</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_sys_proc_fun</tt><tt class="py-op">(</tt><tt class="py-name">raw_event</tt><tt class="py-op">)</tt> <tt class="py-comment"># system processings</tt> </tt>
+<a name="L1194"></a><tt class="py-lineno">1194</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">watch_</tt> <tt class="py-keyword">and</tt> <tt class="py-name">watch_</tt><tt class="py-op">.</tt><tt id="link-217" class="py-name"><a title="pyinotify.Notifier.proc_fun" class="py-name" href="#" onclick="return doclink('link-217', 'proc_fun', 'link-141');">proc_fun</a></tt><tt class="py-op">:</tt> </tt>
+<a name="L1195"></a><tt class="py-lineno">1195</tt> <tt class="py-line"> <tt class="py-name">watch_</tt><tt class="py-op">.</tt><tt id="link-218" class="py-name"><a title="pyinotify.Notifier.proc_fun" class="py-name" href="#" onclick="return doclink('link-218', 'proc_fun', 'link-141');">proc_fun</a></tt><tt class="py-op">(</tt><tt class="py-name">revent</tt><tt class="py-op">)</tt> <tt class="py-comment"># user processings</tt> </tt>
+<a name="L1196"></a><tt class="py-lineno">1196</tt> <tt class="py-line"> <tt class="py-keyword">else</tt><tt class="py-op">:</tt> </tt>
+<a name="L1197"></a><tt class="py-lineno">1197</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_default_proc_fun</tt><tt class="py-op">(</tt><tt class="py-name">revent</tt><tt class="py-op">)</tt> </tt>
+<a name="L1198"></a><tt class="py-lineno">1198</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_sys_proc_fun</tt><tt class="py-op">.</tt><tt id="link-219" class="py-name" targets="Method pyinotify._SysProcessEvent.cleanup()=pyinotify._SysProcessEvent-class.html#cleanup"><a title="pyinotify._SysProcessEvent.cleanup" class="py-name" href="#" onclick="return doclink('link-219', 'cleanup', 'link-219');">cleanup</a></tt><tt class="py-op">(</tt><tt class="py-op">)</tt> <tt class="py-comment"># remove olds MOVED_* events records</tt> </tt>
+<a name="L1199"></a><tt class="py-lineno">1199</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_coalesce</tt><tt class="py-op">:</tt> </tt>
+<a name="L1200"></a><tt class="py-lineno">1200</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_eventset</tt><tt class="py-op">.</tt><tt class="py-name">clear</tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt>
+</div><a name="L1201"></a><tt class="py-lineno">1201</tt> <tt class="py-line"> </tt>
+<a name="Notifier.__daemonize"></a><div id="Notifier.__daemonize-def"><a name="L1202"></a><tt class="py-lineno">1202</tt> <a class="py-toggle" href="#" id="Notifier.__daemonize-toggle" onclick="return toggle('Notifier.__daemonize');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="pyinotify.Notifier-class.html#__daemonize">__daemonize</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">,</tt> <tt class="py-param">pid_file</tt><tt class="py-op">=</tt><tt class="py-name">None</tt><tt class="py-op">,</tt> <tt class="py-param">stdin</tt><tt class="py-op">=</tt><tt class="py-name">os</tt><tt class="py-op">.</tt><tt class="py-name">devnull</tt><tt class="py-op">,</tt> <tt class="py-param">stdout</tt><tt class="py-op">=</tt><tt class="py-name">os</tt><tt class="py-op">.</tt><tt class="py-name">devnull</tt><tt class="py-op">,</tt> </tt>
+<a name="L1203"></a><tt class="py-lineno">1203</tt> <tt class="py-line"> <tt class="py-param">stderr</tt><tt class="py-op">=</tt><tt class="py-name">os</tt><tt class="py-op">.</tt><tt class="py-name">devnull</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
+</div><div id="Notifier.__daemonize-collapsed" style="display:none;" pad="++++" indent="++++++++"></div><div id="Notifier.__daemonize-expanded"><a name="L1204"></a><tt class="py-lineno">1204</tt> <tt class="py-line"> <tt class="py-docstring">"""</tt> </tt>
+<a name="L1205"></a><tt class="py-lineno">1205</tt> <tt class="py-line"><tt class="py-docstring"> pid_file: file where the pid will be written. If pid_file=None the pid</tt> </tt>
+<a name="L1206"></a><tt class="py-lineno">1206</tt> <tt class="py-line"><tt class="py-docstring"> is written to /var/run/&lt;sys.argv[0]|pyinotify&gt;.pid, if </tt> </tt>
+<a name="L1207"></a><tt class="py-lineno">1207</tt> <tt class="py-line"><tt class="py-docstring"> pid_file=False no pid_file is written.</tt> </tt>
+<a name="L1208"></a><tt class="py-lineno">1208</tt> <tt class="py-line"><tt class="py-docstring"> stdin, stdout, stderr: files associated to common streams.</tt> </tt>
+<a name="L1209"></a><tt class="py-lineno">1209</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt>
+<a name="L1210"></a><tt class="py-lineno">1210</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">pid_file</tt> <tt class="py-keyword">is</tt> <tt class="py-name">None</tt><tt class="py-op">:</tt> </tt>
+<a name="L1211"></a><tt class="py-lineno">1211</tt> <tt class="py-line"> <tt class="py-name">dirname</tt> <tt class="py-op">=</tt> <tt class="py-string">'/var/run/'</tt> </tt>
+<a name="L1212"></a><tt class="py-lineno">1212</tt> <tt class="py-line"> <tt class="py-name">basename</tt> <tt class="py-op">=</tt> <tt class="py-name">os</tt><tt class="py-op">.</tt><tt class="py-name">path</tt><tt class="py-op">.</tt><tt class="py-name">basename</tt><tt class="py-op">(</tt><tt class="py-name">sys</tt><tt class="py-op">.</tt><tt class="py-name">argv</tt><tt class="py-op">[</tt><tt class="py-number">0</tt><tt class="py-op">]</tt><tt class="py-op">)</tt> <tt class="py-keyword">or</tt> <tt class="py-string">'pyinotify'</tt> </tt>
+<a name="L1213"></a><tt class="py-lineno">1213</tt> <tt class="py-line"> <tt class="py-name">pid_file</tt> <tt class="py-op">=</tt> <tt class="py-name">os</tt><tt class="py-op">.</tt><tt class="py-name">path</tt><tt class="py-op">.</tt><tt class="py-name">join</tt><tt class="py-op">(</tt><tt class="py-name">dirname</tt><tt class="py-op">,</tt> <tt class="py-name">basename</tt> <tt class="py-op">+</tt> <tt class="py-string">'.pid'</tt><tt class="py-op">)</tt> </tt>
+<a name="L1214"></a><tt class="py-lineno">1214</tt> <tt class="py-line"> </tt>
+<a name="L1215"></a><tt class="py-lineno">1215</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">pid_file</tt> <tt class="py-op">!=</tt> <tt class="py-name">False</tt> <tt class="py-keyword">and</tt> <tt class="py-name">os</tt><tt class="py-op">.</tt><tt class="py-name">path</tt><tt class="py-op">.</tt><tt class="py-name">lexists</tt><tt class="py-op">(</tt><tt class="py-name">pid_file</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
+<a name="L1216"></a><tt class="py-lineno">1216</tt> <tt class="py-line"> <tt class="py-name">err</tt> <tt class="py-op">=</tt> <tt class="py-string">'Cannot daemonize: pid file %s already exists.'</tt> <tt class="py-op">%</tt> <tt class="py-name">pid_file</tt> </tt>
+<a name="L1217"></a><tt class="py-lineno">1217</tt> <tt class="py-line"> <tt class="py-keyword">raise</tt> <tt id="link-220" class="py-name"><a title="pyinotify.NotifierError" class="py-name" href="#" onclick="return doclink('link-220', 'NotifierError', 'link-212');">NotifierError</a></tt><tt class="py-op">(</tt><tt class="py-name">err</tt><tt class="py-op">)</tt> </tt>
+<a name="L1218"></a><tt class="py-lineno">1218</tt> <tt class="py-line"> </tt>
+<a name="L1219"></a><tt class="py-lineno">1219</tt> <tt class="py-line"> <tt class="py-keyword">def</tt> <tt class="py-def-name">fork_daemon</tt><tt class="py-op">(</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
+<a name="L1220"></a><tt class="py-lineno">1220</tt> <tt class="py-line"> <tt class="py-comment"># Adapted from Chad J. Schroeder's recipe</tt> </tt>
+<a name="L1221"></a><tt class="py-lineno">1221</tt> <tt class="py-line"> <tt class="py-comment"># @see http://code.activestate.com/recipes/278731/</tt> </tt>
+<a name="L1222"></a><tt class="py-lineno">1222</tt> <tt class="py-line"> <tt class="py-name">pid</tt> <tt class="py-op">=</tt> <tt class="py-name">os</tt><tt class="py-op">.</tt><tt class="py-name">fork</tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt>
+<a name="L1223"></a><tt class="py-lineno">1223</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-op">(</tt><tt class="py-name">pid</tt> <tt class="py-op">==</tt> <tt class="py-number">0</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
+<a name="L1224"></a><tt class="py-lineno">1224</tt> <tt class="py-line"> <tt class="py-comment"># parent 2</tt> </tt>
+<a name="L1225"></a><tt class="py-lineno">1225</tt> <tt class="py-line"> <tt class="py-name">os</tt><tt class="py-op">.</tt><tt class="py-name">setsid</tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt>
+<a name="L1226"></a><tt class="py-lineno">1226</tt> <tt class="py-line"> <tt class="py-name">pid</tt> <tt class="py-op">=</tt> <tt class="py-name">os</tt><tt class="py-op">.</tt><tt class="py-name">fork</tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt>
+<a name="L1227"></a><tt class="py-lineno">1227</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-op">(</tt><tt class="py-name">pid</tt> <tt class="py-op">==</tt> <tt class="py-number">0</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
+<a name="L1228"></a><tt class="py-lineno">1228</tt> <tt class="py-line"> <tt class="py-comment"># child</tt> </tt>
+<a name="L1229"></a><tt class="py-lineno">1229</tt> <tt class="py-line"> <tt class="py-name">os</tt><tt class="py-op">.</tt><tt class="py-name">chdir</tt><tt class="py-op">(</tt><tt class="py-string">'/'</tt><tt class="py-op">)</tt> </tt>
+<a name="L1230"></a><tt class="py-lineno">1230</tt> <tt class="py-line"> <tt class="py-name">os</tt><tt class="py-op">.</tt><tt class="py-name">umask</tt><tt class="py-op">(</tt><tt class="py-number">022</tt><tt class="py-op">)</tt> </tt>
+<a name="L1231"></a><tt class="py-lineno">1231</tt> <tt class="py-line"> <tt class="py-keyword">else</tt><tt class="py-op">:</tt> </tt>
+<a name="L1232"></a><tt class="py-lineno">1232</tt> <tt class="py-line"> <tt class="py-comment"># parent 2</tt> </tt>
+<a name="L1233"></a><tt class="py-lineno">1233</tt> <tt class="py-line"> <tt class="py-name">os</tt><tt class="py-op">.</tt><tt class="py-name">_exit</tt><tt class="py-op">(</tt><tt class="py-number">0</tt><tt class="py-op">)</tt> </tt>
+<a name="L1234"></a><tt class="py-lineno">1234</tt> <tt class="py-line"> <tt class="py-keyword">else</tt><tt class="py-op">:</tt> </tt>
+<a name="L1235"></a><tt class="py-lineno">1235</tt> <tt class="py-line"> <tt class="py-comment"># parent 1</tt> </tt>
+<a name="L1236"></a><tt class="py-lineno">1236</tt> <tt class="py-line"> <tt class="py-name">os</tt><tt class="py-op">.</tt><tt class="py-name">_exit</tt><tt class="py-op">(</tt><tt class="py-number">0</tt><tt class="py-op">)</tt> </tt>
+<a name="L1237"></a><tt class="py-lineno">1237</tt> <tt class="py-line"> </tt>
+<a name="L1238"></a><tt class="py-lineno">1238</tt> <tt class="py-line"> <tt class="py-name">fd_inp</tt> <tt class="py-op">=</tt> <tt class="py-name">os</tt><tt class="py-op">.</tt><tt class="py-name">open</tt><tt class="py-op">(</tt><tt class="py-name">stdin</tt><tt class="py-op">,</tt> <tt class="py-name">os</tt><tt class="py-op">.</tt><tt class="py-name">O_RDONLY</tt><tt class="py-op">)</tt> </tt>
+<a name="L1239"></a><tt class="py-lineno">1239</tt> <tt class="py-line"> <tt class="py-name">os</tt><tt class="py-op">.</tt><tt class="py-name">dup2</tt><tt class="py-op">(</tt><tt class="py-name">fd_inp</tt><tt class="py-op">,</tt> <tt class="py-number">0</tt><tt class="py-op">)</tt> </tt>
+<a name="L1240"></a><tt class="py-lineno">1240</tt> <tt class="py-line"> <tt class="py-name">fd_out</tt> <tt class="py-op">=</tt> <tt class="py-name">os</tt><tt class="py-op">.</tt><tt class="py-name">open</tt><tt class="py-op">(</tt><tt class="py-name">stdout</tt><tt class="py-op">,</tt> <tt class="py-name">os</tt><tt class="py-op">.</tt><tt class="py-name">O_WRONLY</tt><tt class="py-op">|</tt><tt class="py-name">os</tt><tt class="py-op">.</tt><tt class="py-name">O_CREAT</tt><tt class="py-op">,</tt> <tt class="py-number">0600</tt><tt class="py-op">)</tt> </tt>
+<a name="L1241"></a><tt class="py-lineno">1241</tt> <tt class="py-line"> <tt class="py-name">os</tt><tt class="py-op">.</tt><tt class="py-name">dup2</tt><tt class="py-op">(</tt><tt class="py-name">fd_out</tt><tt class="py-op">,</tt> <tt class="py-number">1</tt><tt class="py-op">)</tt> </tt>
+<a name="L1242"></a><tt class="py-lineno">1242</tt> <tt class="py-line"> <tt class="py-name">fd_err</tt> <tt class="py-op">=</tt> <tt class="py-name">os</tt><tt class="py-op">.</tt><tt class="py-name">open</tt><tt class="py-op">(</tt><tt class="py-name">stderr</tt><tt class="py-op">,</tt> <tt class="py-name">os</tt><tt class="py-op">.</tt><tt class="py-name">O_WRONLY</tt><tt class="py-op">|</tt><tt class="py-name">os</tt><tt class="py-op">.</tt><tt class="py-name">O_CREAT</tt><tt class="py-op">,</tt> <tt class="py-number">0600</tt><tt class="py-op">)</tt> </tt>
+<a name="L1243"></a><tt class="py-lineno">1243</tt> <tt class="py-line"> <tt class="py-name">os</tt><tt class="py-op">.</tt><tt class="py-name">dup2</tt><tt class="py-op">(</tt><tt class="py-name">fd_err</tt><tt class="py-op">,</tt> <tt class="py-number">2</tt><tt class="py-op">)</tt> </tt>
+</div><a name="L1244"></a><tt class="py-lineno">1244</tt> <tt class="py-line"> </tt>
+<a name="L1245"></a><tt class="py-lineno">1245</tt> <tt class="py-line"> <tt class="py-comment"># Detach task</tt> </tt>
+<a name="L1246"></a><tt class="py-lineno">1246</tt> <tt class="py-line"> <tt class="py-name">fork_daemon</tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt>
+<a name="L1247"></a><tt class="py-lineno">1247</tt> <tt class="py-line"> </tt>
+<a name="L1248"></a><tt class="py-lineno">1248</tt> <tt class="py-line"> <tt class="py-comment"># Write pid</tt> </tt>
+<a name="L1249"></a><tt class="py-lineno">1249</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">pid_file</tt> <tt class="py-op">!=</tt> <tt class="py-name">False</tt><tt class="py-op">:</tt> </tt>
+<a name="L1250"></a><tt class="py-lineno">1250</tt> <tt class="py-line"> <tt class="py-name">flags</tt> <tt class="py-op">=</tt> <tt class="py-name">os</tt><tt class="py-op">.</tt><tt class="py-name">O_WRONLY</tt><tt class="py-op">|</tt><tt class="py-name">os</tt><tt class="py-op">.</tt><tt class="py-name">O_CREAT</tt><tt class="py-op">|</tt><tt class="py-name">os</tt><tt class="py-op">.</tt><tt class="py-name">O_NOFOLLOW</tt><tt class="py-op">|</tt><tt class="py-name">os</tt><tt class="py-op">.</tt><tt class="py-name">O_EXCL</tt> </tt>
+<a name="L1251"></a><tt class="py-lineno">1251</tt> <tt class="py-line"> <tt class="py-name">fd_pid</tt> <tt class="py-op">=</tt> <tt class="py-name">os</tt><tt class="py-op">.</tt><tt class="py-name">open</tt><tt class="py-op">(</tt><tt class="py-name">pid_file</tt><tt class="py-op">,</tt> <tt class="py-name">flags</tt><tt class="py-op">,</tt> <tt class="py-number">0600</tt><tt class="py-op">)</tt> </tt>
+<a name="L1252"></a><tt class="py-lineno">1252</tt> <tt class="py-line"> <tt class="py-name">os</tt><tt class="py-op">.</tt><tt class="py-name">write</tt><tt class="py-op">(</tt><tt class="py-name">fd_pid</tt><tt class="py-op">,</tt> <tt class="py-name">str</tt><tt class="py-op">(</tt><tt class="py-name">os</tt><tt class="py-op">.</tt><tt class="py-name">getpid</tt><tt class="py-op">(</tt><tt class="py-op">)</tt><tt class="py-op">)</tt> <tt class="py-op">+</tt> <tt class="py-string">'\n'</tt><tt class="py-op">)</tt> </tt>
+<a name="L1253"></a><tt class="py-lineno">1253</tt> <tt class="py-line"> <tt class="py-name">os</tt><tt class="py-op">.</tt><tt id="link-221" class="py-name"><a title="pyinotify.WatchManager.close" class="py-name" href="#" onclick="return doclink('link-221', 'close', 'link-196');">close</a></tt><tt class="py-op">(</tt><tt class="py-name">fd_pid</tt><tt class="py-op">)</tt> </tt>
+<a name="L1254"></a><tt class="py-lineno">1254</tt> <tt class="py-line"> <tt class="py-comment"># Register unlink function</tt> </tt>
+<a name="L1255"></a><tt class="py-lineno">1255</tt> <tt class="py-line"> <tt class="py-name">atexit</tt><tt class="py-op">.</tt><tt class="py-name">register</tt><tt class="py-op">(</tt><tt class="py-keyword">lambda</tt> <tt class="py-op">:</tt> <tt class="py-name">os</tt><tt class="py-op">.</tt><tt class="py-name">unlink</tt><tt class="py-op">(</tt><tt class="py-name">pid_file</tt><tt class="py-op">)</tt><tt class="py-op">)</tt> </tt>
+</div><a name="L1256"></a><tt class="py-lineno">1256</tt> <tt class="py-line"> </tt>
+<a name="L1257"></a><tt class="py-lineno">1257</tt> <tt class="py-line"> </tt>
+<a name="Notifier._sleep"></a><div id="Notifier._sleep-def"><a name="L1258"></a><tt class="py-lineno">1258</tt> <a class="py-toggle" href="#" id="Notifier._sleep-toggle" onclick="return toggle('Notifier._sleep');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="pyinotify.Notifier-class.html#_sleep">_sleep</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">,</tt> <tt class="py-param">ref_time</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
+</div><div id="Notifier._sleep-collapsed" style="display:none;" pad="++++" indent="++++++++"></div><div id="Notifier._sleep-expanded"><a name="L1259"></a><tt class="py-lineno">1259</tt> <tt class="py-line"> <tt class="py-comment"># Only consider sleeping if read_freq is &gt; 0</tt> </tt>
+<a name="L1260"></a><tt class="py-lineno">1260</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_read_freq</tt> <tt class="py-op">&gt;</tt> <tt class="py-number">0</tt><tt class="py-op">:</tt> </tt>
+<a name="L1261"></a><tt class="py-lineno">1261</tt> <tt class="py-line"> <tt class="py-name">cur_time</tt> <tt class="py-op">=</tt> <tt class="py-name">time</tt><tt class="py-op">.</tt><tt class="py-name">time</tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt>
+<a name="L1262"></a><tt class="py-lineno">1262</tt> <tt class="py-line"> <tt class="py-name">sleep_amount</tt> <tt class="py-op">=</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_read_freq</tt> <tt class="py-op">-</tt> <tt class="py-op">(</tt><tt class="py-name">cur_time</tt> <tt class="py-op">-</tt> <tt class="py-name">ref_time</tt><tt class="py-op">)</tt> </tt>
+<a name="L1263"></a><tt class="py-lineno">1263</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">sleep_amount</tt> <tt class="py-op">&gt;</tt> <tt class="py-number">0</tt><tt class="py-op">:</tt> </tt>
+<a name="L1264"></a><tt class="py-lineno">1264</tt> <tt class="py-line"> <tt id="link-222" class="py-name"><a title="pyinotify.log" class="py-name" href="#" onclick="return doclink('link-222', 'log', 'link-27');">log</a></tt><tt class="py-op">.</tt><tt class="py-name">debug</tt><tt class="py-op">(</tt><tt class="py-string">'Now sleeping %d seconds'</tt><tt class="py-op">,</tt> <tt class="py-name">sleep_amount</tt><tt class="py-op">)</tt> </tt>
+<a name="L1265"></a><tt class="py-lineno">1265</tt> <tt class="py-line"> <tt class="py-name">time</tt><tt class="py-op">.</tt><tt class="py-name">sleep</tt><tt class="py-op">(</tt><tt class="py-name">sleep_amount</tt><tt class="py-op">)</tt> </tt>
+</div><a name="L1266"></a><tt class="py-lineno">1266</tt> <tt class="py-line"> </tt>
+<a name="L1267"></a><tt class="py-lineno">1267</tt> <tt class="py-line"> </tt>
+<a name="Notifier.loop"></a><div id="Notifier.loop-def"><a name="L1268"></a><tt class="py-lineno">1268</tt> <a class="py-toggle" href="#" id="Notifier.loop-toggle" onclick="return toggle('Notifier.loop');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="pyinotify.Notifier-class.html#loop">loop</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">,</tt> <tt class="py-param">callback</tt><tt class="py-op">=</tt><tt class="py-name">None</tt><tt class="py-op">,</tt> <tt class="py-param">daemonize</tt><tt class="py-op">=</tt><tt class="py-name">False</tt><tt class="py-op">,</tt> <tt class="py-op">**</tt><tt class="py-param">args</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
+</div><div id="Notifier.loop-collapsed" style="display:none;" pad="++++" indent="++++++++"></div><div id="Notifier.loop-expanded"><a name="L1269"></a><tt class="py-lineno">1269</tt> <tt class="py-line"> <tt class="py-docstring">"""</tt> </tt>
+<a name="L1270"></a><tt class="py-lineno">1270</tt> <tt class="py-line"><tt class="py-docstring"> Events are read only one time every min(read_freq, timeout)</tt> </tt>
+<a name="L1271"></a><tt class="py-lineno">1271</tt> <tt class="py-line"><tt class="py-docstring"> seconds at best and only if the size to read is &gt;= threshold.</tt> </tt>
+<a name="L1272"></a><tt class="py-lineno">1272</tt> <tt class="py-line"><tt class="py-docstring"> After this method returns it must not be called again for the same</tt> </tt>
+<a name="L1273"></a><tt class="py-lineno">1273</tt> <tt class="py-line"><tt class="py-docstring"> instance.</tt> </tt>
+<a name="L1274"></a><tt class="py-lineno">1274</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
+<a name="L1275"></a><tt class="py-lineno">1275</tt> <tt class="py-line"><tt class="py-docstring"> @param callback: Functor called after each event processing iteration.</tt> </tt>
+<a name="L1276"></a><tt class="py-lineno">1276</tt> <tt class="py-line"><tt class="py-docstring"> Expects to receive the notifier object (self) as first</tt> </tt>
+<a name="L1277"></a><tt class="py-lineno">1277</tt> <tt class="py-line"><tt class="py-docstring"> parameter. If this function returns True the loop is</tt> </tt>
+<a name="L1278"></a><tt class="py-lineno">1278</tt> <tt class="py-line"><tt class="py-docstring"> immediately terminated otherwise the loop method keeps</tt> </tt>
+<a name="L1279"></a><tt class="py-lineno">1279</tt> <tt class="py-line"><tt class="py-docstring"> looping.</tt> </tt>
+<a name="L1280"></a><tt class="py-lineno">1280</tt> <tt class="py-line"><tt class="py-docstring"> @type callback: callable object or function</tt> </tt>
+<a name="L1281"></a><tt class="py-lineno">1281</tt> <tt class="py-line"><tt class="py-docstring"> @param daemonize: This thread is daemonized if set to True.</tt> </tt>
+<a name="L1282"></a><tt class="py-lineno">1282</tt> <tt class="py-line"><tt class="py-docstring"> @type daemonize: boolean</tt> </tt>
+<a name="L1283"></a><tt class="py-lineno">1283</tt> <tt class="py-line"><tt class="py-docstring"> @param args: Optional and relevant only if daemonize is True. Remaining</tt> </tt>
+<a name="L1284"></a><tt class="py-lineno">1284</tt> <tt class="py-line"><tt class="py-docstring"> keyworded arguments are directly passed to daemonize see</tt> </tt>
+<a name="L1285"></a><tt class="py-lineno">1285</tt> <tt class="py-line"><tt class="py-docstring"> __daemonize() method. If pid_file=None or is set to a</tt> </tt>
+<a name="L1286"></a><tt class="py-lineno">1286</tt> <tt class="py-line"><tt class="py-docstring"> pathname the caller must ensure the file does not exist</tt> </tt>
+<a name="L1287"></a><tt class="py-lineno">1287</tt> <tt class="py-line"><tt class="py-docstring"> before this method is called otherwise an exception </tt> </tt>
+<a name="L1288"></a><tt class="py-lineno">1288</tt> <tt class="py-line"><tt class="py-docstring"> pyinotify.NotifierError will be raised. If pid_file=False</tt> </tt>
+<a name="L1289"></a><tt class="py-lineno">1289</tt> <tt class="py-line"><tt class="py-docstring"> it is still daemonized but the pid is not written in any</tt> </tt>
+<a name="L1290"></a><tt class="py-lineno">1290</tt> <tt class="py-line"><tt class="py-docstring"> file.</tt> </tt>
+<a name="L1291"></a><tt class="py-lineno">1291</tt> <tt class="py-line"><tt class="py-docstring"> @type args: various</tt> </tt>
+<a name="L1292"></a><tt class="py-lineno">1292</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt>
+<a name="L1293"></a><tt class="py-lineno">1293</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">daemonize</tt><tt class="py-op">:</tt> </tt>
+<a name="L1294"></a><tt class="py-lineno">1294</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-223" class="py-name" targets="Method pyinotify.Notifier.__daemonize()=pyinotify.Notifier-class.html#__daemonize"><a title="pyinotify.Notifier.__daemonize" class="py-name" href="#" onclick="return doclink('link-223', '__daemonize', 'link-223');">__daemonize</a></tt><tt class="py-op">(</tt><tt class="py-op">**</tt><tt class="py-name">args</tt><tt class="py-op">)</tt> </tt>
+<a name="L1295"></a><tt class="py-lineno">1295</tt> <tt class="py-line"> </tt>
+<a name="L1296"></a><tt class="py-lineno">1296</tt> <tt class="py-line"> <tt class="py-comment"># Read and process events forever</tt> </tt>
+<a name="L1297"></a><tt class="py-lineno">1297</tt> <tt class="py-line"> <tt class="py-keyword">while</tt> <tt class="py-number">1</tt><tt class="py-op">:</tt> </tt>
+<a name="L1298"></a><tt class="py-lineno">1298</tt> <tt class="py-line"> <tt class="py-keyword">try</tt><tt class="py-op">:</tt> </tt>
+<a name="L1299"></a><tt class="py-lineno">1299</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-224" class="py-name" targets="Method pyinotify.Notifier.process_events()=pyinotify.Notifier-class.html#process_events"><a title="pyinotify.Notifier.process_events" class="py-name" href="#" onclick="return doclink('link-224', 'process_events', 'link-224');">process_events</a></tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt>
+<a name="L1300"></a><tt class="py-lineno">1300</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-op">(</tt><tt class="py-name">callback</tt> <tt class="py-keyword">is</tt> <tt class="py-keyword">not</tt> <tt class="py-name">None</tt><tt class="py-op">)</tt> <tt class="py-keyword">and</tt> <tt class="py-op">(</tt><tt class="py-name">callback</tt><tt class="py-op">(</tt><tt class="py-name">self</tt><tt class="py-op">)</tt> <tt class="py-keyword">is</tt> <tt class="py-name">True</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
+<a name="L1301"></a><tt class="py-lineno">1301</tt> <tt class="py-line"> <tt class="py-keyword">break</tt> </tt>
+<a name="L1302"></a><tt class="py-lineno">1302</tt> <tt class="py-line"> <tt class="py-name">ref_time</tt> <tt class="py-op">=</tt> <tt class="py-name">time</tt><tt class="py-op">.</tt><tt class="py-name">time</tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt>
+<a name="L1303"></a><tt class="py-lineno">1303</tt> <tt class="py-line"> <tt class="py-comment"># check_events is blocking</tt> </tt>
+<a name="L1304"></a><tt class="py-lineno">1304</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-225" class="py-name" targets="Method pyinotify.Notifier.check_events()=pyinotify.Notifier-class.html#check_events"><a title="pyinotify.Notifier.check_events" class="py-name" href="#" onclick="return doclink('link-225', 'check_events', 'link-225');">check_events</a></tt><tt class="py-op">(</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
+<a name="L1305"></a><tt class="py-lineno">1305</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-226" class="py-name" targets="Method pyinotify.Notifier._sleep()=pyinotify.Notifier-class.html#_sleep"><a title="pyinotify.Notifier._sleep" class="py-name" href="#" onclick="return doclink('link-226', '_sleep', 'link-226');">_sleep</a></tt><tt class="py-op">(</tt><tt class="py-name">ref_time</tt><tt class="py-op">)</tt> </tt>
+<a name="L1306"></a><tt class="py-lineno">1306</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-227" class="py-name" targets="Method pyinotify.Notifier.read_events()=pyinotify.Notifier-class.html#read_events"><a title="pyinotify.Notifier.read_events" class="py-name" href="#" onclick="return doclink('link-227', 'read_events', 'link-227');">read_events</a></tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt>
+<a name="L1307"></a><tt class="py-lineno">1307</tt> <tt class="py-line"> <tt class="py-keyword">except</tt> <tt class="py-name">KeyboardInterrupt</tt><tt class="py-op">:</tt> </tt>
+<a name="L1308"></a><tt class="py-lineno">1308</tt> <tt class="py-line"> <tt class="py-comment"># Stop monitoring if sigint is caught (Control-C).</tt> </tt>
+<a name="L1309"></a><tt class="py-lineno">1309</tt> <tt class="py-line"> <tt id="link-228" class="py-name"><a title="pyinotify.log" class="py-name" href="#" onclick="return doclink('link-228', 'log', 'link-27');">log</a></tt><tt class="py-op">.</tt><tt class="py-name">debug</tt><tt class="py-op">(</tt><tt class="py-string">'Pyinotify stops monitoring.'</tt><tt class="py-op">)</tt> </tt>
+<a name="L1310"></a><tt class="py-lineno">1310</tt> <tt class="py-line"> <tt class="py-keyword">break</tt> </tt>
+<a name="L1311"></a><tt class="py-lineno">1311</tt> <tt class="py-line"> <tt class="py-comment"># Close internals</tt> </tt>
+<a name="L1312"></a><tt class="py-lineno">1312</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-229" class="py-name" targets="Method pyinotify.Notifier.stop()=pyinotify.Notifier-class.html#stop,Method pyinotify.ThreadedNotifier.stop()=pyinotify.ThreadedNotifier-class.html#stop"><a title="pyinotify.Notifier.stop
+pyinotify.ThreadedNotifier.stop" class="py-name" href="#" onclick="return doclink('link-229', 'stop', 'link-229');">stop</a></tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt>
+</div><a name="L1313"></a><tt class="py-lineno">1313</tt> <tt class="py-line"> </tt>
+<a name="L1314"></a><tt class="py-lineno">1314</tt> <tt class="py-line"> </tt>
+<a name="Notifier.stop"></a><div id="Notifier.stop-def"><a name="L1315"></a><tt class="py-lineno">1315</tt> <a class="py-toggle" href="#" id="Notifier.stop-toggle" onclick="return toggle('Notifier.stop');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="pyinotify.Notifier-class.html#stop">stop</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
+</div><div id="Notifier.stop-collapsed" style="display:none;" pad="++++" indent="++++++++"></div><div id="Notifier.stop-expanded"><a name="L1316"></a><tt class="py-lineno">1316</tt> <tt class="py-line"> <tt class="py-docstring">"""</tt> </tt>
+<a name="L1317"></a><tt class="py-lineno">1317</tt> <tt class="py-line"><tt class="py-docstring"> Close inotify's instance (close its file descriptor).</tt> </tt>
+<a name="L1318"></a><tt class="py-lineno">1318</tt> <tt class="py-line"><tt class="py-docstring"> It destroys all existing watches, pending events,...</tt> </tt>
+<a name="L1319"></a><tt class="py-lineno">1319</tt> <tt class="py-line"><tt class="py-docstring"> This method is automatically called at the end of loop().</tt> </tt>
+<a name="L1320"></a><tt class="py-lineno">1320</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt>
+<a name="L1321"></a><tt class="py-lineno">1321</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_pollobj</tt><tt class="py-op">.</tt><tt class="py-name">unregister</tt><tt class="py-op">(</tt><tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_fd</tt><tt class="py-op">)</tt> </tt>
+<a name="L1322"></a><tt class="py-lineno">1322</tt> <tt class="py-line"> <tt class="py-name">os</tt><tt class="py-op">.</tt><tt id="link-230" class="py-name"><a title="pyinotify.WatchManager.close" class="py-name" href="#" onclick="return doclink('link-230', 'close', 'link-196');">close</a></tt><tt class="py-op">(</tt><tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_fd</tt><tt class="py-op">)</tt> </tt>
+</div></div><a name="L1323"></a><tt class="py-lineno">1323</tt> <tt class="py-line"> </tt>
+<a name="ThreadedNotifier"></a><div id="ThreadedNotifier-def"><a name="L1324"></a><tt class="py-lineno">1324</tt> <tt class="py-line"> </tt>
+<a name="L1325"></a><tt class="py-lineno">1325</tt> <a class="py-toggle" href="#" id="ThreadedNotifier-toggle" onclick="return toggle('ThreadedNotifier');">-</a><tt class="py-line"><tt class="py-keyword">class</tt> <a class="py-def-name" href="pyinotify.ThreadedNotifier-class.html">ThreadedNotifier</a><tt class="py-op">(</tt><tt class="py-base-class">threading</tt><tt class="py-op">.</tt><tt class="py-base-class">Thread</tt><tt class="py-op">,</tt> <tt class="py-base-class">Notifier</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
+</div><div id="ThreadedNotifier-collapsed" style="display:none;" pad="++++" indent="++++"></div><div id="ThreadedNotifier-expanded"><a name="L1326"></a><tt class="py-lineno">1326</tt> <tt class="py-line"> <tt class="py-docstring">"""</tt> </tt>
+<a name="L1327"></a><tt class="py-lineno">1327</tt> <tt class="py-line"><tt class="py-docstring"> This notifier inherits from threading.Thread for instanciating a separate</tt> </tt>
+<a name="L1328"></a><tt class="py-lineno">1328</tt> <tt class="py-line"><tt class="py-docstring"> thread, and also inherits from Notifier, because it is a threaded notifier.</tt> </tt>
+<a name="L1329"></a><tt class="py-lineno">1329</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
+<a name="L1330"></a><tt class="py-lineno">1330</tt> <tt class="py-line"><tt class="py-docstring"> Note that every functionality provided by this class is also provided</tt> </tt>
+<a name="L1331"></a><tt class="py-lineno">1331</tt> <tt class="py-line"><tt class="py-docstring"> through Notifier class. Moreover Notifier should be considered first because</tt> </tt>
+<a name="L1332"></a><tt class="py-lineno">1332</tt> <tt class="py-line"><tt class="py-docstring"> it is not threaded and could be easily daemonized.</tt> </tt>
+<a name="L1333"></a><tt class="py-lineno">1333</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt>
+<a name="ThreadedNotifier.__init__"></a><div id="ThreadedNotifier.__init__-def"><a name="L1334"></a><tt class="py-lineno">1334</tt> <a class="py-toggle" href="#" id="ThreadedNotifier.__init__-toggle" onclick="return toggle('ThreadedNotifier.__init__');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="pyinotify.ThreadedNotifier-class.html#__init__">__init__</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">,</tt> <tt class="py-param">watch_manager</tt><tt class="py-op">,</tt> <tt class="py-param">default_proc_fun</tt><tt class="py-op">=</tt><tt class="py-name">None</tt><tt class="py-op">,</tt> <tt class="py-param">read_freq</tt><tt class="py-op">=</tt><tt class="py-number">0</tt><tt class="py-op">,</tt> </tt>
+<a name="L1335"></a><tt class="py-lineno">1335</tt> <tt class="py-line"> <tt class="py-param">threshold</tt><tt class="py-op">=</tt><tt class="py-number">0</tt><tt class="py-op">,</tt> <tt class="py-param">timeout</tt><tt class="py-op">=</tt><tt class="py-name">None</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
+</div><div id="ThreadedNotifier.__init__-collapsed" style="display:none;" pad="++++" indent="++++++++"></div><div id="ThreadedNotifier.__init__-expanded"><a name="L1336"></a><tt class="py-lineno">1336</tt> <tt class="py-line"> <tt class="py-docstring">"""</tt> </tt>
+<a name="L1337"></a><tt class="py-lineno">1337</tt> <tt class="py-line"><tt class="py-docstring"> Initialization, initialize base classes. read_freq, threshold and</tt> </tt>
+<a name="L1338"></a><tt class="py-lineno">1338</tt> <tt class="py-line"><tt class="py-docstring"> timeout parameters are used when looping.</tt> </tt>
+<a name="L1339"></a><tt class="py-lineno">1339</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
+<a name="L1340"></a><tt class="py-lineno">1340</tt> <tt class="py-line"><tt class="py-docstring"> @param watch_manager: Watch Manager.</tt> </tt>
+<a name="L1341"></a><tt class="py-lineno">1341</tt> <tt class="py-line"><tt class="py-docstring"> @type watch_manager: WatchManager instance</tt> </tt>
+<a name="L1342"></a><tt class="py-lineno">1342</tt> <tt class="py-line"><tt class="py-docstring"> @param default_proc_fun: Default processing method. See base class.</tt> </tt>
+<a name="L1343"></a><tt class="py-lineno">1343</tt> <tt class="py-line"><tt class="py-docstring"> @type default_proc_fun: instance of ProcessEvent</tt> </tt>
+<a name="L1344"></a><tt class="py-lineno">1344</tt> <tt class="py-line"><tt class="py-docstring"> @param read_freq: if read_freq == 0, events are read asap,</tt> </tt>
+<a name="L1345"></a><tt class="py-lineno">1345</tt> <tt class="py-line"><tt class="py-docstring"> if read_freq is &gt; 0, this thread sleeps</tt> </tt>
+<a name="L1346"></a><tt class="py-lineno">1346</tt> <tt class="py-line"><tt class="py-docstring"> max(0, read_freq - timeout) seconds.</tt> </tt>
+<a name="L1347"></a><tt class="py-lineno">1347</tt> <tt class="py-line"><tt class="py-docstring"> @type read_freq: int</tt> </tt>
+<a name="L1348"></a><tt class="py-lineno">1348</tt> <tt class="py-line"><tt class="py-docstring"> @param threshold: File descriptor will be read only if the accumulated</tt> </tt>
+<a name="L1349"></a><tt class="py-lineno">1349</tt> <tt class="py-line"><tt class="py-docstring"> size to read becomes &gt;= threshold. If != 0, you likely</tt> </tt>
+<a name="L1350"></a><tt class="py-lineno">1350</tt> <tt class="py-line"><tt class="py-docstring"> want to use it in combination with an appropriate</tt> </tt>
+<a name="L1351"></a><tt class="py-lineno">1351</tt> <tt class="py-line"><tt class="py-docstring"> value set for read_freq because without that you would</tt> </tt>
+<a name="L1352"></a><tt class="py-lineno">1352</tt> <tt class="py-line"><tt class="py-docstring"> keep looping without really reading anything and that</tt> </tt>
+<a name="L1353"></a><tt class="py-lineno">1353</tt> <tt class="py-line"><tt class="py-docstring"> until the amount of events to read is &gt;= threshold. At</tt> </tt>
+<a name="L1354"></a><tt class="py-lineno">1354</tt> <tt class="py-line"><tt class="py-docstring"> least with read_freq you might sleep.</tt> </tt>
+<a name="L1355"></a><tt class="py-lineno">1355</tt> <tt class="py-line"><tt class="py-docstring"> @type threshold: int</tt> </tt>
+<a name="L1356"></a><tt class="py-lineno">1356</tt> <tt class="py-line"><tt class="py-docstring"> @param timeout:</tt> </tt>
+<a name="L1357"></a><tt class="py-lineno">1357</tt> <tt class="py-line"><tt class="py-docstring"> see http://docs.python.org/lib/poll-objects.html#poll-objects</tt> </tt>
+<a name="L1358"></a><tt class="py-lineno">1358</tt> <tt class="py-line"><tt class="py-docstring"> @type timeout: int</tt> </tt>
+<a name="L1359"></a><tt class="py-lineno">1359</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt>
+<a name="L1360"></a><tt class="py-lineno">1360</tt> <tt class="py-line"> <tt class="py-comment"># Init threading base class</tt> </tt>
+<a name="L1361"></a><tt class="py-lineno">1361</tt> <tt class="py-line"> <tt class="py-name">threading</tt><tt class="py-op">.</tt><tt class="py-name">Thread</tt><tt class="py-op">.</tt><tt id="link-231" class="py-name"><a title="pyinotify.AsyncNotifier.__init__
+pyinotify.ColoredOutputFormat.__init__
+pyinotify.Event.__init__
+pyinotify.ExcludeFilter.__init__
+pyinotify.Notifier.__init__
+pyinotify.NotifierError.__init__
+pyinotify.ProcessEvent.__init__
+pyinotify.ProcessEventError.__init__
+pyinotify.RawOutputFormat.__init__
+pyinotify.SysCtlINotify.__init__
+pyinotify.ThreadedNotifier.__init__
+pyinotify.UnicodeLogRecord.__init__
+pyinotify.UnsupportedLibcVersionError.__init__
+pyinotify.UnsupportedPythonVersionError.__init__
+pyinotify.Watch.__init__
+pyinotify.WatchManager.__init__
+pyinotify.WatchManagerError.__init__
+pyinotify._Event.__init__
+pyinotify._RawEvent.__init__
+pyinotify._SysProcessEvent.__init__" class="py-name" href="#" onclick="return doclink('link-231', '__init__', 'link-1');">__init__</a></tt><tt class="py-op">(</tt><tt class="py-name">self</tt><tt class="py-op">)</tt> </tt>
+<a name="L1362"></a><tt class="py-lineno">1362</tt> <tt class="py-line"> <tt class="py-comment"># Stop condition</tt> </tt>
+<a name="L1363"></a><tt class="py-lineno">1363</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_stop_event</tt> <tt class="py-op">=</tt> <tt class="py-name">threading</tt><tt class="py-op">.</tt><tt id="link-232" class="py-name"><a title="pyinotify.Event" class="py-name" href="#" onclick="return doclink('link-232', 'Event', 'link-166');">Event</a></tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt>
+<a name="L1364"></a><tt class="py-lineno">1364</tt> <tt class="py-line"> <tt class="py-comment"># Init Notifier base class</tt> </tt>
+<a name="L1365"></a><tt class="py-lineno">1365</tt> <tt class="py-line"> <tt id="link-233" class="py-name" targets="Class pyinotify.Notifier=pyinotify.Notifier-class.html"><a title="pyinotify.Notifier" class="py-name" href="#" onclick="return doclink('link-233', 'Notifier', 'link-233');">Notifier</a></tt><tt class="py-op">.</tt><tt id="link-234" class="py-name"><a title="pyinotify.AsyncNotifier.__init__
+pyinotify.ColoredOutputFormat.__init__
+pyinotify.Event.__init__
+pyinotify.ExcludeFilter.__init__
+pyinotify.Notifier.__init__
+pyinotify.NotifierError.__init__
+pyinotify.ProcessEvent.__init__
+pyinotify.ProcessEventError.__init__
+pyinotify.RawOutputFormat.__init__
+pyinotify.SysCtlINotify.__init__
+pyinotify.ThreadedNotifier.__init__
+pyinotify.UnicodeLogRecord.__init__
+pyinotify.UnsupportedLibcVersionError.__init__
+pyinotify.UnsupportedPythonVersionError.__init__
+pyinotify.Watch.__init__
+pyinotify.WatchManager.__init__
+pyinotify.WatchManagerError.__init__
+pyinotify._Event.__init__
+pyinotify._RawEvent.__init__
+pyinotify._SysProcessEvent.__init__" class="py-name" href="#" onclick="return doclink('link-234', '__init__', 'link-1');">__init__</a></tt><tt class="py-op">(</tt><tt class="py-name">self</tt><tt class="py-op">,</tt> <tt class="py-name">watch_manager</tt><tt class="py-op">,</tt> <tt class="py-name">default_proc_fun</tt><tt class="py-op">,</tt> <tt class="py-name">read_freq</tt><tt class="py-op">,</tt> </tt>
+<a name="L1366"></a><tt class="py-lineno">1366</tt> <tt class="py-line"> <tt class="py-name">threshold</tt><tt class="py-op">,</tt> <tt class="py-name">timeout</tt><tt class="py-op">)</tt> </tt>
+<a name="L1367"></a><tt class="py-lineno">1367</tt> <tt class="py-line"> <tt class="py-comment"># Create a new pipe used for thread termination</tt> </tt>
+<a name="L1368"></a><tt class="py-lineno">1368</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_pipe</tt> <tt class="py-op">=</tt> <tt class="py-name">os</tt><tt class="py-op">.</tt><tt class="py-name">pipe</tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt>
+<a name="L1369"></a><tt class="py-lineno">1369</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_pollobj</tt><tt class="py-op">.</tt><tt class="py-name">register</tt><tt class="py-op">(</tt><tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_pipe</tt><tt class="py-op">[</tt><tt class="py-number">0</tt><tt class="py-op">]</tt><tt class="py-op">,</tt> <tt class="py-name">select</tt><tt class="py-op">.</tt><tt class="py-name">POLLIN</tt><tt class="py-op">)</tt> </tt>
+</div><a name="L1370"></a><tt class="py-lineno">1370</tt> <tt class="py-line"> </tt>
+<a name="ThreadedNotifier.stop"></a><div id="ThreadedNotifier.stop-def"><a name="L1371"></a><tt class="py-lineno">1371</tt> <a class="py-toggle" href="#" id="ThreadedNotifier.stop-toggle" onclick="return toggle('ThreadedNotifier.stop');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="pyinotify.ThreadedNotifier-class.html#stop">stop</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
+</div><div id="ThreadedNotifier.stop-collapsed" style="display:none;" pad="++++" indent="++++++++"></div><div id="ThreadedNotifier.stop-expanded"><a name="L1372"></a><tt class="py-lineno">1372</tt> <tt class="py-line"> <tt class="py-docstring">"""</tt> </tt>
+<a name="L1373"></a><tt class="py-lineno">1373</tt> <tt class="py-line"><tt class="py-docstring"> Stop notifier's loop. Stop notification. Join the thread.</tt> </tt>
+<a name="L1374"></a><tt class="py-lineno">1374</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt>
+<a name="L1375"></a><tt class="py-lineno">1375</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_stop_event</tt><tt class="py-op">.</tt><tt class="py-name">set</tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt>
+<a name="L1376"></a><tt class="py-lineno">1376</tt> <tt class="py-line"> <tt class="py-name">os</tt><tt class="py-op">.</tt><tt class="py-name">write</tt><tt class="py-op">(</tt><tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_pipe</tt><tt class="py-op">[</tt><tt class="py-number">1</tt><tt class="py-op">]</tt><tt class="py-op">,</tt> <tt class="py-string">'stop'</tt><tt class="py-op">)</tt> </tt>
+<a name="L1377"></a><tt class="py-lineno">1377</tt> <tt class="py-line"> <tt class="py-name">threading</tt><tt class="py-op">.</tt><tt class="py-name">Thread</tt><tt class="py-op">.</tt><tt class="py-name">join</tt><tt class="py-op">(</tt><tt class="py-name">self</tt><tt class="py-op">)</tt> </tt>
+<a name="L1378"></a><tt class="py-lineno">1378</tt> <tt class="py-line"> <tt id="link-235" class="py-name"><a title="pyinotify.Notifier" class="py-name" href="#" onclick="return doclink('link-235', 'Notifier', 'link-233');">Notifier</a></tt><tt class="py-op">.</tt><tt id="link-236" class="py-name"><a title="pyinotify.Notifier.stop
+pyinotify.ThreadedNotifier.stop" class="py-name" href="#" onclick="return doclink('link-236', 'stop', 'link-229');">stop</a></tt><tt class="py-op">(</tt><tt class="py-name">self</tt><tt class="py-op">)</tt> </tt>
+<a name="L1379"></a><tt class="py-lineno">1379</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_pollobj</tt><tt class="py-op">.</tt><tt class="py-name">unregister</tt><tt class="py-op">(</tt><tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_pipe</tt><tt class="py-op">[</tt><tt class="py-number">0</tt><tt class="py-op">]</tt><tt class="py-op">)</tt> </tt>
+<a name="L1380"></a><tt class="py-lineno">1380</tt> <tt class="py-line"> <tt class="py-name">os</tt><tt class="py-op">.</tt><tt id="link-237" class="py-name"><a title="pyinotify.WatchManager.close" class="py-name" href="#" onclick="return doclink('link-237', 'close', 'link-196');">close</a></tt><tt class="py-op">(</tt><tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_pipe</tt><tt class="py-op">[</tt><tt class="py-number">0</tt><tt class="py-op">]</tt><tt class="py-op">)</tt> </tt>
+<a name="L1381"></a><tt class="py-lineno">1381</tt> <tt class="py-line"> <tt class="py-name">os</tt><tt class="py-op">.</tt><tt id="link-238" class="py-name"><a title="pyinotify.WatchManager.close" class="py-name" href="#" onclick="return doclink('link-238', 'close', 'link-196');">close</a></tt><tt class="py-op">(</tt><tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_pipe</tt><tt class="py-op">[</tt><tt class="py-number">1</tt><tt class="py-op">]</tt><tt class="py-op">)</tt> </tt>
+</div><a name="L1382"></a><tt class="py-lineno">1382</tt> <tt class="py-line"> </tt>
+<a name="ThreadedNotifier.loop"></a><div id="ThreadedNotifier.loop-def"><a name="L1383"></a><tt class="py-lineno">1383</tt> <a class="py-toggle" href="#" id="ThreadedNotifier.loop-toggle" onclick="return toggle('ThreadedNotifier.loop');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="pyinotify.ThreadedNotifier-class.html#loop">loop</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
+</div><div id="ThreadedNotifier.loop-collapsed" style="display:none;" pad="++++" indent="++++++++"></div><div id="ThreadedNotifier.loop-expanded"><a name="L1384"></a><tt class="py-lineno">1384</tt> <tt class="py-line"> <tt class="py-docstring">"""</tt> </tt>
+<a name="L1385"></a><tt class="py-lineno">1385</tt> <tt class="py-line"><tt class="py-docstring"> Thread's main loop. Don't meant to be called by user directly.</tt> </tt>
+<a name="L1386"></a><tt class="py-lineno">1386</tt> <tt class="py-line"><tt class="py-docstring"> Call inherited start() method instead.</tt> </tt>
+<a name="L1387"></a><tt class="py-lineno">1387</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
+<a name="L1388"></a><tt class="py-lineno">1388</tt> <tt class="py-line"><tt class="py-docstring"> Events are read only once time every min(read_freq, timeout)</tt> </tt>
+<a name="L1389"></a><tt class="py-lineno">1389</tt> <tt class="py-line"><tt class="py-docstring"> seconds at best and only if the size of events to read is &gt;= threshold.</tt> </tt>
+<a name="L1390"></a><tt class="py-lineno">1390</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt>
+<a name="L1391"></a><tt class="py-lineno">1391</tt> <tt class="py-line"> <tt class="py-comment"># When the loop must be terminated .stop() is called, 'stop'</tt> </tt>
+<a name="L1392"></a><tt class="py-lineno">1392</tt> <tt class="py-line"> <tt class="py-comment"># is written to pipe fd so poll() returns and .check_events()</tt> </tt>
+<a name="L1393"></a><tt class="py-lineno">1393</tt> <tt class="py-line"> <tt class="py-comment"># returns False which make evaluate the While's stop condition</tt> </tt>
+<a name="L1394"></a><tt class="py-lineno">1394</tt> <tt class="py-line"> <tt class="py-comment"># ._stop_event.isSet() wich put an end to the thread's execution.</tt> </tt>
+<a name="L1395"></a><tt class="py-lineno">1395</tt> <tt class="py-line"> <tt class="py-keyword">while</tt> <tt class="py-keyword">not</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_stop_event</tt><tt class="py-op">.</tt><tt class="py-name">isSet</tt><tt class="py-op">(</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
+<a name="L1396"></a><tt class="py-lineno">1396</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-239" class="py-name"><a title="pyinotify.Notifier.process_events" class="py-name" href="#" onclick="return doclink('link-239', 'process_events', 'link-224');">process_events</a></tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt>
+<a name="L1397"></a><tt class="py-lineno">1397</tt> <tt class="py-line"> <tt class="py-name">ref_time</tt> <tt class="py-op">=</tt> <tt class="py-name">time</tt><tt class="py-op">.</tt><tt class="py-name">time</tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt>
+<a name="L1398"></a><tt class="py-lineno">1398</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-240" class="py-name"><a title="pyinotify.Notifier.check_events" class="py-name" href="#" onclick="return doclink('link-240', 'check_events', 'link-225');">check_events</a></tt><tt class="py-op">(</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
+<a name="L1399"></a><tt class="py-lineno">1399</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-241" class="py-name"><a title="pyinotify.Notifier._sleep" class="py-name" href="#" onclick="return doclink('link-241', '_sleep', 'link-226');">_sleep</a></tt><tt class="py-op">(</tt><tt class="py-name">ref_time</tt><tt class="py-op">)</tt> </tt>
+<a name="L1400"></a><tt class="py-lineno">1400</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-242" class="py-name"><a title="pyinotify.Notifier.read_events" class="py-name" href="#" onclick="return doclink('link-242', 'read_events', 'link-227');">read_events</a></tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt>
+</div><a name="L1401"></a><tt class="py-lineno">1401</tt> <tt class="py-line"> </tt>
+<a name="ThreadedNotifier.run"></a><div id="ThreadedNotifier.run-def"><a name="L1402"></a><tt class="py-lineno">1402</tt> <a class="py-toggle" href="#" id="ThreadedNotifier.run-toggle" onclick="return toggle('ThreadedNotifier.run');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="pyinotify.ThreadedNotifier-class.html#run">run</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
+</div><div id="ThreadedNotifier.run-collapsed" style="display:none;" pad="++++" indent="++++++++"></div><div id="ThreadedNotifier.run-expanded"><a name="L1403"></a><tt class="py-lineno">1403</tt> <tt class="py-line"> <tt class="py-docstring">"""</tt> </tt>
+<a name="L1404"></a><tt class="py-lineno">1404</tt> <tt class="py-line"><tt class="py-docstring"> Start thread's loop: read and process events until the method</tt> </tt>
+<a name="L1405"></a><tt class="py-lineno">1405</tt> <tt class="py-line"><tt class="py-docstring"> stop() is called.</tt> </tt>
+<a name="L1406"></a><tt class="py-lineno">1406</tt> <tt class="py-line"><tt class="py-docstring"> Never call this method directly, instead call the start() method</tt> </tt>
+<a name="L1407"></a><tt class="py-lineno">1407</tt> <tt class="py-line"><tt class="py-docstring"> inherited from threading.Thread, which then will call run() in</tt> </tt>
+<a name="L1408"></a><tt class="py-lineno">1408</tt> <tt class="py-line"><tt class="py-docstring"> its turn.</tt> </tt>
+<a name="L1409"></a><tt class="py-lineno">1409</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt>
+<a name="L1410"></a><tt class="py-lineno">1410</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-243" class="py-name" targets="Method pyinotify.Notifier.loop()=pyinotify.Notifier-class.html#loop,Method pyinotify.ThreadedNotifier.loop()=pyinotify.ThreadedNotifier-class.html#loop"><a title="pyinotify.Notifier.loop
+pyinotify.ThreadedNotifier.loop" class="py-name" href="#" onclick="return doclink('link-243', 'loop', 'link-243');">loop</a></tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt>
+</div></div><a name="L1411"></a><tt class="py-lineno">1411</tt> <tt class="py-line"> </tt>
+<a name="AsyncNotifier"></a><div id="AsyncNotifier-def"><a name="L1412"></a><tt class="py-lineno">1412</tt> <tt class="py-line"> </tt>
+<a name="L1413"></a><tt class="py-lineno">1413</tt> <a class="py-toggle" href="#" id="AsyncNotifier-toggle" onclick="return toggle('AsyncNotifier');">-</a><tt class="py-line"><tt class="py-keyword">class</tt> <a class="py-def-name" href="pyinotify.AsyncNotifier-class.html">AsyncNotifier</a><tt class="py-op">(</tt><tt class="py-base-class">asyncore</tt><tt class="py-op">.</tt><tt class="py-base-class">file_dispatcher</tt><tt class="py-op">,</tt> <tt class="py-base-class">Notifier</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
+</div><div id="AsyncNotifier-collapsed" style="display:none;" pad="++++" indent="++++"></div><div id="AsyncNotifier-expanded"><a name="L1414"></a><tt class="py-lineno">1414</tt> <tt class="py-line"> <tt class="py-docstring">"""</tt> </tt>
+<a name="L1415"></a><tt class="py-lineno">1415</tt> <tt class="py-line"><tt class="py-docstring"> This notifier inherits from asyncore.file_dispatcher in order to be able to</tt> </tt>
+<a name="L1416"></a><tt class="py-lineno">1416</tt> <tt class="py-line"><tt class="py-docstring"> use pyinotify along with the asyncore framework.</tt> </tt>
+<a name="L1417"></a><tt class="py-lineno">1417</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
+<a name="L1418"></a><tt class="py-lineno">1418</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt>
+<a name="AsyncNotifier.__init__"></a><div id="AsyncNotifier.__init__-def"><a name="L1419"></a><tt class="py-lineno">1419</tt> <a class="py-toggle" href="#" id="AsyncNotifier.__init__-toggle" onclick="return toggle('AsyncNotifier.__init__');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="pyinotify.AsyncNotifier-class.html#__init__">__init__</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">,</tt> <tt class="py-param">watch_manager</tt><tt class="py-op">,</tt> <tt class="py-param">default_proc_fun</tt><tt class="py-op">=</tt><tt class="py-name">None</tt><tt class="py-op">,</tt> <tt class="py-param">read_freq</tt><tt class="py-op">=</tt><tt class="py-number">0</tt><tt class="py-op">,</tt> </tt>
+<a name="L1420"></a><tt class="py-lineno">1420</tt> <tt class="py-line"> <tt class="py-param">threshold</tt><tt class="py-op">=</tt><tt class="py-number">0</tt><tt class="py-op">,</tt> <tt class="py-param">timeout</tt><tt class="py-op">=</tt><tt class="py-name">None</tt><tt class="py-op">,</tt> <tt class="py-param">channel_map</tt><tt class="py-op">=</tt><tt class="py-name">None</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
+</div><div id="AsyncNotifier.__init__-collapsed" style="display:none;" pad="++++" indent="++++++++"></div><div id="AsyncNotifier.__init__-expanded"><a name="L1421"></a><tt class="py-lineno">1421</tt> <tt class="py-line"> <tt class="py-docstring">"""</tt> </tt>
+<a name="L1422"></a><tt class="py-lineno">1422</tt> <tt class="py-line"><tt class="py-docstring"> Initializes the async notifier. The only additional parameter is</tt> </tt>
+<a name="L1423"></a><tt class="py-lineno">1423</tt> <tt class="py-line"><tt class="py-docstring"> 'channel_map' which is the optional asyncore private map. See</tt> </tt>
+<a name="L1424"></a><tt class="py-lineno">1424</tt> <tt class="py-line"><tt class="py-docstring"> Notifier class for the meaning of the others parameters.</tt> </tt>
+<a name="L1425"></a><tt class="py-lineno">1425</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
+<a name="L1426"></a><tt class="py-lineno">1426</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt>
+<a name="L1427"></a><tt class="py-lineno">1427</tt> <tt class="py-line"> <tt id="link-244" class="py-name"><a title="pyinotify.Notifier" class="py-name" href="#" onclick="return doclink('link-244', 'Notifier', 'link-233');">Notifier</a></tt><tt class="py-op">.</tt><tt id="link-245" class="py-name"><a title="pyinotify.AsyncNotifier.__init__
+pyinotify.ColoredOutputFormat.__init__
+pyinotify.Event.__init__
+pyinotify.ExcludeFilter.__init__
+pyinotify.Notifier.__init__
+pyinotify.NotifierError.__init__
+pyinotify.ProcessEvent.__init__
+pyinotify.ProcessEventError.__init__
+pyinotify.RawOutputFormat.__init__
+pyinotify.SysCtlINotify.__init__
+pyinotify.ThreadedNotifier.__init__
+pyinotify.UnicodeLogRecord.__init__
+pyinotify.UnsupportedLibcVersionError.__init__
+pyinotify.UnsupportedPythonVersionError.__init__
+pyinotify.Watch.__init__
+pyinotify.WatchManager.__init__
+pyinotify.WatchManagerError.__init__
+pyinotify._Event.__init__
+pyinotify._RawEvent.__init__
+pyinotify._SysProcessEvent.__init__" class="py-name" href="#" onclick="return doclink('link-245', '__init__', 'link-1');">__init__</a></tt><tt class="py-op">(</tt><tt class="py-name">self</tt><tt class="py-op">,</tt> <tt class="py-name">watch_manager</tt><tt class="py-op">,</tt> <tt class="py-name">default_proc_fun</tt><tt class="py-op">,</tt> <tt class="py-name">read_freq</tt><tt class="py-op">,</tt> </tt>
+<a name="L1428"></a><tt class="py-lineno">1428</tt> <tt class="py-line"> <tt class="py-name">threshold</tt><tt class="py-op">,</tt> <tt class="py-name">timeout</tt><tt class="py-op">)</tt> </tt>
+<a name="L1429"></a><tt class="py-lineno">1429</tt> <tt class="py-line"> <tt class="py-name">asyncore</tt><tt class="py-op">.</tt><tt class="py-name">file_dispatcher</tt><tt class="py-op">.</tt><tt id="link-246" class="py-name"><a title="pyinotify.AsyncNotifier.__init__
+pyinotify.ColoredOutputFormat.__init__
+pyinotify.Event.__init__
+pyinotify.ExcludeFilter.__init__
+pyinotify.Notifier.__init__
+pyinotify.NotifierError.__init__
+pyinotify.ProcessEvent.__init__
+pyinotify.ProcessEventError.__init__
+pyinotify.RawOutputFormat.__init__
+pyinotify.SysCtlINotify.__init__
+pyinotify.ThreadedNotifier.__init__
+pyinotify.UnicodeLogRecord.__init__
+pyinotify.UnsupportedLibcVersionError.__init__
+pyinotify.UnsupportedPythonVersionError.__init__
+pyinotify.Watch.__init__
+pyinotify.WatchManager.__init__
+pyinotify.WatchManagerError.__init__
+pyinotify._Event.__init__
+pyinotify._RawEvent.__init__
+pyinotify._SysProcessEvent.__init__" class="py-name" href="#" onclick="return doclink('link-246', '__init__', 'link-1');">__init__</a></tt><tt class="py-op">(</tt><tt class="py-name">self</tt><tt class="py-op">,</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_fd</tt><tt class="py-op">,</tt> <tt class="py-name">channel_map</tt><tt class="py-op">)</tt> </tt>
+</div><a name="L1430"></a><tt class="py-lineno">1430</tt> <tt class="py-line"> </tt>
+<a name="AsyncNotifier.handle_read"></a><div id="AsyncNotifier.handle_read-def"><a name="L1431"></a><tt class="py-lineno">1431</tt> <a class="py-toggle" href="#" id="AsyncNotifier.handle_read-toggle" onclick="return toggle('AsyncNotifier.handle_read');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="pyinotify.AsyncNotifier-class.html#handle_read">handle_read</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
+</div><div id="AsyncNotifier.handle_read-collapsed" style="display:none;" pad="++++" indent="++++++++"></div><div id="AsyncNotifier.handle_read-expanded"><a name="L1432"></a><tt class="py-lineno">1432</tt> <tt class="py-line"> <tt class="py-docstring">"""</tt> </tt>
+<a name="L1433"></a><tt class="py-lineno">1433</tt> <tt class="py-line"><tt class="py-docstring"> When asyncore tells us we can read from the fd, we proceed processing</tt> </tt>
+<a name="L1434"></a><tt class="py-lineno">1434</tt> <tt class="py-line"><tt class="py-docstring"> events. This method can be overridden for handling a notification</tt> </tt>
+<a name="L1435"></a><tt class="py-lineno">1435</tt> <tt class="py-line"><tt class="py-docstring"> differently.</tt> </tt>
+<a name="L1436"></a><tt class="py-lineno">1436</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
+<a name="L1437"></a><tt class="py-lineno">1437</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt>
+<a name="L1438"></a><tt class="py-lineno">1438</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-247" class="py-name"><a title="pyinotify.Notifier.read_events" class="py-name" href="#" onclick="return doclink('link-247', 'read_events', 'link-227');">read_events</a></tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt>
+<a name="L1439"></a><tt class="py-lineno">1439</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-248" class="py-name"><a title="pyinotify.Notifier.process_events" class="py-name" href="#" onclick="return doclink('link-248', 'process_events', 'link-224');">process_events</a></tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt>
+</div></div><a name="L1440"></a><tt class="py-lineno">1440</tt> <tt class="py-line"> </tt>
+<a name="Watch"></a><div id="Watch-def"><a name="L1441"></a><tt class="py-lineno">1441</tt> <tt class="py-line"> </tt>
+<a name="L1442"></a><tt class="py-lineno">1442</tt> <a class="py-toggle" href="#" id="Watch-toggle" onclick="return toggle('Watch');">-</a><tt class="py-line"><tt class="py-keyword">class</tt> <a class="py-def-name" href="pyinotify.Watch-class.html">Watch</a><tt class="py-op">:</tt> </tt>
+</div><div id="Watch-collapsed" style="display:none;" pad="++++" indent="++++"></div><div id="Watch-expanded"><a name="L1443"></a><tt class="py-lineno">1443</tt> <tt class="py-line"> <tt class="py-docstring">"""</tt> </tt>
+<a name="L1444"></a><tt class="py-lineno">1444</tt> <tt class="py-line"><tt class="py-docstring"> Represent a watch, i.e. a file or directory being watched.</tt> </tt>
+<a name="L1445"></a><tt class="py-lineno">1445</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
+<a name="L1446"></a><tt class="py-lineno">1446</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt>
+<a name="Watch.__init__"></a><div id="Watch.__init__-def"><a name="L1447"></a><tt class="py-lineno">1447</tt> <a class="py-toggle" href="#" id="Watch.__init__-toggle" onclick="return toggle('Watch.__init__');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="pyinotify.Watch-class.html#__init__">__init__</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">,</tt> <tt class="py-param">wd</tt><tt class="py-op">,</tt> <tt class="py-param">path</tt><tt class="py-op">,</tt> <tt class="py-param">mask</tt><tt class="py-op">,</tt> <tt class="py-param">proc_fun</tt><tt class="py-op">,</tt> <tt class="py-param">auto_add</tt><tt class="py-op">,</tt> <tt class="py-param">exclude_filter</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
+</div><div id="Watch.__init__-collapsed" style="display:none;" pad="++++" indent="++++++++"></div><div id="Watch.__init__-expanded"><a name="L1448"></a><tt class="py-lineno">1448</tt> <tt class="py-line"> <tt class="py-docstring">"""</tt> </tt>
+<a name="L1449"></a><tt class="py-lineno">1449</tt> <tt class="py-line"><tt class="py-docstring"> Initializations.</tt> </tt>
+<a name="L1450"></a><tt class="py-lineno">1450</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
+<a name="L1451"></a><tt class="py-lineno">1451</tt> <tt class="py-line"><tt class="py-docstring"> @param wd: Watch descriptor.</tt> </tt>
+<a name="L1452"></a><tt class="py-lineno">1452</tt> <tt class="py-line"><tt class="py-docstring"> @type wd: int</tt> </tt>
+<a name="L1453"></a><tt class="py-lineno">1453</tt> <tt class="py-line"><tt class="py-docstring"> @param path: Path of the file or directory being watched.</tt> </tt>
+<a name="L1454"></a><tt class="py-lineno">1454</tt> <tt class="py-line"><tt class="py-docstring"> @type path: str</tt> </tt>
+<a name="L1455"></a><tt class="py-lineno">1455</tt> <tt class="py-line"><tt class="py-docstring"> @param mask: Mask.</tt> </tt>
+<a name="L1456"></a><tt class="py-lineno">1456</tt> <tt class="py-line"><tt class="py-docstring"> @type mask: int</tt> </tt>
+<a name="L1457"></a><tt class="py-lineno">1457</tt> <tt class="py-line"><tt class="py-docstring"> @param proc_fun: Processing callable object.</tt> </tt>
+<a name="L1458"></a><tt class="py-lineno">1458</tt> <tt class="py-line"><tt class="py-docstring"> @type proc_fun:</tt> </tt>
+<a name="L1459"></a><tt class="py-lineno">1459</tt> <tt class="py-line"><tt class="py-docstring"> @param auto_add: Automatically add watches on new directories.</tt> </tt>
+<a name="L1460"></a><tt class="py-lineno">1460</tt> <tt class="py-line"><tt class="py-docstring"> @type auto_add: bool</tt> </tt>
+<a name="L1461"></a><tt class="py-lineno">1461</tt> <tt class="py-line"><tt class="py-docstring"> @param exclude_filter: Boolean function, used to exclude new</tt> </tt>
+<a name="L1462"></a><tt class="py-lineno">1462</tt> <tt class="py-line"><tt class="py-docstring"> directories from being automatically watched.</tt> </tt>
+<a name="L1463"></a><tt class="py-lineno">1463</tt> <tt class="py-line"><tt class="py-docstring"> See WatchManager.__init__</tt> </tt>
+<a name="L1464"></a><tt class="py-lineno">1464</tt> <tt class="py-line"><tt class="py-docstring"> @type exclude_filter: callable object</tt> </tt>
+<a name="L1465"></a><tt class="py-lineno">1465</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt>
+<a name="L1466"></a><tt class="py-lineno">1466</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">wd</tt> <tt class="py-op">=</tt> <tt class="py-name">wd</tt> </tt>
+<a name="L1467"></a><tt class="py-lineno">1467</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">path</tt> <tt class="py-op">=</tt> <tt class="py-name">path</tt> </tt>
+<a name="L1468"></a><tt class="py-lineno">1468</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">mask</tt> <tt class="py-op">=</tt> <tt class="py-name">mask</tt> </tt>
+<a name="L1469"></a><tt class="py-lineno">1469</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-249" class="py-name"><a title="pyinotify.Notifier.proc_fun" class="py-name" href="#" onclick="return doclink('link-249', 'proc_fun', 'link-141');">proc_fun</a></tt> <tt class="py-op">=</tt> <tt id="link-250" class="py-name"><a title="pyinotify.Notifier.proc_fun" class="py-name" href="#" onclick="return doclink('link-250', 'proc_fun', 'link-141');">proc_fun</a></tt> </tt>
+<a name="L1470"></a><tt class="py-lineno">1470</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">auto_add</tt> <tt class="py-op">=</tt> <tt class="py-name">auto_add</tt> </tt>
+<a name="L1471"></a><tt class="py-lineno">1471</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">exclude_filter</tt> <tt class="py-op">=</tt> <tt class="py-name">exclude_filter</tt> </tt>
+<a name="L1472"></a><tt class="py-lineno">1472</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">dir</tt> <tt class="py-op">=</tt> <tt class="py-name">os</tt><tt class="py-op">.</tt><tt class="py-name">path</tt><tt class="py-op">.</tt><tt class="py-name">isdir</tt><tt class="py-op">(</tt><tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">path</tt><tt class="py-op">)</tt> </tt>
+</div><a name="L1473"></a><tt class="py-lineno">1473</tt> <tt class="py-line"> </tt>
+<a name="Watch.__repr__"></a><div id="Watch.__repr__-def"><a name="L1474"></a><tt class="py-lineno">1474</tt> <a class="py-toggle" href="#" id="Watch.__repr__-toggle" onclick="return toggle('Watch.__repr__');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="pyinotify.Watch-class.html#__repr__">__repr__</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
+</div><div id="Watch.__repr__-collapsed" style="display:none;" pad="++++" indent="++++++++"></div><div id="Watch.__repr__-expanded"><a name="L1475"></a><tt class="py-lineno">1475</tt> <tt class="py-line"> <tt class="py-docstring">"""</tt> </tt>
+<a name="L1476"></a><tt class="py-lineno">1476</tt> <tt class="py-line"><tt class="py-docstring"> @return: String representation.</tt> </tt>
+<a name="L1477"></a><tt class="py-lineno">1477</tt> <tt class="py-line"><tt class="py-docstring"> @rtype: str</tt> </tt>
+<a name="L1478"></a><tt class="py-lineno">1478</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt>
+<a name="L1479"></a><tt class="py-lineno">1479</tt> <tt class="py-line"> <tt class="py-name">s</tt> <tt class="py-op">=</tt> <tt class="py-string">' '</tt><tt class="py-op">.</tt><tt class="py-name">join</tt><tt class="py-op">(</tt><tt class="py-op">[</tt><tt class="py-string">'%s%s%s'</tt> <tt class="py-op">%</tt> <tt class="py-op">(</tt><tt id="link-251" class="py-name"><a title="pyinotify.output_format" class="py-name" href="#" onclick="return doclink('link-251', 'output_format', 'link-96');">output_format</a></tt><tt class="py-op">.</tt><tt id="link-252" class="py-name"><a title="pyinotify.RawOutputFormat.field_name" class="py-name" href="#" onclick="return doclink('link-252', 'field_name', 'link-97');">field_name</a></tt><tt class="py-op">(</tt><tt class="py-name">attr</tt><tt class="py-op">)</tt><tt class="py-op">,</tt> </tt>
+<a name="L1480"></a><tt class="py-lineno">1480</tt> <tt class="py-line"> <tt id="link-253" class="py-name"><a title="pyinotify.output_format" class="py-name" href="#" onclick="return doclink('link-253', 'output_format', 'link-96');">output_format</a></tt><tt class="py-op">.</tt><tt id="link-254" class="py-name"><a title="pyinotify.RawOutputFormat.punctuation" class="py-name" href="#" onclick="return doclink('link-254', 'punctuation', 'link-99');">punctuation</a></tt><tt class="py-op">(</tt><tt class="py-string">'='</tt><tt class="py-op">)</tt><tt class="py-op">,</tt> </tt>
+<a name="L1481"></a><tt class="py-lineno">1481</tt> <tt class="py-line"> <tt id="link-255" class="py-name"><a title="pyinotify.output_format" class="py-name" href="#" onclick="return doclink('link-255', 'output_format', 'link-96');">output_format</a></tt><tt class="py-op">.</tt><tt id="link-256" class="py-name"><a title="pyinotify.RawOutputFormat.field_value" class="py-name" href="#" onclick="return doclink('link-256', 'field_value', 'link-101');">field_value</a></tt><tt class="py-op">(</tt><tt class="py-name">getattr</tt><tt class="py-op">(</tt><tt class="py-name">self</tt><tt class="py-op">,</tt> </tt>
+<a name="L1482"></a><tt class="py-lineno">1482</tt> <tt class="py-line"> <tt class="py-name">attr</tt><tt class="py-op">)</tt><tt class="py-op">)</tt><tt class="py-op">)</tt> \ </tt>
+<a name="L1483"></a><tt class="py-lineno">1483</tt> <tt class="py-line"> <tt class="py-keyword">for</tt> <tt class="py-name">attr</tt> <tt class="py-keyword">in</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">__dict__</tt> <tt class="py-keyword">if</tt> <tt class="py-keyword">not</tt> <tt class="py-name">attr</tt><tt class="py-op">.</tt><tt class="py-name">startswith</tt><tt class="py-op">(</tt><tt class="py-string">'_'</tt><tt class="py-op">)</tt><tt class="py-op">]</tt><tt class="py-op">)</tt> </tt>
+<a name="L1484"></a><tt class="py-lineno">1484</tt> <tt class="py-line"> </tt>
+<a name="L1485"></a><tt class="py-lineno">1485</tt> <tt class="py-line"> <tt class="py-name">s</tt> <tt class="py-op">=</tt> <tt class="py-string">'%s%s %s %s'</tt> <tt class="py-op">%</tt> <tt class="py-op">(</tt><tt id="link-257" class="py-name"><a title="pyinotify.output_format" class="py-name" href="#" onclick="return doclink('link-257', 'output_format', 'link-96');">output_format</a></tt><tt class="py-op">.</tt><tt id="link-258" class="py-name"><a title="pyinotify.RawOutputFormat.punctuation" class="py-name" href="#" onclick="return doclink('link-258', 'punctuation', 'link-99');">punctuation</a></tt><tt class="py-op">(</tt><tt class="py-string">'&lt;'</tt><tt class="py-op">)</tt><tt class="py-op">,</tt> </tt>
+<a name="L1486"></a><tt class="py-lineno">1486</tt> <tt class="py-line"> <tt id="link-259" class="py-name"><a title="pyinotify.output_format" class="py-name" href="#" onclick="return doclink('link-259', 'output_format', 'link-96');">output_format</a></tt><tt class="py-op">.</tt><tt id="link-260" class="py-name"><a title="pyinotify.RawOutputFormat.class_name" class="py-name" href="#" onclick="return doclink('link-260', 'class_name', 'link-106');">class_name</a></tt><tt class="py-op">(</tt><tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">__class__</tt><tt class="py-op">.</tt><tt class="py-name">__name__</tt><tt class="py-op">)</tt><tt class="py-op">,</tt> </tt>
+<a name="L1487"></a><tt class="py-lineno">1487</tt> <tt class="py-line"> <tt class="py-name">s</tt><tt class="py-op">,</tt> </tt>
+<a name="L1488"></a><tt class="py-lineno">1488</tt> <tt class="py-line"> <tt id="link-261" class="py-name"><a title="pyinotify.output_format" class="py-name" href="#" onclick="return doclink('link-261', 'output_format', 'link-96');">output_format</a></tt><tt class="py-op">.</tt><tt id="link-262" class="py-name"><a title="pyinotify.RawOutputFormat.punctuation" class="py-name" href="#" onclick="return doclink('link-262', 'punctuation', 'link-99');">punctuation</a></tt><tt class="py-op">(</tt><tt class="py-string">'&gt;'</tt><tt class="py-op">)</tt><tt class="py-op">)</tt> </tt>
+<a name="L1489"></a><tt class="py-lineno">1489</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-name">s</tt> </tt>
+</div></div><a name="L1490"></a><tt class="py-lineno">1490</tt> <tt class="py-line"> </tt>
+<a name="ExcludeFilter"></a><div id="ExcludeFilter-def"><a name="L1491"></a><tt class="py-lineno">1491</tt> <tt class="py-line"> </tt>
+<a name="L1492"></a><tt class="py-lineno">1492</tt> <a class="py-toggle" href="#" id="ExcludeFilter-toggle" onclick="return toggle('ExcludeFilter');">-</a><tt class="py-line"><tt class="py-keyword">class</tt> <a class="py-def-name" href="pyinotify.ExcludeFilter-class.html">ExcludeFilter</a><tt class="py-op">:</tt> </tt>
+</div><div id="ExcludeFilter-collapsed" style="display:none;" pad="++++" indent="++++"></div><div id="ExcludeFilter-expanded"><a name="L1493"></a><tt class="py-lineno">1493</tt> <tt class="py-line"> <tt class="py-docstring">"""</tt> </tt>
+<a name="L1494"></a><tt class="py-lineno">1494</tt> <tt class="py-line"><tt class="py-docstring"> ExcludeFilter is an exclusion filter.</tt> </tt>
+<a name="L1495"></a><tt class="py-lineno">1495</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt>
+<a name="ExcludeFilter.__init__"></a><div id="ExcludeFilter.__init__-def"><a name="L1496"></a><tt class="py-lineno">1496</tt> <a class="py-toggle" href="#" id="ExcludeFilter.__init__-toggle" onclick="return toggle('ExcludeFilter.__init__');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="pyinotify.ExcludeFilter-class.html#__init__">__init__</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">,</tt> <tt class="py-param">arg_lst</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
+</div><div id="ExcludeFilter.__init__-collapsed" style="display:none;" pad="++++" indent="++++++++"></div><div id="ExcludeFilter.__init__-expanded"><a name="L1497"></a><tt class="py-lineno">1497</tt> <tt class="py-line"> <tt class="py-docstring">"""</tt> </tt>
+<a name="L1498"></a><tt class="py-lineno">1498</tt> <tt class="py-line"><tt class="py-docstring"> Examples:</tt> </tt>
+<a name="L1499"></a><tt class="py-lineno">1499</tt> <tt class="py-line"><tt class="py-docstring"> ef1 = ExcludeFilter(["^/etc/rc.*", "^/etc/hostname"])</tt> </tt>
+<a name="L1500"></a><tt class="py-lineno">1500</tt> <tt class="py-line"><tt class="py-docstring"> ef2 = ExcludeFilter("/my/path/exclude.lst")</tt> </tt>
+<a name="L1501"></a><tt class="py-lineno">1501</tt> <tt class="py-line"><tt class="py-docstring"> Where exclude.lst contains:</tt> </tt>
+<a name="L1502"></a><tt class="py-lineno">1502</tt> <tt class="py-line"><tt class="py-docstring"> ^/etc/rc.*</tt> </tt>
+<a name="L1503"></a><tt class="py-lineno">1503</tt> <tt class="py-line"><tt class="py-docstring"> ^/etc/hostname</tt> </tt>
+<a name="L1504"></a><tt class="py-lineno">1504</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
+<a name="L1505"></a><tt class="py-lineno">1505</tt> <tt class="py-line"><tt class="py-docstring"> @param arg_lst: is either a list of patterns or a filename from which</tt> </tt>
+<a name="L1506"></a><tt class="py-lineno">1506</tt> <tt class="py-line"><tt class="py-docstring"> patterns will be loaded.</tt> </tt>
+<a name="L1507"></a><tt class="py-lineno">1507</tt> <tt class="py-line"><tt class="py-docstring"> @type arg_lst: list of str or str</tt> </tt>
+<a name="L1508"></a><tt class="py-lineno">1508</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt>
+<a name="L1509"></a><tt class="py-lineno">1509</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">isinstance</tt><tt class="py-op">(</tt><tt class="py-name">arg_lst</tt><tt class="py-op">,</tt> <tt class="py-name">str</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
+<a name="L1510"></a><tt class="py-lineno">1510</tt> <tt class="py-line"> <tt class="py-name">lst</tt> <tt class="py-op">=</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-263" class="py-name" targets="Method pyinotify.ExcludeFilter._load_patterns_from_file()=pyinotify.ExcludeFilter-class.html#_load_patterns_from_file"><a title="pyinotify.ExcludeFilter._load_patterns_from_file" class="py-name" href="#" onclick="return doclink('link-263', '_load_patterns_from_file', 'link-263');">_load_patterns_from_file</a></tt><tt class="py-op">(</tt><tt class="py-name">arg_lst</tt><tt class="py-op">)</tt> </tt>
+<a name="L1511"></a><tt class="py-lineno">1511</tt> <tt class="py-line"> <tt class="py-keyword">elif</tt> <tt class="py-name">isinstance</tt><tt class="py-op">(</tt><tt class="py-name">arg_lst</tt><tt class="py-op">,</tt> <tt class="py-name">list</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
+<a name="L1512"></a><tt class="py-lineno">1512</tt> <tt class="py-line"> <tt class="py-name">lst</tt> <tt class="py-op">=</tt> <tt class="py-name">arg_lst</tt> </tt>
+<a name="L1513"></a><tt class="py-lineno">1513</tt> <tt class="py-line"> <tt class="py-keyword">else</tt><tt class="py-op">:</tt> </tt>
+<a name="L1514"></a><tt class="py-lineno">1514</tt> <tt class="py-line"> <tt class="py-keyword">raise</tt> <tt class="py-name">TypeError</tt> </tt>
+<a name="L1515"></a><tt class="py-lineno">1515</tt> <tt class="py-line"> </tt>
+<a name="L1516"></a><tt class="py-lineno">1516</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_lregex</tt> <tt class="py-op">=</tt> <tt class="py-op">[</tt><tt class="py-op">]</tt> </tt>
+<a name="L1517"></a><tt class="py-lineno">1517</tt> <tt class="py-line"> <tt class="py-keyword">for</tt> <tt class="py-name">regex</tt> <tt class="py-keyword">in</tt> <tt class="py-name">lst</tt><tt class="py-op">:</tt> </tt>
+<a name="L1518"></a><tt class="py-lineno">1518</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_lregex</tt><tt class="py-op">.</tt><tt class="py-name">append</tt><tt class="py-op">(</tt><tt class="py-name">re</tt><tt class="py-op">.</tt><tt class="py-name">compile</tt><tt class="py-op">(</tt><tt class="py-name">regex</tt><tt class="py-op">,</tt> <tt class="py-name">re</tt><tt class="py-op">.</tt><tt class="py-name">UNICODE</tt><tt class="py-op">)</tt><tt class="py-op">)</tt> </tt>
+</div><a name="L1519"></a><tt class="py-lineno">1519</tt> <tt class="py-line"> </tt>
+<a name="ExcludeFilter._load_patterns_from_file"></a><div id="ExcludeFilter._load_patterns_from_file-def"><a name="L1520"></a><tt class="py-lineno">1520</tt> <a class="py-toggle" href="#" id="ExcludeFilter._load_patterns_from_file-toggle" onclick="return toggle('ExcludeFilter._load_patterns_from_file');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="pyinotify.ExcludeFilter-class.html#_load_patterns_from_file">_load_patterns_from_file</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">,</tt> <tt class="py-param">filename</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
+</div><div id="ExcludeFilter._load_patterns_from_file-collapsed" style="display:none;" pad="++++" indent="++++++++"></div><div id="ExcludeFilter._load_patterns_from_file-expanded"><a name="L1521"></a><tt class="py-lineno">1521</tt> <tt class="py-line"> <tt class="py-name">lst</tt> <tt class="py-op">=</tt> <tt class="py-op">[</tt><tt class="py-op">]</tt> </tt>
+<a name="L1522"></a><tt class="py-lineno">1522</tt> <tt class="py-line"> <tt class="py-name">file_obj</tt> <tt class="py-op">=</tt> <tt class="py-name">file</tt><tt class="py-op">(</tt><tt class="py-name">filename</tt><tt class="py-op">,</tt> <tt class="py-string">'r'</tt><tt class="py-op">)</tt> </tt>
+<a name="L1523"></a><tt class="py-lineno">1523</tt> <tt class="py-line"> <tt class="py-keyword">try</tt><tt class="py-op">:</tt> </tt>
+<a name="L1524"></a><tt class="py-lineno">1524</tt> <tt class="py-line"> <tt class="py-keyword">for</tt> <tt class="py-name">line</tt> <tt class="py-keyword">in</tt> <tt class="py-name">file_obj</tt><tt class="py-op">.</tt><tt class="py-name">readlines</tt><tt class="py-op">(</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
+<a name="L1525"></a><tt class="py-lineno">1525</tt> <tt class="py-line"> <tt class="py-comment"># Trim leading an trailing whitespaces</tt> </tt>
+<a name="L1526"></a><tt class="py-lineno">1526</tt> <tt class="py-line"> <tt class="py-name">pattern</tt> <tt class="py-op">=</tt> <tt class="py-name">line</tt><tt class="py-op">.</tt><tt class="py-name">strip</tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt>
+<a name="L1527"></a><tt class="py-lineno">1527</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-keyword">not</tt> <tt class="py-name">pattern</tt> <tt class="py-keyword">or</tt> <tt class="py-name">pattern</tt><tt class="py-op">.</tt><tt class="py-name">startswith</tt><tt class="py-op">(</tt><tt class="py-string">'#'</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
+<a name="L1528"></a><tt class="py-lineno">1528</tt> <tt class="py-line"> <tt class="py-keyword">continue</tt> </tt>
+<a name="L1529"></a><tt class="py-lineno">1529</tt> <tt class="py-line"> <tt class="py-name">lst</tt><tt class="py-op">.</tt><tt class="py-name">append</tt><tt class="py-op">(</tt><tt class="py-name">pattern</tt><tt class="py-op">)</tt> </tt>
+<a name="L1530"></a><tt class="py-lineno">1530</tt> <tt class="py-line"> <tt class="py-keyword">finally</tt><tt class="py-op">:</tt> </tt>
+<a name="L1531"></a><tt class="py-lineno">1531</tt> <tt class="py-line"> <tt class="py-name">file_obj</tt><tt class="py-op">.</tt><tt id="link-264" class="py-name"><a title="pyinotify.WatchManager.close" class="py-name" href="#" onclick="return doclink('link-264', 'close', 'link-196');">close</a></tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt>
+<a name="L1532"></a><tt class="py-lineno">1532</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-name">lst</tt> </tt>
+</div><a name="L1533"></a><tt class="py-lineno">1533</tt> <tt class="py-line"> </tt>
+<a name="ExcludeFilter._match"></a><div id="ExcludeFilter._match-def"><a name="L1534"></a><tt class="py-lineno">1534</tt> <a class="py-toggle" href="#" id="ExcludeFilter._match-toggle" onclick="return toggle('ExcludeFilter._match');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="pyinotify.ExcludeFilter-class.html#_match">_match</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">,</tt> <tt class="py-param">regex</tt><tt class="py-op">,</tt> <tt class="py-param">path</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
+</div><div id="ExcludeFilter._match-collapsed" style="display:none;" pad="++++" indent="++++++++"></div><div id="ExcludeFilter._match-expanded"><a name="L1535"></a><tt class="py-lineno">1535</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-name">regex</tt><tt class="py-op">.</tt><tt class="py-name">match</tt><tt class="py-op">(</tt><tt class="py-name">path</tt><tt class="py-op">)</tt> <tt class="py-keyword">is</tt> <tt class="py-keyword">not</tt> <tt class="py-name">None</tt> </tt>
+</div><a name="L1536"></a><tt class="py-lineno">1536</tt> <tt class="py-line"> </tt>
+<a name="ExcludeFilter.__call__"></a><div id="ExcludeFilter.__call__-def"><a name="L1537"></a><tt class="py-lineno">1537</tt> <a class="py-toggle" href="#" id="ExcludeFilter.__call__-toggle" onclick="return toggle('ExcludeFilter.__call__');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="pyinotify.ExcludeFilter-class.html#__call__">__call__</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">,</tt> <tt class="py-param">path</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
+</div><div id="ExcludeFilter.__call__-collapsed" style="display:none;" pad="++++" indent="++++++++"></div><div id="ExcludeFilter.__call__-expanded"><a name="L1538"></a><tt class="py-lineno">1538</tt> <tt class="py-line"> <tt class="py-docstring">"""</tt> </tt>
+<a name="L1539"></a><tt class="py-lineno">1539</tt> <tt class="py-line"><tt class="py-docstring"> @param path: Path to match against provided regexps.</tt> </tt>
+<a name="L1540"></a><tt class="py-lineno">1540</tt> <tt class="py-line"><tt class="py-docstring"> @type path: str</tt> </tt>
+<a name="L1541"></a><tt class="py-lineno">1541</tt> <tt class="py-line"><tt class="py-docstring"> @return: Return True if path has been matched and should</tt> </tt>
+<a name="L1542"></a><tt class="py-lineno">1542</tt> <tt class="py-line"><tt class="py-docstring"> be excluded, False otherwise.</tt> </tt>
+<a name="L1543"></a><tt class="py-lineno">1543</tt> <tt class="py-line"><tt class="py-docstring"> @rtype: bool</tt> </tt>
+<a name="L1544"></a><tt class="py-lineno">1544</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt>
+<a name="L1545"></a><tt class="py-lineno">1545</tt> <tt class="py-line"> <tt class="py-keyword">for</tt> <tt class="py-name">regex</tt> <tt class="py-keyword">in</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_lregex</tt><tt class="py-op">:</tt> </tt>
+<a name="L1546"></a><tt class="py-lineno">1546</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-265" class="py-name" targets="Method pyinotify.ExcludeFilter._match()=pyinotify.ExcludeFilter-class.html#_match"><a title="pyinotify.ExcludeFilter._match" class="py-name" href="#" onclick="return doclink('link-265', '_match', 'link-265');">_match</a></tt><tt class="py-op">(</tt><tt class="py-name">regex</tt><tt class="py-op">,</tt> <tt class="py-name">path</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
+<a name="L1547"></a><tt class="py-lineno">1547</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-name">True</tt> </tt>
+<a name="L1548"></a><tt class="py-lineno">1548</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-name">False</tt> </tt>
+</div></div><a name="L1549"></a><tt class="py-lineno">1549</tt> <tt class="py-line"> </tt>
+<a name="WatchManagerError"></a><div id="WatchManagerError-def"><a name="L1550"></a><tt class="py-lineno">1550</tt> <tt class="py-line"> </tt>
+<a name="L1551"></a><tt class="py-lineno">1551</tt> <a class="py-toggle" href="#" id="WatchManagerError-toggle" onclick="return toggle('WatchManagerError');">-</a><tt class="py-line"><tt class="py-keyword">class</tt> <a class="py-def-name" href="pyinotify.WatchManagerError-class.html">WatchManagerError</a><tt class="py-op">(</tt><tt class="py-base-class">Exception</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
+</div><div id="WatchManagerError-collapsed" style="display:none;" pad="++++" indent="++++"></div><div id="WatchManagerError-expanded"><a name="L1552"></a><tt class="py-lineno">1552</tt> <tt class="py-line"> <tt class="py-docstring">"""</tt> </tt>
+<a name="L1553"></a><tt class="py-lineno">1553</tt> <tt class="py-line"><tt class="py-docstring"> WatchManager Exception. Raised on error encountered on watches</tt> </tt>
+<a name="L1554"></a><tt class="py-lineno">1554</tt> <tt class="py-line"><tt class="py-docstring"> operations.</tt> </tt>
+<a name="L1555"></a><tt class="py-lineno">1555</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
+<a name="L1556"></a><tt class="py-lineno">1556</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt>
+<a name="WatchManagerError.__init__"></a><div id="WatchManagerError.__init__-def"><a name="L1557"></a><tt class="py-lineno">1557</tt> <a class="py-toggle" href="#" id="WatchManagerError.__init__-toggle" onclick="return toggle('WatchManagerError.__init__');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="pyinotify.WatchManagerError-class.html#__init__">__init__</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">,</tt> <tt class="py-param">msg</tt><tt class="py-op">,</tt> <tt class="py-param">wmd</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
+</div><div id="WatchManagerError.__init__-collapsed" style="display:none;" pad="++++" indent="++++++++"></div><div id="WatchManagerError.__init__-expanded"><a name="L1558"></a><tt class="py-lineno">1558</tt> <tt class="py-line"> <tt class="py-docstring">"""</tt> </tt>
+<a name="L1559"></a><tt class="py-lineno">1559</tt> <tt class="py-line"><tt class="py-docstring"> @param msg: Exception string's description.</tt> </tt>
+<a name="L1560"></a><tt class="py-lineno">1560</tt> <tt class="py-line"><tt class="py-docstring"> @type msg: string</tt> </tt>
+<a name="L1561"></a><tt class="py-lineno">1561</tt> <tt class="py-line"><tt class="py-docstring"> @param wmd: This dictionary contains the wd assigned to paths of the</tt> </tt>
+<a name="L1562"></a><tt class="py-lineno">1562</tt> <tt class="py-line"><tt class="py-docstring"> same call for which watches were successfully added.</tt> </tt>
+<a name="L1563"></a><tt class="py-lineno">1563</tt> <tt class="py-line"><tt class="py-docstring"> @type wmd: dict</tt> </tt>
+<a name="L1564"></a><tt class="py-lineno">1564</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt>
+<a name="L1565"></a><tt class="py-lineno">1565</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">wmd</tt> <tt class="py-op">=</tt> <tt class="py-name">wmd</tt> </tt>
+<a name="L1566"></a><tt class="py-lineno">1566</tt> <tt class="py-line"> <tt class="py-name">Exception</tt><tt class="py-op">.</tt><tt id="link-266" class="py-name"><a title="pyinotify.AsyncNotifier.__init__
+pyinotify.ColoredOutputFormat.__init__
+pyinotify.Event.__init__
+pyinotify.ExcludeFilter.__init__
+pyinotify.Notifier.__init__
+pyinotify.NotifierError.__init__
+pyinotify.ProcessEvent.__init__
+pyinotify.ProcessEventError.__init__
+pyinotify.RawOutputFormat.__init__
+pyinotify.SysCtlINotify.__init__
+pyinotify.ThreadedNotifier.__init__
+pyinotify.UnicodeLogRecord.__init__
+pyinotify.UnsupportedLibcVersionError.__init__
+pyinotify.UnsupportedPythonVersionError.__init__
+pyinotify.Watch.__init__
+pyinotify.WatchManager.__init__
+pyinotify.WatchManagerError.__init__
+pyinotify._Event.__init__
+pyinotify._RawEvent.__init__
+pyinotify._SysProcessEvent.__init__" class="py-name" href="#" onclick="return doclink('link-266', '__init__', 'link-1');">__init__</a></tt><tt class="py-op">(</tt><tt class="py-name">self</tt><tt class="py-op">,</tt> <tt class="py-name">msg</tt><tt class="py-op">)</tt> </tt>
+</div></div><a name="L1567"></a><tt class="py-lineno">1567</tt> <tt class="py-line"> </tt>
+<a name="WatchManager"></a><div id="WatchManager-def"><a name="L1568"></a><tt class="py-lineno">1568</tt> <tt class="py-line"> </tt>
+<a name="L1569"></a><tt class="py-lineno">1569</tt> <a class="py-toggle" href="#" id="WatchManager-toggle" onclick="return toggle('WatchManager');">-</a><tt class="py-line"><tt class="py-keyword">class</tt> <a class="py-def-name" href="pyinotify.WatchManager-class.html">WatchManager</a><tt class="py-op">:</tt> </tt>
+</div><div id="WatchManager-collapsed" style="display:none;" pad="++++" indent="++++"></div><div id="WatchManager-expanded"><a name="L1570"></a><tt class="py-lineno">1570</tt> <tt class="py-line"> <tt class="py-docstring">"""</tt> </tt>
+<a name="L1571"></a><tt class="py-lineno">1571</tt> <tt class="py-line"><tt class="py-docstring"> Provide operations for watching files and directories. Its internal</tt> </tt>
+<a name="L1572"></a><tt class="py-lineno">1572</tt> <tt class="py-line"><tt class="py-docstring"> dictionary is used to reference watched items. When used inside</tt> </tt>
+<a name="L1573"></a><tt class="py-lineno">1573</tt> <tt class="py-line"><tt class="py-docstring"> threaded code, one must instanciate as many WatchManager instances as</tt> </tt>
+<a name="L1574"></a><tt class="py-lineno">1574</tt> <tt class="py-line"><tt class="py-docstring"> there are ThreadedNotifier instances.</tt> </tt>
+<a name="L1575"></a><tt class="py-lineno">1575</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
+<a name="L1576"></a><tt class="py-lineno">1576</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt>
+<a name="WatchManager.__init__"></a><div id="WatchManager.__init__-def"><a name="L1577"></a><tt class="py-lineno">1577</tt> <a class="py-toggle" href="#" id="WatchManager.__init__-toggle" onclick="return toggle('WatchManager.__init__');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="pyinotify.WatchManager-class.html#__init__">__init__</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">,</tt> <tt class="py-param">exclude_filter</tt><tt class="py-op">=</tt><tt class="py-keyword">lambda</tt> <tt class="py-name">path</tt><tt class="py-op">:</tt> <tt class="py-name">False</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
+</div><div id="WatchManager.__init__-collapsed" style="display:none;" pad="++++" indent="++++++++"></div><div id="WatchManager.__init__-expanded"><a name="L1578"></a><tt class="py-lineno">1578</tt> <tt class="py-line"> <tt class="py-docstring">"""</tt> </tt>
+<a name="L1579"></a><tt class="py-lineno">1579</tt> <tt class="py-line"><tt class="py-docstring"> Initialization: init inotify, init watch manager dictionary.</tt> </tt>
+<a name="L1580"></a><tt class="py-lineno">1580</tt> <tt class="py-line"><tt class="py-docstring"> Raise OSError if initialization fails.</tt> </tt>
+<a name="L1581"></a><tt class="py-lineno">1581</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
+<a name="L1582"></a><tt class="py-lineno">1582</tt> <tt class="py-line"><tt class="py-docstring"> @param exclude_filter: boolean function, returns True if current</tt> </tt>
+<a name="L1583"></a><tt class="py-lineno">1583</tt> <tt class="py-line"><tt class="py-docstring"> path must be excluded from being watched.</tt> </tt>
+<a name="L1584"></a><tt class="py-lineno">1584</tt> <tt class="py-line"><tt class="py-docstring"> Convenient for providing a common exclusion</tt> </tt>
+<a name="L1585"></a><tt class="py-lineno">1585</tt> <tt class="py-line"><tt class="py-docstring"> filter for every call to add_watch.</tt> </tt>
+<a name="L1586"></a><tt class="py-lineno">1586</tt> <tt class="py-line"><tt class="py-docstring"> @type exclude_filter: callable object</tt> </tt>
+<a name="L1587"></a><tt class="py-lineno">1587</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt>
+<a name="L1588"></a><tt class="py-lineno">1588</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_exclude_filter</tt> <tt class="py-op">=</tt> <tt class="py-name">exclude_filter</tt> </tt>
+<a name="L1589"></a><tt class="py-lineno">1589</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_wmd</tt> <tt class="py-op">=</tt> <tt class="py-op">{</tt><tt class="py-op">}</tt> <tt class="py-comment"># watch dict key: watch descriptor, value: watch</tt> </tt>
+<a name="L1590"></a><tt class="py-lineno">1590</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_fd</tt> <tt class="py-op">=</tt> <tt id="link-267" class="py-name"><a title="pyinotify.LIBC" class="py-name" href="#" onclick="return doclink('link-267', 'LIBC', 'link-7');">LIBC</a></tt><tt class="py-op">.</tt><tt class="py-name">inotify_init</tt><tt class="py-op">(</tt><tt class="py-op">)</tt> <tt class="py-comment"># inotify's init, file descriptor</tt> </tt>
+<a name="L1591"></a><tt class="py-lineno">1591</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_fd</tt> <tt class="py-op">&lt;</tt> <tt class="py-number">0</tt><tt class="py-op">:</tt> </tt>
+<a name="L1592"></a><tt class="py-lineno">1592</tt> <tt class="py-line"> <tt class="py-name">err</tt> <tt class="py-op">=</tt> <tt class="py-string">'Cannot initialize new instance of inotify%s'</tt> <tt class="py-op">%</tt> <tt id="link-268" class="py-name"><a title="pyinotify.strerrno" class="py-name" href="#" onclick="return doclink('link-268', 'strerrno', 'link-8');">strerrno</a></tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt>
+<a name="L1593"></a><tt class="py-lineno">1593</tt> <tt class="py-line"> <tt class="py-keyword">raise</tt> <tt class="py-name">OSError</tt><tt class="py-op">(</tt><tt class="py-name">err</tt><tt class="py-op">)</tt> </tt>
+</div><a name="L1594"></a><tt class="py-lineno">1594</tt> <tt class="py-line"> </tt>
+<a name="WatchManager.close"></a><div id="WatchManager.close-def"><a name="L1595"></a><tt class="py-lineno">1595</tt> <a class="py-toggle" href="#" id="WatchManager.close-toggle" onclick="return toggle('WatchManager.close');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="pyinotify.WatchManager-class.html#close">close</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
+</div><div id="WatchManager.close-collapsed" style="display:none;" pad="++++" indent="++++++++"></div><div id="WatchManager.close-expanded"><a name="L1596"></a><tt class="py-lineno">1596</tt> <tt class="py-line"> <tt class="py-docstring">"""</tt> </tt>
+<a name="L1597"></a><tt class="py-lineno">1597</tt> <tt class="py-line"><tt class="py-docstring"> Close inotify's file descriptor, this action will also automatically</tt> </tt>
+<a name="L1598"></a><tt class="py-lineno">1598</tt> <tt class="py-line"><tt class="py-docstring"> remove (i.e. stop watching) all its associated watch descriptors.</tt> </tt>
+<a name="L1599"></a><tt class="py-lineno">1599</tt> <tt class="py-line"><tt class="py-docstring"> After a call to this method the WatchManager's instance become useless</tt> </tt>
+<a name="L1600"></a><tt class="py-lineno">1600</tt> <tt class="py-line"><tt class="py-docstring"> and cannot be reused, a new instance must then be instanciated. It</tt> </tt>
+<a name="L1601"></a><tt class="py-lineno">1601</tt> <tt class="py-line"><tt class="py-docstring"> makes sense to call this method in few situations for instance if</tt> </tt>
+<a name="L1602"></a><tt class="py-lineno">1602</tt> <tt class="py-line"><tt class="py-docstring"> several independant WatchManager must be instanciated or if all watches</tt> </tt>
+<a name="L1603"></a><tt class="py-lineno">1603</tt> <tt class="py-line"><tt class="py-docstring"> must be removed and no other watches need to be added.</tt> </tt>
+<a name="L1604"></a><tt class="py-lineno">1604</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt>
+<a name="L1605"></a><tt class="py-lineno">1605</tt> <tt class="py-line"> <tt class="py-name">os</tt><tt class="py-op">.</tt><tt id="link-269" class="py-name"><a title="pyinotify.WatchManager.close" class="py-name" href="#" onclick="return doclink('link-269', 'close', 'link-196');">close</a></tt><tt class="py-op">(</tt><tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_fd</tt><tt class="py-op">)</tt> </tt>
+</div><a name="L1606"></a><tt class="py-lineno">1606</tt> <tt class="py-line"> </tt>
+<a name="WatchManager.get_fd"></a><div id="WatchManager.get_fd-def"><a name="L1607"></a><tt class="py-lineno">1607</tt> <a class="py-toggle" href="#" id="WatchManager.get_fd-toggle" onclick="return toggle('WatchManager.get_fd');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="pyinotify.WatchManager-class.html#get_fd">get_fd</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
+</div><div id="WatchManager.get_fd-collapsed" style="display:none;" pad="++++" indent="++++++++"></div><div id="WatchManager.get_fd-expanded"><a name="L1608"></a><tt class="py-lineno">1608</tt> <tt class="py-line"> <tt class="py-docstring">"""</tt> </tt>
+<a name="L1609"></a><tt class="py-lineno">1609</tt> <tt class="py-line"><tt class="py-docstring"> Return assigned inotify's file descriptor.</tt> </tt>
+<a name="L1610"></a><tt class="py-lineno">1610</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
+<a name="L1611"></a><tt class="py-lineno">1611</tt> <tt class="py-line"><tt class="py-docstring"> @return: File descriptor.</tt> </tt>
+<a name="L1612"></a><tt class="py-lineno">1612</tt> <tt class="py-line"><tt class="py-docstring"> @rtype: int</tt> </tt>
+<a name="L1613"></a><tt class="py-lineno">1613</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt>
+<a name="L1614"></a><tt class="py-lineno">1614</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_fd</tt> </tt>
+</div><a name="L1615"></a><tt class="py-lineno">1615</tt> <tt class="py-line"> </tt>
+<a name="WatchManager.get_watch"></a><div id="WatchManager.get_watch-def"><a name="L1616"></a><tt class="py-lineno">1616</tt> <a class="py-toggle" href="#" id="WatchManager.get_watch-toggle" onclick="return toggle('WatchManager.get_watch');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="pyinotify.WatchManager-class.html#get_watch">get_watch</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">,</tt> <tt class="py-param">wd</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
+</div><div id="WatchManager.get_watch-collapsed" style="display:none;" pad="++++" indent="++++++++"></div><div id="WatchManager.get_watch-expanded"><a name="L1617"></a><tt class="py-lineno">1617</tt> <tt class="py-line"> <tt class="py-docstring">"""</tt> </tt>
+<a name="L1618"></a><tt class="py-lineno">1618</tt> <tt class="py-line"><tt class="py-docstring"> Get watch from provided watch descriptor wd.</tt> </tt>
+<a name="L1619"></a><tt class="py-lineno">1619</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
+<a name="L1620"></a><tt class="py-lineno">1620</tt> <tt class="py-line"><tt class="py-docstring"> @param wd: Watch descriptor.</tt> </tt>
+<a name="L1621"></a><tt class="py-lineno">1621</tt> <tt class="py-line"><tt class="py-docstring"> @type wd: int</tt> </tt>
+<a name="L1622"></a><tt class="py-lineno">1622</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt>
+<a name="L1623"></a><tt class="py-lineno">1623</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_wmd</tt><tt class="py-op">.</tt><tt class="py-name">get</tt><tt class="py-op">(</tt><tt class="py-name">wd</tt><tt class="py-op">)</tt> </tt>
+</div><a name="L1624"></a><tt class="py-lineno">1624</tt> <tt class="py-line"> </tt>
+<a name="WatchManager.del_watch"></a><div id="WatchManager.del_watch-def"><a name="L1625"></a><tt class="py-lineno">1625</tt> <a class="py-toggle" href="#" id="WatchManager.del_watch-toggle" onclick="return toggle('WatchManager.del_watch');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="pyinotify.WatchManager-class.html#del_watch">del_watch</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">,</tt> <tt class="py-param">wd</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
+</div><div id="WatchManager.del_watch-collapsed" style="display:none;" pad="++++" indent="++++++++"></div><div id="WatchManager.del_watch-expanded"><a name="L1626"></a><tt class="py-lineno">1626</tt> <tt class="py-line"> <tt class="py-docstring">"""</tt> </tt>
+<a name="L1627"></a><tt class="py-lineno">1627</tt> <tt class="py-line"><tt class="py-docstring"> Remove watch entry associated to watch descriptor wd.</tt> </tt>
+<a name="L1628"></a><tt class="py-lineno">1628</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
+<a name="L1629"></a><tt class="py-lineno">1629</tt> <tt class="py-line"><tt class="py-docstring"> @param wd: Watch descriptor.</tt> </tt>
+<a name="L1630"></a><tt class="py-lineno">1630</tt> <tt class="py-line"><tt class="py-docstring"> @type wd: int</tt> </tt>
+<a name="L1631"></a><tt class="py-lineno">1631</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt>
+<a name="L1632"></a><tt class="py-lineno">1632</tt> <tt class="py-line"> <tt class="py-keyword">try</tt><tt class="py-op">:</tt> </tt>
+<a name="L1633"></a><tt class="py-lineno">1633</tt> <tt class="py-line"> <tt class="py-keyword">del</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_wmd</tt><tt class="py-op">[</tt><tt class="py-name">wd</tt><tt class="py-op">]</tt> </tt>
+<a name="L1634"></a><tt class="py-lineno">1634</tt> <tt class="py-line"> <tt class="py-keyword">except</tt> <tt class="py-name">KeyError</tt><tt class="py-op">,</tt> <tt class="py-name">err</tt><tt class="py-op">:</tt> </tt>
+<a name="L1635"></a><tt class="py-lineno">1635</tt> <tt class="py-line"> <tt id="link-270" class="py-name"><a title="pyinotify.log" class="py-name" href="#" onclick="return doclink('link-270', 'log', 'link-27');">log</a></tt><tt class="py-op">.</tt><tt class="py-name">error</tt><tt class="py-op">(</tt><tt class="py-name">str</tt><tt class="py-op">(</tt><tt class="py-name">err</tt><tt class="py-op">)</tt><tt class="py-op">)</tt> </tt>
+</div><a name="L1636"></a><tt class="py-lineno">1636</tt> <tt class="py-line"> </tt>
+<a name="L1637"></a><tt class="py-lineno">1637</tt> <tt class="py-line"> <tt class="py-decorator">@</tt><tt class="py-decorator">property</tt> </tt>
+<a name="WatchManager.watches"></a><div id="WatchManager.watches-def"><a name="L1638"></a><tt class="py-lineno">1638</tt> <a class="py-toggle" href="#" id="WatchManager.watches-toggle" onclick="return toggle('WatchManager.watches');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="pyinotify.WatchManager-class.html#watches">watches</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
+</div><div id="WatchManager.watches-collapsed" style="display:none;" pad="++++" indent="++++++++"></div><div id="WatchManager.watches-expanded"><a name="L1639"></a><tt class="py-lineno">1639</tt> <tt class="py-line"> <tt class="py-docstring">"""</tt> </tt>
+<a name="L1640"></a><tt class="py-lineno">1640</tt> <tt class="py-line"><tt class="py-docstring"> Get a reference on the internal watch manager dictionary.</tt> </tt>
+<a name="L1641"></a><tt class="py-lineno">1641</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
+<a name="L1642"></a><tt class="py-lineno">1642</tt> <tt class="py-line"><tt class="py-docstring"> @return: Internal watch manager dictionary.</tt> </tt>
+<a name="L1643"></a><tt class="py-lineno">1643</tt> <tt class="py-line"><tt class="py-docstring"> @rtype: dict</tt> </tt>
+<a name="L1644"></a><tt class="py-lineno">1644</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt>
+<a name="L1645"></a><tt class="py-lineno">1645</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_wmd</tt> </tt>
+</div><a name="L1646"></a><tt class="py-lineno">1646</tt> <tt class="py-line"> </tt>
+<a name="WatchManager.__format_path"></a><div id="WatchManager.__format_path-def"><a name="L1647"></a><tt class="py-lineno">1647</tt> <a class="py-toggle" href="#" id="WatchManager.__format_path-toggle" onclick="return toggle('WatchManager.__format_path');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="pyinotify.WatchManager-class.html#__format_path">__format_path</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">,</tt> <tt class="py-param">path</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
+</div><div id="WatchManager.__format_path-collapsed" style="display:none;" pad="++++" indent="++++++++"></div><div id="WatchManager.__format_path-expanded"><a name="L1648"></a><tt class="py-lineno">1648</tt> <tt class="py-line"> <tt class="py-docstring">"""</tt> </tt>
+<a name="L1649"></a><tt class="py-lineno">1649</tt> <tt class="py-line"><tt class="py-docstring"> Format path to its internal (stored in watch manager) representation.</tt> </tt>
+<a name="L1650"></a><tt class="py-lineno">1650</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt>
+<a name="L1651"></a><tt class="py-lineno">1651</tt> <tt class="py-line"> <tt class="py-comment"># Unicode strings are converted to byte strings, it seems to be</tt> </tt>
+<a name="L1652"></a><tt class="py-lineno">1652</tt> <tt class="py-line"> <tt class="py-comment"># required because LIBC.inotify_add_watch does not work well when</tt> </tt>
+<a name="L1653"></a><tt class="py-lineno">1653</tt> <tt class="py-line"> <tt class="py-comment"># it receives an ctypes.create_unicode_buffer instance as argument.</tt> </tt>
+<a name="L1654"></a><tt class="py-lineno">1654</tt> <tt class="py-line"> <tt class="py-comment"># Therefore even wd are indexed with bytes string and not with</tt> </tt>
+<a name="L1655"></a><tt class="py-lineno">1655</tt> <tt class="py-line"> <tt class="py-comment"># unicode paths.</tt> </tt>
+<a name="L1656"></a><tt class="py-lineno">1656</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">isinstance</tt><tt class="py-op">(</tt><tt class="py-name">path</tt><tt class="py-op">,</tt> <tt class="py-name">unicode</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
+<a name="L1657"></a><tt class="py-lineno">1657</tt> <tt class="py-line"> <tt class="py-name">path</tt> <tt class="py-op">=</tt> <tt class="py-name">path</tt><tt class="py-op">.</tt><tt class="py-name">encode</tt><tt class="py-op">(</tt><tt class="py-name">sys</tt><tt class="py-op">.</tt><tt class="py-name">getfilesystemencoding</tt><tt class="py-op">(</tt><tt class="py-op">)</tt><tt class="py-op">)</tt> </tt>
+<a name="L1658"></a><tt class="py-lineno">1658</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-name">os</tt><tt class="py-op">.</tt><tt class="py-name">path</tt><tt class="py-op">.</tt><tt class="py-name">normpath</tt><tt class="py-op">(</tt><tt class="py-name">path</tt><tt class="py-op">)</tt> </tt>
+</div><a name="L1659"></a><tt class="py-lineno">1659</tt> <tt class="py-line"> </tt>
+<a name="WatchManager.__add_watch"></a><div id="WatchManager.__add_watch-def"><a name="L1660"></a><tt class="py-lineno">1660</tt> <a class="py-toggle" href="#" id="WatchManager.__add_watch-toggle" onclick="return toggle('WatchManager.__add_watch');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="pyinotify.WatchManager-class.html#__add_watch">__add_watch</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">,</tt> <tt class="py-param">path</tt><tt class="py-op">,</tt> <tt class="py-param">mask</tt><tt class="py-op">,</tt> <tt class="py-param">proc_fun</tt><tt class="py-op">,</tt> <tt class="py-param">auto_add</tt><tt class="py-op">,</tt> <tt class="py-param">exclude_filter</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
+</div><div id="WatchManager.__add_watch-collapsed" style="display:none;" pad="++++" indent="++++++++"></div><div id="WatchManager.__add_watch-expanded"><a name="L1661"></a><tt class="py-lineno">1661</tt> <tt class="py-line"> <tt class="py-docstring">"""</tt> </tt>
+<a name="L1662"></a><tt class="py-lineno">1662</tt> <tt class="py-line"><tt class="py-docstring"> Add a watch on path, build a Watch object and insert it in the</tt> </tt>
+<a name="L1663"></a><tt class="py-lineno">1663</tt> <tt class="py-line"><tt class="py-docstring"> watch manager dictionary. Return the wd value.</tt> </tt>
+<a name="L1664"></a><tt class="py-lineno">1664</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt>
+<a name="L1665"></a><tt class="py-lineno">1665</tt> <tt class="py-line"> <tt class="py-name">byte_path</tt> <tt class="py-op">=</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-271" class="py-name" targets="Method pyinotify.WatchManager.__format_path()=pyinotify.WatchManager-class.html#__format_path"><a title="pyinotify.WatchManager.__format_path" class="py-name" href="#" onclick="return doclink('link-271', '__format_path', 'link-271');">__format_path</a></tt><tt class="py-op">(</tt><tt class="py-name">path</tt><tt class="py-op">)</tt> </tt>
+<a name="L1666"></a><tt class="py-lineno">1666</tt> <tt class="py-line"> <tt class="py-name">wd_</tt> <tt class="py-op">=</tt> <tt id="link-272" class="py-name"><a title="pyinotify.LIBC" class="py-name" href="#" onclick="return doclink('link-272', 'LIBC', 'link-7');">LIBC</a></tt><tt class="py-op">.</tt><tt class="py-name">inotify_add_watch</tt><tt class="py-op">(</tt><tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_fd</tt><tt class="py-op">,</tt> </tt>
+<a name="L1667"></a><tt class="py-lineno">1667</tt> <tt class="py-line"> <tt class="py-name">ctypes</tt><tt class="py-op">.</tt><tt class="py-name">create_string_buffer</tt><tt class="py-op">(</tt><tt class="py-name">byte_path</tt><tt class="py-op">)</tt><tt class="py-op">,</tt> </tt>
+<a name="L1668"></a><tt class="py-lineno">1668</tt> <tt class="py-line"> <tt class="py-name">mask</tt><tt class="py-op">)</tt> </tt>
+<a name="L1669"></a><tt class="py-lineno">1669</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">wd_</tt> <tt class="py-op">&lt;</tt> <tt class="py-number">0</tt><tt class="py-op">:</tt> </tt>
+<a name="L1670"></a><tt class="py-lineno">1670</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-name">wd_</tt> </tt>
+<a name="L1671"></a><tt class="py-lineno">1671</tt> <tt class="py-line"> <tt class="py-name">watch_</tt> <tt class="py-op">=</tt> <tt id="link-273" class="py-name" targets="Class pyinotify.Watch=pyinotify.Watch-class.html"><a title="pyinotify.Watch" class="py-name" href="#" onclick="return doclink('link-273', 'Watch', 'link-273');">Watch</a></tt><tt class="py-op">(</tt><tt class="py-name">wd</tt><tt class="py-op">=</tt><tt class="py-name">wd_</tt><tt class="py-op">,</tt> <tt class="py-name">path</tt><tt class="py-op">=</tt><tt class="py-name">byte_path</tt><tt class="py-op">,</tt> <tt class="py-name">mask</tt><tt class="py-op">=</tt><tt class="py-name">mask</tt><tt class="py-op">,</tt> <tt id="link-274" class="py-name"><a title="pyinotify.Notifier.proc_fun" class="py-name" href="#" onclick="return doclink('link-274', 'proc_fun', 'link-141');">proc_fun</a></tt><tt class="py-op">=</tt><tt id="link-275" class="py-name"><a title="pyinotify.Notifier.proc_fun" class="py-name" href="#" onclick="return doclink('link-275', 'proc_fun', 'link-141');">proc_fun</a></tt><tt class="py-op">,</tt> </tt>
+<a name="L1672"></a><tt class="py-lineno">1672</tt> <tt class="py-line"> <tt class="py-name">auto_add</tt><tt class="py-op">=</tt><tt class="py-name">auto_add</tt><tt class="py-op">,</tt> <tt class="py-name">exclude_filter</tt><tt class="py-op">=</tt><tt class="py-name">exclude_filter</tt><tt class="py-op">)</tt> </tt>
+<a name="L1673"></a><tt class="py-lineno">1673</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_wmd</tt><tt class="py-op">[</tt><tt class="py-name">wd_</tt><tt class="py-op">]</tt> <tt class="py-op">=</tt> <tt class="py-name">watch_</tt> </tt>
+<a name="L1674"></a><tt class="py-lineno">1674</tt> <tt class="py-line"> <tt id="link-276" class="py-name"><a title="pyinotify.log" class="py-name" href="#" onclick="return doclink('link-276', 'log', 'link-27');">log</a></tt><tt class="py-op">.</tt><tt class="py-name">debug</tt><tt class="py-op">(</tt><tt class="py-string">'New %s'</tt><tt class="py-op">,</tt> <tt class="py-name">watch_</tt><tt class="py-op">)</tt> </tt>
+<a name="L1675"></a><tt class="py-lineno">1675</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-name">wd_</tt> </tt>
+</div><a name="L1676"></a><tt class="py-lineno">1676</tt> <tt class="py-line"> </tt>
+<a name="WatchManager.__glob"></a><div id="WatchManager.__glob-def"><a name="L1677"></a><tt class="py-lineno">1677</tt> <a class="py-toggle" href="#" id="WatchManager.__glob-toggle" onclick="return toggle('WatchManager.__glob');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="pyinotify.WatchManager-class.html#__glob">__glob</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">,</tt> <tt class="py-param">path</tt><tt class="py-op">,</tt> <tt class="py-param">do_glob</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
+</div><div id="WatchManager.__glob-collapsed" style="display:none;" pad="++++" indent="++++++++"></div><div id="WatchManager.__glob-expanded"><a name="L1678"></a><tt class="py-lineno">1678</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">do_glob</tt><tt class="py-op">:</tt> </tt>
+<a name="L1679"></a><tt class="py-lineno">1679</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-name">glob</tt><tt class="py-op">.</tt><tt class="py-name">iglob</tt><tt class="py-op">(</tt><tt class="py-name">path</tt><tt class="py-op">)</tt> </tt>
+<a name="L1680"></a><tt class="py-lineno">1680</tt> <tt class="py-line"> <tt class="py-keyword">else</tt><tt class="py-op">:</tt> </tt>
+<a name="L1681"></a><tt class="py-lineno">1681</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-op">[</tt><tt class="py-name">path</tt><tt class="py-op">]</tt> </tt>
+</div><a name="L1682"></a><tt class="py-lineno">1682</tt> <tt class="py-line"> </tt>
+<a name="WatchManager.add_watch"></a><div id="WatchManager.add_watch-def"><a name="L1683"></a><tt class="py-lineno">1683</tt> <a class="py-toggle" href="#" id="WatchManager.add_watch-toggle" onclick="return toggle('WatchManager.add_watch');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="pyinotify.WatchManager-class.html#add_watch">add_watch</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">,</tt> <tt class="py-param">path</tt><tt class="py-op">,</tt> <tt class="py-param">mask</tt><tt class="py-op">,</tt> <tt class="py-param">proc_fun</tt><tt class="py-op">=</tt><tt class="py-name">None</tt><tt class="py-op">,</tt> <tt class="py-param">rec</tt><tt class="py-op">=</tt><tt class="py-name">False</tt><tt class="py-op">,</tt> </tt>
+<a name="L1684"></a><tt class="py-lineno">1684</tt> <tt class="py-line"> <tt class="py-param">auto_add</tt><tt class="py-op">=</tt><tt class="py-name">False</tt><tt class="py-op">,</tt> <tt class="py-param">do_glob</tt><tt class="py-op">=</tt><tt class="py-name">False</tt><tt class="py-op">,</tt> <tt class="py-param">quiet</tt><tt class="py-op">=</tt><tt class="py-name">True</tt><tt class="py-op">,</tt> </tt>
+<a name="L1685"></a><tt class="py-lineno">1685</tt> <tt class="py-line"> <tt class="py-param">exclude_filter</tt><tt class="py-op">=</tt><tt class="py-name">None</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
+</div><div id="WatchManager.add_watch-collapsed" style="display:none;" pad="++++" indent="++++++++"></div><div id="WatchManager.add_watch-expanded"><a name="L1686"></a><tt class="py-lineno">1686</tt> <tt class="py-line"> <tt class="py-docstring">"""</tt> </tt>
+<a name="L1687"></a><tt class="py-lineno">1687</tt> <tt class="py-line"><tt class="py-docstring"> Add watch(s) on the provided |path|(s) with associated |mask| flag</tt> </tt>
+<a name="L1688"></a><tt class="py-lineno">1688</tt> <tt class="py-line"><tt class="py-docstring"> value and optionally with a processing |proc_fun| function and</tt> </tt>
+<a name="L1689"></a><tt class="py-lineno">1689</tt> <tt class="py-line"><tt class="py-docstring"> recursive flag |rec| set to True.</tt> </tt>
+<a name="L1690"></a><tt class="py-lineno">1690</tt> <tt class="py-line"><tt class="py-docstring"> Ideally |path| components should not be unicode objects. Note that</tt> </tt>
+<a name="L1691"></a><tt class="py-lineno">1691</tt> <tt class="py-line"><tt class="py-docstring"> although unicode paths are accepted there are converted to byte</tt> </tt>
+<a name="L1692"></a><tt class="py-lineno">1692</tt> <tt class="py-line"><tt class="py-docstring"> strings before a watch is put on that path. The encoding used for</tt> </tt>
+<a name="L1693"></a><tt class="py-lineno">1693</tt> <tt class="py-line"><tt class="py-docstring"> converting the unicode object is given by sys.getfilesystemencoding().</tt> </tt>
+<a name="L1694"></a><tt class="py-lineno">1694</tt> <tt class="py-line"><tt class="py-docstring"> If |path| si already watched it is ignored, but if it is called with</tt> </tt>
+<a name="L1695"></a><tt class="py-lineno">1695</tt> <tt class="py-line"><tt class="py-docstring"> option rec=True a watch is put on each one of its not-watched</tt> </tt>
+<a name="L1696"></a><tt class="py-lineno">1696</tt> <tt class="py-line"><tt class="py-docstring"> subdirectory.</tt> </tt>
+<a name="L1697"></a><tt class="py-lineno">1697</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
+<a name="L1698"></a><tt class="py-lineno">1698</tt> <tt class="py-line"><tt class="py-docstring"> @param path: Path to watch, the path can either be a file or a</tt> </tt>
+<a name="L1699"></a><tt class="py-lineno">1699</tt> <tt class="py-line"><tt class="py-docstring"> directory. Also accepts a sequence (list) of paths.</tt> </tt>
+<a name="L1700"></a><tt class="py-lineno">1700</tt> <tt class="py-line"><tt class="py-docstring"> @type path: string or list of strings</tt> </tt>
+<a name="L1701"></a><tt class="py-lineno">1701</tt> <tt class="py-line"><tt class="py-docstring"> @param mask: Bitmask of events.</tt> </tt>
+<a name="L1702"></a><tt class="py-lineno">1702</tt> <tt class="py-line"><tt class="py-docstring"> @type mask: int</tt> </tt>
+<a name="L1703"></a><tt class="py-lineno">1703</tt> <tt class="py-line"><tt class="py-docstring"> @param proc_fun: Processing object.</tt> </tt>
+<a name="L1704"></a><tt class="py-lineno">1704</tt> <tt class="py-line"><tt class="py-docstring"> @type proc_fun: function or ProcessEvent instance or instance of</tt> </tt>
+<a name="L1705"></a><tt class="py-lineno">1705</tt> <tt class="py-line"><tt class="py-docstring"> one of its subclasses or callable object.</tt> </tt>
+<a name="L1706"></a><tt class="py-lineno">1706</tt> <tt class="py-line"><tt class="py-docstring"> @param rec: Recursively add watches from path on all its</tt> </tt>
+<a name="L1707"></a><tt class="py-lineno">1707</tt> <tt class="py-line"><tt class="py-docstring"> subdirectories, set to False by default (doesn't</tt> </tt>
+<a name="L1708"></a><tt class="py-lineno">1708</tt> <tt class="py-line"><tt class="py-docstring"> follows symlinks in any case).</tt> </tt>
+<a name="L1709"></a><tt class="py-lineno">1709</tt> <tt class="py-line"><tt class="py-docstring"> @type rec: bool</tt> </tt>
+<a name="L1710"></a><tt class="py-lineno">1710</tt> <tt class="py-line"><tt class="py-docstring"> @param auto_add: Automatically add watches on newly created</tt> </tt>
+<a name="L1711"></a><tt class="py-lineno">1711</tt> <tt class="py-line"><tt class="py-docstring"> directories in watched parent |path| directory.</tt> </tt>
+<a name="L1712"></a><tt class="py-lineno">1712</tt> <tt class="py-line"><tt class="py-docstring"> @type auto_add: bool</tt> </tt>
+<a name="L1713"></a><tt class="py-lineno">1713</tt> <tt class="py-line"><tt class="py-docstring"> @param do_glob: Do globbing on pathname (see standard globbing</tt> </tt>
+<a name="L1714"></a><tt class="py-lineno">1714</tt> <tt class="py-line"><tt class="py-docstring"> module for more informations).</tt> </tt>
+<a name="L1715"></a><tt class="py-lineno">1715</tt> <tt class="py-line"><tt class="py-docstring"> @type do_glob: bool</tt> </tt>
+<a name="L1716"></a><tt class="py-lineno">1716</tt> <tt class="py-line"><tt class="py-docstring"> @param quiet: if False raises a WatchManagerError exception on</tt> </tt>
+<a name="L1717"></a><tt class="py-lineno">1717</tt> <tt class="py-line"><tt class="py-docstring"> error. See example not_quiet.py.</tt> </tt>
+<a name="L1718"></a><tt class="py-lineno">1718</tt> <tt class="py-line"><tt class="py-docstring"> @type quiet: bool</tt> </tt>
+<a name="L1719"></a><tt class="py-lineno">1719</tt> <tt class="py-line"><tt class="py-docstring"> @param exclude_filter: predicate (boolean function), which returns</tt> </tt>
+<a name="L1720"></a><tt class="py-lineno">1720</tt> <tt class="py-line"><tt class="py-docstring"> True if the current path must be excluded</tt> </tt>
+<a name="L1721"></a><tt class="py-lineno">1721</tt> <tt class="py-line"><tt class="py-docstring"> from being watched. This argument has</tt> </tt>
+<a name="L1722"></a><tt class="py-lineno">1722</tt> <tt class="py-line"><tt class="py-docstring"> precedence over exclude_filter passed to</tt> </tt>
+<a name="L1723"></a><tt class="py-lineno">1723</tt> <tt class="py-line"><tt class="py-docstring"> the class' constructor.</tt> </tt>
+<a name="L1724"></a><tt class="py-lineno">1724</tt> <tt class="py-line"><tt class="py-docstring"> @type exclude_filter: callable object</tt> </tt>
+<a name="L1725"></a><tt class="py-lineno">1725</tt> <tt class="py-line"><tt class="py-docstring"> @return: dict of paths associated to watch descriptors. A wd value</tt> </tt>
+<a name="L1726"></a><tt class="py-lineno">1726</tt> <tt class="py-line"><tt class="py-docstring"> is positive if the watch was added sucessfully,</tt> </tt>
+<a name="L1727"></a><tt class="py-lineno">1727</tt> <tt class="py-line"><tt class="py-docstring"> otherwise the value is negative. If the path was invalid</tt> </tt>
+<a name="L1728"></a><tt class="py-lineno">1728</tt> <tt class="py-line"><tt class="py-docstring"> or was already watched it is not included into this returned</tt> </tt>
+<a name="L1729"></a><tt class="py-lineno">1729</tt> <tt class="py-line"><tt class="py-docstring"> dictionary.</tt> </tt>
+<a name="L1730"></a><tt class="py-lineno">1730</tt> <tt class="py-line"><tt class="py-docstring"> @rtype: dict of {str: int}</tt> </tt>
+<a name="L1731"></a><tt class="py-lineno">1731</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt>
+<a name="L1732"></a><tt class="py-lineno">1732</tt> <tt class="py-line"> <tt class="py-name">ret_</tt> <tt class="py-op">=</tt> <tt class="py-op">{</tt><tt class="py-op">}</tt> <tt class="py-comment"># return {path: wd, ...}</tt> </tt>
+<a name="L1733"></a><tt class="py-lineno">1733</tt> <tt class="py-line"> </tt>
+<a name="L1734"></a><tt class="py-lineno">1734</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">exclude_filter</tt> <tt class="py-keyword">is</tt> <tt class="py-name">None</tt><tt class="py-op">:</tt> </tt>
+<a name="L1735"></a><tt class="py-lineno">1735</tt> <tt class="py-line"> <tt class="py-name">exclude_filter</tt> <tt class="py-op">=</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_exclude_filter</tt> </tt>
+<a name="L1736"></a><tt class="py-lineno">1736</tt> <tt class="py-line"> </tt>
+<a name="L1737"></a><tt class="py-lineno">1737</tt> <tt class="py-line"> <tt class="py-comment"># normalize args as list elements</tt> </tt>
+<a name="L1738"></a><tt class="py-lineno">1738</tt> <tt class="py-line"> <tt class="py-keyword">for</tt> <tt class="py-name">npath</tt> <tt class="py-keyword">in</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-277" class="py-name" targets="Method pyinotify.WatchManager.__format_param()=pyinotify.WatchManager-class.html#__format_param"><a title="pyinotify.WatchManager.__format_param" class="py-name" href="#" onclick="return doclink('link-277', '__format_param', 'link-277');">__format_param</a></tt><tt class="py-op">(</tt><tt class="py-name">path</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
+<a name="L1739"></a><tt class="py-lineno">1739</tt> <tt class="py-line"> <tt class="py-comment"># unix pathname pattern expansion</tt> </tt>
+<a name="L1740"></a><tt class="py-lineno">1740</tt> <tt class="py-line"> <tt class="py-keyword">for</tt> <tt class="py-name">apath</tt> <tt class="py-keyword">in</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-278" class="py-name" targets="Method pyinotify.WatchManager.__glob()=pyinotify.WatchManager-class.html#__glob"><a title="pyinotify.WatchManager.__glob" class="py-name" href="#" onclick="return doclink('link-278', '__glob', 'link-278');">__glob</a></tt><tt class="py-op">(</tt><tt class="py-name">npath</tt><tt class="py-op">,</tt> <tt class="py-name">do_glob</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
+<a name="L1741"></a><tt class="py-lineno">1741</tt> <tt class="py-line"> <tt class="py-comment"># recursively list subdirs according to rec param</tt> </tt>
+<a name="L1742"></a><tt class="py-lineno">1742</tt> <tt class="py-line"> <tt class="py-keyword">for</tt> <tt class="py-name">rpath</tt> <tt class="py-keyword">in</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-279" class="py-name" targets="Method pyinotify.WatchManager.__walk_rec()=pyinotify.WatchManager-class.html#__walk_rec"><a title="pyinotify.WatchManager.__walk_rec" class="py-name" href="#" onclick="return doclink('link-279', '__walk_rec', 'link-279');">__walk_rec</a></tt><tt class="py-op">(</tt><tt class="py-name">apath</tt><tt class="py-op">,</tt> <tt class="py-name">rec</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
+<a name="L1743"></a><tt class="py-lineno">1743</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-280" class="py-name"><a title="pyinotify.WatchManager.get_wd" class="py-name" href="#" onclick="return doclink('link-280', 'get_wd', 'link-145');">get_wd</a></tt><tt class="py-op">(</tt><tt class="py-name">rpath</tt><tt class="py-op">)</tt> <tt class="py-keyword">is</tt> <tt class="py-keyword">not</tt> <tt class="py-name">None</tt><tt class="py-op">:</tt> </tt>
+<a name="L1744"></a><tt class="py-lineno">1744</tt> <tt class="py-line"> <tt class="py-comment"># We decide to ignore paths already inserted into</tt> </tt>
+<a name="L1745"></a><tt class="py-lineno">1745</tt> <tt class="py-line"> <tt class="py-comment"># the watch manager. Need to be removed with rm_watch()</tt> </tt>
+<a name="L1746"></a><tt class="py-lineno">1746</tt> <tt class="py-line"> <tt class="py-comment"># first. Or simply call update_watch() to update it.</tt> </tt>
+<a name="L1747"></a><tt class="py-lineno">1747</tt> <tt class="py-line"> <tt class="py-keyword">continue</tt> </tt>
+<a name="L1748"></a><tt class="py-lineno">1748</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-keyword">not</tt> <tt class="py-name">exclude_filter</tt><tt class="py-op">(</tt><tt class="py-name">rpath</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
+<a name="L1749"></a><tt class="py-lineno">1749</tt> <tt class="py-line"> <tt class="py-name">wd</tt> <tt class="py-op">=</tt> <tt class="py-name">ret_</tt><tt class="py-op">[</tt><tt class="py-name">rpath</tt><tt class="py-op">]</tt> <tt class="py-op">=</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-281" class="py-name" targets="Method pyinotify.WatchManager.__add_watch()=pyinotify.WatchManager-class.html#__add_watch"><a title="pyinotify.WatchManager.__add_watch" class="py-name" href="#" onclick="return doclink('link-281', '__add_watch', 'link-281');">__add_watch</a></tt><tt class="py-op">(</tt><tt class="py-name">rpath</tt><tt class="py-op">,</tt> <tt class="py-name">mask</tt><tt class="py-op">,</tt> </tt>
+<a name="L1750"></a><tt class="py-lineno">1750</tt> <tt class="py-line"> <tt id="link-282" class="py-name"><a title="pyinotify.Notifier.proc_fun" class="py-name" href="#" onclick="return doclink('link-282', 'proc_fun', 'link-141');">proc_fun</a></tt><tt class="py-op">,</tt> </tt>
+<a name="L1751"></a><tt class="py-lineno">1751</tt> <tt class="py-line"> <tt class="py-name">auto_add</tt><tt class="py-op">,</tt> </tt>
+<a name="L1752"></a><tt class="py-lineno">1752</tt> <tt class="py-line"> <tt class="py-name">exclude_filter</tt><tt class="py-op">)</tt> </tt>
+<a name="L1753"></a><tt class="py-lineno">1753</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">wd</tt> <tt class="py-op">&lt;</tt> <tt class="py-number">0</tt><tt class="py-op">:</tt> </tt>
+<a name="L1754"></a><tt class="py-lineno">1754</tt> <tt class="py-line"> <tt class="py-name">err</tt> <tt class="py-op">=</tt> <tt class="py-string">'add_watch: cannot watch %s WD=%d%s'</tt> </tt>
+<a name="L1755"></a><tt class="py-lineno">1755</tt> <tt class="py-line"> <tt class="py-name">err</tt> <tt class="py-op">=</tt> <tt class="py-name">err</tt> <tt class="py-op">%</tt> <tt class="py-op">(</tt><tt class="py-name">rpath</tt><tt class="py-op">,</tt> <tt class="py-name">wd</tt><tt class="py-op">,</tt> <tt id="link-283" class="py-name"><a title="pyinotify.strerrno" class="py-name" href="#" onclick="return doclink('link-283', 'strerrno', 'link-8');">strerrno</a></tt><tt class="py-op">(</tt><tt class="py-op">)</tt><tt class="py-op">)</tt> </tt>
+<a name="L1756"></a><tt class="py-lineno">1756</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">quiet</tt><tt class="py-op">:</tt> </tt>
+<a name="L1757"></a><tt class="py-lineno">1757</tt> <tt class="py-line"> <tt id="link-284" class="py-name"><a title="pyinotify.log" class="py-name" href="#" onclick="return doclink('link-284', 'log', 'link-27');">log</a></tt><tt class="py-op">.</tt><tt class="py-name">error</tt><tt class="py-op">(</tt><tt class="py-name">err</tt><tt class="py-op">)</tt> </tt>
+<a name="L1758"></a><tt class="py-lineno">1758</tt> <tt class="py-line"> <tt class="py-keyword">else</tt><tt class="py-op">:</tt> </tt>
+<a name="L1759"></a><tt class="py-lineno">1759</tt> <tt class="py-line"> <tt class="py-keyword">raise</tt> <tt id="link-285" class="py-name" targets="Class pyinotify.WatchManagerError=pyinotify.WatchManagerError-class.html"><a title="pyinotify.WatchManagerError" class="py-name" href="#" onclick="return doclink('link-285', 'WatchManagerError', 'link-285');">WatchManagerError</a></tt><tt class="py-op">(</tt><tt class="py-name">err</tt><tt class="py-op">,</tt> <tt class="py-name">ret_</tt><tt class="py-op">)</tt> </tt>
+<a name="L1760"></a><tt class="py-lineno">1760</tt> <tt class="py-line"> <tt class="py-keyword">else</tt><tt class="py-op">:</tt> </tt>
+<a name="L1761"></a><tt class="py-lineno">1761</tt> <tt class="py-line"> <tt class="py-comment"># Let's say -2 means 'explicitely excluded</tt> </tt>
+<a name="L1762"></a><tt class="py-lineno">1762</tt> <tt class="py-line"> <tt class="py-comment"># from watching'.</tt> </tt>
+<a name="L1763"></a><tt class="py-lineno">1763</tt> <tt class="py-line"> <tt class="py-name">ret_</tt><tt class="py-op">[</tt><tt class="py-name">rpath</tt><tt class="py-op">]</tt> <tt class="py-op">=</tt> <tt class="py-op">-</tt><tt class="py-number">2</tt> </tt>
+<a name="L1764"></a><tt class="py-lineno">1764</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-name">ret_</tt> </tt>
+</div><a name="L1765"></a><tt class="py-lineno">1765</tt> <tt class="py-line"> </tt>
+<a name="WatchManager.__get_sub_rec"></a><div id="WatchManager.__get_sub_rec-def"><a name="L1766"></a><tt class="py-lineno">1766</tt> <a class="py-toggle" href="#" id="WatchManager.__get_sub_rec-toggle" onclick="return toggle('WatchManager.__get_sub_rec');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="pyinotify.WatchManager-class.html#__get_sub_rec">__get_sub_rec</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">,</tt> <tt class="py-param">lpath</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
+</div><div id="WatchManager.__get_sub_rec-collapsed" style="display:none;" pad="++++" indent="++++++++"></div><div id="WatchManager.__get_sub_rec-expanded"><a name="L1767"></a><tt class="py-lineno">1767</tt> <tt class="py-line"> <tt class="py-docstring">"""</tt> </tt>
+<a name="L1768"></a><tt class="py-lineno">1768</tt> <tt class="py-line"><tt class="py-docstring"> Get every wd from self._wmd if its path is under the path of</tt> </tt>
+<a name="L1769"></a><tt class="py-lineno">1769</tt> <tt class="py-line"><tt class="py-docstring"> one (at least) of those in lpath. Doesn't follow symlinks.</tt> </tt>
+<a name="L1770"></a><tt class="py-lineno">1770</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
+<a name="L1771"></a><tt class="py-lineno">1771</tt> <tt class="py-line"><tt class="py-docstring"> @param lpath: list of watch descriptor</tt> </tt>
+<a name="L1772"></a><tt class="py-lineno">1772</tt> <tt class="py-line"><tt class="py-docstring"> @type lpath: list of int</tt> </tt>
+<a name="L1773"></a><tt class="py-lineno">1773</tt> <tt class="py-line"><tt class="py-docstring"> @return: list of watch descriptor</tt> </tt>
+<a name="L1774"></a><tt class="py-lineno">1774</tt> <tt class="py-line"><tt class="py-docstring"> @rtype: list of int</tt> </tt>
+<a name="L1775"></a><tt class="py-lineno">1775</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt>
+<a name="L1776"></a><tt class="py-lineno">1776</tt> <tt class="py-line"> <tt class="py-keyword">for</tt> <tt class="py-name">d</tt> <tt class="py-keyword">in</tt> <tt class="py-name">lpath</tt><tt class="py-op">:</tt> </tt>
+<a name="L1777"></a><tt class="py-lineno">1777</tt> <tt class="py-line"> <tt class="py-name">root</tt> <tt class="py-op">=</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-286" class="py-name" targets="Method pyinotify.WatchManager.get_path()=pyinotify.WatchManager-class.html#get_path"><a title="pyinotify.WatchManager.get_path" class="py-name" href="#" onclick="return doclink('link-286', 'get_path', 'link-286');">get_path</a></tt><tt class="py-op">(</tt><tt class="py-name">d</tt><tt class="py-op">)</tt> </tt>
+<a name="L1778"></a><tt class="py-lineno">1778</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">root</tt> <tt class="py-keyword">is</tt> <tt class="py-keyword">not</tt> <tt class="py-name">None</tt><tt class="py-op">:</tt> </tt>
+<a name="L1779"></a><tt class="py-lineno">1779</tt> <tt class="py-line"> <tt class="py-comment"># always keep root</tt> </tt>
+<a name="L1780"></a><tt class="py-lineno">1780</tt> <tt class="py-line"> <tt class="py-keyword">yield</tt> <tt class="py-name">d</tt> </tt>
+<a name="L1781"></a><tt class="py-lineno">1781</tt> <tt class="py-line"> <tt class="py-keyword">else</tt><tt class="py-op">:</tt> </tt>
+<a name="L1782"></a><tt class="py-lineno">1782</tt> <tt class="py-line"> <tt class="py-comment"># if invalid</tt> </tt>
+<a name="L1783"></a><tt class="py-lineno">1783</tt> <tt class="py-line"> <tt class="py-keyword">continue</tt> </tt>
+<a name="L1784"></a><tt class="py-lineno">1784</tt> <tt class="py-line"> </tt>
+<a name="L1785"></a><tt class="py-lineno">1785</tt> <tt class="py-line"> <tt class="py-comment"># nothing else to expect</tt> </tt>
+<a name="L1786"></a><tt class="py-lineno">1786</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-keyword">not</tt> <tt class="py-name">os</tt><tt class="py-op">.</tt><tt class="py-name">path</tt><tt class="py-op">.</tt><tt class="py-name">isdir</tt><tt class="py-op">(</tt><tt class="py-name">root</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
+<a name="L1787"></a><tt class="py-lineno">1787</tt> <tt class="py-line"> <tt class="py-keyword">continue</tt> </tt>
+<a name="L1788"></a><tt class="py-lineno">1788</tt> <tt class="py-line"> </tt>
+<a name="L1789"></a><tt class="py-lineno">1789</tt> <tt class="py-line"> <tt class="py-comment"># normalization</tt> </tt>
+<a name="L1790"></a><tt class="py-lineno">1790</tt> <tt class="py-line"> <tt class="py-name">root</tt> <tt class="py-op">=</tt> <tt class="py-name">os</tt><tt class="py-op">.</tt><tt class="py-name">path</tt><tt class="py-op">.</tt><tt class="py-name">normpath</tt><tt class="py-op">(</tt><tt class="py-name">root</tt><tt class="py-op">)</tt> </tt>
+<a name="L1791"></a><tt class="py-lineno">1791</tt> <tt class="py-line"> <tt class="py-comment"># recursion</tt> </tt>
+<a name="L1792"></a><tt class="py-lineno">1792</tt> <tt class="py-line"> <tt class="py-name">lend</tt> <tt class="py-op">=</tt> <tt class="py-name">len</tt><tt class="py-op">(</tt><tt class="py-name">root</tt><tt class="py-op">)</tt> </tt>
+<a name="L1793"></a><tt class="py-lineno">1793</tt> <tt class="py-line"> <tt class="py-keyword">for</tt> <tt class="py-name">iwd</tt> <tt class="py-keyword">in</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_wmd</tt><tt class="py-op">.</tt><tt class="py-name">items</tt><tt class="py-op">(</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
+<a name="L1794"></a><tt class="py-lineno">1794</tt> <tt class="py-line"> <tt class="py-name">cur</tt> <tt class="py-op">=</tt> <tt class="py-name">iwd</tt><tt class="py-op">[</tt><tt class="py-number">1</tt><tt class="py-op">]</tt><tt class="py-op">.</tt><tt class="py-name">path</tt> </tt>
+<a name="L1795"></a><tt class="py-lineno">1795</tt> <tt class="py-line"> <tt class="py-name">pref</tt> <tt class="py-op">=</tt> <tt class="py-name">os</tt><tt class="py-op">.</tt><tt class="py-name">path</tt><tt class="py-op">.</tt><tt class="py-name">commonprefix</tt><tt class="py-op">(</tt><tt class="py-op">[</tt><tt class="py-name">root</tt><tt class="py-op">,</tt> <tt class="py-name">cur</tt><tt class="py-op">]</tt><tt class="py-op">)</tt> </tt>
+<a name="L1796"></a><tt class="py-lineno">1796</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">root</tt> <tt class="py-op">==</tt> <tt class="py-name">os</tt><tt class="py-op">.</tt><tt class="py-name">sep</tt> <tt class="py-keyword">or</tt> <tt class="py-op">(</tt><tt class="py-name">len</tt><tt class="py-op">(</tt><tt class="py-name">pref</tt><tt class="py-op">)</tt> <tt class="py-op">==</tt> <tt class="py-name">lend</tt> <tt class="py-keyword">and</tt> \ </tt>
+<a name="L1797"></a><tt class="py-lineno">1797</tt> <tt class="py-line"> <tt class="py-name">len</tt><tt class="py-op">(</tt><tt class="py-name">cur</tt><tt class="py-op">)</tt> <tt class="py-op">&gt;</tt> <tt class="py-name">lend</tt> <tt class="py-keyword">and</tt> \ </tt>
+<a name="L1798"></a><tt class="py-lineno">1798</tt> <tt class="py-line"> <tt class="py-name">cur</tt><tt class="py-op">[</tt><tt class="py-name">lend</tt><tt class="py-op">]</tt> <tt class="py-op">==</tt> <tt class="py-name">os</tt><tt class="py-op">.</tt><tt class="py-name">sep</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
+<a name="L1799"></a><tt class="py-lineno">1799</tt> <tt class="py-line"> <tt class="py-keyword">yield</tt> <tt class="py-name">iwd</tt><tt class="py-op">[</tt><tt class="py-number">1</tt><tt class="py-op">]</tt><tt class="py-op">.</tt><tt class="py-name">wd</tt> </tt>
+</div><a name="L1800"></a><tt class="py-lineno">1800</tt> <tt class="py-line"> </tt>
+<a name="WatchManager.update_watch"></a><div id="WatchManager.update_watch-def"><a name="L1801"></a><tt class="py-lineno">1801</tt> <a class="py-toggle" href="#" id="WatchManager.update_watch-toggle" onclick="return toggle('WatchManager.update_watch');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="pyinotify.WatchManager-class.html#update_watch">update_watch</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">,</tt> <tt class="py-param">wd</tt><tt class="py-op">,</tt> <tt class="py-param">mask</tt><tt class="py-op">=</tt><tt class="py-name">None</tt><tt class="py-op">,</tt> <tt class="py-param">proc_fun</tt><tt class="py-op">=</tt><tt class="py-name">None</tt><tt class="py-op">,</tt> <tt class="py-param">rec</tt><tt class="py-op">=</tt><tt class="py-name">False</tt><tt class="py-op">,</tt> </tt>
+<a name="L1802"></a><tt class="py-lineno">1802</tt> <tt class="py-line"> <tt class="py-param">auto_add</tt><tt class="py-op">=</tt><tt class="py-name">False</tt><tt class="py-op">,</tt> <tt class="py-param">quiet</tt><tt class="py-op">=</tt><tt class="py-name">True</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
+</div><div id="WatchManager.update_watch-collapsed" style="display:none;" pad="++++" indent="++++++++"></div><div id="WatchManager.update_watch-expanded"><a name="L1803"></a><tt class="py-lineno">1803</tt> <tt class="py-line"> <tt class="py-docstring">"""</tt> </tt>
+<a name="L1804"></a><tt class="py-lineno">1804</tt> <tt class="py-line"><tt class="py-docstring"> Update existing watch descriptors |wd|. The |mask| value, the</tt> </tt>
+<a name="L1805"></a><tt class="py-lineno">1805</tt> <tt class="py-line"><tt class="py-docstring"> processing object |proc_fun|, the recursive param |rec| and the</tt> </tt>
+<a name="L1806"></a><tt class="py-lineno">1806</tt> <tt class="py-line"><tt class="py-docstring"> |auto_add| and |quiet| flags can all be updated.</tt> </tt>
+<a name="L1807"></a><tt class="py-lineno">1807</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
+<a name="L1808"></a><tt class="py-lineno">1808</tt> <tt class="py-line"><tt class="py-docstring"> @param wd: Watch Descriptor to update. Also accepts a list of</tt> </tt>
+<a name="L1809"></a><tt class="py-lineno">1809</tt> <tt class="py-line"><tt class="py-docstring"> watch descriptors.</tt> </tt>
+<a name="L1810"></a><tt class="py-lineno">1810</tt> <tt class="py-line"><tt class="py-docstring"> @type wd: int or list of int</tt> </tt>
+<a name="L1811"></a><tt class="py-lineno">1811</tt> <tt class="py-line"><tt class="py-docstring"> @param mask: Optional new bitmask of events.</tt> </tt>
+<a name="L1812"></a><tt class="py-lineno">1812</tt> <tt class="py-line"><tt class="py-docstring"> @type mask: int</tt> </tt>
+<a name="L1813"></a><tt class="py-lineno">1813</tt> <tt class="py-line"><tt class="py-docstring"> @param proc_fun: Optional new processing function.</tt> </tt>
+<a name="L1814"></a><tt class="py-lineno">1814</tt> <tt class="py-line"><tt class="py-docstring"> @type proc_fun: function or ProcessEvent instance or instance of</tt> </tt>
+<a name="L1815"></a><tt class="py-lineno">1815</tt> <tt class="py-line"><tt class="py-docstring"> one of its subclasses or callable object.</tt> </tt>
+<a name="L1816"></a><tt class="py-lineno">1816</tt> <tt class="py-line"><tt class="py-docstring"> @param rec: Optionally adds watches recursively on all</tt> </tt>
+<a name="L1817"></a><tt class="py-lineno">1817</tt> <tt class="py-line"><tt class="py-docstring"> subdirectories contained into |wd| directory.</tt> </tt>
+<a name="L1818"></a><tt class="py-lineno">1818</tt> <tt class="py-line"><tt class="py-docstring"> @type rec: bool</tt> </tt>
+<a name="L1819"></a><tt class="py-lineno">1819</tt> <tt class="py-line"><tt class="py-docstring"> @param auto_add: Automatically adds watches on newly created</tt> </tt>
+<a name="L1820"></a><tt class="py-lineno">1820</tt> <tt class="py-line"><tt class="py-docstring"> directories in the watch's path corresponding to</tt> </tt>
+<a name="L1821"></a><tt class="py-lineno">1821</tt> <tt class="py-line"><tt class="py-docstring"> |wd|.</tt> </tt>
+<a name="L1822"></a><tt class="py-lineno">1822</tt> <tt class="py-line"><tt class="py-docstring"> @type auto_add: bool</tt> </tt>
+<a name="L1823"></a><tt class="py-lineno">1823</tt> <tt class="py-line"><tt class="py-docstring"> @param quiet: If False raises a WatchManagerError exception on</tt> </tt>
+<a name="L1824"></a><tt class="py-lineno">1824</tt> <tt class="py-line"><tt class="py-docstring"> error. See example not_quiet.py</tt> </tt>
+<a name="L1825"></a><tt class="py-lineno">1825</tt> <tt class="py-line"><tt class="py-docstring"> @type quiet: bool</tt> </tt>
+<a name="L1826"></a><tt class="py-lineno">1826</tt> <tt class="py-line"><tt class="py-docstring"> @return: dict of watch descriptors associated to booleans values.</tt> </tt>
+<a name="L1827"></a><tt class="py-lineno">1827</tt> <tt class="py-line"><tt class="py-docstring"> True if the corresponding wd has been successfully</tt> </tt>
+<a name="L1828"></a><tt class="py-lineno">1828</tt> <tt class="py-line"><tt class="py-docstring"> updated, False otherwise.</tt> </tt>
+<a name="L1829"></a><tt class="py-lineno">1829</tt> <tt class="py-line"><tt class="py-docstring"> @rtype: dict of {int: bool}</tt> </tt>
+<a name="L1830"></a><tt class="py-lineno">1830</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt>
+<a name="L1831"></a><tt class="py-lineno">1831</tt> <tt class="py-line"> <tt class="py-name">lwd</tt> <tt class="py-op">=</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-287" class="py-name"><a title="pyinotify.WatchManager.__format_param" class="py-name" href="#" onclick="return doclink('link-287', '__format_param', 'link-277');">__format_param</a></tt><tt class="py-op">(</tt><tt class="py-name">wd</tt><tt class="py-op">)</tt> </tt>
+<a name="L1832"></a><tt class="py-lineno">1832</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">rec</tt><tt class="py-op">:</tt> </tt>
+<a name="L1833"></a><tt class="py-lineno">1833</tt> <tt class="py-line"> <tt class="py-name">lwd</tt> <tt class="py-op">=</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-288" class="py-name" targets="Method pyinotify.WatchManager.__get_sub_rec()=pyinotify.WatchManager-class.html#__get_sub_rec"><a title="pyinotify.WatchManager.__get_sub_rec" class="py-name" href="#" onclick="return doclink('link-288', '__get_sub_rec', 'link-288');">__get_sub_rec</a></tt><tt class="py-op">(</tt><tt class="py-name">lwd</tt><tt class="py-op">)</tt> </tt>
+<a name="L1834"></a><tt class="py-lineno">1834</tt> <tt class="py-line"> </tt>
+<a name="L1835"></a><tt class="py-lineno">1835</tt> <tt class="py-line"> <tt class="py-name">ret_</tt> <tt class="py-op">=</tt> <tt class="py-op">{</tt><tt class="py-op">}</tt> <tt class="py-comment"># return {wd: bool, ...}</tt> </tt>
+<a name="L1836"></a><tt class="py-lineno">1836</tt> <tt class="py-line"> <tt class="py-keyword">for</tt> <tt class="py-name">awd</tt> <tt class="py-keyword">in</tt> <tt class="py-name">lwd</tt><tt class="py-op">:</tt> </tt>
+<a name="L1837"></a><tt class="py-lineno">1837</tt> <tt class="py-line"> <tt class="py-name">apath</tt> <tt class="py-op">=</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-289" class="py-name"><a title="pyinotify.WatchManager.get_path" class="py-name" href="#" onclick="return doclink('link-289', 'get_path', 'link-286');">get_path</a></tt><tt class="py-op">(</tt><tt class="py-name">awd</tt><tt class="py-op">)</tt> </tt>
+<a name="L1838"></a><tt class="py-lineno">1838</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-keyword">not</tt> <tt class="py-name">apath</tt> <tt class="py-keyword">or</tt> <tt class="py-name">awd</tt> <tt class="py-op">&lt;</tt> <tt class="py-number">0</tt><tt class="py-op">:</tt> </tt>
+<a name="L1839"></a><tt class="py-lineno">1839</tt> <tt class="py-line"> <tt class="py-name">err</tt> <tt class="py-op">=</tt> <tt class="py-string">'update_watch: invalid WD=%d'</tt> <tt class="py-op">%</tt> <tt class="py-name">awd</tt> </tt>
+<a name="L1840"></a><tt class="py-lineno">1840</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">quiet</tt><tt class="py-op">:</tt> </tt>
+<a name="L1841"></a><tt class="py-lineno">1841</tt> <tt class="py-line"> <tt id="link-290" class="py-name"><a title="pyinotify.log" class="py-name" href="#" onclick="return doclink('link-290', 'log', 'link-27');">log</a></tt><tt class="py-op">.</tt><tt class="py-name">error</tt><tt class="py-op">(</tt><tt class="py-name">err</tt><tt class="py-op">)</tt> </tt>
+<a name="L1842"></a><tt class="py-lineno">1842</tt> <tt class="py-line"> <tt class="py-keyword">continue</tt> </tt>
+<a name="L1843"></a><tt class="py-lineno">1843</tt> <tt class="py-line"> <tt class="py-keyword">raise</tt> <tt id="link-291" class="py-name"><a title="pyinotify.WatchManagerError" class="py-name" href="#" onclick="return doclink('link-291', 'WatchManagerError', 'link-285');">WatchManagerError</a></tt><tt class="py-op">(</tt><tt class="py-name">err</tt><tt class="py-op">,</tt> <tt class="py-name">ret_</tt><tt class="py-op">)</tt> </tt>
+<a name="L1844"></a><tt class="py-lineno">1844</tt> <tt class="py-line"> </tt>
+<a name="L1845"></a><tt class="py-lineno">1845</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">mask</tt><tt class="py-op">:</tt> </tt>
+<a name="L1846"></a><tt class="py-lineno">1846</tt> <tt class="py-line"> <tt class="py-name">addw</tt> <tt class="py-op">=</tt> <tt id="link-292" class="py-name"><a title="pyinotify.LIBC" class="py-name" href="#" onclick="return doclink('link-292', 'LIBC', 'link-7');">LIBC</a></tt><tt class="py-op">.</tt><tt class="py-name">inotify_add_watch</tt> </tt>
+<a name="L1847"></a><tt class="py-lineno">1847</tt> <tt class="py-line"> <tt class="py-name">wd_</tt> <tt class="py-op">=</tt> <tt class="py-name">addw</tt><tt class="py-op">(</tt><tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_fd</tt><tt class="py-op">,</tt> <tt class="py-name">ctypes</tt><tt class="py-op">.</tt><tt class="py-name">create_string_buffer</tt><tt class="py-op">(</tt><tt class="py-name">apath</tt><tt class="py-op">)</tt><tt class="py-op">,</tt> <tt class="py-name">mask</tt><tt class="py-op">)</tt> </tt>
+<a name="L1848"></a><tt class="py-lineno">1848</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">wd_</tt> <tt class="py-op">&lt;</tt> <tt class="py-number">0</tt><tt class="py-op">:</tt> </tt>
+<a name="L1849"></a><tt class="py-lineno">1849</tt> <tt class="py-line"> <tt class="py-name">ret_</tt><tt class="py-op">[</tt><tt class="py-name">awd</tt><tt class="py-op">]</tt> <tt class="py-op">=</tt> <tt class="py-name">False</tt> </tt>
+<a name="L1850"></a><tt class="py-lineno">1850</tt> <tt class="py-line"> <tt class="py-name">err</tt> <tt class="py-op">=</tt> <tt class="py-string">'update_watch: cannot update %s WD=%d%s'</tt> </tt>
+<a name="L1851"></a><tt class="py-lineno">1851</tt> <tt class="py-line"> <tt class="py-name">err</tt> <tt class="py-op">=</tt> <tt class="py-name">err</tt> <tt class="py-op">%</tt> <tt class="py-op">(</tt><tt class="py-name">apath</tt><tt class="py-op">,</tt> <tt class="py-name">wd_</tt><tt class="py-op">,</tt> <tt id="link-293" class="py-name"><a title="pyinotify.strerrno" class="py-name" href="#" onclick="return doclink('link-293', 'strerrno', 'link-8');">strerrno</a></tt><tt class="py-op">(</tt><tt class="py-op">)</tt><tt class="py-op">)</tt> </tt>
+<a name="L1852"></a><tt class="py-lineno">1852</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">quiet</tt><tt class="py-op">:</tt> </tt>
+<a name="L1853"></a><tt class="py-lineno">1853</tt> <tt class="py-line"> <tt id="link-294" class="py-name"><a title="pyinotify.log" class="py-name" href="#" onclick="return doclink('link-294', 'log', 'link-27');">log</a></tt><tt class="py-op">.</tt><tt class="py-name">error</tt><tt class="py-op">(</tt><tt class="py-name">err</tt><tt class="py-op">)</tt> </tt>
+<a name="L1854"></a><tt class="py-lineno">1854</tt> <tt class="py-line"> <tt class="py-keyword">continue</tt> </tt>
+<a name="L1855"></a><tt class="py-lineno">1855</tt> <tt class="py-line"> <tt class="py-keyword">raise</tt> <tt id="link-295" class="py-name"><a title="pyinotify.WatchManagerError" class="py-name" href="#" onclick="return doclink('link-295', 'WatchManagerError', 'link-285');">WatchManagerError</a></tt><tt class="py-op">(</tt><tt class="py-name">err</tt><tt class="py-op">,</tt> <tt class="py-name">ret_</tt><tt class="py-op">)</tt> </tt>
+<a name="L1856"></a><tt class="py-lineno">1856</tt> <tt class="py-line"> </tt>
+<a name="L1857"></a><tt class="py-lineno">1857</tt> <tt class="py-line"> <tt class="py-keyword">assert</tt><tt class="py-op">(</tt><tt class="py-name">awd</tt> <tt class="py-op">==</tt> <tt class="py-name">wd_</tt><tt class="py-op">)</tt> </tt>
+<a name="L1858"></a><tt class="py-lineno">1858</tt> <tt class="py-line"> </tt>
+<a name="L1859"></a><tt class="py-lineno">1859</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt id="link-296" class="py-name"><a title="pyinotify.Notifier.proc_fun" class="py-name" href="#" onclick="return doclink('link-296', 'proc_fun', 'link-141');">proc_fun</a></tt> <tt class="py-keyword">or</tt> <tt class="py-name">auto_add</tt><tt class="py-op">:</tt> </tt>
+<a name="L1860"></a><tt class="py-lineno">1860</tt> <tt class="py-line"> <tt class="py-name">watch_</tt> <tt class="py-op">=</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_wmd</tt><tt class="py-op">[</tt><tt class="py-name">awd</tt><tt class="py-op">]</tt> </tt>
+<a name="L1861"></a><tt class="py-lineno">1861</tt> <tt class="py-line"> </tt>
+<a name="L1862"></a><tt class="py-lineno">1862</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt id="link-297" class="py-name"><a title="pyinotify.Notifier.proc_fun" class="py-name" href="#" onclick="return doclink('link-297', 'proc_fun', 'link-141');">proc_fun</a></tt><tt class="py-op">:</tt> </tt>
+<a name="L1863"></a><tt class="py-lineno">1863</tt> <tt class="py-line"> <tt class="py-name">watch_</tt><tt class="py-op">.</tt><tt id="link-298" class="py-name"><a title="pyinotify.Notifier.proc_fun" class="py-name" href="#" onclick="return doclink('link-298', 'proc_fun', 'link-141');">proc_fun</a></tt> <tt class="py-op">=</tt> <tt id="link-299" class="py-name"><a title="pyinotify.Notifier.proc_fun" class="py-name" href="#" onclick="return doclink('link-299', 'proc_fun', 'link-141');">proc_fun</a></tt> </tt>
+<a name="L1864"></a><tt class="py-lineno">1864</tt> <tt class="py-line"> </tt>
+<a name="L1865"></a><tt class="py-lineno">1865</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">auto_add</tt><tt class="py-op">:</tt> </tt>
+<a name="L1866"></a><tt class="py-lineno">1866</tt> <tt class="py-line"> <tt class="py-name">watch_</tt><tt class="py-op">.</tt><tt class="py-name">auto_add</tt> <tt class="py-op">=</tt> <tt class="py-name">auto_add</tt> </tt>
+<a name="L1867"></a><tt class="py-lineno">1867</tt> <tt class="py-line"> </tt>
+<a name="L1868"></a><tt class="py-lineno">1868</tt> <tt class="py-line"> <tt class="py-name">ret_</tt><tt class="py-op">[</tt><tt class="py-name">awd</tt><tt class="py-op">]</tt> <tt class="py-op">=</tt> <tt class="py-name">True</tt> </tt>
+<a name="L1869"></a><tt class="py-lineno">1869</tt> <tt class="py-line"> <tt id="link-300" class="py-name"><a title="pyinotify.log" class="py-name" href="#" onclick="return doclink('link-300', 'log', 'link-27');">log</a></tt><tt class="py-op">.</tt><tt class="py-name">debug</tt><tt class="py-op">(</tt><tt class="py-string">'Updated watch - %s'</tt><tt class="py-op">,</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_wmd</tt><tt class="py-op">[</tt><tt class="py-name">awd</tt><tt class="py-op">]</tt><tt class="py-op">)</tt> </tt>
+<a name="L1870"></a><tt class="py-lineno">1870</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-name">ret_</tt> </tt>
+</div><a name="L1871"></a><tt class="py-lineno">1871</tt> <tt class="py-line"> </tt>
+<a name="WatchManager.__format_param"></a><div id="WatchManager.__format_param-def"><a name="L1872"></a><tt class="py-lineno">1872</tt> <a class="py-toggle" href="#" id="WatchManager.__format_param-toggle" onclick="return toggle('WatchManager.__format_param');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="pyinotify.WatchManager-class.html#__format_param">__format_param</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">,</tt> <tt class="py-param">param</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
+</div><div id="WatchManager.__format_param-collapsed" style="display:none;" pad="++++" indent="++++++++"></div><div id="WatchManager.__format_param-expanded"><a name="L1873"></a><tt class="py-lineno">1873</tt> <tt class="py-line"> <tt class="py-docstring">"""</tt> </tt>
+<a name="L1874"></a><tt class="py-lineno">1874</tt> <tt class="py-line"><tt class="py-docstring"> @param param: Parameter.</tt> </tt>
+<a name="L1875"></a><tt class="py-lineno">1875</tt> <tt class="py-line"><tt class="py-docstring"> @type param: string or int</tt> </tt>
+<a name="L1876"></a><tt class="py-lineno">1876</tt> <tt class="py-line"><tt class="py-docstring"> @return: wrap param.</tt> </tt>
+<a name="L1877"></a><tt class="py-lineno">1877</tt> <tt class="py-line"><tt class="py-docstring"> @rtype: list of type(param)</tt> </tt>
+<a name="L1878"></a><tt class="py-lineno">1878</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt>
+<a name="L1879"></a><tt class="py-lineno">1879</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">isinstance</tt><tt class="py-op">(</tt><tt class="py-name">param</tt><tt class="py-op">,</tt> <tt class="py-name">list</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
+<a name="L1880"></a><tt class="py-lineno">1880</tt> <tt class="py-line"> <tt class="py-keyword">for</tt> <tt class="py-name">p_</tt> <tt class="py-keyword">in</tt> <tt class="py-name">param</tt><tt class="py-op">:</tt> </tt>
+<a name="L1881"></a><tt class="py-lineno">1881</tt> <tt class="py-line"> <tt class="py-keyword">yield</tt> <tt class="py-name">p_</tt> </tt>
+<a name="L1882"></a><tt class="py-lineno">1882</tt> <tt class="py-line"> <tt class="py-keyword">else</tt><tt class="py-op">:</tt> </tt>
+<a name="L1883"></a><tt class="py-lineno">1883</tt> <tt class="py-line"> <tt class="py-keyword">yield</tt> <tt class="py-name">param</tt> </tt>
+</div><a name="L1884"></a><tt class="py-lineno">1884</tt> <tt class="py-line"> </tt>
+<a name="WatchManager.get_wd"></a><div id="WatchManager.get_wd-def"><a name="L1885"></a><tt class="py-lineno">1885</tt> <a class="py-toggle" href="#" id="WatchManager.get_wd-toggle" onclick="return toggle('WatchManager.get_wd');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="pyinotify.WatchManager-class.html#get_wd">get_wd</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">,</tt> <tt class="py-param">path</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
+</div><div id="WatchManager.get_wd-collapsed" style="display:none;" pad="++++" indent="++++++++"></div><div id="WatchManager.get_wd-expanded"><a name="L1886"></a><tt class="py-lineno">1886</tt> <tt class="py-line"> <tt class="py-docstring">"""</tt> </tt>
+<a name="L1887"></a><tt class="py-lineno">1887</tt> <tt class="py-line"><tt class="py-docstring"> Returns the watch descriptor associated to path. This method</tt> </tt>
+<a name="L1888"></a><tt class="py-lineno">1888</tt> <tt class="py-line"><tt class="py-docstring"> presents a prohibitive cost, always prefer to keep the WD</tt> </tt>
+<a name="L1889"></a><tt class="py-lineno">1889</tt> <tt class="py-line"><tt class="py-docstring"> returned by add_watch(). If the path is unknown it returns None.</tt> </tt>
+<a name="L1890"></a><tt class="py-lineno">1890</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
+<a name="L1891"></a><tt class="py-lineno">1891</tt> <tt class="py-line"><tt class="py-docstring"> @param path: Path.</tt> </tt>
+<a name="L1892"></a><tt class="py-lineno">1892</tt> <tt class="py-line"><tt class="py-docstring"> @type path: str</tt> </tt>
+<a name="L1893"></a><tt class="py-lineno">1893</tt> <tt class="py-line"><tt class="py-docstring"> @return: WD or None.</tt> </tt>
+<a name="L1894"></a><tt class="py-lineno">1894</tt> <tt class="py-line"><tt class="py-docstring"> @rtype: int or None</tt> </tt>
+<a name="L1895"></a><tt class="py-lineno">1895</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt>
+<a name="L1896"></a><tt class="py-lineno">1896</tt> <tt class="py-line"> <tt class="py-name">path</tt> <tt class="py-op">=</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-301" class="py-name"><a title="pyinotify.WatchManager.__format_path" class="py-name" href="#" onclick="return doclink('link-301', '__format_path', 'link-271');">__format_path</a></tt><tt class="py-op">(</tt><tt class="py-name">path</tt><tt class="py-op">)</tt> </tt>
+<a name="L1897"></a><tt class="py-lineno">1897</tt> <tt class="py-line"> <tt class="py-keyword">for</tt> <tt class="py-name">iwd</tt> <tt class="py-keyword">in</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_wmd</tt><tt class="py-op">.</tt><tt class="py-name">items</tt><tt class="py-op">(</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
+<a name="L1898"></a><tt class="py-lineno">1898</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">iwd</tt><tt class="py-op">[</tt><tt class="py-number">1</tt><tt class="py-op">]</tt><tt class="py-op">.</tt><tt class="py-name">path</tt> <tt class="py-op">==</tt> <tt class="py-name">path</tt><tt class="py-op">:</tt> </tt>
+<a name="L1899"></a><tt class="py-lineno">1899</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-name">iwd</tt><tt class="py-op">[</tt><tt class="py-number">0</tt><tt class="py-op">]</tt> </tt>
+</div><a name="L1900"></a><tt class="py-lineno">1900</tt> <tt class="py-line"> </tt>
+<a name="WatchManager.get_path"></a><div id="WatchManager.get_path-def"><a name="L1901"></a><tt class="py-lineno">1901</tt> <a class="py-toggle" href="#" id="WatchManager.get_path-toggle" onclick="return toggle('WatchManager.get_path');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="pyinotify.WatchManager-class.html#get_path">get_path</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">,</tt> <tt class="py-param">wd</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
+</div><div id="WatchManager.get_path-collapsed" style="display:none;" pad="++++" indent="++++++++"></div><div id="WatchManager.get_path-expanded"><a name="L1902"></a><tt class="py-lineno">1902</tt> <tt class="py-line"> <tt class="py-docstring">"""</tt> </tt>
+<a name="L1903"></a><tt class="py-lineno">1903</tt> <tt class="py-line"><tt class="py-docstring"> Returns the path associated to WD, if WD is unknown it returns None.</tt> </tt>
+<a name="L1904"></a><tt class="py-lineno">1904</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
+<a name="L1905"></a><tt class="py-lineno">1905</tt> <tt class="py-line"><tt class="py-docstring"> @param wd: Watch descriptor.</tt> </tt>
+<a name="L1906"></a><tt class="py-lineno">1906</tt> <tt class="py-line"><tt class="py-docstring"> @type wd: int</tt> </tt>
+<a name="L1907"></a><tt class="py-lineno">1907</tt> <tt class="py-line"><tt class="py-docstring"> @return: Path or None.</tt> </tt>
+<a name="L1908"></a><tt class="py-lineno">1908</tt> <tt class="py-line"><tt class="py-docstring"> @rtype: string or None</tt> </tt>
+<a name="L1909"></a><tt class="py-lineno">1909</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt>
+<a name="L1910"></a><tt class="py-lineno">1910</tt> <tt class="py-line"> <tt class="py-name">watch_</tt> <tt class="py-op">=</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_wmd</tt><tt class="py-op">.</tt><tt class="py-name">get</tt><tt class="py-op">(</tt><tt class="py-name">wd</tt><tt class="py-op">)</tt> </tt>
+<a name="L1911"></a><tt class="py-lineno">1911</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">watch_</tt> <tt class="py-keyword">is</tt> <tt class="py-keyword">not</tt> <tt class="py-name">None</tt><tt class="py-op">:</tt> </tt>
+<a name="L1912"></a><tt class="py-lineno">1912</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-name">watch_</tt><tt class="py-op">.</tt><tt class="py-name">path</tt> </tt>
+</div><a name="L1913"></a><tt class="py-lineno">1913</tt> <tt class="py-line"> </tt>
+<a name="WatchManager.__walk_rec"></a><div id="WatchManager.__walk_rec-def"><a name="L1914"></a><tt class="py-lineno">1914</tt> <a class="py-toggle" href="#" id="WatchManager.__walk_rec-toggle" onclick="return toggle('WatchManager.__walk_rec');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="pyinotify.WatchManager-class.html#__walk_rec">__walk_rec</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">,</tt> <tt class="py-param">top</tt><tt class="py-op">,</tt> <tt class="py-param">rec</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
+</div><div id="WatchManager.__walk_rec-collapsed" style="display:none;" pad="++++" indent="++++++++"></div><div id="WatchManager.__walk_rec-expanded"><a name="L1915"></a><tt class="py-lineno">1915</tt> <tt class="py-line"> <tt class="py-docstring">"""</tt> </tt>
+<a name="L1916"></a><tt class="py-lineno">1916</tt> <tt class="py-line"><tt class="py-docstring"> Yields each subdirectories of top, doesn't follow symlinks.</tt> </tt>
+<a name="L1917"></a><tt class="py-lineno">1917</tt> <tt class="py-line"><tt class="py-docstring"> If rec is false, only yield top.</tt> </tt>
+<a name="L1918"></a><tt class="py-lineno">1918</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
+<a name="L1919"></a><tt class="py-lineno">1919</tt> <tt class="py-line"><tt class="py-docstring"> @param top: root directory.</tt> </tt>
+<a name="L1920"></a><tt class="py-lineno">1920</tt> <tt class="py-line"><tt class="py-docstring"> @type top: string</tt> </tt>
+<a name="L1921"></a><tt class="py-lineno">1921</tt> <tt class="py-line"><tt class="py-docstring"> @param rec: recursive flag.</tt> </tt>
+<a name="L1922"></a><tt class="py-lineno">1922</tt> <tt class="py-line"><tt class="py-docstring"> @type rec: bool</tt> </tt>
+<a name="L1923"></a><tt class="py-lineno">1923</tt> <tt class="py-line"><tt class="py-docstring"> @return: path of one subdirectory.</tt> </tt>
+<a name="L1924"></a><tt class="py-lineno">1924</tt> <tt class="py-line"><tt class="py-docstring"> @rtype: string</tt> </tt>
+<a name="L1925"></a><tt class="py-lineno">1925</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt>
+<a name="L1926"></a><tt class="py-lineno">1926</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-keyword">not</tt> <tt class="py-name">rec</tt> <tt class="py-keyword">or</tt> <tt class="py-name">os</tt><tt class="py-op">.</tt><tt class="py-name">path</tt><tt class="py-op">.</tt><tt class="py-name">islink</tt><tt class="py-op">(</tt><tt class="py-name">top</tt><tt class="py-op">)</tt> <tt class="py-keyword">or</tt> <tt class="py-keyword">not</tt> <tt class="py-name">os</tt><tt class="py-op">.</tt><tt class="py-name">path</tt><tt class="py-op">.</tt><tt class="py-name">isdir</tt><tt class="py-op">(</tt><tt class="py-name">top</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
+<a name="L1927"></a><tt class="py-lineno">1927</tt> <tt class="py-line"> <tt class="py-keyword">yield</tt> <tt class="py-name">top</tt> </tt>
+<a name="L1928"></a><tt class="py-lineno">1928</tt> <tt class="py-line"> <tt class="py-keyword">else</tt><tt class="py-op">:</tt> </tt>
+<a name="L1929"></a><tt class="py-lineno">1929</tt> <tt class="py-line"> <tt class="py-keyword">for</tt> <tt class="py-name">root</tt><tt class="py-op">,</tt> <tt class="py-name">dirs</tt><tt class="py-op">,</tt> <tt class="py-name">files</tt> <tt class="py-keyword">in</tt> <tt class="py-name">os</tt><tt class="py-op">.</tt><tt class="py-name">walk</tt><tt class="py-op">(</tt><tt class="py-name">top</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
+<a name="L1930"></a><tt class="py-lineno">1930</tt> <tt class="py-line"> <tt class="py-keyword">yield</tt> <tt class="py-name">root</tt> </tt>
+</div><a name="L1931"></a><tt class="py-lineno">1931</tt> <tt class="py-line"> </tt>
+<a name="WatchManager.rm_watch"></a><div id="WatchManager.rm_watch-def"><a name="L1932"></a><tt class="py-lineno">1932</tt> <a class="py-toggle" href="#" id="WatchManager.rm_watch-toggle" onclick="return toggle('WatchManager.rm_watch');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="pyinotify.WatchManager-class.html#rm_watch">rm_watch</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">,</tt> <tt class="py-param">wd</tt><tt class="py-op">,</tt> <tt class="py-param">rec</tt><tt class="py-op">=</tt><tt class="py-name">False</tt><tt class="py-op">,</tt> <tt class="py-param">quiet</tt><tt class="py-op">=</tt><tt class="py-name">True</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
+</div><div id="WatchManager.rm_watch-collapsed" style="display:none;" pad="++++" indent="++++++++"></div><div id="WatchManager.rm_watch-expanded"><a name="L1933"></a><tt class="py-lineno">1933</tt> <tt class="py-line"> <tt class="py-docstring">"""</tt> </tt>
+<a name="L1934"></a><tt class="py-lineno">1934</tt> <tt class="py-line"><tt class="py-docstring"> Removes watch(s).</tt> </tt>
+<a name="L1935"></a><tt class="py-lineno">1935</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
+<a name="L1936"></a><tt class="py-lineno">1936</tt> <tt class="py-line"><tt class="py-docstring"> @param wd: Watch Descriptor of the file or directory to unwatch.</tt> </tt>
+<a name="L1937"></a><tt class="py-lineno">1937</tt> <tt class="py-line"><tt class="py-docstring"> Also accepts a list of WDs.</tt> </tt>
+<a name="L1938"></a><tt class="py-lineno">1938</tt> <tt class="py-line"><tt class="py-docstring"> @type wd: int or list of int.</tt> </tt>
+<a name="L1939"></a><tt class="py-lineno">1939</tt> <tt class="py-line"><tt class="py-docstring"> @param rec: Recursively removes watches on every already watched</tt> </tt>
+<a name="L1940"></a><tt class="py-lineno">1940</tt> <tt class="py-line"><tt class="py-docstring"> subdirectories and subfiles.</tt> </tt>
+<a name="L1941"></a><tt class="py-lineno">1941</tt> <tt class="py-line"><tt class="py-docstring"> @type rec: bool</tt> </tt>
+<a name="L1942"></a><tt class="py-lineno">1942</tt> <tt class="py-line"><tt class="py-docstring"> @param quiet: If False raises a WatchManagerError exception on</tt> </tt>
+<a name="L1943"></a><tt class="py-lineno">1943</tt> <tt class="py-line"><tt class="py-docstring"> error. See example not_quiet.py</tt> </tt>
+<a name="L1944"></a><tt class="py-lineno">1944</tt> <tt class="py-line"><tt class="py-docstring"> @type quiet: bool</tt> </tt>
+<a name="L1945"></a><tt class="py-lineno">1945</tt> <tt class="py-line"><tt class="py-docstring"> @return: dict of watch descriptors associated to booleans values.</tt> </tt>
+<a name="L1946"></a><tt class="py-lineno">1946</tt> <tt class="py-line"><tt class="py-docstring"> True if the corresponding wd has been successfully</tt> </tt>
+<a name="L1947"></a><tt class="py-lineno">1947</tt> <tt class="py-line"><tt class="py-docstring"> removed, False otherwise.</tt> </tt>
+<a name="L1948"></a><tt class="py-lineno">1948</tt> <tt class="py-line"><tt class="py-docstring"> @rtype: dict of {int: bool}</tt> </tt>
+<a name="L1949"></a><tt class="py-lineno">1949</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt>
+<a name="L1950"></a><tt class="py-lineno">1950</tt> <tt class="py-line"> <tt class="py-name">lwd</tt> <tt class="py-op">=</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-302" class="py-name"><a title="pyinotify.WatchManager.__format_param" class="py-name" href="#" onclick="return doclink('link-302', '__format_param', 'link-277');">__format_param</a></tt><tt class="py-op">(</tt><tt class="py-name">wd</tt><tt class="py-op">)</tt> </tt>
+<a name="L1951"></a><tt class="py-lineno">1951</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">rec</tt><tt class="py-op">:</tt> </tt>
+<a name="L1952"></a><tt class="py-lineno">1952</tt> <tt class="py-line"> <tt class="py-name">lwd</tt> <tt class="py-op">=</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-303" class="py-name"><a title="pyinotify.WatchManager.__get_sub_rec" class="py-name" href="#" onclick="return doclink('link-303', '__get_sub_rec', 'link-288');">__get_sub_rec</a></tt><tt class="py-op">(</tt><tt class="py-name">lwd</tt><tt class="py-op">)</tt> </tt>
+<a name="L1953"></a><tt class="py-lineno">1953</tt> <tt class="py-line"> </tt>
+<a name="L1954"></a><tt class="py-lineno">1954</tt> <tt class="py-line"> <tt class="py-name">ret_</tt> <tt class="py-op">=</tt> <tt class="py-op">{</tt><tt class="py-op">}</tt> <tt class="py-comment"># return {wd: bool, ...}</tt> </tt>
+<a name="L1955"></a><tt class="py-lineno">1955</tt> <tt class="py-line"> <tt class="py-keyword">for</tt> <tt class="py-name">awd</tt> <tt class="py-keyword">in</tt> <tt class="py-name">lwd</tt><tt class="py-op">:</tt> </tt>
+<a name="L1956"></a><tt class="py-lineno">1956</tt> <tt class="py-line"> <tt class="py-comment"># remove watch</tt> </tt>
+<a name="L1957"></a><tt class="py-lineno">1957</tt> <tt class="py-line"> <tt class="py-name">wd_</tt> <tt class="py-op">=</tt> <tt id="link-304" class="py-name"><a title="pyinotify.LIBC" class="py-name" href="#" onclick="return doclink('link-304', 'LIBC', 'link-7');">LIBC</a></tt><tt class="py-op">.</tt><tt class="py-name">inotify_rm_watch</tt><tt class="py-op">(</tt><tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_fd</tt><tt class="py-op">,</tt> <tt class="py-name">awd</tt><tt class="py-op">)</tt> </tt>
+<a name="L1958"></a><tt class="py-lineno">1958</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">wd_</tt> <tt class="py-op">&lt;</tt> <tt class="py-number">0</tt><tt class="py-op">:</tt> </tt>
+<a name="L1959"></a><tt class="py-lineno">1959</tt> <tt class="py-line"> <tt class="py-name">ret_</tt><tt class="py-op">[</tt><tt class="py-name">awd</tt><tt class="py-op">]</tt> <tt class="py-op">=</tt> <tt class="py-name">False</tt> </tt>
+<a name="L1960"></a><tt class="py-lineno">1960</tt> <tt class="py-line"> <tt class="py-name">err</tt> <tt class="py-op">=</tt> <tt class="py-string">'rm_watch: cannot remove WD=%d%s'</tt> <tt class="py-op">%</tt> <tt class="py-op">(</tt><tt class="py-name">awd</tt><tt class="py-op">,</tt> <tt id="link-305" class="py-name"><a title="pyinotify.strerrno" class="py-name" href="#" onclick="return doclink('link-305', 'strerrno', 'link-8');">strerrno</a></tt><tt class="py-op">(</tt><tt class="py-op">)</tt><tt class="py-op">)</tt> </tt>
+<a name="L1961"></a><tt class="py-lineno">1961</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">quiet</tt><tt class="py-op">:</tt> </tt>
+<a name="L1962"></a><tt class="py-lineno">1962</tt> <tt class="py-line"> <tt id="link-306" class="py-name"><a title="pyinotify.log" class="py-name" href="#" onclick="return doclink('link-306', 'log', 'link-27');">log</a></tt><tt class="py-op">.</tt><tt class="py-name">error</tt><tt class="py-op">(</tt><tt class="py-name">err</tt><tt class="py-op">)</tt> </tt>
+<a name="L1963"></a><tt class="py-lineno">1963</tt> <tt class="py-line"> <tt class="py-keyword">continue</tt> </tt>
+<a name="L1964"></a><tt class="py-lineno">1964</tt> <tt class="py-line"> <tt class="py-keyword">raise</tt> <tt id="link-307" class="py-name"><a title="pyinotify.WatchManagerError" class="py-name" href="#" onclick="return doclink('link-307', 'WatchManagerError', 'link-285');">WatchManagerError</a></tt><tt class="py-op">(</tt><tt class="py-name">err</tt><tt class="py-op">,</tt> <tt class="py-name">ret_</tt><tt class="py-op">)</tt> </tt>
+<a name="L1965"></a><tt class="py-lineno">1965</tt> <tt class="py-line"> </tt>
+<a name="L1966"></a><tt class="py-lineno">1966</tt> <tt class="py-line"> <tt class="py-comment"># Remove watch from our dictionary</tt> </tt>
+<a name="L1967"></a><tt class="py-lineno">1967</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">awd</tt> <tt class="py-keyword">in</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_wmd</tt><tt class="py-op">:</tt> </tt>
+<a name="L1968"></a><tt class="py-lineno">1968</tt> <tt class="py-line"> <tt class="py-keyword">del</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_wmd</tt><tt class="py-op">[</tt><tt class="py-name">awd</tt><tt class="py-op">]</tt> </tt>
+<a name="L1969"></a><tt class="py-lineno">1969</tt> <tt class="py-line"> <tt class="py-name">ret_</tt><tt class="py-op">[</tt><tt class="py-name">awd</tt><tt class="py-op">]</tt> <tt class="py-op">=</tt> <tt class="py-name">True</tt> </tt>
+<a name="L1970"></a><tt class="py-lineno">1970</tt> <tt class="py-line"> <tt id="link-308" class="py-name"><a title="pyinotify.log" class="py-name" href="#" onclick="return doclink('link-308', 'log', 'link-27');">log</a></tt><tt class="py-op">.</tt><tt class="py-name">debug</tt><tt class="py-op">(</tt><tt class="py-string">'Watch WD=%d (%s) removed'</tt><tt class="py-op">,</tt> <tt class="py-name">awd</tt><tt class="py-op">,</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-309" class="py-name"><a title="pyinotify.WatchManager.get_path" class="py-name" href="#" onclick="return doclink('link-309', 'get_path', 'link-286');">get_path</a></tt><tt class="py-op">(</tt><tt class="py-name">awd</tt><tt class="py-op">)</tt><tt class="py-op">)</tt> </tt>
+<a name="L1971"></a><tt class="py-lineno">1971</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-name">ret_</tt> </tt>
+</div><a name="L1972"></a><tt class="py-lineno">1972</tt> <tt class="py-line"> </tt>
+<a name="L1973"></a><tt class="py-lineno">1973</tt> <tt class="py-line"> </tt>
+<a name="WatchManager.watch_transient_file"></a><div id="WatchManager.watch_transient_file-def"><a name="L1974"></a><tt class="py-lineno">1974</tt> <a class="py-toggle" href="#" id="WatchManager.watch_transient_file-toggle" onclick="return toggle('WatchManager.watch_transient_file');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="pyinotify.WatchManager-class.html#watch_transient_file">watch_transient_file</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">,</tt> <tt class="py-param">filename</tt><tt class="py-op">,</tt> <tt class="py-param">mask</tt><tt class="py-op">,</tt> <tt class="py-param">proc_class</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
+</div><div id="WatchManager.watch_transient_file-collapsed" style="display:none;" pad="++++" indent="++++++++"></div><div id="WatchManager.watch_transient_file-expanded"><a name="L1975"></a><tt class="py-lineno">1975</tt> <tt class="py-line"> <tt class="py-docstring">"""</tt> </tt>
+<a name="L1976"></a><tt class="py-lineno">1976</tt> <tt class="py-line"><tt class="py-docstring"> Watch a transient file, which will be created and deleted frequently</tt> </tt>
+<a name="L1977"></a><tt class="py-lineno">1977</tt> <tt class="py-line"><tt class="py-docstring"> over time (e.g. pid file).</tt> </tt>
+<a name="L1978"></a><tt class="py-lineno">1978</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
+<a name="L1979"></a><tt class="py-lineno">1979</tt> <tt class="py-line"><tt class="py-docstring"> @attention: Currently under the call to this function it is not</tt> </tt>
+<a name="L1980"></a><tt class="py-lineno">1980</tt> <tt class="py-line"><tt class="py-docstring"> possible to correctly watch the events triggered into the same</tt> </tt>
+<a name="L1981"></a><tt class="py-lineno">1981</tt> <tt class="py-line"><tt class="py-docstring"> base directory than the directory where is located this watched</tt> </tt>
+<a name="L1982"></a><tt class="py-lineno">1982</tt> <tt class="py-line"><tt class="py-docstring"> transient file. For instance it would be wrong to make these</tt> </tt>
+<a name="L1983"></a><tt class="py-lineno">1983</tt> <tt class="py-line"><tt class="py-docstring"> two successive calls: wm.watch_transient_file('/var/run/foo.pid', ...)</tt> </tt>
+<a name="L1984"></a><tt class="py-lineno">1984</tt> <tt class="py-line"><tt class="py-docstring"> and wm.add_watch('/var/run/', ...)</tt> </tt>
+<a name="L1985"></a><tt class="py-lineno">1985</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
+<a name="L1986"></a><tt class="py-lineno">1986</tt> <tt class="py-line"><tt class="py-docstring"> @param filename: Filename.</tt> </tt>
+<a name="L1987"></a><tt class="py-lineno">1987</tt> <tt class="py-line"><tt class="py-docstring"> @type filename: string</tt> </tt>
+<a name="L1988"></a><tt class="py-lineno">1988</tt> <tt class="py-line"><tt class="py-docstring"> @param mask: Bitmask of events, should contain IN_CREATE and IN_DELETE.</tt> </tt>
+<a name="L1989"></a><tt class="py-lineno">1989</tt> <tt class="py-line"><tt class="py-docstring"> @type mask: int</tt> </tt>
+<a name="L1990"></a><tt class="py-lineno">1990</tt> <tt class="py-line"><tt class="py-docstring"> @param proc_class: ProcessEvent (or of one of its subclass), beware of</tt> </tt>
+<a name="L1991"></a><tt class="py-lineno">1991</tt> <tt class="py-line"><tt class="py-docstring"> accepting a ProcessEvent's instance as argument into</tt> </tt>
+<a name="L1992"></a><tt class="py-lineno">1992</tt> <tt class="py-line"><tt class="py-docstring"> __init__, see transient_file.py example for more</tt> </tt>
+<a name="L1993"></a><tt class="py-lineno">1993</tt> <tt class="py-line"><tt class="py-docstring"> details.</tt> </tt>
+<a name="L1994"></a><tt class="py-lineno">1994</tt> <tt class="py-line"><tt class="py-docstring"> @type proc_class: ProcessEvent's instance or of one of its subclasses.</tt> </tt>
+<a name="L1995"></a><tt class="py-lineno">1995</tt> <tt class="py-line"><tt class="py-docstring"> @return: Same as add_watch().</tt> </tt>
+<a name="L1996"></a><tt class="py-lineno">1996</tt> <tt class="py-line"><tt class="py-docstring"> @rtype: Same as add_watch().</tt> </tt>
+<a name="L1997"></a><tt class="py-lineno">1997</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt>
+<a name="L1998"></a><tt class="py-lineno">1998</tt> <tt class="py-line"> <tt class="py-name">dirname</tt> <tt class="py-op">=</tt> <tt class="py-name">os</tt><tt class="py-op">.</tt><tt class="py-name">path</tt><tt class="py-op">.</tt><tt class="py-name">dirname</tt><tt class="py-op">(</tt><tt class="py-name">filename</tt><tt class="py-op">)</tt> </tt>
+<a name="L1999"></a><tt class="py-lineno">1999</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">dirname</tt> <tt class="py-op">==</tt> <tt class="py-string">''</tt><tt class="py-op">:</tt> </tt>
+<a name="L2000"></a><tt class="py-lineno">2000</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-op">{</tt><tt class="py-op">}</tt> <tt class="py-comment"># Maintains coherence with add_watch()</tt> </tt>
+<a name="L2001"></a><tt class="py-lineno">2001</tt> <tt class="py-line"> <tt class="py-name">basename</tt> <tt class="py-op">=</tt> <tt class="py-name">os</tt><tt class="py-op">.</tt><tt class="py-name">path</tt><tt class="py-op">.</tt><tt class="py-name">basename</tt><tt class="py-op">(</tt><tt class="py-name">filename</tt><tt class="py-op">)</tt> </tt>
+<a name="L2002"></a><tt class="py-lineno">2002</tt> <tt class="py-line"> <tt class="py-comment"># Assuming we are watching at least for IN_CREATE and IN_DELETE</tt> </tt>
+<a name="L2003"></a><tt class="py-lineno">2003</tt> <tt class="py-line"> <tt class="py-name">mask</tt> <tt class="py-op">|=</tt> <tt id="link-310" class="py-name"><a title="pyinotify.IN_CREATE" class="py-name" href="#" onclick="return doclink('link-310', 'IN_CREATE', 'link-147');">IN_CREATE</a></tt> <tt class="py-op">|</tt> <tt id="link-311" class="py-name" targets="Variable pyinotify.IN_DELETE=pyinotify-module.html#IN_DELETE"><a title="pyinotify.IN_DELETE" class="py-name" href="#" onclick="return doclink('link-311', 'IN_DELETE', 'link-311');">IN_DELETE</a></tt> </tt>
+<a name="L2004"></a><tt class="py-lineno">2004</tt> <tt class="py-line"> </tt>
+<a name="L2005"></a><tt class="py-lineno">2005</tt> <tt class="py-line"> <tt class="py-keyword">def</tt> <tt class="py-def-name">cmp_name</tt><tt class="py-op">(</tt><tt class="py-param">event</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
+<a name="L2006"></a><tt class="py-lineno">2006</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">getattr</tt><tt class="py-op">(</tt><tt class="py-name">event</tt><tt class="py-op">,</tt> <tt class="py-string">'name'</tt><tt class="py-op">)</tt> <tt class="py-keyword">is</tt> <tt class="py-name">None</tt><tt class="py-op">:</tt> </tt>
+<a name="L2007"></a><tt class="py-lineno">2007</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-name">False</tt> </tt>
+<a name="L2008"></a><tt class="py-lineno">2008</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-name">basename</tt> <tt class="py-op">==</tt> <tt class="py-name">event</tt><tt class="py-op">.</tt><tt id="link-312" class="py-name"><a title="pyinotify.name" class="py-name" href="#" onclick="return doclink('link-312', 'name', 'link-21');">name</a></tt> </tt>
+</div><a name="L2009"></a><tt class="py-lineno">2009</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-313" class="py-name"><a title="pyinotify.WatchManager.add_watch" class="py-name" href="#" onclick="return doclink('link-313', 'add_watch', 'link-140');">add_watch</a></tt><tt class="py-op">(</tt><tt class="py-name">dirname</tt><tt class="py-op">,</tt> <tt class="py-name">mask</tt><tt class="py-op">,</tt> </tt>
+<a name="L2010"></a><tt class="py-lineno">2010</tt> <tt class="py-line"> <tt id="link-314" class="py-name"><a title="pyinotify.Notifier.proc_fun" class="py-name" href="#" onclick="return doclink('link-314', 'proc_fun', 'link-141');">proc_fun</a></tt><tt class="py-op">=</tt><tt class="py-name">proc_class</tt><tt class="py-op">(</tt><tt id="link-315" class="py-name" targets="Class pyinotify.ChainIfTrue=pyinotify.ChainIfTrue-class.html"><a title="pyinotify.ChainIfTrue" class="py-name" href="#" onclick="return doclink('link-315', 'ChainIfTrue', 'link-315');">ChainIfTrue</a></tt><tt class="py-op">(</tt><tt class="py-name">func</tt><tt class="py-op">=</tt><tt class="py-name">cmp_name</tt><tt class="py-op">)</tt><tt class="py-op">)</tt><tt class="py-op">,</tt> </tt>
+<a name="L2011"></a><tt class="py-lineno">2011</tt> <tt class="py-line"> <tt class="py-name">rec</tt><tt class="py-op">=</tt><tt class="py-name">False</tt><tt class="py-op">,</tt> </tt>
+<a name="L2012"></a><tt class="py-lineno">2012</tt> <tt class="py-line"> <tt class="py-name">auto_add</tt><tt class="py-op">=</tt><tt class="py-name">False</tt><tt class="py-op">,</tt> <tt class="py-name">do_glob</tt><tt class="py-op">=</tt><tt class="py-name">False</tt><tt class="py-op">,</tt> </tt>
+<a name="L2013"></a><tt class="py-lineno">2013</tt> <tt class="py-line"> <tt class="py-name">exclude_filter</tt><tt class="py-op">=</tt><tt class="py-keyword">lambda</tt> <tt class="py-name">path</tt><tt class="py-op">:</tt> <tt class="py-name">False</tt><tt class="py-op">)</tt> </tt>
+</div></div><a name="L2014"></a><tt class="py-lineno">2014</tt> <tt class="py-line"> </tt>
+<a name="RawOutputFormat"></a><div id="RawOutputFormat-def"><a name="L2015"></a><tt class="py-lineno">2015</tt> <tt class="py-line"> </tt>
+<a name="L2016"></a><tt class="py-lineno">2016</tt> <a class="py-toggle" href="#" id="RawOutputFormat-toggle" onclick="return toggle('RawOutputFormat');">-</a><tt class="py-line"><tt class="py-keyword">class</tt> <a class="py-def-name" href="pyinotify.RawOutputFormat-class.html">RawOutputFormat</a><tt class="py-op">:</tt> </tt>
+</div><div id="RawOutputFormat-collapsed" style="display:none;" pad="++++" indent="++++"></div><div id="RawOutputFormat-expanded"><a name="L2017"></a><tt class="py-lineno">2017</tt> <tt class="py-line"> <tt class="py-docstring">"""</tt> </tt>
+<a name="L2018"></a><tt class="py-lineno">2018</tt> <tt class="py-line"><tt class="py-docstring"> Format string representations.</tt> </tt>
+<a name="L2019"></a><tt class="py-lineno">2019</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt>
+<a name="RawOutputFormat.__init__"></a><div id="RawOutputFormat.__init__-def"><a name="L2020"></a><tt class="py-lineno">2020</tt> <a class="py-toggle" href="#" id="RawOutputFormat.__init__-toggle" onclick="return toggle('RawOutputFormat.__init__');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="pyinotify.RawOutputFormat-class.html#__init__">__init__</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">,</tt> <tt class="py-param">format</tt><tt class="py-op">=</tt><tt class="py-name">None</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
+</div><div id="RawOutputFormat.__init__-collapsed" style="display:none;" pad="++++" indent="++++++++"></div><div id="RawOutputFormat.__init__-expanded"><a name="L2021"></a><tt class="py-lineno">2021</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">format</tt> <tt class="py-op">=</tt> <tt class="py-name">format</tt> <tt class="py-keyword">or</tt> <tt class="py-op">{</tt><tt class="py-op">}</tt> </tt>
+</div><a name="L2022"></a><tt class="py-lineno">2022</tt> <tt class="py-line"> </tt>
+<a name="RawOutputFormat.simple"></a><div id="RawOutputFormat.simple-def"><a name="L2023"></a><tt class="py-lineno">2023</tt> <a class="py-toggle" href="#" id="RawOutputFormat.simple-toggle" onclick="return toggle('RawOutputFormat.simple');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="pyinotify.RawOutputFormat-class.html#simple">simple</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">,</tt> <tt class="py-param">s</tt><tt class="py-op">,</tt> <tt class="py-param">attribute</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
+</div><div id="RawOutputFormat.simple-collapsed" style="display:none;" pad="++++" indent="++++++++"></div><div id="RawOutputFormat.simple-expanded"><a name="L2024"></a><tt class="py-lineno">2024</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-keyword">not</tt> <tt class="py-name">isinstance</tt><tt class="py-op">(</tt><tt class="py-name">s</tt><tt class="py-op">,</tt> <tt class="py-name">str</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
+<a name="L2025"></a><tt class="py-lineno">2025</tt> <tt class="py-line"> <tt class="py-name">s</tt> <tt class="py-op">=</tt> <tt class="py-name">str</tt><tt class="py-op">(</tt><tt class="py-name">s</tt><tt class="py-op">)</tt> </tt>
+<a name="L2026"></a><tt class="py-lineno">2026</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-op">(</tt><tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">format</tt><tt class="py-op">.</tt><tt class="py-name">get</tt><tt class="py-op">(</tt><tt class="py-name">attribute</tt><tt class="py-op">,</tt> <tt class="py-string">''</tt><tt class="py-op">)</tt> <tt class="py-op">+</tt> <tt class="py-name">s</tt> <tt class="py-op">+</tt> </tt>
+<a name="L2027"></a><tt class="py-lineno">2027</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">format</tt><tt class="py-op">.</tt><tt class="py-name">get</tt><tt class="py-op">(</tt><tt class="py-string">'normal'</tt><tt class="py-op">,</tt> <tt class="py-string">''</tt><tt class="py-op">)</tt><tt class="py-op">)</tt> </tt>
+</div><a name="L2028"></a><tt class="py-lineno">2028</tt> <tt class="py-line"> </tt>
+<a name="RawOutputFormat.punctuation"></a><div id="RawOutputFormat.punctuation-def"><a name="L2029"></a><tt class="py-lineno">2029</tt> <a class="py-toggle" href="#" id="RawOutputFormat.punctuation-toggle" onclick="return toggle('RawOutputFormat.punctuation');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="pyinotify.RawOutputFormat-class.html#punctuation">punctuation</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">,</tt> <tt class="py-param">s</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
+</div><div id="RawOutputFormat.punctuation-collapsed" style="display:none;" pad="++++" indent="++++++++"></div><div id="RawOutputFormat.punctuation-expanded"><a name="L2030"></a><tt class="py-lineno">2030</tt> <tt class="py-line"> <tt class="py-docstring">"""Punctuation color."""</tt> </tt>
+<a name="L2031"></a><tt class="py-lineno">2031</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-316" class="py-name"><a title="pyinotify.RawOutputFormat.simple" class="py-name" href="#" onclick="return doclink('link-316', 'simple', 'link-205');">simple</a></tt><tt class="py-op">(</tt><tt class="py-name">s</tt><tt class="py-op">,</tt> <tt class="py-string">'normal'</tt><tt class="py-op">)</tt> </tt>
+</div><a name="L2032"></a><tt class="py-lineno">2032</tt> <tt class="py-line"> </tt>
+<a name="RawOutputFormat.field_value"></a><div id="RawOutputFormat.field_value-def"><a name="L2033"></a><tt class="py-lineno">2033</tt> <a class="py-toggle" href="#" id="RawOutputFormat.field_value-toggle" onclick="return toggle('RawOutputFormat.field_value');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="pyinotify.RawOutputFormat-class.html#field_value">field_value</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">,</tt> <tt class="py-param">s</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
+</div><div id="RawOutputFormat.field_value-collapsed" style="display:none;" pad="++++" indent="++++++++"></div><div id="RawOutputFormat.field_value-expanded"><a name="L2034"></a><tt class="py-lineno">2034</tt> <tt class="py-line"> <tt class="py-docstring">"""Field value color."""</tt> </tt>
+<a name="L2035"></a><tt class="py-lineno">2035</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-317" class="py-name"><a title="pyinotify.RawOutputFormat.simple" class="py-name" href="#" onclick="return doclink('link-317', 'simple', 'link-205');">simple</a></tt><tt class="py-op">(</tt><tt class="py-name">s</tt><tt class="py-op">,</tt> <tt class="py-string">'purple'</tt><tt class="py-op">)</tt> </tt>
+</div><a name="L2036"></a><tt class="py-lineno">2036</tt> <tt class="py-line"> </tt>
+<a name="RawOutputFormat.field_name"></a><div id="RawOutputFormat.field_name-def"><a name="L2037"></a><tt class="py-lineno">2037</tt> <a class="py-toggle" href="#" id="RawOutputFormat.field_name-toggle" onclick="return toggle('RawOutputFormat.field_name');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="pyinotify.RawOutputFormat-class.html#field_name">field_name</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">,</tt> <tt class="py-param">s</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
+</div><div id="RawOutputFormat.field_name-collapsed" style="display:none;" pad="++++" indent="++++++++"></div><div id="RawOutputFormat.field_name-expanded"><a name="L2038"></a><tt class="py-lineno">2038</tt> <tt class="py-line"> <tt class="py-docstring">"""Field name color."""</tt> </tt>
+<a name="L2039"></a><tt class="py-lineno">2039</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-318" class="py-name"><a title="pyinotify.RawOutputFormat.simple" class="py-name" href="#" onclick="return doclink('link-318', 'simple', 'link-205');">simple</a></tt><tt class="py-op">(</tt><tt class="py-name">s</tt><tt class="py-op">,</tt> <tt class="py-string">'blue'</tt><tt class="py-op">)</tt> </tt>
+</div><a name="L2040"></a><tt class="py-lineno">2040</tt> <tt class="py-line"> </tt>
+<a name="RawOutputFormat.class_name"></a><div id="RawOutputFormat.class_name-def"><a name="L2041"></a><tt class="py-lineno">2041</tt> <a class="py-toggle" href="#" id="RawOutputFormat.class_name-toggle" onclick="return toggle('RawOutputFormat.class_name');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="pyinotify.RawOutputFormat-class.html#class_name">class_name</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">,</tt> <tt class="py-param">s</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
+</div><div id="RawOutputFormat.class_name-collapsed" style="display:none;" pad="++++" indent="++++++++"></div><div id="RawOutputFormat.class_name-expanded"><a name="L2042"></a><tt class="py-lineno">2042</tt> <tt class="py-line"> <tt class="py-docstring">"""Class name color."""</tt> </tt>
+<a name="L2043"></a><tt class="py-lineno">2043</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">format</tt><tt class="py-op">.</tt><tt class="py-name">get</tt><tt class="py-op">(</tt><tt class="py-string">'red'</tt><tt class="py-op">,</tt> <tt class="py-string">''</tt><tt class="py-op">)</tt> <tt class="py-op">+</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-319" class="py-name"><a title="pyinotify.RawOutputFormat.simple" class="py-name" href="#" onclick="return doclink('link-319', 'simple', 'link-205');">simple</a></tt><tt class="py-op">(</tt><tt class="py-name">s</tt><tt class="py-op">,</tt> <tt class="py-string">'bold'</tt><tt class="py-op">)</tt> </tt>
+</div></div><a name="L2044"></a><tt class="py-lineno">2044</tt> <tt class="py-line"> </tt>
+<a name="L2045"></a><tt class="py-lineno">2045</tt> <tt class="py-line"><tt id="link-320" class="py-name"><a title="pyinotify.output_format" class="py-name" href="#" onclick="return doclink('link-320', 'output_format', 'link-96');">output_format</a></tt> <tt class="py-op">=</tt> <tt id="link-321" class="py-name" targets="Class pyinotify.RawOutputFormat=pyinotify.RawOutputFormat-class.html"><a title="pyinotify.RawOutputFormat" class="py-name" href="#" onclick="return doclink('link-321', 'RawOutputFormat', 'link-321');">RawOutputFormat</a></tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt>
+<a name="ColoredOutputFormat"></a><div id="ColoredOutputFormat-def"><a name="L2046"></a><tt class="py-lineno">2046</tt> <tt class="py-line"> </tt>
+<a name="L2047"></a><tt class="py-lineno">2047</tt> <a class="py-toggle" href="#" id="ColoredOutputFormat-toggle" onclick="return toggle('ColoredOutputFormat');">-</a><tt class="py-line"><tt class="py-keyword">class</tt> <a class="py-def-name" href="pyinotify.ColoredOutputFormat-class.html">ColoredOutputFormat</a><tt class="py-op">(</tt><tt class="py-base-class">RawOutputFormat</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
+</div><div id="ColoredOutputFormat-collapsed" style="display:none;" pad="++++" indent="++++"></div><div id="ColoredOutputFormat-expanded"><a name="L2048"></a><tt class="py-lineno">2048</tt> <tt class="py-line"> <tt class="py-docstring">"""</tt> </tt>
+<a name="L2049"></a><tt class="py-lineno">2049</tt> <tt class="py-line"><tt class="py-docstring"> Format colored string representations.</tt> </tt>
+<a name="L2050"></a><tt class="py-lineno">2050</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt>
+<a name="ColoredOutputFormat.__init__"></a><div id="ColoredOutputFormat.__init__-def"><a name="L2051"></a><tt class="py-lineno">2051</tt> <a class="py-toggle" href="#" id="ColoredOutputFormat.__init__-toggle" onclick="return toggle('ColoredOutputFormat.__init__');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="pyinotify.ColoredOutputFormat-class.html#__init__">__init__</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
+</div><div id="ColoredOutputFormat.__init__-collapsed" style="display:none;" pad="++++" indent="++++++++"></div><div id="ColoredOutputFormat.__init__-expanded"><a name="L2052"></a><tt class="py-lineno">2052</tt> <tt class="py-line"> <tt class="py-name">f</tt> <tt class="py-op">=</tt> <tt class="py-op">{</tt><tt class="py-string">'normal'</tt><tt class="py-op">:</tt> <tt class="py-string">'\033[0m'</tt><tt class="py-op">,</tt> </tt>
+<a name="L2053"></a><tt class="py-lineno">2053</tt> <tt class="py-line"> <tt class="py-string">'black'</tt><tt class="py-op">:</tt> <tt class="py-string">'\033[30m'</tt><tt class="py-op">,</tt> </tt>
+<a name="L2054"></a><tt class="py-lineno">2054</tt> <tt class="py-line"> <tt class="py-string">'red'</tt><tt class="py-op">:</tt> <tt class="py-string">'\033[31m'</tt><tt class="py-op">,</tt> </tt>
+<a name="L2055"></a><tt class="py-lineno">2055</tt> <tt class="py-line"> <tt class="py-string">'green'</tt><tt class="py-op">:</tt> <tt class="py-string">'\033[32m'</tt><tt class="py-op">,</tt> </tt>
+<a name="L2056"></a><tt class="py-lineno">2056</tt> <tt class="py-line"> <tt class="py-string">'yellow'</tt><tt class="py-op">:</tt> <tt class="py-string">'\033[33m'</tt><tt class="py-op">,</tt> </tt>
+<a name="L2057"></a><tt class="py-lineno">2057</tt> <tt class="py-line"> <tt class="py-string">'blue'</tt><tt class="py-op">:</tt> <tt class="py-string">'\033[34m'</tt><tt class="py-op">,</tt> </tt>
+<a name="L2058"></a><tt class="py-lineno">2058</tt> <tt class="py-line"> <tt class="py-string">'purple'</tt><tt class="py-op">:</tt> <tt class="py-string">'\033[35m'</tt><tt class="py-op">,</tt> </tt>
+<a name="L2059"></a><tt class="py-lineno">2059</tt> <tt class="py-line"> <tt class="py-string">'cyan'</tt><tt class="py-op">:</tt> <tt class="py-string">'\033[36m'</tt><tt class="py-op">,</tt> </tt>
+<a name="L2060"></a><tt class="py-lineno">2060</tt> <tt class="py-line"> <tt class="py-string">'bold'</tt><tt class="py-op">:</tt> <tt class="py-string">'\033[1m'</tt><tt class="py-op">,</tt> </tt>
+<a name="L2061"></a><tt class="py-lineno">2061</tt> <tt class="py-line"> <tt class="py-string">'uline'</tt><tt class="py-op">:</tt> <tt class="py-string">'\033[4m'</tt><tt class="py-op">,</tt> </tt>
+<a name="L2062"></a><tt class="py-lineno">2062</tt> <tt class="py-line"> <tt class="py-string">'blink'</tt><tt class="py-op">:</tt> <tt class="py-string">'\033[5m'</tt><tt class="py-op">,</tt> </tt>
+<a name="L2063"></a><tt class="py-lineno">2063</tt> <tt class="py-line"> <tt class="py-string">'invert'</tt><tt class="py-op">:</tt> <tt class="py-string">'\033[7m'</tt><tt class="py-op">}</tt> </tt>
+<a name="L2064"></a><tt class="py-lineno">2064</tt> <tt class="py-line"> <tt id="link-322" class="py-name"><a title="pyinotify.RawOutputFormat" class="py-name" href="#" onclick="return doclink('link-322', 'RawOutputFormat', 'link-321');">RawOutputFormat</a></tt><tt class="py-op">.</tt><tt id="link-323" class="py-name"><a title="pyinotify.AsyncNotifier.__init__
+pyinotify.ColoredOutputFormat.__init__
+pyinotify.Event.__init__
+pyinotify.ExcludeFilter.__init__
+pyinotify.Notifier.__init__
+pyinotify.NotifierError.__init__
+pyinotify.ProcessEvent.__init__
+pyinotify.ProcessEventError.__init__
+pyinotify.RawOutputFormat.__init__
+pyinotify.SysCtlINotify.__init__
+pyinotify.ThreadedNotifier.__init__
+pyinotify.UnicodeLogRecord.__init__
+pyinotify.UnsupportedLibcVersionError.__init__
+pyinotify.UnsupportedPythonVersionError.__init__
+pyinotify.Watch.__init__
+pyinotify.WatchManager.__init__
+pyinotify.WatchManagerError.__init__
+pyinotify._Event.__init__
+pyinotify._RawEvent.__init__
+pyinotify._SysProcessEvent.__init__" class="py-name" href="#" onclick="return doclink('link-323', '__init__', 'link-1');">__init__</a></tt><tt class="py-op">(</tt><tt class="py-name">self</tt><tt class="py-op">,</tt> <tt class="py-name">f</tt><tt class="py-op">)</tt> </tt>
+</div></div><a name="L2065"></a><tt class="py-lineno">2065</tt> <tt class="py-line"> </tt>
+<a name="compatibility_mode"></a><div id="compatibility_mode-def"><a name="L2066"></a><tt class="py-lineno">2066</tt> <tt class="py-line"> </tt>
+<a name="L2067"></a><tt class="py-lineno">2067</tt> <a class="py-toggle" href="#" id="compatibility_mode-toggle" onclick="return toggle('compatibility_mode');">-</a><tt class="py-line"><tt class="py-keyword">def</tt> <a class="py-def-name" href="pyinotify-module.html#compatibility_mode">compatibility_mode</a><tt class="py-op">(</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
+</div><div id="compatibility_mode-collapsed" style="display:none;" pad="++++" indent="++++"></div><div id="compatibility_mode-expanded"><a name="L2068"></a><tt class="py-lineno">2068</tt> <tt class="py-line"> <tt class="py-docstring">"""</tt> </tt>
+<a name="L2069"></a><tt class="py-lineno">2069</tt> <tt class="py-line"><tt class="py-docstring"> Use this function to turn on the compatibility mode. The compatibility</tt> </tt>
+<a name="L2070"></a><tt class="py-lineno">2070</tt> <tt class="py-line"><tt class="py-docstring"> mode is used to improve compatibility with Pyinotify 0.7.1 (or older)</tt> </tt>
+<a name="L2071"></a><tt class="py-lineno">2071</tt> <tt class="py-line"><tt class="py-docstring"> programs. The compatibility mode provides additional variables 'is_dir',</tt> </tt>
+<a name="L2072"></a><tt class="py-lineno">2072</tt> <tt class="py-line"><tt class="py-docstring"> 'event_name', 'EventsCodes.IN_*' and 'EventsCodes.ALL_EVENTS' as</tt> </tt>
+<a name="L2073"></a><tt class="py-lineno">2073</tt> <tt class="py-line"><tt class="py-docstring"> Pyinotify 0.7.1 provided. Do not call this function from new programs!!</tt> </tt>
+<a name="L2074"></a><tt class="py-lineno">2074</tt> <tt class="py-line"><tt class="py-docstring"> Especially if there are developped for Pyinotify &gt;= 0.8.x.</tt> </tt>
+<a name="L2075"></a><tt class="py-lineno">2075</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt>
+<a name="L2076"></a><tt class="py-lineno">2076</tt> <tt class="py-line"> <tt class="py-name">setattr</tt><tt class="py-op">(</tt><tt id="link-324" class="py-name"><a title="pyinotify.EventsCodes" class="py-name" href="#" onclick="return doclink('link-324', 'EventsCodes', 'link-55');">EventsCodes</a></tt><tt class="py-op">,</tt> <tt class="py-string">'ALL_EVENTS'</tt><tt class="py-op">,</tt> <tt id="link-325" class="py-name"><a title="pyinotify.ALL_EVENTS" class="py-name" href="#" onclick="return doclink('link-325', 'ALL_EVENTS', 'link-82');">ALL_EVENTS</a></tt><tt class="py-op">)</tt> </tt>
+<a name="L2077"></a><tt class="py-lineno">2077</tt> <tt class="py-line"> <tt class="py-keyword">for</tt> <tt class="py-name">evname</tt> <tt class="py-keyword">in</tt> <tt class="py-name">globals</tt><tt class="py-op">(</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
+<a name="L2078"></a><tt class="py-lineno">2078</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">evname</tt><tt class="py-op">.</tt><tt class="py-name">startswith</tt><tt class="py-op">(</tt><tt class="py-string">'IN_'</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
+<a name="L2079"></a><tt class="py-lineno">2079</tt> <tt class="py-line"> <tt class="py-name">setattr</tt><tt class="py-op">(</tt><tt id="link-326" class="py-name"><a title="pyinotify.EventsCodes" class="py-name" href="#" onclick="return doclink('link-326', 'EventsCodes', 'link-55');">EventsCodes</a></tt><tt class="py-op">,</tt> <tt class="py-name">evname</tt><tt class="py-op">,</tt> <tt class="py-name">globals</tt><tt class="py-op">(</tt><tt class="py-op">)</tt><tt class="py-op">[</tt><tt class="py-name">evname</tt><tt class="py-op">]</tt><tt class="py-op">)</tt> </tt>
+<a name="L2080"></a><tt class="py-lineno">2080</tt> <tt class="py-line"> <tt class="py-keyword">global</tt> <tt id="link-327" class="py-name"><a title="pyinotify.COMPATIBILITY_MODE" class="py-name" href="#" onclick="return doclink('link-327', 'COMPATIBILITY_MODE', 'link-6');">COMPATIBILITY_MODE</a></tt> </tt>
+<a name="L2081"></a><tt class="py-lineno">2081</tt> <tt class="py-line"> <tt id="link-328" class="py-name"><a title="pyinotify.COMPATIBILITY_MODE" class="py-name" href="#" onclick="return doclink('link-328', 'COMPATIBILITY_MODE', 'link-6');">COMPATIBILITY_MODE</a></tt> <tt class="py-op">=</tt> <tt class="py-name">True</tt> </tt>
+</div><a name="L2082"></a><tt class="py-lineno">2082</tt> <tt class="py-line"> </tt>
+<a name="command_line"></a><div id="command_line-def"><a name="L2083"></a><tt class="py-lineno">2083</tt> <tt class="py-line"> </tt>
+<a name="L2084"></a><tt class="py-lineno">2084</tt> <a class="py-toggle" href="#" id="command_line-toggle" onclick="return toggle('command_line');">-</a><tt class="py-line"><tt class="py-keyword">def</tt> <a class="py-def-name" href="pyinotify-module.html#command_line">command_line</a><tt class="py-op">(</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
+</div><div id="command_line-collapsed" style="display:none;" pad="++++" indent="++++"></div><div id="command_line-expanded"><a name="L2085"></a><tt class="py-lineno">2085</tt> <tt class="py-line"> <tt class="py-docstring">"""</tt> </tt>
+<a name="L2086"></a><tt class="py-lineno">2086</tt> <tt class="py-line"><tt class="py-docstring"> By default the watched path is '/tmp' and all types of events are</tt> </tt>
+<a name="L2087"></a><tt class="py-lineno">2087</tt> <tt class="py-line"><tt class="py-docstring"> monitored. Events monitoring serves forever, type c^c to stop it.</tt> </tt>
+<a name="L2088"></a><tt class="py-lineno">2088</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt>
+<a name="L2089"></a><tt class="py-lineno">2089</tt> <tt class="py-line"> <tt class="py-keyword">from</tt> <tt class="py-name">optparse</tt> <tt class="py-keyword">import</tt> <tt class="py-name">OptionParser</tt> </tt>
+<a name="L2090"></a><tt class="py-lineno">2090</tt> <tt class="py-line"> </tt>
+<a name="L2091"></a><tt class="py-lineno">2091</tt> <tt class="py-line"> <tt class="py-name">usage</tt> <tt class="py-op">=</tt> <tt class="py-string">"usage: %prog [options] [path1] [path2] [pathn]"</tt> </tt>
+<a name="L2092"></a><tt class="py-lineno">2092</tt> <tt class="py-line"> </tt>
+<a name="L2093"></a><tt class="py-lineno">2093</tt> <tt class="py-line"> <tt class="py-name">parser</tt> <tt class="py-op">=</tt> <tt class="py-name">OptionParser</tt><tt class="py-op">(</tt><tt class="py-name">usage</tt><tt class="py-op">=</tt><tt class="py-name">usage</tt><tt class="py-op">)</tt> </tt>
+<a name="L2094"></a><tt class="py-lineno">2094</tt> <tt class="py-line"> <tt class="py-name">parser</tt><tt class="py-op">.</tt><tt class="py-name">add_option</tt><tt class="py-op">(</tt><tt class="py-string">"-v"</tt><tt class="py-op">,</tt> <tt class="py-string">"--verbose"</tt><tt class="py-op">,</tt> <tt class="py-name">action</tt><tt class="py-op">=</tt><tt class="py-string">"store_true"</tt><tt class="py-op">,</tt> </tt>
+<a name="L2095"></a><tt class="py-lineno">2095</tt> <tt class="py-line"> <tt class="py-name">dest</tt><tt class="py-op">=</tt><tt class="py-string">"verbose"</tt><tt class="py-op">,</tt> <tt class="py-name">help</tt><tt class="py-op">=</tt><tt class="py-string">"Verbose mode"</tt><tt class="py-op">)</tt> </tt>
+<a name="L2096"></a><tt class="py-lineno">2096</tt> <tt class="py-line"> <tt class="py-name">parser</tt><tt class="py-op">.</tt><tt class="py-name">add_option</tt><tt class="py-op">(</tt><tt class="py-string">"-r"</tt><tt class="py-op">,</tt> <tt class="py-string">"--recursive"</tt><tt class="py-op">,</tt> <tt class="py-name">action</tt><tt class="py-op">=</tt><tt class="py-string">"store_true"</tt><tt class="py-op">,</tt> </tt>
+<a name="L2097"></a><tt class="py-lineno">2097</tt> <tt class="py-line"> <tt class="py-name">dest</tt><tt class="py-op">=</tt><tt class="py-string">"recursive"</tt><tt class="py-op">,</tt> </tt>
+<a name="L2098"></a><tt class="py-lineno">2098</tt> <tt class="py-line"> <tt class="py-name">help</tt><tt class="py-op">=</tt><tt class="py-string">"Add watches recursively on paths"</tt><tt class="py-op">)</tt> </tt>
+<a name="L2099"></a><tt class="py-lineno">2099</tt> <tt class="py-line"> <tt class="py-name">parser</tt><tt class="py-op">.</tt><tt class="py-name">add_option</tt><tt class="py-op">(</tt><tt class="py-string">"-a"</tt><tt class="py-op">,</tt> <tt class="py-string">"--auto_add"</tt><tt class="py-op">,</tt> <tt class="py-name">action</tt><tt class="py-op">=</tt><tt class="py-string">"store_true"</tt><tt class="py-op">,</tt> </tt>
+<a name="L2100"></a><tt class="py-lineno">2100</tt> <tt class="py-line"> <tt class="py-name">dest</tt><tt class="py-op">=</tt><tt class="py-string">"auto_add"</tt><tt class="py-op">,</tt> </tt>
+<a name="L2101"></a><tt class="py-lineno">2101</tt> <tt class="py-line"> <tt class="py-name">help</tt><tt class="py-op">=</tt><tt class="py-string">"Automatically add watches on new directories"</tt><tt class="py-op">)</tt> </tt>
+<a name="L2102"></a><tt class="py-lineno">2102</tt> <tt class="py-line"> <tt class="py-name">parser</tt><tt class="py-op">.</tt><tt class="py-name">add_option</tt><tt class="py-op">(</tt><tt class="py-string">"-e"</tt><tt class="py-op">,</tt> <tt class="py-string">"--events-list"</tt><tt class="py-op">,</tt> <tt class="py-name">metavar</tt><tt class="py-op">=</tt><tt class="py-string">"EVENT[,...]"</tt><tt class="py-op">,</tt> </tt>
+<a name="L2103"></a><tt class="py-lineno">2103</tt> <tt class="py-line"> <tt class="py-name">dest</tt><tt class="py-op">=</tt><tt class="py-string">"events_list"</tt><tt class="py-op">,</tt> </tt>
+<a name="L2104"></a><tt class="py-lineno">2104</tt> <tt class="py-line"> <tt class="py-name">help</tt><tt class="py-op">=</tt><tt class="py-op">(</tt><tt class="py-string">"A comma-separated list of events to watch for - "</tt> </tt>
+<a name="L2105"></a><tt class="py-lineno">2105</tt> <tt class="py-line"> <tt class="py-string">"see the documentation for valid options (defaults"</tt> </tt>
+<a name="L2106"></a><tt class="py-lineno">2106</tt> <tt class="py-line"> <tt class="py-string">" to everything)"</tt><tt class="py-op">)</tt><tt class="py-op">)</tt> </tt>
+<a name="L2107"></a><tt class="py-lineno">2107</tt> <tt class="py-line"> <tt class="py-name">parser</tt><tt class="py-op">.</tt><tt class="py-name">add_option</tt><tt class="py-op">(</tt><tt class="py-string">"-s"</tt><tt class="py-op">,</tt> <tt class="py-string">"--stats"</tt><tt class="py-op">,</tt> <tt class="py-name">action</tt><tt class="py-op">=</tt><tt class="py-string">"store_true"</tt><tt class="py-op">,</tt> </tt>
+<a name="L2108"></a><tt class="py-lineno">2108</tt> <tt class="py-line"> <tt class="py-name">dest</tt><tt class="py-op">=</tt><tt class="py-string">"stats"</tt><tt class="py-op">,</tt> </tt>
+<a name="L2109"></a><tt class="py-lineno">2109</tt> <tt class="py-line"> <tt class="py-name">help</tt><tt class="py-op">=</tt><tt class="py-string">"Display dummy statistics"</tt><tt class="py-op">)</tt> </tt>
+<a name="L2110"></a><tt class="py-lineno">2110</tt> <tt class="py-line"> <tt class="py-name">parser</tt><tt class="py-op">.</tt><tt class="py-name">add_option</tt><tt class="py-op">(</tt><tt class="py-string">"-V"</tt><tt class="py-op">,</tt> <tt class="py-string">"--version"</tt><tt class="py-op">,</tt> <tt class="py-name">action</tt><tt class="py-op">=</tt><tt class="py-string">"store_true"</tt><tt class="py-op">,</tt> </tt>
+<a name="L2111"></a><tt class="py-lineno">2111</tt> <tt class="py-line"> <tt class="py-name">dest</tt><tt class="py-op">=</tt><tt class="py-string">"version"</tt><tt class="py-op">,</tt> <tt class="py-name">help</tt><tt class="py-op">=</tt><tt class="py-string">"Pyinotify version"</tt><tt class="py-op">)</tt> </tt>
+<a name="L2112"></a><tt class="py-lineno">2112</tt> <tt class="py-line"> <tt class="py-name">parser</tt><tt class="py-op">.</tt><tt class="py-name">add_option</tt><tt class="py-op">(</tt><tt class="py-string">"-f"</tt><tt class="py-op">,</tt> <tt class="py-string">"--raw-format"</tt><tt class="py-op">,</tt> <tt class="py-name">action</tt><tt class="py-op">=</tt><tt class="py-string">"store_true"</tt><tt class="py-op">,</tt> </tt>
+<a name="L2113"></a><tt class="py-lineno">2113</tt> <tt class="py-line"> <tt class="py-name">dest</tt><tt class="py-op">=</tt><tt class="py-string">"raw_format"</tt><tt class="py-op">,</tt> </tt>
+<a name="L2114"></a><tt class="py-lineno">2114</tt> <tt class="py-line"> <tt class="py-name">help</tt><tt class="py-op">=</tt><tt class="py-string">"Disable enhanced output format."</tt><tt class="py-op">)</tt> </tt>
+<a name="L2115"></a><tt class="py-lineno">2115</tt> <tt class="py-line"> </tt>
+<a name="L2116"></a><tt class="py-lineno">2116</tt> <tt class="py-line"> <tt class="py-op">(</tt><tt class="py-name">options</tt><tt class="py-op">,</tt> <tt class="py-name">args</tt><tt class="py-op">)</tt> <tt class="py-op">=</tt> <tt class="py-name">parser</tt><tt class="py-op">.</tt><tt class="py-name">parse_args</tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt>
+<a name="L2117"></a><tt class="py-lineno">2117</tt> <tt class="py-line"> </tt>
+<a name="L2118"></a><tt class="py-lineno">2118</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">options</tt><tt class="py-op">.</tt><tt class="py-name">verbose</tt><tt class="py-op">:</tt> </tt>
+<a name="L2119"></a><tt class="py-lineno">2119</tt> <tt class="py-line"> <tt id="link-329" class="py-name"><a title="pyinotify.log" class="py-name" href="#" onclick="return doclink('link-329', 'log', 'link-27');">log</a></tt><tt class="py-op">.</tt><tt class="py-name">setLevel</tt><tt class="py-op">(</tt><tt class="py-number">10</tt><tt class="py-op">)</tt> </tt>
+<a name="L2120"></a><tt class="py-lineno">2120</tt> <tt class="py-line"> </tt>
+<a name="L2121"></a><tt class="py-lineno">2121</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">options</tt><tt class="py-op">.</tt><tt class="py-name">version</tt><tt class="py-op">:</tt> </tt>
+<a name="L2122"></a><tt class="py-lineno">2122</tt> <tt class="py-line"> <tt class="py-keyword">print</tt><tt class="py-op">(</tt><tt class="py-name">__version__</tt><tt class="py-op">)</tt> </tt>
+<a name="L2123"></a><tt class="py-lineno">2123</tt> <tt class="py-line"> </tt>
+<a name="L2124"></a><tt class="py-lineno">2124</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-keyword">not</tt> <tt class="py-name">options</tt><tt class="py-op">.</tt><tt class="py-name">raw_format</tt><tt class="py-op">:</tt> </tt>
+<a name="L2125"></a><tt class="py-lineno">2125</tt> <tt class="py-line"> <tt class="py-keyword">global</tt> <tt id="link-330" class="py-name"><a title="pyinotify.output_format" class="py-name" href="#" onclick="return doclink('link-330', 'output_format', 'link-96');">output_format</a></tt> </tt>
+<a name="L2126"></a><tt class="py-lineno">2126</tt> <tt class="py-line"> <tt id="link-331" class="py-name"><a title="pyinotify.output_format" class="py-name" href="#" onclick="return doclink('link-331', 'output_format', 'link-96');">output_format</a></tt> <tt class="py-op">=</tt> <tt id="link-332" class="py-name" targets="Class pyinotify.ColoredOutputFormat=pyinotify.ColoredOutputFormat-class.html"><a title="pyinotify.ColoredOutputFormat" class="py-name" href="#" onclick="return doclink('link-332', 'ColoredOutputFormat', 'link-332');">ColoredOutputFormat</a></tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt>
+<a name="L2127"></a><tt class="py-lineno">2127</tt> <tt class="py-line"> </tt>
+<a name="L2128"></a><tt class="py-lineno">2128</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">len</tt><tt class="py-op">(</tt><tt class="py-name">args</tt><tt class="py-op">)</tt> <tt class="py-op">&lt;</tt> <tt class="py-number">1</tt><tt class="py-op">:</tt> </tt>
+<a name="L2129"></a><tt class="py-lineno">2129</tt> <tt class="py-line"> <tt class="py-name">path</tt> <tt class="py-op">=</tt> <tt class="py-string">'/tmp'</tt> <tt class="py-comment"># default watched path</tt> </tt>
+<a name="L2130"></a><tt class="py-lineno">2130</tt> <tt class="py-line"> <tt class="py-keyword">else</tt><tt class="py-op">:</tt> </tt>
+<a name="L2131"></a><tt class="py-lineno">2131</tt> <tt class="py-line"> <tt class="py-name">path</tt> <tt class="py-op">=</tt> <tt class="py-name">args</tt> </tt>
+<a name="L2132"></a><tt class="py-lineno">2132</tt> <tt class="py-line"> </tt>
+<a name="L2133"></a><tt class="py-lineno">2133</tt> <tt class="py-line"> <tt class="py-comment"># watch manager instance</tt> </tt>
+<a name="L2134"></a><tt class="py-lineno">2134</tt> <tt class="py-line"> <tt class="py-name">wm</tt> <tt class="py-op">=</tt> <tt id="link-333" class="py-name" targets="Class pyinotify.WatchManager=pyinotify.WatchManager-class.html"><a title="pyinotify.WatchManager" class="py-name" href="#" onclick="return doclink('link-333', 'WatchManager', 'link-333');">WatchManager</a></tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt>
+<a name="L2135"></a><tt class="py-lineno">2135</tt> <tt class="py-line"> <tt class="py-comment"># notifier instance and init</tt> </tt>
+<a name="L2136"></a><tt class="py-lineno">2136</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">options</tt><tt class="py-op">.</tt><tt class="py-name">stats</tt><tt class="py-op">:</tt> </tt>
+<a name="L2137"></a><tt class="py-lineno">2137</tt> <tt class="py-line"> <tt class="py-name">notifier</tt> <tt class="py-op">=</tt> <tt id="link-334" class="py-name"><a title="pyinotify.Notifier" class="py-name" href="#" onclick="return doclink('link-334', 'Notifier', 'link-233');">Notifier</a></tt><tt class="py-op">(</tt><tt class="py-name">wm</tt><tt class="py-op">,</tt> <tt class="py-name">default_proc_fun</tt><tt class="py-op">=</tt><tt id="link-335" class="py-name" targets="Class pyinotify.Stats=pyinotify.Stats-class.html"><a title="pyinotify.Stats" class="py-name" href="#" onclick="return doclink('link-335', 'Stats', 'link-335');">Stats</a></tt><tt class="py-op">(</tt><tt class="py-op">)</tt><tt class="py-op">,</tt> <tt class="py-name">read_freq</tt><tt class="py-op">=</tt><tt class="py-number">5</tt><tt class="py-op">)</tt> </tt>
+<a name="L2138"></a><tt class="py-lineno">2138</tt> <tt class="py-line"> <tt class="py-keyword">else</tt><tt class="py-op">:</tt> </tt>
+<a name="L2139"></a><tt class="py-lineno">2139</tt> <tt class="py-line"> <tt class="py-name">notifier</tt> <tt class="py-op">=</tt> <tt id="link-336" class="py-name"><a title="pyinotify.Notifier" class="py-name" href="#" onclick="return doclink('link-336', 'Notifier', 'link-233');">Notifier</a></tt><tt class="py-op">(</tt><tt class="py-name">wm</tt><tt class="py-op">,</tt> <tt class="py-name">default_proc_fun</tt><tt class="py-op">=</tt><tt id="link-337" class="py-name"><a title="pyinotify.PrintAllEvents" class="py-name" href="#" onclick="return doclink('link-337', 'PrintAllEvents', 'link-210');">PrintAllEvents</a></tt><tt class="py-op">(</tt><tt class="py-op">)</tt><tt class="py-op">)</tt> </tt>
+<a name="L2140"></a><tt class="py-lineno">2140</tt> <tt class="py-line"> </tt>
+<a name="L2141"></a><tt class="py-lineno">2141</tt> <tt class="py-line"> <tt class="py-comment"># What mask to apply</tt> </tt>
+<a name="L2142"></a><tt class="py-lineno">2142</tt> <tt class="py-line"> <tt class="py-name">mask</tt> <tt class="py-op">=</tt> <tt class="py-number">0</tt> </tt>
+<a name="L2143"></a><tt class="py-lineno">2143</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">options</tt><tt class="py-op">.</tt><tt class="py-name">events_list</tt><tt class="py-op">:</tt> </tt>
+<a name="L2144"></a><tt class="py-lineno">2144</tt> <tt class="py-line"> <tt class="py-name">events_list</tt> <tt class="py-op">=</tt> <tt class="py-name">options</tt><tt class="py-op">.</tt><tt class="py-name">events_list</tt><tt class="py-op">.</tt><tt class="py-name">split</tt><tt class="py-op">(</tt><tt class="py-string">','</tt><tt class="py-op">)</tt> </tt>
+<a name="L2145"></a><tt class="py-lineno">2145</tt> <tt class="py-line"> <tt class="py-keyword">for</tt> <tt class="py-name">ev</tt> <tt class="py-keyword">in</tt> <tt class="py-name">events_list</tt><tt class="py-op">:</tt> </tt>
+<a name="L2146"></a><tt class="py-lineno">2146</tt> <tt class="py-line"> <tt class="py-name">evcode</tt> <tt class="py-op">=</tt> <tt id="link-338" class="py-name"><a title="pyinotify.EventsCodes" class="py-name" href="#" onclick="return doclink('link-338', 'EventsCodes', 'link-55');">EventsCodes</a></tt><tt class="py-op">.</tt><tt id="link-339" class="py-name"><a title="pyinotify.EventsCodes.ALL_FLAGS" class="py-name" href="#" onclick="return doclink('link-339', 'ALL_FLAGS', 'link-60');">ALL_FLAGS</a></tt><tt class="py-op">.</tt><tt class="py-name">get</tt><tt class="py-op">(</tt><tt class="py-name">ev</tt><tt class="py-op">,</tt> <tt class="py-number">0</tt><tt class="py-op">)</tt> </tt>
+<a name="L2147"></a><tt class="py-lineno">2147</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">evcode</tt><tt class="py-op">:</tt> </tt>
+<a name="L2148"></a><tt class="py-lineno">2148</tt> <tt class="py-line"> <tt class="py-name">mask</tt> <tt class="py-op">|=</tt> <tt class="py-name">evcode</tt> </tt>
+<a name="L2149"></a><tt class="py-lineno">2149</tt> <tt class="py-line"> <tt class="py-keyword">else</tt><tt class="py-op">:</tt> </tt>
+<a name="L2150"></a><tt class="py-lineno">2150</tt> <tt class="py-line"> <tt class="py-name">parser</tt><tt class="py-op">.</tt><tt class="py-name">error</tt><tt class="py-op">(</tt><tt class="py-string">"The event '%s' specified with option -e"</tt> </tt>
+<a name="L2151"></a><tt class="py-lineno">2151</tt> <tt class="py-line"> <tt class="py-string">" is not valid"</tt> <tt class="py-op">%</tt> <tt class="py-name">ev</tt><tt class="py-op">)</tt> </tt>
+<a name="L2152"></a><tt class="py-lineno">2152</tt> <tt class="py-line"> <tt class="py-keyword">else</tt><tt class="py-op">:</tt> </tt>
+<a name="L2153"></a><tt class="py-lineno">2153</tt> <tt class="py-line"> <tt class="py-name">mask</tt> <tt class="py-op">=</tt> <tt id="link-340" class="py-name"><a title="pyinotify.ALL_EVENTS" class="py-name" href="#" onclick="return doclink('link-340', 'ALL_EVENTS', 'link-82');">ALL_EVENTS</a></tt> </tt>
+<a name="L2154"></a><tt class="py-lineno">2154</tt> <tt class="py-line"> </tt>
+<a name="L2155"></a><tt class="py-lineno">2155</tt> <tt class="py-line"> <tt class="py-comment"># stats</tt> </tt>
+<a name="L2156"></a><tt class="py-lineno">2156</tt> <tt class="py-line"> <tt class="py-name">cb_fun</tt> <tt class="py-op">=</tt> <tt class="py-name">None</tt> </tt>
+<a name="L2157"></a><tt class="py-lineno">2157</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">options</tt><tt class="py-op">.</tt><tt class="py-name">stats</tt><tt class="py-op">:</tt> </tt>
+<a name="L2158"></a><tt class="py-lineno">2158</tt> <tt class="py-line"> <tt class="py-keyword">def</tt> <tt class="py-def-name">cb</tt><tt class="py-op">(</tt><tt class="py-param">s</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
+<a name="L2159"></a><tt class="py-lineno">2159</tt> <tt class="py-line"> <tt class="py-name">sys</tt><tt class="py-op">.</tt><tt class="py-name">stdout</tt><tt class="py-op">.</tt><tt class="py-name">write</tt><tt class="py-op">(</tt><tt class="py-name">repr</tt><tt class="py-op">(</tt><tt class="py-name">s</tt><tt class="py-op">.</tt><tt id="link-341" class="py-name"><a title="pyinotify.Notifier.proc_fun" class="py-name" href="#" onclick="return doclink('link-341', 'proc_fun', 'link-141');">proc_fun</a></tt><tt class="py-op">(</tt><tt class="py-op">)</tt><tt class="py-op">)</tt><tt class="py-op">)</tt> </tt>
+<a name="L2160"></a><tt class="py-lineno">2160</tt> <tt class="py-line"> <tt class="py-name">sys</tt><tt class="py-op">.</tt><tt class="py-name">stdout</tt><tt class="py-op">.</tt><tt class="py-name">write</tt><tt class="py-op">(</tt><tt class="py-string">'\n'</tt><tt class="py-op">)</tt> </tt>
+<a name="L2161"></a><tt class="py-lineno">2161</tt> <tt class="py-line"> <tt class="py-name">sys</tt><tt class="py-op">.</tt><tt class="py-name">stdout</tt><tt class="py-op">.</tt><tt class="py-name">write</tt><tt class="py-op">(</tt><tt class="py-name">str</tt><tt class="py-op">(</tt><tt class="py-name">s</tt><tt class="py-op">.</tt><tt id="link-342" class="py-name"><a title="pyinotify.Notifier.proc_fun" class="py-name" href="#" onclick="return doclink('link-342', 'proc_fun', 'link-141');">proc_fun</a></tt><tt class="py-op">(</tt><tt class="py-op">)</tt><tt class="py-op">)</tt><tt class="py-op">)</tt> </tt>
+<a name="L2162"></a><tt class="py-lineno">2162</tt> <tt class="py-line"> <tt class="py-name">sys</tt><tt class="py-op">.</tt><tt class="py-name">stdout</tt><tt class="py-op">.</tt><tt class="py-name">write</tt><tt class="py-op">(</tt><tt class="py-string">'\n'</tt><tt class="py-op">)</tt> </tt>
+<a name="L2163"></a><tt class="py-lineno">2163</tt> <tt class="py-line"> <tt class="py-name">sys</tt><tt class="py-op">.</tt><tt class="py-name">stdout</tt><tt class="py-op">.</tt><tt class="py-name">flush</tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt>
+</div><a name="L2164"></a><tt class="py-lineno">2164</tt> <tt class="py-line"> <tt class="py-name">cb_fun</tt> <tt class="py-op">=</tt> <tt class="py-name">cb</tt> </tt>
+<a name="L2165"></a><tt class="py-lineno">2165</tt> <tt class="py-line"> </tt>
+<a name="L2166"></a><tt class="py-lineno">2166</tt> <tt class="py-line"> <tt id="link-343" class="py-name"><a title="pyinotify.log" class="py-name" href="#" onclick="return doclink('link-343', 'log', 'link-27');">log</a></tt><tt class="py-op">.</tt><tt class="py-name">debug</tt><tt class="py-op">(</tt><tt class="py-string">'Start monitoring %s, (press c^c to halt pyinotify)'</tt> <tt class="py-op">%</tt> <tt class="py-name">path</tt><tt class="py-op">)</tt> </tt>
+<a name="L2167"></a><tt class="py-lineno">2167</tt> <tt class="py-line"> </tt>
+<a name="L2168"></a><tt class="py-lineno">2168</tt> <tt class="py-line"> <tt class="py-name">wm</tt><tt class="py-op">.</tt><tt id="link-344" class="py-name"><a title="pyinotify.WatchManager.add_watch" class="py-name" href="#" onclick="return doclink('link-344', 'add_watch', 'link-140');">add_watch</a></tt><tt class="py-op">(</tt><tt class="py-name">path</tt><tt class="py-op">,</tt> <tt class="py-name">mask</tt><tt class="py-op">,</tt> <tt class="py-name">rec</tt><tt class="py-op">=</tt><tt class="py-name">options</tt><tt class="py-op">.</tt><tt class="py-name">recursive</tt><tt class="py-op">,</tt> <tt class="py-name">auto_add</tt><tt class="py-op">=</tt><tt class="py-name">options</tt><tt class="py-op">.</tt><tt class="py-name">auto_add</tt><tt class="py-op">)</tt> </tt>
+<a name="L2169"></a><tt class="py-lineno">2169</tt> <tt class="py-line"> <tt class="py-comment"># Loop forever (until sigint signal get caught)</tt> </tt>
+<a name="L2170"></a><tt class="py-lineno">2170</tt> <tt class="py-line"> <tt class="py-name">notifier</tt><tt class="py-op">.</tt><tt id="link-345" class="py-name"><a title="pyinotify.Notifier.loop
+pyinotify.ThreadedNotifier.loop" class="py-name" href="#" onclick="return doclink('link-345', 'loop', 'link-243');">loop</a></tt><tt class="py-op">(</tt><tt class="py-name">callback</tt><tt class="py-op">=</tt><tt class="py-name">cb_fun</tt><tt class="py-op">)</tt> </tt>
+</div><a name="L2171"></a><tt class="py-lineno">2171</tt> <tt class="py-line"> </tt>
+<a name="L2172"></a><tt class="py-lineno">2172</tt> <tt class="py-line"> </tt>
+<a name="L2173"></a><tt class="py-lineno">2173</tt> <tt class="py-line"><tt class="py-keyword">if</tt> <tt class="py-name">__name__</tt> <tt class="py-op">==</tt> <tt class="py-string">'__main__'</tt><tt class="py-op">:</tt> </tt>
+<a name="L2174"></a><tt class="py-lineno">2174</tt> <tt class="py-line"> <tt id="link-346" class="py-name" targets="Function pyinotify.command_line()=pyinotify-module.html#command_line"><a title="pyinotify.command_line" class="py-name" href="#" onclick="return doclink('link-346', 'command_line', 'link-346');">command_line</a></tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt>
+<a name="L2175"></a><tt class="py-lineno">2175</tt> <tt class="py-line"> </tt><script type="text/javascript">
+<!--
+expandto(location.href);
+// -->
+</script>
+</pre>
+<br />
+<!-- ==================== NAVIGATION BAR ==================== -->
+<table class="navbar" border="0" width="100%" cellpadding="0"
+ bgcolor="#a0c0ff" cellspacing="0">
+ <tr valign="middle">
+ <!-- Home link -->
+ <th bgcolor="#70b0f0" class="navbar-select"
+ >&nbsp;&nbsp;&nbsp;Home&nbsp;&nbsp;&nbsp;</th>
+
+ <!-- Tree link -->
+ <th>&nbsp;&nbsp;&nbsp;<a
+ href="module-tree.html">Trees</a>&nbsp;&nbsp;&nbsp;</th>
+
+ <!-- Index link -->
+ <th>&nbsp;&nbsp;&nbsp;<a
+ href="identifier-index.html">Indices</a>&nbsp;&nbsp;&nbsp;</th>
+
+ <!-- Help link -->
+ <th>&nbsp;&nbsp;&nbsp;<a
+ href="help.html">Help</a>&nbsp;&nbsp;&nbsp;</th>
+
+ <th class="navbar" width="100%"></th>
+ </tr>
+</table>
+<table border="0" cellpadding="0" cellspacing="0" width="100%%">
+ <tr>
+ <td align="left" class="footer">
+ Generated by Epydoc 3.0.1 on Wed Sep 15 21:46:51 2010
+ </td>
+ <td align="right" class="footer">
+ <a target="mainFrame" href="http://epydoc.sourceforge.net"
+ >http://epydoc.sourceforge.net</a>
+ </td>
+ </tr>
+</table>
+
+<script type="text/javascript">
+ <!--
+ // Private objects are initially displayed (because if
+ // javascript is turned off then we want them to be
+ // visible); but by default, we want to hide them. So hide
+ // them unless we have a cookie that says to show them.
+ checkCookie();
+ // -->
+</script>
+</body>
+</html>
diff --git a/python2/docstrings/pyinotify.AsyncNotifier-class.html b/python2/docstrings/pyinotify.AsyncNotifier-class.html
new file mode 100644
index 0000000..730fa5f
--- /dev/null
+++ b/python2/docstrings/pyinotify.AsyncNotifier-class.html
@@ -0,0 +1,417 @@
+<?xml version="1.0" encoding="ascii"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+ <title>pyinotify.AsyncNotifier</title>
+ <link rel="stylesheet" href="epydoc.css" type="text/css" />
+ <script type="text/javascript" src="epydoc.js"></script>
+</head>
+
+<body bgcolor="white" text="black" link="blue" vlink="#204080"
+ alink="#204080">
+<!-- ==================== NAVIGATION BAR ==================== -->
+<table class="navbar" border="0" width="100%" cellpadding="0"
+ bgcolor="#a0c0ff" cellspacing="0">
+ <tr valign="middle">
+ <!-- Home link -->
+ <th>&nbsp;&nbsp;&nbsp;<a
+ href="pyinotify-module.html">Home</a>&nbsp;&nbsp;&nbsp;</th>
+
+ <!-- Tree link -->
+ <th>&nbsp;&nbsp;&nbsp;<a
+ href="module-tree.html">Trees</a>&nbsp;&nbsp;&nbsp;</th>
+
+ <!-- Index link -->
+ <th>&nbsp;&nbsp;&nbsp;<a
+ href="identifier-index.html">Indices</a>&nbsp;&nbsp;&nbsp;</th>
+
+ <!-- Help link -->
+ <th>&nbsp;&nbsp;&nbsp;<a
+ href="help.html">Help</a>&nbsp;&nbsp;&nbsp;</th>
+
+ <th class="navbar" width="100%"></th>
+ </tr>
+</table>
+<table width="100%" cellpadding="0" cellspacing="0">
+ <tr valign="top">
+ <td width="100%">
+ <span class="breadcrumbs">
+ <a href="pyinotify-module.html">Module&nbsp;pyinotify</a> ::
+ Class&nbsp;AsyncNotifier
+ </span>
+ </td>
+ <td>
+ <table cellpadding="0" cellspacing="0">
+ <!-- hide/show private -->
+ <tr><td align="right"><span class="options">[<a href="javascript:void(0);" class="privatelink"
+ onclick="toggle_private();">hide&nbsp;private</a>]</span></td></tr>
+ <tr><td align="right"><span class="options"
+ >[<a href="frames.html" target="_top">frames</a
+ >]&nbsp;|&nbsp;<a href="pyinotify.AsyncNotifier-class.html"
+ target="_top">no&nbsp;frames</a>]</span></td></tr>
+ </table>
+ </td>
+ </tr>
+</table>
+<!-- ==================== CLASS DESCRIPTION ==================== -->
+<h1 class="epydoc">Class AsyncNotifier</h1><p class="nomargin-top"><span class="codelink"><a href="pyinotify-pysrc.html#AsyncNotifier">source&nbsp;code</a></span></p>
+<center>
+<center> <map id="uml_class_diagram_for_pyinotif" name="uml_class_diagram_for_pyinotif">
+<area shape="rect" href="pyinotify.AsyncNotifier-class.html#__init__" title="Initializes the async notifier." alt="" coords="17,684,697,703"/>
+<area shape="rect" href="pyinotify.AsyncNotifier-class.html#handle_read" title="When asyncore tells us we can read from the fd, we proceed processing &#160;events." alt="" coords="17,703,697,721"/>
+<area shape="rect" href="pyinotify.AsyncNotifier-class.html" title="This notifier inherits from asyncore.file_dispatcher in order to be able to use pyinotify along with the asyncore framework." alt="" coords="16,659,699,723"/>
+<area shape="rect" href="javascript:void(0);" title="asyncore.file_dispatcher.set_file" alt="" coords="148,544,289,563"/>
+<area shape="rect" href="javascript:void(0);" title="asyncore.file_dispatcher" alt="" coords="147,519,291,564"/>
+<area shape="rect" href="pyinotify.Notifier-class.html#append_event" title="Append a raw event to the event queue." alt="" coords="343,479,649,497"/>
+<area shape="rect" href="pyinotify.Notifier-class.html#proc_fun" title="pyinotify.Notifier.proc_fun" alt="" coords="343,497,649,516"/>
+<area shape="rect" href="pyinotify.Notifier-class.html#coalesce_events" title="Coalescing events." alt="" coords="343,516,649,535"/>
+<area shape="rect" href="pyinotify.Notifier-class.html#check_events" title="Check for new events available to read, blocks up to timeout milliseconds." alt="" coords="343,535,649,553"/>
+<area shape="rect" href="pyinotify.Notifier-class.html#read_events" title="Read events from device, build _RawEvents, and enqueue them." alt="" coords="343,553,649,572"/>
+<area shape="rect" href="pyinotify.Notifier-class.html#process_events" title="Routine for processing events from queue by calling their associated &#160;proccessing method (an instance of ProcessEvent)." alt="" coords="343,572,649,591"/>
+<area shape="rect" href="pyinotify.Notifier-class.html#loop" title="Events are read only one time every min(read_freq, timeout) seconds at best and only if the size to read is &gt;= threshold." alt="" coords="343,591,649,609"/>
+<area shape="rect" href="pyinotify.Notifier-class.html#stop" title="Close inotify&#39;s instance (close its file descriptor)." alt="" coords="343,609,649,628"/>
+<area shape="rect" href="pyinotify.Notifier-class.html" title="Read notifications, process events." alt="" coords="341,453,651,629"/>
+<area shape="rect" href="javascript:void(0);" title="asyncore.dispatcher.debug" alt="" coords="116,28,321,47"/>
+<area shape="rect" href="javascript:void(0);" title="asyncore.dispatcher.connected" alt="" coords="116,47,321,65"/>
+<area shape="rect" href="javascript:void(0);" title="asyncore.dispatcher.accepting" alt="" coords="116,65,321,84"/>
+<area shape="rect" href="javascript:void(0);" title="asyncore.dispatcher.closing" alt="" coords="116,84,321,103"/>
+<area shape="rect" href="javascript:void(0);" title="asyncore.dispatcher.addr" alt="" coords="116,103,321,121"/>
+<area shape="rect" href="javascript:void(0);" title="asyncore.dispatcher.ignore_log_types" alt="" coords="116,121,321,140"/>
+<area shape="rect" href="javascript:void(0);" title="asyncore.dispatcher.__repr__" alt="" coords="116,143,321,161"/>
+<area shape="rect" href="javascript:void(0);" title="asyncore.dispatcher.add_channel" alt="" coords="116,161,321,180"/>
+<area shape="rect" href="javascript:void(0);" title="asyncore.dispatcher.del_channel" alt="" coords="116,180,321,199"/>
+<area shape="rect" href="javascript:void(0);" title="asyncore.dispatcher.create_socket" alt="" coords="116,199,321,217"/>
+<area shape="rect" href="javascript:void(0);" title="asyncore.dispatcher.set_socket" alt="" coords="116,217,321,236"/>
+<area shape="rect" href="javascript:void(0);" title="asyncore.dispatcher.set_reuse_addr" alt="" coords="116,236,321,255"/>
+<area shape="rect" href="javascript:void(0);" title="asyncore.dispatcher.readable" alt="" coords="116,255,321,273"/>
+<area shape="rect" href="javascript:void(0);" title="asyncore.dispatcher.writable" alt="" coords="116,273,321,292"/>
+<area shape="rect" href="javascript:void(0);" title="asyncore.dispatcher.listen" alt="" coords="116,292,321,311"/>
+<area shape="rect" href="javascript:void(0);" title="asyncore.dispatcher.bind" alt="" coords="116,311,321,329"/>
+<area shape="rect" href="javascript:void(0);" title="asyncore.dispatcher.connect" alt="" coords="116,329,321,348"/>
+<area shape="rect" href="javascript:void(0);" title="asyncore.dispatcher.accept" alt="" coords="116,348,321,367"/>
+<area shape="rect" href="javascript:void(0);" title="asyncore.dispatcher.send" alt="" coords="116,367,321,385"/>
+<area shape="rect" href="javascript:void(0);" title="asyncore.dispatcher.handle_close" alt="" coords="116,404,321,423"/>
+<area shape="rect" href="javascript:void(0);" title="asyncore.dispatcher" alt="" coords="115,11,323,424"/>
+</map>
+ <img src="uml_class_diagram_for_pyinotif.gif" alt='' usemap="#uml_class_diagram_for_pyinotif" ismap="ismap" class="graph-without-title" />
+</center>
+</center>
+<hr />
+<p>This notifier inherits from asyncore.file_dispatcher in order to be
+ able to use pyinotify along with the asyncore framework.</p>
+
+<!-- ==================== INSTANCE METHODS ==================== -->
+<a name="section-InstanceMethods"></a>
+<table class="summary" border="1" cellpadding="3"
+ cellspacing="0" width="100%" bgcolor="white">
+<tr bgcolor="#70b0f0" class="table-header">
+ <td colspan="2" class="table-header">
+ <table border="0" cellpadding="0" cellspacing="0" width="100%">
+ <tr valign="top">
+ <td align="left"><span class="table-header">Instance Methods</span></td>
+ <td align="right" valign="top"
+ ><span class="options">[<a href="#section-InstanceMethods"
+ class="privatelink" onclick="toggle_private();"
+ >hide private</a>]</span></td>
+ </tr>
+ </table>
+ </td>
+</tr>
+<tr>
+ <td width="15%" align="right" valign="top" class="summary">
+ <span class="summary-type">&nbsp;</span>
+ </td><td class="summary">
+ <table width="100%" cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td><span class="summary-sig"><a href="pyinotify.AsyncNotifier-class.html#__init__" class="summary-sig-name">__init__</a>(<span class="summary-sig-arg">self</span>,
+ <span class="summary-sig-arg">watch_manager</span>,
+ <span class="summary-sig-arg">default_proc_fun</span>=<span class="summary-sig-default">None</span>,
+ <span class="summary-sig-arg">read_freq</span>=<span class="summary-sig-default">0</span>,
+ <span class="summary-sig-arg">threshold</span>=<span class="summary-sig-default">0</span>,
+ <span class="summary-sig-arg">timeout</span>=<span class="summary-sig-default">None</span>,
+ <span class="summary-sig-arg">channel_map</span>=<span class="summary-sig-default">None</span>)</span><br />
+ Initializes the async notifier.</td>
+ <td align="right" valign="top">
+ <span class="codelink"><a href="pyinotify-pysrc.html#AsyncNotifier.__init__">source&nbsp;code</a></span>
+
+ </td>
+ </tr>
+ </table>
+
+ </td>
+ </tr>
+<tr>
+ <td width="15%" align="right" valign="top" class="summary">
+ <span class="summary-type">&nbsp;</span>
+ </td><td class="summary">
+ <table width="100%" cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td><span class="summary-sig"><a href="pyinotify.AsyncNotifier-class.html#handle_read" class="summary-sig-name">handle_read</a>(<span class="summary-sig-arg">self</span>)</span><br />
+ When asyncore tells us we can read from the fd, we proceed processing
+ events.</td>
+ <td align="right" valign="top">
+ <span class="codelink"><a href="pyinotify-pysrc.html#AsyncNotifier.handle_read">source&nbsp;code</a></span>
+
+ </td>
+ </tr>
+ </table>
+
+ </td>
+ </tr>
+ <tr>
+ <td colspan="2" class="summary">
+ <p class="indent-wrapped-lines"><b>Inherited from <code>asyncore.file_dispatcher</code></b>:
+ <code>set_file</code>
+ </p>
+ <p class="indent-wrapped-lines"><b>Inherited from <code>asyncore.dispatcher</code></b>:
+ <code>__getattr__</code>,
+ <code>__repr__</code>,
+ <code>accept</code>,
+ <code>add_channel</code>,
+ <code>bind</code>,
+ <code>close</code>,
+ <code>connect</code>,
+ <code>create_socket</code>,
+ <code>del_channel</code>,
+ <code>handle_accept</code>,
+ <code>handle_close</code>,
+ <code>handle_connect</code>,
+ <code>handle_connect_event</code>,
+ <code>handle_error</code>,
+ <code>handle_expt</code>,
+ <code>handle_expt_event</code>,
+ <code>handle_read_event</code>,
+ <code>handle_write</code>,
+ <code>handle_write_event</code>,
+ <code>listen</code>,
+ <code>log</code>,
+ <code>log_info</code>,
+ <code>readable</code>,
+ <code>recv</code>,
+ <code>send</code>,
+ <code>set_reuse_addr</code>,
+ <code>set_socket</code>,
+ <code>writable</code>
+ </p>
+ <p class="indent-wrapped-lines"><b>Inherited from <code><a href="pyinotify.Notifier-class.html">Notifier</a></code></b>:
+ <code><a href="pyinotify.Notifier-class.html#append_event">append_event</a></code>,
+ <code><a href="pyinotify.Notifier-class.html#check_events">check_events</a></code>,
+ <code><a href="pyinotify.Notifier-class.html#coalesce_events">coalesce_events</a></code>,
+ <code><a href="pyinotify.Notifier-class.html#loop">loop</a></code>,
+ <code><a href="pyinotify.Notifier-class.html#proc_fun">proc_fun</a></code>,
+ <code><a href="pyinotify.Notifier-class.html#process_events">process_events</a></code>,
+ <code><a href="pyinotify.Notifier-class.html#read_events">read_events</a></code>,
+ <code><a href="pyinotify.Notifier-class.html#stop">stop</a></code>
+ </p>
+ <div class="private"> <p class="indent-wrapped-lines"><b>Inherited from <code><a href="pyinotify.Notifier-class.html">Notifier</a></code></b> (private):
+ <code><a href="pyinotify.Notifier-class.html#_sleep" onclick="show_private();">_sleep</a></code>
+ </p></div>
+ <p class="indent-wrapped-lines"><b>Inherited from <code>object</code></b>:
+ <code>__delattr__</code>,
+ <code>__format__</code>,
+ <code>__getattribute__</code>,
+ <code>__hash__</code>,
+ <code>__new__</code>,
+ <code>__reduce__</code>,
+ <code>__reduce_ex__</code>,
+ <code>__setattr__</code>,
+ <code>__sizeof__</code>,
+ <code>__str__</code>,
+ <code>__subclasshook__</code>
+ </p>
+ </td>
+ </tr>
+</table>
+<!-- ==================== CLASS VARIABLES ==================== -->
+<a name="section-ClassVariables"></a>
+<table class="summary" border="1" cellpadding="3"
+ cellspacing="0" width="100%" bgcolor="white">
+<tr bgcolor="#70b0f0" class="table-header">
+ <td colspan="2" class="table-header">
+ <table border="0" cellpadding="0" cellspacing="0" width="100%">
+ <tr valign="top">
+ <td align="left"><span class="table-header">Class Variables</span></td>
+ <td align="right" valign="top"
+ ><span class="options">[<a href="#section-ClassVariables"
+ class="privatelink" onclick="toggle_private();"
+ >hide private</a>]</span></td>
+ </tr>
+ </table>
+ </td>
+</tr>
+ <tr>
+ <td colspan="2" class="summary">
+ <p class="indent-wrapped-lines"><b>Inherited from <code>asyncore.dispatcher</code></b>:
+ <code>accepting</code>,
+ <code>addr</code>,
+ <code>closing</code>,
+ <code>connected</code>,
+ <code>debug</code>,
+ <code>ignore_log_types</code>
+ </p>
+ </td>
+ </tr>
+</table>
+<!-- ==================== PROPERTIES ==================== -->
+<a name="section-Properties"></a>
+<table class="summary" border="1" cellpadding="3"
+ cellspacing="0" width="100%" bgcolor="white">
+<tr bgcolor="#70b0f0" class="table-header">
+ <td colspan="2" class="table-header">
+ <table border="0" cellpadding="0" cellspacing="0" width="100%">
+ <tr valign="top">
+ <td align="left"><span class="table-header">Properties</span></td>
+ <td align="right" valign="top"
+ ><span class="options">[<a href="#section-Properties"
+ class="privatelink" onclick="toggle_private();"
+ >hide private</a>]</span></td>
+ </tr>
+ </table>
+ </td>
+</tr>
+ <tr>
+ <td colspan="2" class="summary">
+ <p class="indent-wrapped-lines"><b>Inherited from <code>object</code></b>:
+ <code>__class__</code>
+ </p>
+ </td>
+ </tr>
+</table>
+<!-- ==================== METHOD DETAILS ==================== -->
+<a name="section-MethodDetails"></a>
+<table class="details" border="1" cellpadding="3"
+ cellspacing="0" width="100%" bgcolor="white">
+<tr bgcolor="#70b0f0" class="table-header">
+ <td colspan="2" class="table-header">
+ <table border="0" cellpadding="0" cellspacing="0" width="100%">
+ <tr valign="top">
+ <td align="left"><span class="table-header">Method Details</span></td>
+ <td align="right" valign="top"
+ ><span class="options">[<a href="#section-MethodDetails"
+ class="privatelink" onclick="toggle_private();"
+ >hide private</a>]</span></td>
+ </tr>
+ </table>
+ </td>
+</tr>
+</table>
+<a name="__init__"></a>
+<div>
+<table class="details" border="1" cellpadding="3"
+ cellspacing="0" width="100%" bgcolor="white">
+<tr><td>
+ <table width="100%" cellpadding="0" cellspacing="0" border="0">
+ <tr valign="top"><td>
+ <h3 class="epydoc"><span class="sig"><span class="sig-name">__init__</span>(<span class="sig-arg">self</span>,
+ <span class="sig-arg">watch_manager</span>,
+ <span class="sig-arg">default_proc_fun</span>=<span class="sig-default">None</span>,
+ <span class="sig-arg">read_freq</span>=<span class="sig-default">0</span>,
+ <span class="sig-arg">threshold</span>=<span class="sig-default">0</span>,
+ <span class="sig-arg">timeout</span>=<span class="sig-default">None</span>,
+ <span class="sig-arg">channel_map</span>=<span class="sig-default">None</span>)</span>
+ <br /><em class="fname">(Constructor)</em>
+ </h3>
+ </td><td align="right" valign="top"
+ ><span class="codelink"><a href="pyinotify-pysrc.html#AsyncNotifier.__init__">source&nbsp;code</a></span>&nbsp;
+ </td>
+ </tr></table>
+
+ <p>Initializes the async notifier. The only additional parameter is
+ 'channel_map' which is the optional asyncore private map. See Notifier
+ class for the meaning of the others parameters.</p>
+ <dl class="fields">
+ <dt>Parameters:</dt>
+ <dd><ul class="nomargin-top">
+ <li><strong class="pname"><code>watch_manager</code></strong> - Watch Manager.</li>
+ <li><strong class="pname"><code>default_proc_fun</code></strong> - Default processing method. If None, a new instance of
+ PrintAllEvents will be assigned.</li>
+ <li><strong class="pname"><code>read_freq</code></strong> - if read_freq == 0, events are read asap, if read_freq is &gt; 0,
+ this thread sleeps max(0, read_freq - timeout) seconds. But if
+ timeout is None it may be different because poll is blocking
+ waiting for something to read.</li>
+ <li><strong class="pname"><code>threshold</code></strong> - File descriptor will be read only if the accumulated size to read
+ becomes &gt;= threshold. If != 0, you likely want to use it in
+ combination with an appropriate value for read_freq because
+ without that you would keep looping without really reading
+ anything and that until the amount of events to read is &gt;=
+ threshold. At least with read_freq set you might sleep.</li>
+ <li><strong class="pname"><code>timeout</code></strong> - http://docs.python.org/lib/poll-objects.html#poll-objects</li>
+ </ul></dd>
+ <dt>Overrides:
+ object.__init__
+ </dt>
+ </dl>
+</td></tr></table>
+</div>
+<a name="handle_read"></a>
+<div>
+<table class="details" border="1" cellpadding="3"
+ cellspacing="0" width="100%" bgcolor="white">
+<tr><td>
+ <table width="100%" cellpadding="0" cellspacing="0" border="0">
+ <tr valign="top"><td>
+ <h3 class="epydoc"><span class="sig"><span class="sig-name">handle_read</span>(<span class="sig-arg">self</span>)</span>
+ </h3>
+ </td><td align="right" valign="top"
+ ><span class="codelink"><a href="pyinotify-pysrc.html#AsyncNotifier.handle_read">source&nbsp;code</a></span>&nbsp;
+ </td>
+ </tr></table>
+
+ <p>When asyncore tells us we can read from the fd, we proceed processing
+ events. This method can be overridden for handling a notification
+ differently.</p>
+ <dl class="fields">
+ <dt>Overrides:
+ asyncore.dispatcher.handle_read
+ </dt>
+ </dl>
+</td></tr></table>
+</div>
+<br />
+<!-- ==================== NAVIGATION BAR ==================== -->
+<table class="navbar" border="0" width="100%" cellpadding="0"
+ bgcolor="#a0c0ff" cellspacing="0">
+ <tr valign="middle">
+ <!-- Home link -->
+ <th>&nbsp;&nbsp;&nbsp;<a
+ href="pyinotify-module.html">Home</a>&nbsp;&nbsp;&nbsp;</th>
+
+ <!-- Tree link -->
+ <th>&nbsp;&nbsp;&nbsp;<a
+ href="module-tree.html">Trees</a>&nbsp;&nbsp;&nbsp;</th>
+
+ <!-- Index link -->
+ <th>&nbsp;&nbsp;&nbsp;<a
+ href="identifier-index.html">Indices</a>&nbsp;&nbsp;&nbsp;</th>
+
+ <!-- Help link -->
+ <th>&nbsp;&nbsp;&nbsp;<a
+ href="help.html">Help</a>&nbsp;&nbsp;&nbsp;</th>
+
+ <th class="navbar" width="100%"></th>
+ </tr>
+</table>
+<table border="0" cellpadding="0" cellspacing="0" width="100%%">
+ <tr>
+ <td align="left" class="footer">
+ Generated by Epydoc 3.0.1 on Wed Sep 15 21:46:49 2010
+ </td>
+ <td align="right" class="footer">
+ <a target="mainFrame" href="http://epydoc.sourceforge.net"
+ >http://epydoc.sourceforge.net</a>
+ </td>
+ </tr>
+</table>
+
+<script type="text/javascript">
+ <!--
+ // Private objects are initially displayed (because if
+ // javascript is turned off then we want them to be
+ // visible); but by default, we want to hide them. So hide
+ // them unless we have a cookie that says to show them.
+ checkCookie();
+ // -->
+</script>
+</body>
+</html>
diff --git a/python2/docstrings/pyinotify.ChainIfTrue-class.html b/python2/docstrings/pyinotify.ChainIfTrue-class.html
new file mode 100644
index 0000000..1cd9176
--- /dev/null
+++ b/python2/docstrings/pyinotify.ChainIfTrue-class.html
@@ -0,0 +1,332 @@
+<?xml version="1.0" encoding="ascii"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+ <title>pyinotify.ChainIfTrue</title>
+ <link rel="stylesheet" href="epydoc.css" type="text/css" />
+ <script type="text/javascript" src="epydoc.js"></script>
+</head>
+
+<body bgcolor="white" text="black" link="blue" vlink="#204080"
+ alink="#204080">
+<!-- ==================== NAVIGATION BAR ==================== -->
+<table class="navbar" border="0" width="100%" cellpadding="0"
+ bgcolor="#a0c0ff" cellspacing="0">
+ <tr valign="middle">
+ <!-- Home link -->
+ <th>&nbsp;&nbsp;&nbsp;<a
+ href="pyinotify-module.html">Home</a>&nbsp;&nbsp;&nbsp;</th>
+
+ <!-- Tree link -->
+ <th>&nbsp;&nbsp;&nbsp;<a
+ href="module-tree.html">Trees</a>&nbsp;&nbsp;&nbsp;</th>
+
+ <!-- Index link -->
+ <th>&nbsp;&nbsp;&nbsp;<a
+ href="identifier-index.html">Indices</a>&nbsp;&nbsp;&nbsp;</th>
+
+ <!-- Help link -->
+ <th>&nbsp;&nbsp;&nbsp;<a
+ href="help.html">Help</a>&nbsp;&nbsp;&nbsp;</th>
+
+ <th class="navbar" width="100%"></th>
+ </tr>
+</table>
+<table width="100%" cellpadding="0" cellspacing="0">
+ <tr valign="top">
+ <td width="100%">
+ <span class="breadcrumbs">
+ <a href="pyinotify-module.html">Module&nbsp;pyinotify</a> ::
+ Class&nbsp;ChainIfTrue
+ </span>
+ </td>
+ <td>
+ <table cellpadding="0" cellspacing="0">
+ <!-- hide/show private -->
+ <tr><td align="right"><span class="options">[<a href="javascript:void(0);" class="privatelink"
+ onclick="toggle_private();">hide&nbsp;private</a>]</span></td></tr>
+ <tr><td align="right"><span class="options"
+ >[<a href="frames.html" target="_top">frames</a
+ >]&nbsp;|&nbsp;<a href="pyinotify.ChainIfTrue-class.html"
+ target="_top">no&nbsp;frames</a>]</span></td></tr>
+ </table>
+ </td>
+ </tr>
+</table>
+<!-- ==================== CLASS DESCRIPTION ==================== -->
+<h1 class="epydoc">Class ChainIfTrue</h1><p class="nomargin-top"><span class="codelink"><a href="pyinotify-pysrc.html#ChainIfTrue">source&nbsp;code</a></span></p>
+<center>
+<center> <map id="uml_class_diagram_for_pyinotif_2" name="uml_class_diagram_for_pyinotif_2">
+<area shape="rect" href="pyinotify.ChainIfTrue-class.html#my_init" title="Method automatically called from base class constructor." alt="" coords="55,255,217,273"/>
+<area shape="rect" href="pyinotify.ChainIfTrue-class.html#process_default" title="Default processing event method." alt="" coords="55,273,217,292"/>
+<area shape="rect" href="pyinotify.ChainIfTrue-class.html" title="Makes conditional chaining depending on the result of the nested processing instance." alt="" coords="53,229,219,293"/>
+<area shape="rect" href="pyinotify.ProcessEvent-class.html#pevent" title="pyinotify.ProcessEvent.pevent" alt="" coords="17,103,255,121"/>
+<area shape="rect" href="pyinotify.ProcessEvent-class.html#__init__" title="Enable chaining of ProcessEvent instances." alt="" coords="17,124,255,143"/>
+<area shape="rect" href="pyinotify.ProcessEvent-class.html#__call__" title="To behave like a functor the object must be callable." alt="" coords="17,143,255,161"/>
+<area shape="rect" href="pyinotify.ProcessEvent-class.html#nested_pevent" title="pyinotify.ProcessEvent.nested_pevent" alt="" coords="17,161,255,180"/>
+<area shape="rect" href="pyinotify.ProcessEvent-class.html#process_IN_Q_OVERFLOW" title="By default this method only reports warning messages, you can overredide it by subclassing ProcessEvent and implement your own process_IN_Q_OVERFLOW &#160;method." alt="" coords="17,180,255,199"/>
+<area shape="rect" href="pyinotify.ProcessEvent-class.html" title="Process events objects, can be specialized via subclassing, thus its behavior can be overriden:" alt="" coords="16,85,256,200"/>
+<area shape="rect" href="pyinotify._ProcessEvent-class.html#__repr__" title="repr(x)" alt="" coords="92,36,180,55"/>
+<area shape="rect" href="pyinotify._ProcessEvent-class.html" title="Abstract processing event class." alt="" coords="91,11,181,56"/>
+</map>
+ <img src="uml_class_diagram_for_pyinotif_2.gif" alt='' usemap="#uml_class_diagram_for_pyinotif_2" ismap="ismap" class="graph-without-title" />
+</center>
+</center>
+<hr />
+<p>Makes conditional chaining depending on the result of the nested
+ processing instance.</p>
+
+<!-- ==================== INSTANCE METHODS ==================== -->
+<a name="section-InstanceMethods"></a>
+<table class="summary" border="1" cellpadding="3"
+ cellspacing="0" width="100%" bgcolor="white">
+<tr bgcolor="#70b0f0" class="table-header">
+ <td colspan="2" class="table-header">
+ <table border="0" cellpadding="0" cellspacing="0" width="100%">
+ <tr valign="top">
+ <td align="left"><span class="table-header">Instance Methods</span></td>
+ <td align="right" valign="top"
+ ><span class="options">[<a href="#section-InstanceMethods"
+ class="privatelink" onclick="toggle_private();"
+ >hide private</a>]</span></td>
+ </tr>
+ </table>
+ </td>
+</tr>
+<tr>
+ <td width="15%" align="right" valign="top" class="summary">
+ <span class="summary-type">&nbsp;</span>
+ </td><td class="summary">
+ <table width="100%" cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td><span class="summary-sig"><a href="pyinotify.ChainIfTrue-class.html#my_init" class="summary-sig-name">my_init</a>(<span class="summary-sig-arg">self</span>,
+ <span class="summary-sig-arg">func</span>)</span><br />
+ Method automatically called from base class constructor.</td>
+ <td align="right" valign="top">
+ <span class="codelink"><a href="pyinotify-pysrc.html#ChainIfTrue.my_init">source&nbsp;code</a></span>
+
+ </td>
+ </tr>
+ </table>
+
+ </td>
+ </tr>
+<tr>
+ <td width="15%" align="right" valign="top" class="summary">
+ <span class="summary-type">&nbsp;</span>
+ </td><td class="summary">
+ <table width="100%" cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td><span class="summary-sig"><a href="pyinotify.ChainIfTrue-class.html#process_default" class="summary-sig-name">process_default</a>(<span class="summary-sig-arg">self</span>,
+ <span class="summary-sig-arg">event</span>)</span><br />
+ Default processing event method.</td>
+ <td align="right" valign="top">
+ <span class="codelink"><a href="pyinotify-pysrc.html#ChainIfTrue.process_default">source&nbsp;code</a></span>
+
+ </td>
+ </tr>
+ </table>
+
+ </td>
+ </tr>
+ <tr>
+ <td colspan="2" class="summary">
+ <p class="indent-wrapped-lines"><b>Inherited from <code><a href="pyinotify.ProcessEvent-class.html">ProcessEvent</a></code></b>:
+ <code><a href="pyinotify.ProcessEvent-class.html#__call__">__call__</a></code>,
+ <code><a href="pyinotify.ProcessEvent-class.html#__init__">__init__</a></code>,
+ <code><a href="pyinotify.ProcessEvent-class.html#nested_pevent">nested_pevent</a></code>,
+ <code><a href="pyinotify.ProcessEvent-class.html#process_IN_Q_OVERFLOW">process_IN_Q_OVERFLOW</a></code>
+ </p>
+ <p class="indent-wrapped-lines"><b>Inherited from <code><a href="pyinotify._ProcessEvent-class.html" onclick="show_private();">_ProcessEvent</a></code></b>:
+ <code><a href="pyinotify._ProcessEvent-class.html#__repr__">__repr__</a></code>
+ </p>
+ <p class="indent-wrapped-lines"><b>Inherited from <code>object</code></b>:
+ <code>__delattr__</code>,
+ <code>__format__</code>,
+ <code>__getattribute__</code>,
+ <code>__hash__</code>,
+ <code>__new__</code>,
+ <code>__reduce__</code>,
+ <code>__reduce_ex__</code>,
+ <code>__setattr__</code>,
+ <code>__sizeof__</code>,
+ <code>__str__</code>,
+ <code>__subclasshook__</code>
+ </p>
+ </td>
+ </tr>
+</table>
+<!-- ==================== CLASS VARIABLES ==================== -->
+<a name="section-ClassVariables"></a>
+<table class="summary" border="1" cellpadding="3"
+ cellspacing="0" width="100%" bgcolor="white">
+<tr bgcolor="#70b0f0" class="table-header">
+ <td colspan="2" class="table-header">
+ <table border="0" cellpadding="0" cellspacing="0" width="100%">
+ <tr valign="top">
+ <td align="left"><span class="table-header">Class Variables</span></td>
+ <td align="right" valign="top"
+ ><span class="options">[<a href="#section-ClassVariables"
+ class="privatelink" onclick="toggle_private();"
+ >hide private</a>]</span></td>
+ </tr>
+ </table>
+ </td>
+</tr>
+ <tr>
+ <td colspan="2" class="summary">
+ <p class="indent-wrapped-lines"><b>Inherited from <code><a href="pyinotify.ProcessEvent-class.html">ProcessEvent</a></code></b>:
+ <code><a href="pyinotify.ProcessEvent-class.html#pevent">pevent</a></code>
+ </p>
+ </td>
+ </tr>
+</table>
+<!-- ==================== PROPERTIES ==================== -->
+<a name="section-Properties"></a>
+<table class="summary" border="1" cellpadding="3"
+ cellspacing="0" width="100%" bgcolor="white">
+<tr bgcolor="#70b0f0" class="table-header">
+ <td colspan="2" class="table-header">
+ <table border="0" cellpadding="0" cellspacing="0" width="100%">
+ <tr valign="top">
+ <td align="left"><span class="table-header">Properties</span></td>
+ <td align="right" valign="top"
+ ><span class="options">[<a href="#section-Properties"
+ class="privatelink" onclick="toggle_private();"
+ >hide private</a>]</span></td>
+ </tr>
+ </table>
+ </td>
+</tr>
+ <tr>
+ <td colspan="2" class="summary">
+ <p class="indent-wrapped-lines"><b>Inherited from <code>object</code></b>:
+ <code>__class__</code>
+ </p>
+ </td>
+ </tr>
+</table>
+<!-- ==================== METHOD DETAILS ==================== -->
+<a name="section-MethodDetails"></a>
+<table class="details" border="1" cellpadding="3"
+ cellspacing="0" width="100%" bgcolor="white">
+<tr bgcolor="#70b0f0" class="table-header">
+ <td colspan="2" class="table-header">
+ <table border="0" cellpadding="0" cellspacing="0" width="100%">
+ <tr valign="top">
+ <td align="left"><span class="table-header">Method Details</span></td>
+ <td align="right" valign="top"
+ ><span class="options">[<a href="#section-MethodDetails"
+ class="privatelink" onclick="toggle_private();"
+ >hide private</a>]</span></td>
+ </tr>
+ </table>
+ </td>
+</tr>
+</table>
+<a name="my_init"></a>
+<div>
+<table class="details" border="1" cellpadding="3"
+ cellspacing="0" width="100%" bgcolor="white">
+<tr><td>
+ <table width="100%" cellpadding="0" cellspacing="0" border="0">
+ <tr valign="top"><td>
+ <h3 class="epydoc"><span class="sig"><span class="sig-name">my_init</span>(<span class="sig-arg">self</span>,
+ <span class="sig-arg">func</span>)</span>
+ </h3>
+ </td><td align="right" valign="top"
+ ><span class="codelink"><a href="pyinotify-pysrc.html#ChainIfTrue.my_init">source&nbsp;code</a></span>&nbsp;
+ </td>
+ </tr></table>
+
+ <p>Method automatically called from base class constructor.</p>
+ <dl class="fields">
+ <dt>Parameters:</dt>
+ <dd><ul class="nomargin-top">
+ <li><strong class="pname"><code>kargs</code></strong> - optional delegated arguments from __init__().</li>
+ </ul></dd>
+ <dt>Overrides:
+ <a href="pyinotify.ProcessEvent-class.html#my_init">ProcessEvent.my_init</a>
+ </dt>
+ </dl>
+</td></tr></table>
+</div>
+<a name="process_default"></a>
+<div>
+<table class="details" border="1" cellpadding="3"
+ cellspacing="0" width="100%" bgcolor="white">
+<tr><td>
+ <table width="100%" cellpadding="0" cellspacing="0" border="0">
+ <tr valign="top"><td>
+ <h3 class="epydoc"><span class="sig"><span class="sig-name">process_default</span>(<span class="sig-arg">self</span>,
+ <span class="sig-arg">event</span>)</span>
+ </h3>
+ </td><td align="right" valign="top"
+ ><span class="codelink"><a href="pyinotify-pysrc.html#ChainIfTrue.process_default">source&nbsp;code</a></span>&nbsp;
+ </td>
+ </tr></table>
+
+ <p>Default processing event method. By default does nothing. Subclass
+ ProcessEvent and redefine this method in order to modify its
+ behavior.</p>
+ <dl class="fields">
+ <dt>Parameters:</dt>
+ <dd><ul class="nomargin-top">
+ <li><strong class="pname"><code>event</code></strong> - Event to be processed. Can be of any type of events but
+ IN_Q_OVERFLOW events (see method process_IN_Q_OVERFLOW).</li>
+ </ul></dd>
+ <dt>Overrides:
+ <a href="pyinotify.ProcessEvent-class.html#process_default">ProcessEvent.process_default</a>
+ <dd><em class="note">(inherited documentation)</em></dd>
+ </dt>
+ </dl>
+</td></tr></table>
+</div>
+<br />
+<!-- ==================== NAVIGATION BAR ==================== -->
+<table class="navbar" border="0" width="100%" cellpadding="0"
+ bgcolor="#a0c0ff" cellspacing="0">
+ <tr valign="middle">
+ <!-- Home link -->
+ <th>&nbsp;&nbsp;&nbsp;<a
+ href="pyinotify-module.html">Home</a>&nbsp;&nbsp;&nbsp;</th>
+
+ <!-- Tree link -->
+ <th>&nbsp;&nbsp;&nbsp;<a
+ href="module-tree.html">Trees</a>&nbsp;&nbsp;&nbsp;</th>
+
+ <!-- Index link -->
+ <th>&nbsp;&nbsp;&nbsp;<a
+ href="identifier-index.html">Indices</a>&nbsp;&nbsp;&nbsp;</th>
+
+ <!-- Help link -->
+ <th>&nbsp;&nbsp;&nbsp;<a
+ href="help.html">Help</a>&nbsp;&nbsp;&nbsp;</th>
+
+ <th class="navbar" width="100%"></th>
+ </tr>
+</table>
+<table border="0" cellpadding="0" cellspacing="0" width="100%%">
+ <tr>
+ <td align="left" class="footer">
+ Generated by Epydoc 3.0.1 on Wed Sep 15 21:46:49 2010
+ </td>
+ <td align="right" class="footer">
+ <a target="mainFrame" href="http://epydoc.sourceforge.net"
+ >http://epydoc.sourceforge.net</a>
+ </td>
+ </tr>
+</table>
+
+<script type="text/javascript">
+ <!--
+ // Private objects are initially displayed (because if
+ // javascript is turned off then we want them to be
+ // visible); but by default, we want to hide them. So hide
+ // them unless we have a cookie that says to show them.
+ checkCookie();
+ // -->
+</script>
+</body>
+</html>
diff --git a/python2/docstrings/pyinotify.ColoredOutputFormat-class.html b/python2/docstrings/pyinotify.ColoredOutputFormat-class.html
new file mode 100644
index 0000000..c83d711
--- /dev/null
+++ b/python2/docstrings/pyinotify.ColoredOutputFormat-class.html
@@ -0,0 +1,250 @@
+<?xml version="1.0" encoding="ascii"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+ <title>pyinotify.ColoredOutputFormat</title>
+ <link rel="stylesheet" href="epydoc.css" type="text/css" />
+ <script type="text/javascript" src="epydoc.js"></script>
+</head>
+
+<body bgcolor="white" text="black" link="blue" vlink="#204080"
+ alink="#204080">
+<!-- ==================== NAVIGATION BAR ==================== -->
+<table class="navbar" border="0" width="100%" cellpadding="0"
+ bgcolor="#a0c0ff" cellspacing="0">
+ <tr valign="middle">
+ <!-- Home link -->
+ <th>&nbsp;&nbsp;&nbsp;<a
+ href="pyinotify-module.html">Home</a>&nbsp;&nbsp;&nbsp;</th>
+
+ <!-- Tree link -->
+ <th>&nbsp;&nbsp;&nbsp;<a
+ href="module-tree.html">Trees</a>&nbsp;&nbsp;&nbsp;</th>
+
+ <!-- Index link -->
+ <th>&nbsp;&nbsp;&nbsp;<a
+ href="identifier-index.html">Indices</a>&nbsp;&nbsp;&nbsp;</th>
+
+ <!-- Help link -->
+ <th>&nbsp;&nbsp;&nbsp;<a
+ href="help.html">Help</a>&nbsp;&nbsp;&nbsp;</th>
+
+ <th class="navbar" width="100%"></th>
+ </tr>
+</table>
+<table width="100%" cellpadding="0" cellspacing="0">
+ <tr valign="top">
+ <td width="100%">
+ <span class="breadcrumbs">
+ <a href="pyinotify-module.html">Module&nbsp;pyinotify</a> ::
+ Class&nbsp;ColoredOutputFormat
+ </span>
+ </td>
+ <td>
+ <table cellpadding="0" cellspacing="0">
+ <!-- hide/show private -->
+ <tr><td align="right"><span class="options">[<a href="javascript:void(0);" class="privatelink"
+ onclick="toggle_private();">hide&nbsp;private</a>]</span></td></tr>
+ <tr><td align="right"><span class="options"
+ >[<a href="frames.html" target="_top">frames</a
+ >]&nbsp;|&nbsp;<a href="pyinotify.ColoredOutputFormat-class.html"
+ target="_top">no&nbsp;frames</a>]</span></td></tr>
+ </table>
+ </td>
+ </tr>
+</table>
+<!-- ==================== CLASS DESCRIPTION ==================== -->
+<h1 class="epydoc">Class ColoredOutputFormat</h1><p class="nomargin-top"><span class="codelink"><a href="pyinotify-pysrc.html#ColoredOutputFormat">source&nbsp;code</a></span></p>
+<center>
+<center> <map id="uml_class_diagram_for_pyinotif_3" name="uml_class_diagram_for_pyinotif_3">
+<area shape="rect" href="pyinotify.ColoredOutputFormat-class.html#__init__" title="x.__init__(...) initializes x; see x.__class__.__doc__ for signature" alt="" coords="25,185,151,204"/>
+<area shape="rect" href="pyinotify.ColoredOutputFormat-class.html" title="Format colored string representations." alt="" coords="24,160,152,205"/>
+<area shape="rect" href="pyinotify.RawOutputFormat-class.html#simple" title="pyinotify.RawOutputFormat.simple" alt="" coords="17,36,159,55"/>
+<area shape="rect" href="pyinotify.RawOutputFormat-class.html#punctuation" title="Punctuation color." alt="" coords="17,55,159,73"/>
+<area shape="rect" href="pyinotify.RawOutputFormat-class.html#field_value" title="Field value color." alt="" coords="17,73,159,92"/>
+<area shape="rect" href="pyinotify.RawOutputFormat-class.html#field_name" title="Field name color." alt="" coords="17,92,159,111"/>
+<area shape="rect" href="pyinotify.RawOutputFormat-class.html#class_name" title="Class name color." alt="" coords="17,111,159,129"/>
+<area shape="rect" href="pyinotify.RawOutputFormat-class.html" title="Format string representations." alt="" coords="16,11,160,131"/>
+</map>
+ <img src="uml_class_diagram_for_pyinotif_3.gif" alt='' usemap="#uml_class_diagram_for_pyinotif_3" ismap="ismap" class="graph-without-title" />
+</center>
+</center>
+<hr />
+<p>Format colored string representations.</p>
+
+<!-- ==================== INSTANCE METHODS ==================== -->
+<a name="section-InstanceMethods"></a>
+<table class="summary" border="1" cellpadding="3"
+ cellspacing="0" width="100%" bgcolor="white">
+<tr bgcolor="#70b0f0" class="table-header">
+ <td colspan="2" class="table-header">
+ <table border="0" cellpadding="0" cellspacing="0" width="100%">
+ <tr valign="top">
+ <td align="left"><span class="table-header">Instance Methods</span></td>
+ <td align="right" valign="top"
+ ><span class="options">[<a href="#section-InstanceMethods"
+ class="privatelink" onclick="toggle_private();"
+ >hide private</a>]</span></td>
+ </tr>
+ </table>
+ </td>
+</tr>
+<tr>
+ <td width="15%" align="right" valign="top" class="summary">
+ <span class="summary-type">&nbsp;</span>
+ </td><td class="summary">
+ <table width="100%" cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td><span class="summary-sig"><a href="pyinotify.ColoredOutputFormat-class.html#__init__" class="summary-sig-name">__init__</a>(<span class="summary-sig-arg">self</span>)</span><br />
+ x.__init__(...) initializes x; see x.__class__.__doc__ for signature</td>
+ <td align="right" valign="top">
+ <span class="codelink"><a href="pyinotify-pysrc.html#ColoredOutputFormat.__init__">source&nbsp;code</a></span>
+
+ </td>
+ </tr>
+ </table>
+
+ </td>
+ </tr>
+ <tr>
+ <td colspan="2" class="summary">
+ <p class="indent-wrapped-lines"><b>Inherited from <code><a href="pyinotify.RawOutputFormat-class.html">RawOutputFormat</a></code></b>:
+ <code><a href="pyinotify.RawOutputFormat-class.html#class_name">class_name</a></code>,
+ <code><a href="pyinotify.RawOutputFormat-class.html#field_name">field_name</a></code>,
+ <code><a href="pyinotify.RawOutputFormat-class.html#field_value">field_value</a></code>,
+ <code><a href="pyinotify.RawOutputFormat-class.html#punctuation">punctuation</a></code>,
+ <code><a href="pyinotify.RawOutputFormat-class.html#simple">simple</a></code>
+ </p>
+ <p class="indent-wrapped-lines"><b>Inherited from <code>object</code></b>:
+ <code>__delattr__</code>,
+ <code>__format__</code>,
+ <code>__getattribute__</code>,
+ <code>__hash__</code>,
+ <code>__new__</code>,
+ <code>__reduce__</code>,
+ <code>__reduce_ex__</code>,
+ <code>__repr__</code>,
+ <code>__setattr__</code>,
+ <code>__sizeof__</code>,
+ <code>__str__</code>,
+ <code>__subclasshook__</code>
+ </p>
+ </td>
+ </tr>
+</table>
+<!-- ==================== PROPERTIES ==================== -->
+<a name="section-Properties"></a>
+<table class="summary" border="1" cellpadding="3"
+ cellspacing="0" width="100%" bgcolor="white">
+<tr bgcolor="#70b0f0" class="table-header">
+ <td colspan="2" class="table-header">
+ <table border="0" cellpadding="0" cellspacing="0" width="100%">
+ <tr valign="top">
+ <td align="left"><span class="table-header">Properties</span></td>
+ <td align="right" valign="top"
+ ><span class="options">[<a href="#section-Properties"
+ class="privatelink" onclick="toggle_private();"
+ >hide private</a>]</span></td>
+ </tr>
+ </table>
+ </td>
+</tr>
+ <tr>
+ <td colspan="2" class="summary">
+ <p class="indent-wrapped-lines"><b>Inherited from <code>object</code></b>:
+ <code>__class__</code>
+ </p>
+ </td>
+ </tr>
+</table>
+<!-- ==================== METHOD DETAILS ==================== -->
+<a name="section-MethodDetails"></a>
+<table class="details" border="1" cellpadding="3"
+ cellspacing="0" width="100%" bgcolor="white">
+<tr bgcolor="#70b0f0" class="table-header">
+ <td colspan="2" class="table-header">
+ <table border="0" cellpadding="0" cellspacing="0" width="100%">
+ <tr valign="top">
+ <td align="left"><span class="table-header">Method Details</span></td>
+ <td align="right" valign="top"
+ ><span class="options">[<a href="#section-MethodDetails"
+ class="privatelink" onclick="toggle_private();"
+ >hide private</a>]</span></td>
+ </tr>
+ </table>
+ </td>
+</tr>
+</table>
+<a name="__init__"></a>
+<div>
+<table class="details" border="1" cellpadding="3"
+ cellspacing="0" width="100%" bgcolor="white">
+<tr><td>
+ <table width="100%" cellpadding="0" cellspacing="0" border="0">
+ <tr valign="top"><td>
+ <h3 class="epydoc"><span class="sig"><span class="sig-name">__init__</span>(<span class="sig-arg">self</span>)</span>
+ <br /><em class="fname">(Constructor)</em>
+ </h3>
+ </td><td align="right" valign="top"
+ ><span class="codelink"><a href="pyinotify-pysrc.html#ColoredOutputFormat.__init__">source&nbsp;code</a></span>&nbsp;
+ </td>
+ </tr></table>
+
+ <p>x.__init__(...) initializes x; see x.__class__.__doc__ for
+ signature</p>
+ <dl class="fields">
+ <dt>Overrides:
+ object.__init__
+ <dd><em class="note">(inherited documentation)</em></dd>
+ </dt>
+ </dl>
+</td></tr></table>
+</div>
+<br />
+<!-- ==================== NAVIGATION BAR ==================== -->
+<table class="navbar" border="0" width="100%" cellpadding="0"
+ bgcolor="#a0c0ff" cellspacing="0">
+ <tr valign="middle">
+ <!-- Home link -->
+ <th>&nbsp;&nbsp;&nbsp;<a
+ href="pyinotify-module.html">Home</a>&nbsp;&nbsp;&nbsp;</th>
+
+ <!-- Tree link -->
+ <th>&nbsp;&nbsp;&nbsp;<a
+ href="module-tree.html">Trees</a>&nbsp;&nbsp;&nbsp;</th>
+
+ <!-- Index link -->
+ <th>&nbsp;&nbsp;&nbsp;<a
+ href="identifier-index.html">Indices</a>&nbsp;&nbsp;&nbsp;</th>
+
+ <!-- Help link -->
+ <th>&nbsp;&nbsp;&nbsp;<a
+ href="help.html">Help</a>&nbsp;&nbsp;&nbsp;</th>
+
+ <th class="navbar" width="100%"></th>
+ </tr>
+</table>
+<table border="0" cellpadding="0" cellspacing="0" width="100%%">
+ <tr>
+ <td align="left" class="footer">
+ Generated by Epydoc 3.0.1 on Wed Sep 15 21:46:49 2010
+ </td>
+ <td align="right" class="footer">
+ <a target="mainFrame" href="http://epydoc.sourceforge.net"
+ >http://epydoc.sourceforge.net</a>
+ </td>
+ </tr>
+</table>
+
+<script type="text/javascript">
+ <!--
+ // Private objects are initially displayed (because if
+ // javascript is turned off then we want them to be
+ // visible); but by default, we want to hide them. So hide
+ // them unless we have a cookie that says to show them.
+ checkCookie();
+ // -->
+</script>
+</body>
+</html>
diff --git a/python2/docstrings/pyinotify.Event-class.html b/python2/docstrings/pyinotify.Event-class.html
new file mode 100644
index 0000000..f7ff201
--- /dev/null
+++ b/python2/docstrings/pyinotify.Event-class.html
@@ -0,0 +1,285 @@
+<?xml version="1.0" encoding="ascii"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+ <title>pyinotify.Event</title>
+ <link rel="stylesheet" href="epydoc.css" type="text/css" />
+ <script type="text/javascript" src="epydoc.js"></script>
+</head>
+
+<body bgcolor="white" text="black" link="blue" vlink="#204080"
+ alink="#204080">
+<!-- ==================== NAVIGATION BAR ==================== -->
+<table class="navbar" border="0" width="100%" cellpadding="0"
+ bgcolor="#a0c0ff" cellspacing="0">
+ <tr valign="middle">
+ <!-- Home link -->
+ <th>&nbsp;&nbsp;&nbsp;<a
+ href="pyinotify-module.html">Home</a>&nbsp;&nbsp;&nbsp;</th>
+
+ <!-- Tree link -->
+ <th>&nbsp;&nbsp;&nbsp;<a
+ href="module-tree.html">Trees</a>&nbsp;&nbsp;&nbsp;</th>
+
+ <!-- Index link -->
+ <th>&nbsp;&nbsp;&nbsp;<a
+ href="identifier-index.html">Indices</a>&nbsp;&nbsp;&nbsp;</th>
+
+ <!-- Help link -->
+ <th>&nbsp;&nbsp;&nbsp;<a
+ href="help.html">Help</a>&nbsp;&nbsp;&nbsp;</th>
+
+ <th class="navbar" width="100%"></th>
+ </tr>
+</table>
+<table width="100%" cellpadding="0" cellspacing="0">
+ <tr valign="top">
+ <td width="100%">
+ <span class="breadcrumbs">
+ <a href="pyinotify-module.html">Module&nbsp;pyinotify</a> ::
+ Class&nbsp;Event
+ </span>
+ </td>
+ <td>
+ <table cellpadding="0" cellspacing="0">
+ <!-- hide/show private -->
+ <tr><td align="right"><span class="options">[<a href="javascript:void(0);" class="privatelink"
+ onclick="toggle_private();">hide&nbsp;private</a>]</span></td></tr>
+ <tr><td align="right"><span class="options"
+ >[<a href="frames.html" target="_top">frames</a
+ >]&nbsp;|&nbsp;<a href="pyinotify.Event-class.html"
+ target="_top">no&nbsp;frames</a>]</span></td></tr>
+ </table>
+ </td>
+ </tr>
+</table>
+<!-- ==================== CLASS DESCRIPTION ==================== -->
+<h1 class="epydoc">Class Event</h1><p class="nomargin-top"><span class="codelink"><a href="pyinotify-pysrc.html#Event">source&nbsp;code</a></span></p>
+<center>
+<center> <map id="uml_class_diagram_for_pyinotif_4" name="uml_class_diagram_for_pyinotif_4">
+<area shape="rect" href="pyinotify.Event-class.html#__init__" title="Concretely, this is the raw event plus inferred infos." alt="" coords="17,129,124,148"/>
+<area shape="rect" href="pyinotify.Event-class.html" title="This class contains all the useful informations about the observed event." alt="" coords="16,104,125,149"/>
+<area shape="rect" href="pyinotify._Event-class.html#__repr__" title="Returns: &#160;Generic event string representation." alt="" coords="28,36,113,55"/>
+<area shape="rect" href="pyinotify._Event-class.html#__str__" title="str(x)" alt="" coords="28,55,113,73"/>
+<area shape="rect" href="pyinotify._Event-class.html" title="Event structure, represent events raised by the system." alt="" coords="27,11,115,75"/>
+</map>
+ <img src="uml_class_diagram_for_pyinotif_4.gif" alt='' usemap="#uml_class_diagram_for_pyinotif_4" ismap="ismap" class="graph-without-title" />
+</center>
+</center>
+<hr />
+<p>This class contains all the useful informations about the observed
+ event. However, the presence of each field is not guaranteed and depends
+ on the type of event. In effect, some fields are irrelevant for some kind
+ of event (for example 'cookie' is meaningless for IN_CREATE whereas it is
+ mandatory for IN_MOVE_TO).</p>
+ <p>The possible fields are:</p>
+ <ul>
+ <li>
+ wd (int): Watch Descriptor.
+ </li>
+ <li>
+ mask (int): Mask.
+ </li>
+ <li>
+ maskname (str): Readable event name.
+ </li>
+ <li>
+ path (str): path of the file or directory being watched.
+ </li>
+ <li>
+ name (str): Basename of the file or directory against which the event
+ was raised in case where the watched directory is the parent
+ directory. None if the event was raised on the watched item itself.
+ This field is always provided even if the string is ''.
+ </li>
+ <li>
+ pathname (str): Concatenation of 'path' and 'name'.
+ </li>
+ <li>
+ src_pathname (str): Only present for IN_MOVED_TO events and only in
+ the case where IN_MOVED_FROM events are watched too. Holds the source
+ pathname from where pathname was moved from.
+ </li>
+ <li>
+ cookie (int): Cookie.
+ </li>
+ <li>
+ dir (bool): True if the event was raised against a directory.
+ </li>
+ </ul>
+
+<!-- ==================== INSTANCE METHODS ==================== -->
+<a name="section-InstanceMethods"></a>
+<table class="summary" border="1" cellpadding="3"
+ cellspacing="0" width="100%" bgcolor="white">
+<tr bgcolor="#70b0f0" class="table-header">
+ <td colspan="2" class="table-header">
+ <table border="0" cellpadding="0" cellspacing="0" width="100%">
+ <tr valign="top">
+ <td align="left"><span class="table-header">Instance Methods</span></td>
+ <td align="right" valign="top"
+ ><span class="options">[<a href="#section-InstanceMethods"
+ class="privatelink" onclick="toggle_private();"
+ >hide private</a>]</span></td>
+ </tr>
+ </table>
+ </td>
+</tr>
+<tr>
+ <td width="15%" align="right" valign="top" class="summary">
+ <span class="summary-type">&nbsp;</span>
+ </td><td class="summary">
+ <table width="100%" cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td><span class="summary-sig"><a href="pyinotify.Event-class.html#__init__" class="summary-sig-name">__init__</a>(<span class="summary-sig-arg">self</span>,
+ <span class="summary-sig-arg">raw</span>)</span><br />
+ Concretely, this is the raw event plus inferred infos.</td>
+ <td align="right" valign="top">
+ <span class="codelink"><a href="pyinotify-pysrc.html#Event.__init__">source&nbsp;code</a></span>
+
+ </td>
+ </tr>
+ </table>
+
+ </td>
+ </tr>
+ <tr>
+ <td colspan="2" class="summary">
+ <p class="indent-wrapped-lines"><b>Inherited from <code><a href="pyinotify._Event-class.html" onclick="show_private();">_Event</a></code></b>:
+ <code><a href="pyinotify._Event-class.html#__repr__">__repr__</a></code>,
+ <code><a href="pyinotify._Event-class.html#__str__">__str__</a></code>
+ </p>
+ <p class="indent-wrapped-lines"><b>Inherited from <code>object</code></b>:
+ <code>__delattr__</code>,
+ <code>__format__</code>,
+ <code>__getattribute__</code>,
+ <code>__hash__</code>,
+ <code>__new__</code>,
+ <code>__reduce__</code>,
+ <code>__reduce_ex__</code>,
+ <code>__setattr__</code>,
+ <code>__sizeof__</code>,
+ <code>__subclasshook__</code>
+ </p>
+ </td>
+ </tr>
+</table>
+<!-- ==================== PROPERTIES ==================== -->
+<a name="section-Properties"></a>
+<table class="summary" border="1" cellpadding="3"
+ cellspacing="0" width="100%" bgcolor="white">
+<tr bgcolor="#70b0f0" class="table-header">
+ <td colspan="2" class="table-header">
+ <table border="0" cellpadding="0" cellspacing="0" width="100%">
+ <tr valign="top">
+ <td align="left"><span class="table-header">Properties</span></td>
+ <td align="right" valign="top"
+ ><span class="options">[<a href="#section-Properties"
+ class="privatelink" onclick="toggle_private();"
+ >hide private</a>]</span></td>
+ </tr>
+ </table>
+ </td>
+</tr>
+ <tr>
+ <td colspan="2" class="summary">
+ <p class="indent-wrapped-lines"><b>Inherited from <code>object</code></b>:
+ <code>__class__</code>
+ </p>
+ </td>
+ </tr>
+</table>
+<!-- ==================== METHOD DETAILS ==================== -->
+<a name="section-MethodDetails"></a>
+<table class="details" border="1" cellpadding="3"
+ cellspacing="0" width="100%" bgcolor="white">
+<tr bgcolor="#70b0f0" class="table-header">
+ <td colspan="2" class="table-header">
+ <table border="0" cellpadding="0" cellspacing="0" width="100%">
+ <tr valign="top">
+ <td align="left"><span class="table-header">Method Details</span></td>
+ <td align="right" valign="top"
+ ><span class="options">[<a href="#section-MethodDetails"
+ class="privatelink" onclick="toggle_private();"
+ >hide private</a>]</span></td>
+ </tr>
+ </table>
+ </td>
+</tr>
+</table>
+<a name="__init__"></a>
+<div>
+<table class="details" border="1" cellpadding="3"
+ cellspacing="0" width="100%" bgcolor="white">
+<tr><td>
+ <table width="100%" cellpadding="0" cellspacing="0" border="0">
+ <tr valign="top"><td>
+ <h3 class="epydoc"><span class="sig"><span class="sig-name">__init__</span>(<span class="sig-arg">self</span>,
+ <span class="sig-arg">raw</span>)</span>
+ <br /><em class="fname">(Constructor)</em>
+ </h3>
+ </td><td align="right" valign="top"
+ ><span class="codelink"><a href="pyinotify-pysrc.html#Event.__init__">source&nbsp;code</a></span>&nbsp;
+ </td>
+ </tr></table>
+
+ <p>Concretely, this is the raw event plus inferred infos.</p>
+ <dl class="fields">
+ <dt>Parameters:</dt>
+ <dd><ul class="nomargin-top">
+ <li><strong class="pname"><code>dict_</code></strong> - Set of attributes.</li>
+ </ul></dd>
+ <dt>Overrides:
+ object.__init__
+ </dt>
+ </dl>
+</td></tr></table>
+</div>
+<br />
+<!-- ==================== NAVIGATION BAR ==================== -->
+<table class="navbar" border="0" width="100%" cellpadding="0"
+ bgcolor="#a0c0ff" cellspacing="0">
+ <tr valign="middle">
+ <!-- Home link -->
+ <th>&nbsp;&nbsp;&nbsp;<a
+ href="pyinotify-module.html">Home</a>&nbsp;&nbsp;&nbsp;</th>
+
+ <!-- Tree link -->
+ <th>&nbsp;&nbsp;&nbsp;<a
+ href="module-tree.html">Trees</a>&nbsp;&nbsp;&nbsp;</th>
+
+ <!-- Index link -->
+ <th>&nbsp;&nbsp;&nbsp;<a
+ href="identifier-index.html">Indices</a>&nbsp;&nbsp;&nbsp;</th>
+
+ <!-- Help link -->
+ <th>&nbsp;&nbsp;&nbsp;<a
+ href="help.html">Help</a>&nbsp;&nbsp;&nbsp;</th>
+
+ <th class="navbar" width="100%"></th>
+ </tr>
+</table>
+<table border="0" cellpadding="0" cellspacing="0" width="100%%">
+ <tr>
+ <td align="left" class="footer">
+ Generated by Epydoc 3.0.1 on Wed Sep 15 21:46:49 2010
+ </td>
+ <td align="right" class="footer">
+ <a target="mainFrame" href="http://epydoc.sourceforge.net"
+ >http://epydoc.sourceforge.net</a>
+ </td>
+ </tr>
+</table>
+
+<script type="text/javascript">
+ <!--
+ // Private objects are initially displayed (because if
+ // javascript is turned off then we want them to be
+ // visible); but by default, we want to hide them. So hide
+ // them unless we have a cookie that says to show them.
+ checkCookie();
+ // -->
+</script>
+</body>
+</html>
diff --git a/python2/docstrings/pyinotify.EventsCodes-class.html b/python2/docstrings/pyinotify.EventsCodes-class.html
new file mode 100644
index 0000000..064874a
--- /dev/null
+++ b/python2/docstrings/pyinotify.EventsCodes-class.html
@@ -0,0 +1,716 @@
+<?xml version="1.0" encoding="ascii"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+ <title>pyinotify.EventsCodes</title>
+ <link rel="stylesheet" href="epydoc.css" type="text/css" />
+ <script type="text/javascript" src="epydoc.js"></script>
+</head>
+
+<body bgcolor="white" text="black" link="blue" vlink="#204080"
+ alink="#204080">
+<!-- ==================== NAVIGATION BAR ==================== -->
+<table class="navbar" border="0" width="100%" cellpadding="0"
+ bgcolor="#a0c0ff" cellspacing="0">
+ <tr valign="middle">
+ <!-- Home link -->
+ <th>&nbsp;&nbsp;&nbsp;<a
+ href="pyinotify-module.html">Home</a>&nbsp;&nbsp;&nbsp;</th>
+
+ <!-- Tree link -->
+ <th>&nbsp;&nbsp;&nbsp;<a
+ href="module-tree.html">Trees</a>&nbsp;&nbsp;&nbsp;</th>
+
+ <!-- Index link -->
+ <th>&nbsp;&nbsp;&nbsp;<a
+ href="identifier-index.html">Indices</a>&nbsp;&nbsp;&nbsp;</th>
+
+ <!-- Help link -->
+ <th>&nbsp;&nbsp;&nbsp;<a
+ href="help.html">Help</a>&nbsp;&nbsp;&nbsp;</th>
+
+ <th class="navbar" width="100%"></th>
+ </tr>
+</table>
+<table width="100%" cellpadding="0" cellspacing="0">
+ <tr valign="top">
+ <td width="100%">
+ <span class="breadcrumbs">
+ <a href="pyinotify-module.html">Module&nbsp;pyinotify</a> ::
+ Class&nbsp;EventsCodes
+ </span>
+ </td>
+ <td>
+ <table cellpadding="0" cellspacing="0">
+ <!-- hide/show private -->
+ <tr><td align="right"><span class="options">[<a href="javascript:void(0);" class="privatelink"
+ onclick="toggle_private();">hide&nbsp;private</a>]</span></td></tr>
+ <tr><td align="right"><span class="options"
+ >[<a href="frames.html" target="_top">frames</a
+ >]&nbsp;|&nbsp;<a href="pyinotify.EventsCodes-class.html"
+ target="_top">no&nbsp;frames</a>]</span></td></tr>
+ </table>
+ </td>
+ </tr>
+</table>
+<!-- ==================== CLASS DESCRIPTION ==================== -->
+<h1 class="epydoc">Class EventsCodes</h1><p class="nomargin-top"><span class="codelink"><a href="pyinotify-pysrc.html#EventsCodes">source&nbsp;code</a></span></p>
+<center>
+<center> <map id="uml_class_diagram_for_pyinotif_5" name="uml_class_diagram_for_pyinotif_5">
+<area shape="rect" href="pyinotify.EventsCodes-class.html#FLAG_COLLECTIONS" title="pyinotify.EventsCodes.FLAG_COLLECTIONS" alt="" coords="17,28,175,47"/>
+<area shape="rect" href="pyinotify.EventsCodes-class.html#ALL_FLAGS" title="pyinotify.EventsCodes.ALL_FLAGS" alt="" coords="17,47,175,65"/>
+<area shape="rect" href="pyinotify.EventsCodes-class.html#ALL_VALUES" title="pyinotify.EventsCodes.ALL_VALUES" alt="" coords="17,65,175,84"/>
+<area shape="rect" href="pyinotify.EventsCodes-class.html#ALL_EVENTS" title="Alias for considering all of the events." alt="" coords="17,84,175,103"/>
+<area shape="rect" href="pyinotify.EventsCodes-class.html#EVENT_FLAGS" title="pyinotify.EventsCodes.EVENT_FLAGS" alt="" coords="17,103,175,121"/>
+<area shape="rect" href="pyinotify.EventsCodes-class.html#IN_ACCESS" title="File was accessed." alt="" coords="17,121,175,140"/>
+<area shape="rect" href="pyinotify.EventsCodes-class.html#IN_ATTRIB" title="Metadata changed." alt="" coords="17,140,175,159"/>
+<area shape="rect" href="pyinotify.EventsCodes-class.html#IN_CLOSE_NOWRITE" title="Unwrittable file closed." alt="" coords="17,159,175,177"/>
+<area shape="rect" href="pyinotify.EventsCodes-class.html#IN_CLOSE_WRITE" title="Writtable file was closed." alt="" coords="17,177,175,196"/>
+<area shape="rect" href="pyinotify.EventsCodes-class.html#IN_CREATE" title="Subfile was created." alt="" coords="17,196,175,215"/>
+<area shape="rect" href="pyinotify.EventsCodes-class.html#IN_DELETE" title="Subfile was deleted." alt="" coords="17,215,175,233"/>
+<area shape="rect" href="pyinotify.EventsCodes-class.html#IN_DELETE_SELF" title="Self (watched item itself) was deleted." alt="" coords="17,233,175,252"/>
+<area shape="rect" href="pyinotify.EventsCodes-class.html#IN_DONT_FOLLOW" title="don&#39;t follow a symlink (new in kernel 2.6.15)." alt="" coords="17,252,175,271"/>
+<area shape="rect" href="pyinotify.EventsCodes-class.html#SPECIAL_FLAGS" title="pyinotify.EventsCodes.SPECIAL_FLAGS" alt="" coords="17,289,175,308"/>
+<area shape="rect" href="pyinotify.EventsCodes-class.html#maskname" title="Returns the event name associated to mask." alt="" coords="17,311,175,329"/>
+<area shape="rect" href="pyinotify.EventsCodes-class.html" title="Set of codes corresponding to each kind of events." alt="" coords="16,11,176,331"/>
+</map>
+ <img src="uml_class_diagram_for_pyinotif_5.gif" alt='' usemap="#uml_class_diagram_for_pyinotif_5" ismap="ismap" class="graph-without-title" />
+</center>
+</center>
+<hr />
+<p>Set of codes corresponding to each kind of events. Some of these flags
+ are used to communicate with inotify, whereas the others are sent to
+ userspace by inotify notifying some events.</p>
+
+<!-- ==================== INSTANCE METHODS ==================== -->
+<a name="section-InstanceMethods"></a>
+<table class="summary" border="1" cellpadding="3"
+ cellspacing="0" width="100%" bgcolor="white">
+<tr bgcolor="#70b0f0" class="table-header">
+ <td colspan="2" class="table-header">
+ <table border="0" cellpadding="0" cellspacing="0" width="100%">
+ <tr valign="top">
+ <td align="left"><span class="table-header">Instance Methods</span></td>
+ <td align="right" valign="top"
+ ><span class="options">[<a href="#section-InstanceMethods"
+ class="privatelink" onclick="toggle_private();"
+ >hide private</a>]</span></td>
+ </tr>
+ </table>
+ </td>
+</tr>
+ <tr>
+ <td colspan="2" class="summary">
+ <p class="indent-wrapped-lines"><b>Inherited from <code>object</code></b>:
+ <code>__delattr__</code>,
+ <code>__format__</code>,
+ <code>__getattribute__</code>,
+ <code>__hash__</code>,
+ <code>__init__</code>,
+ <code>__new__</code>,
+ <code>__reduce__</code>,
+ <code>__reduce_ex__</code>,
+ <code>__repr__</code>,
+ <code>__setattr__</code>,
+ <code>__sizeof__</code>,
+ <code>__str__</code>,
+ <code>__subclasshook__</code>
+ </p>
+ </td>
+ </tr>
+</table>
+<!-- ==================== STATIC METHODS ==================== -->
+<a name="section-StaticMethods"></a>
+<table class="summary" border="1" cellpadding="3"
+ cellspacing="0" width="100%" bgcolor="white">
+<tr bgcolor="#70b0f0" class="table-header">
+ <td colspan="2" class="table-header">
+ <table border="0" cellpadding="0" cellspacing="0" width="100%">
+ <tr valign="top">
+ <td align="left"><span class="table-header">Static Methods</span></td>
+ <td align="right" valign="top"
+ ><span class="options">[<a href="#section-StaticMethods"
+ class="privatelink" onclick="toggle_private();"
+ >hide private</a>]</span></td>
+ </tr>
+ </table>
+ </td>
+</tr>
+<tr>
+ <td width="15%" align="right" valign="top" class="summary">
+ <span class="summary-type">str</span>
+ </td><td class="summary">
+ <table width="100%" cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td><span class="summary-sig"><a href="pyinotify.EventsCodes-class.html#maskname" class="summary-sig-name">maskname</a>(<span class="summary-sig-arg">mask</span>)</span><br />
+ Returns the event name associated to mask.</td>
+ <td align="right" valign="top">
+ <span class="codelink"><a href="pyinotify-pysrc.html#EventsCodes.maskname">source&nbsp;code</a></span>
+
+ </td>
+ </tr>
+ </table>
+
+ </td>
+ </tr>
+</table>
+<!-- ==================== CLASS VARIABLES ==================== -->
+<a name="section-ClassVariables"></a>
+<table class="summary" border="1" cellpadding="3"
+ cellspacing="0" width="100%" bgcolor="white">
+<tr bgcolor="#70b0f0" class="table-header">
+ <td colspan="2" class="table-header">
+ <table border="0" cellpadding="0" cellspacing="0" width="100%">
+ <tr valign="top">
+ <td align="left"><span class="table-header">Class Variables</span></td>
+ <td align="right" valign="top"
+ ><span class="options">[<a href="#section-ClassVariables"
+ class="privatelink" onclick="toggle_private();"
+ >hide private</a>]</span></td>
+ </tr>
+ </table>
+ </td>
+</tr>
+<tr>
+ <td width="15%" align="right" valign="top" class="summary">
+ <span class="summary-type">&nbsp;</span>
+ </td><td class="summary">
+ <a href="pyinotify.EventsCodes-class.html#FLAG_COLLECTIONS" class="summary-name">FLAG_COLLECTIONS</a> = <code title="{'EVENT_FLAGS': {'IN_IGNORED': 32768,
+ 'IN_Q_OVERFLOW': 16384,
+ 'IN_UNMOUNT': 8192},
+ 'OP_FLAGS': {'IN_ACCESS': 1,
+ 'IN_ATTRIB': 4,
+ 'IN_CLOSE_NOWRITE': 16,
+ 'IN_CLOSE_WRITE': 8,
+ 'IN_CREATE': 256,
+..."><code class="variable-group">{</code><code class="variable-quote">'</code><code class="variable-string">EVENT_FLAGS</code><code class="variable-quote">'</code><code class="variable-op">: </code><code class="variable-group">{</code><code class="variable-quote">'</code><code class="variable-string">IN_IGNORED</code><code class="variable-quote">'</code><code class="variable-op">: </code>32768<code class="variable-op">, </code><code class="variable-quote">'</code><code class="variable-string">IN_Q</code><code class="variable-ellipsis">...</code></code>
+ </td>
+ </tr>
+<tr>
+ <td width="15%" align="right" valign="top" class="summary">
+ <span class="summary-type">&nbsp;</span>
+ </td><td class="summary">
+ <a href="pyinotify.EventsCodes-class.html#ALL_FLAGS" class="summary-name">ALL_FLAGS</a> = <code title="{'ALL_EVENTS': 4095,
+ 'IN_ACCESS': 1,
+ 'IN_ATTRIB': 4,
+ 'IN_CLOSE_NOWRITE': 16,
+ 'IN_CLOSE_WRITE': 8,
+ 'IN_CREATE': 256,
+ 'IN_DELETE': 512,
+ 'IN_DELETE_SELF': 1024,
+..."><code class="variable-group">{</code><code class="variable-quote">'</code><code class="variable-string">ALL_EVENTS</code><code class="variable-quote">'</code><code class="variable-op">: </code>4095<code class="variable-op">, </code><code class="variable-quote">'</code><code class="variable-string">IN_ACCESS</code><code class="variable-quote">'</code><code class="variable-op">: </code>1<code class="variable-op">, </code><code class="variable-quote">'</code><code class="variable-string">IN_ATTRIB</code><code class="variable-quote">'</code><code class="variable-op">: </code><code class="variable-ellipsis">...</code></code>
+ </td>
+ </tr>
+<tr>
+ <td width="15%" align="right" valign="top" class="summary">
+ <span class="summary-type">&nbsp;</span>
+ </td><td class="summary">
+ <a href="pyinotify.EventsCodes-class.html#ALL_VALUES" class="summary-name">ALL_VALUES</a> = <code title="{1: 'IN_ACCESS',
+ 2: 'IN_MODIFY',
+ 4: 'IN_ATTRIB',
+ 8: 'IN_CLOSE_WRITE',
+ 16: 'IN_CLOSE_NOWRITE',
+ 32: 'IN_OPEN',
+ 64: 'IN_MOVED_FROM',
+ 128: 'IN_MOVED_TO',
+..."><code class="variable-group">{</code>1<code class="variable-op">: </code><code class="variable-quote">'</code><code class="variable-string">IN_ACCESS</code><code class="variable-quote">'</code><code class="variable-op">, </code>2<code class="variable-op">: </code><code class="variable-quote">'</code><code class="variable-string">IN_MODIFY</code><code class="variable-quote">'</code><code class="variable-op">, </code>4<code class="variable-op">: </code><code class="variable-quote">'</code><code class="variable-string">IN_ATTRIB</code><code class="variable-quote">'</code><code class="variable-op">, </code><code class="variable-ellipsis">...</code></code>
+ </td>
+ </tr>
+<tr>
+ <td width="15%" align="right" valign="top" class="summary">
+ <span class="summary-type">int</span>
+ </td><td class="summary">
+ <a name="ALL_EVENTS"></a><span class="summary-name">ALL_EVENTS</span><br />
+ Alias for considering all of the events.
+ </td>
+ </tr>
+<tr>
+ <td width="15%" align="right" valign="top" class="summary">
+ <span class="summary-type">&nbsp;</span>
+ </td><td class="summary">
+ <a href="pyinotify.EventsCodes-class.html#EVENT_FLAGS" class="summary-name">EVENT_FLAGS</a> = <code title="{'IN_IGNORED': 32768, 'IN_Q_OVERFLOW': 16384, 'IN_UNMOUNT': 8192}"><code class="variable-group">{</code><code class="variable-quote">'</code><code class="variable-string">IN_IGNORED</code><code class="variable-quote">'</code><code class="variable-op">: </code>32768<code class="variable-op">, </code><code class="variable-quote">'</code><code class="variable-string">IN_Q_OVERFLOW</code><code class="variable-quote">'</code><code class="variable-op">: </code>16384<code class="variable-op">, </code><code class="variable-quote">'</code><code class="variable-string">I</code><code class="variable-ellipsis">...</code></code>
+ </td>
+ </tr>
+<tr>
+ <td width="15%" align="right" valign="top" class="summary">
+ <span class="summary-type">int</span>
+ </td><td class="summary">
+ <a name="IN_ACCESS"></a><span class="summary-name">IN_ACCESS</span><br />
+ File was accessed.
+ </td>
+ </tr>
+<tr>
+ <td width="15%" align="right" valign="top" class="summary">
+ <span class="summary-type">int</span>
+ </td><td class="summary">
+ <a name="IN_ATTRIB"></a><span class="summary-name">IN_ATTRIB</span><br />
+ Metadata changed.
+ </td>
+ </tr>
+<tr>
+ <td width="15%" align="right" valign="top" class="summary">
+ <span class="summary-type">int</span>
+ </td><td class="summary">
+ <a name="IN_CLOSE_NOWRITE"></a><span class="summary-name">IN_CLOSE_NOWRITE</span><br />
+ Unwrittable file closed.
+ </td>
+ </tr>
+<tr>
+ <td width="15%" align="right" valign="top" class="summary">
+ <span class="summary-type">int</span>
+ </td><td class="summary">
+ <a name="IN_CLOSE_WRITE"></a><span class="summary-name">IN_CLOSE_WRITE</span><br />
+ Writtable file was closed.
+ </td>
+ </tr>
+<tr>
+ <td width="15%" align="right" valign="top" class="summary">
+ <span class="summary-type">int</span>
+ </td><td class="summary">
+ <a name="IN_CREATE"></a><span class="summary-name">IN_CREATE</span><br />
+ Subfile was created.
+ </td>
+ </tr>
+<tr>
+ <td width="15%" align="right" valign="top" class="summary">
+ <span class="summary-type">int</span>
+ </td><td class="summary">
+ <a name="IN_DELETE"></a><span class="summary-name">IN_DELETE</span><br />
+ Subfile was deleted.
+ </td>
+ </tr>
+<tr>
+ <td width="15%" align="right" valign="top" class="summary">
+ <span class="summary-type">int</span>
+ </td><td class="summary">
+ <a name="IN_DELETE_SELF"></a><span class="summary-name">IN_DELETE_SELF</span><br />
+ Self (watched item itself) was deleted.
+ </td>
+ </tr>
+<tr>
+ <td width="15%" align="right" valign="top" class="summary">
+ <span class="summary-type">int</span>
+ </td><td class="summary">
+ <a href="pyinotify.EventsCodes-class.html#IN_DONT_FOLLOW" class="summary-name">IN_DONT_FOLLOW</a><br />
+ don't follow a symlink (new in kernel 2.6.15).
+ </td>
+ </tr>
+<tr>
+ <td width="15%" align="right" valign="top" class="summary">
+ <span class="summary-type">int</span>
+ </td><td class="summary">
+ <a name="IN_IGNORED"></a><span class="summary-name">IN_IGNORED</span><br />
+ File was ignored.
+ </td>
+ </tr>
+<tr>
+ <td width="15%" align="right" valign="top" class="summary">
+ <span class="summary-type">int</span>
+ </td><td class="summary">
+ <a name="IN_ISDIR"></a><span class="summary-name">IN_ISDIR</span><br />
+ Event occurred against dir.
+ </td>
+ </tr>
+<tr>
+ <td width="15%" align="right" valign="top" class="summary">
+ <span class="summary-type">int</span>
+ </td><td class="summary">
+ <a name="IN_MASK_ADD"></a><span class="summary-name">IN_MASK_ADD</span><br />
+ add to the mask of an already existing watch (new in kernel 2.6.14).
+ </td>
+ </tr>
+<tr>
+ <td width="15%" align="right" valign="top" class="summary">
+ <span class="summary-type">int</span>
+ </td><td class="summary">
+ <a name="IN_MODIFY"></a><span class="summary-name">IN_MODIFY</span><br />
+ File was modified.
+ </td>
+ </tr>
+<tr>
+ <td width="15%" align="right" valign="top" class="summary">
+ <span class="summary-type">int</span>
+ </td><td class="summary">
+ <a name="IN_MOVED_FROM"></a><span class="summary-name">IN_MOVED_FROM</span><br />
+ File was moved from X.
+ </td>
+ </tr>
+<tr>
+ <td width="15%" align="right" valign="top" class="summary">
+ <span class="summary-type">int</span>
+ </td><td class="summary">
+ <a name="IN_MOVED_TO"></a><span class="summary-name">IN_MOVED_TO</span><br />
+ File was moved to Y.
+ </td>
+ </tr>
+<tr>
+ <td width="15%" align="right" valign="top" class="summary">
+ <span class="summary-type">int</span>
+ </td><td class="summary">
+ <a name="IN_MOVE_SELF"></a><span class="summary-name">IN_MOVE_SELF</span><br />
+ Self (watched item itself) was moved.
+ </td>
+ </tr>
+<tr>
+ <td width="15%" align="right" valign="top" class="summary">
+ <span class="summary-type">int</span>
+ </td><td class="summary">
+ <a name="IN_ONESHOT"></a><span class="summary-name">IN_ONESHOT</span><br />
+ Only send event once.
+ </td>
+ </tr>
+<tr>
+ <td width="15%" align="right" valign="top" class="summary">
+ <span class="summary-type">int</span>
+ </td><td class="summary">
+ <a name="IN_ONLYDIR"></a><span class="summary-name">IN_ONLYDIR</span><br />
+ only watch the path if it is a directory (new in kernel 2.6.15).
+ </td>
+ </tr>
+<tr>
+ <td width="15%" align="right" valign="top" class="summary">
+ <span class="summary-type">int</span>
+ </td><td class="summary">
+ <a name="IN_OPEN"></a><span class="summary-name">IN_OPEN</span><br />
+ File was opened.
+ </td>
+ </tr>
+<tr>
+ <td width="15%" align="right" valign="top" class="summary">
+ <span class="summary-type">int</span>
+ </td><td class="summary">
+ <a name="IN_Q_OVERFLOW"></a><span class="summary-name">IN_Q_OVERFLOW</span><br />
+ Event queued overflowed.
+ </td>
+ </tr>
+<tr>
+ <td width="15%" align="right" valign="top" class="summary">
+ <span class="summary-type">int</span>
+ </td><td class="summary">
+ <a name="IN_UNMOUNT"></a><span class="summary-name">IN_UNMOUNT</span><br />
+ Backing fs was unmounted.
+ </td>
+ </tr>
+<tr>
+ <td width="15%" align="right" valign="top" class="summary">
+ <span class="summary-type">&nbsp;</span>
+ </td><td class="summary">
+ <a href="pyinotify.EventsCodes-class.html#OP_FLAGS" class="summary-name">OP_FLAGS</a> = <code title="{'IN_ACCESS': 1,
+ 'IN_ATTRIB': 4,
+ 'IN_CLOSE_NOWRITE': 16,
+ 'IN_CLOSE_WRITE': 8,
+ 'IN_CREATE': 256,
+ 'IN_DELETE': 512,
+ 'IN_DELETE_SELF': 1024,
+ 'IN_MODIFY': 2,
+..."><code class="variable-group">{</code><code class="variable-quote">'</code><code class="variable-string">IN_ACCESS</code><code class="variable-quote">'</code><code class="variable-op">: </code>1<code class="variable-op">, </code><code class="variable-quote">'</code><code class="variable-string">IN_ATTRIB</code><code class="variable-quote">'</code><code class="variable-op">: </code>4<code class="variable-op">, </code><code class="variable-quote">'</code><code class="variable-string">IN_CLOSE_NOWRITE</code><code class="variable-quote">'</code><code class="variable-ellipsis">...</code></code>
+ </td>
+ </tr>
+<tr>
+ <td width="15%" align="right" valign="top" class="summary">
+ <span class="summary-type">&nbsp;</span>
+ </td><td class="summary">
+ <a href="pyinotify.EventsCodes-class.html#SPECIAL_FLAGS" class="summary-name">SPECIAL_FLAGS</a> = <code title="{'IN_DONT_FOLLOW': 33554432,
+ 'IN_ISDIR': 1073741824,
+ 'IN_MASK_ADD': 536870912,
+ 'IN_ONESHOT': 2147483648,
+ 'IN_ONLYDIR': 16777216}"><code class="variable-group">{</code><code class="variable-quote">'</code><code class="variable-string">IN_DONT_FOLLOW</code><code class="variable-quote">'</code><code class="variable-op">: </code>33554432<code class="variable-op">, </code><code class="variable-quote">'</code><code class="variable-string">IN_ISDIR</code><code class="variable-quote">'</code><code class="variable-op">: </code>10737<code class="variable-ellipsis">...</code></code>
+ </td>
+ </tr>
+</table>
+<!-- ==================== PROPERTIES ==================== -->
+<a name="section-Properties"></a>
+<table class="summary" border="1" cellpadding="3"
+ cellspacing="0" width="100%" bgcolor="white">
+<tr bgcolor="#70b0f0" class="table-header">
+ <td colspan="2" class="table-header">
+ <table border="0" cellpadding="0" cellspacing="0" width="100%">
+ <tr valign="top">
+ <td align="left"><span class="table-header">Properties</span></td>
+ <td align="right" valign="top"
+ ><span class="options">[<a href="#section-Properties"
+ class="privatelink" onclick="toggle_private();"
+ >hide private</a>]</span></td>
+ </tr>
+ </table>
+ </td>
+</tr>
+ <tr>
+ <td colspan="2" class="summary">
+ <p class="indent-wrapped-lines"><b>Inherited from <code>object</code></b>:
+ <code>__class__</code>
+ </p>
+ </td>
+ </tr>
+</table>
+<!-- ==================== METHOD DETAILS ==================== -->
+<a name="section-MethodDetails"></a>
+<table class="details" border="1" cellpadding="3"
+ cellspacing="0" width="100%" bgcolor="white">
+<tr bgcolor="#70b0f0" class="table-header">
+ <td colspan="2" class="table-header">
+ <table border="0" cellpadding="0" cellspacing="0" width="100%">
+ <tr valign="top">
+ <td align="left"><span class="table-header">Method Details</span></td>
+ <td align="right" valign="top"
+ ><span class="options">[<a href="#section-MethodDetails"
+ class="privatelink" onclick="toggle_private();"
+ >hide private</a>]</span></td>
+ </tr>
+ </table>
+ </td>
+</tr>
+</table>
+<a name="maskname"></a>
+<div>
+<table class="details" border="1" cellpadding="3"
+ cellspacing="0" width="100%" bgcolor="white">
+<tr><td>
+ <table width="100%" cellpadding="0" cellspacing="0" border="0">
+ <tr valign="top"><td>
+ <h3 class="epydoc"><span class="sig"><span class="sig-name">maskname</span>(<span class="sig-arg">mask</span>)</span>
+ <br /><em class="fname">Static Method</em>
+ </h3>
+ </td><td align="right" valign="top"
+ ><span class="codelink"><a href="pyinotify-pysrc.html#EventsCodes.maskname">source&nbsp;code</a></span>&nbsp;
+ </td>
+ </tr></table>
+
+ <p>Returns the event name associated to mask. IN_ISDIR is appended to the
+ result when appropriate. Note: only one event is returned, because only
+ one event can be raised at a given time.</p>
+ <dl class="fields">
+ <dt>Parameters:</dt>
+ <dd><ul class="nomargin-top">
+ <li><strong class="pname"><code>mask</code></strong> (int) - mask.</li>
+ </ul></dd>
+ <dt>Returns: str</dt>
+ <dd>event name.</dd>
+ </dl>
+</td></tr></table>
+</div>
+<br />
+<!-- ==================== CLASS VARIABLE DETAILS ==================== -->
+<a name="section-ClassVariableDetails"></a>
+<table class="details" border="1" cellpadding="3"
+ cellspacing="0" width="100%" bgcolor="white">
+<tr bgcolor="#70b0f0" class="table-header">
+ <td colspan="2" class="table-header">
+ <table border="0" cellpadding="0" cellspacing="0" width="100%">
+ <tr valign="top">
+ <td align="left"><span class="table-header">Class Variable Details</span></td>
+ <td align="right" valign="top"
+ ><span class="options">[<a href="#section-ClassVariableDetails"
+ class="privatelink" onclick="toggle_private();"
+ >hide private</a>]</span></td>
+ </tr>
+ </table>
+ </td>
+</tr>
+</table>
+<a name="FLAG_COLLECTIONS"></a>
+<div>
+<table class="details" border="1" cellpadding="3"
+ cellspacing="0" width="100%" bgcolor="white">
+<tr><td>
+ <h3 class="epydoc">FLAG_COLLECTIONS</h3>
+
+ <dl class="fields">
+ </dl>
+ <dl class="fields">
+ <dt>Value:</dt>
+ <dd><table><tr><td><pre class="variable">
+<code class="variable-group">{</code><code class="variable-quote">'</code><code class="variable-string">EVENT_FLAGS</code><code class="variable-quote">'</code><code class="variable-op">: </code><code class="variable-group">{</code><code class="variable-quote">'</code><code class="variable-string">IN_IGNORED</code><code class="variable-quote">'</code><code class="variable-op">: </code>32768<code class="variable-op">,</code>
+ <code class="variable-quote">'</code><code class="variable-string">IN_Q_OVERFLOW</code><code class="variable-quote">'</code><code class="variable-op">: </code>16384<code class="variable-op">,</code>
+ <code class="variable-quote">'</code><code class="variable-string">IN_UNMOUNT</code><code class="variable-quote">'</code><code class="variable-op">: </code>8192<code class="variable-group">}</code><code class="variable-op">,</code>
+ <code class="variable-quote">'</code><code class="variable-string">OP_FLAGS</code><code class="variable-quote">'</code><code class="variable-op">: </code><code class="variable-group">{</code><code class="variable-quote">'</code><code class="variable-string">IN_ACCESS</code><code class="variable-quote">'</code><code class="variable-op">: </code>1<code class="variable-op">,</code>
+ <code class="variable-quote">'</code><code class="variable-string">IN_ATTRIB</code><code class="variable-quote">'</code><code class="variable-op">: </code>4<code class="variable-op">,</code>
+ <code class="variable-quote">'</code><code class="variable-string">IN_CLOSE_NOWRITE</code><code class="variable-quote">'</code><code class="variable-op">: </code>16<code class="variable-op">,</code>
+ <code class="variable-quote">'</code><code class="variable-string">IN_CLOSE_WRITE</code><code class="variable-quote">'</code><code class="variable-op">: </code>8<code class="variable-op">,</code>
+ <code class="variable-quote">'</code><code class="variable-string">IN_CREATE</code><code class="variable-quote">'</code><code class="variable-op">: </code>256<code class="variable-op">,</code>
+<code class="variable-ellipsis">...</code>
+</pre></td></tr></table>
+</dd>
+ </dl>
+</td></tr></table>
+</div>
+<a name="ALL_FLAGS"></a>
+<div>
+<table class="details" border="1" cellpadding="3"
+ cellspacing="0" width="100%" bgcolor="white">
+<tr><td>
+ <h3 class="epydoc">ALL_FLAGS</h3>
+
+ <dl class="fields">
+ </dl>
+ <dl class="fields">
+ <dt>Value:</dt>
+ <dd><table><tr><td><pre class="variable">
+<code class="variable-group">{</code><code class="variable-quote">'</code><code class="variable-string">ALL_EVENTS</code><code class="variable-quote">'</code><code class="variable-op">: </code>4095<code class="variable-op">,</code>
+ <code class="variable-quote">'</code><code class="variable-string">IN_ACCESS</code><code class="variable-quote">'</code><code class="variable-op">: </code>1<code class="variable-op">,</code>
+ <code class="variable-quote">'</code><code class="variable-string">IN_ATTRIB</code><code class="variable-quote">'</code><code class="variable-op">: </code>4<code class="variable-op">,</code>
+ <code class="variable-quote">'</code><code class="variable-string">IN_CLOSE_NOWRITE</code><code class="variable-quote">'</code><code class="variable-op">: </code>16<code class="variable-op">,</code>
+ <code class="variable-quote">'</code><code class="variable-string">IN_CLOSE_WRITE</code><code class="variable-quote">'</code><code class="variable-op">: </code>8<code class="variable-op">,</code>
+ <code class="variable-quote">'</code><code class="variable-string">IN_CREATE</code><code class="variable-quote">'</code><code class="variable-op">: </code>256<code class="variable-op">,</code>
+ <code class="variable-quote">'</code><code class="variable-string">IN_DELETE</code><code class="variable-quote">'</code><code class="variable-op">: </code>512<code class="variable-op">,</code>
+ <code class="variable-quote">'</code><code class="variable-string">IN_DELETE_SELF</code><code class="variable-quote">'</code><code class="variable-op">: </code>1024<code class="variable-op">,</code>
+<code class="variable-ellipsis">...</code>
+</pre></td></tr></table>
+</dd>
+ </dl>
+</td></tr></table>
+</div>
+<a name="ALL_VALUES"></a>
+<div>
+<table class="details" border="1" cellpadding="3"
+ cellspacing="0" width="100%" bgcolor="white">
+<tr><td>
+ <h3 class="epydoc">ALL_VALUES</h3>
+
+ <dl class="fields">
+ </dl>
+ <dl class="fields">
+ <dt>Value:</dt>
+ <dd><table><tr><td><pre class="variable">
+<code class="variable-group">{</code>1<code class="variable-op">: </code><code class="variable-quote">'</code><code class="variable-string">IN_ACCESS</code><code class="variable-quote">'</code><code class="variable-op">,</code>
+ 2<code class="variable-op">: </code><code class="variable-quote">'</code><code class="variable-string">IN_MODIFY</code><code class="variable-quote">'</code><code class="variable-op">,</code>
+ 4<code class="variable-op">: </code><code class="variable-quote">'</code><code class="variable-string">IN_ATTRIB</code><code class="variable-quote">'</code><code class="variable-op">,</code>
+ 8<code class="variable-op">: </code><code class="variable-quote">'</code><code class="variable-string">IN_CLOSE_WRITE</code><code class="variable-quote">'</code><code class="variable-op">,</code>
+ 16<code class="variable-op">: </code><code class="variable-quote">'</code><code class="variable-string">IN_CLOSE_NOWRITE</code><code class="variable-quote">'</code><code class="variable-op">,</code>
+ 32<code class="variable-op">: </code><code class="variable-quote">'</code><code class="variable-string">IN_OPEN</code><code class="variable-quote">'</code><code class="variable-op">,</code>
+ 64<code class="variable-op">: </code><code class="variable-quote">'</code><code class="variable-string">IN_MOVED_FROM</code><code class="variable-quote">'</code><code class="variable-op">,</code>
+ 128<code class="variable-op">: </code><code class="variable-quote">'</code><code class="variable-string">IN_MOVED_TO</code><code class="variable-quote">'</code><code class="variable-op">,</code>
+<code class="variable-ellipsis">...</code>
+</pre></td></tr></table>
+</dd>
+ </dl>
+</td></tr></table>
+</div>
+<a name="EVENT_FLAGS"></a>
+<div>
+<table class="details" border="1" cellpadding="3"
+ cellspacing="0" width="100%" bgcolor="white">
+<tr><td>
+ <h3 class="epydoc">EVENT_FLAGS</h3>
+
+ <dl class="fields">
+ </dl>
+ <dl class="fields">
+ <dt>Value:</dt>
+ <dd><table><tr><td><pre class="variable">
+<code class="variable-group">{</code><code class="variable-quote">'</code><code class="variable-string">IN_IGNORED</code><code class="variable-quote">'</code><code class="variable-op">: </code>32768<code class="variable-op">, </code><code class="variable-quote">'</code><code class="variable-string">IN_Q_OVERFLOW</code><code class="variable-quote">'</code><code class="variable-op">: </code>16384<code class="variable-op">, </code><code class="variable-quote">'</code><code class="variable-string">IN_UNMOUNT</code><code class="variable-quote">'</code><code class="variable-op">: </code>8192<code class="variable-group">}</code>
+</pre></td></tr></table>
+</dd>
+ </dl>
+</td></tr></table>
+</div>
+<a name="IN_DONT_FOLLOW"></a>
+<div>
+<table class="details" border="1" cellpadding="3"
+ cellspacing="0" width="100%" bgcolor="white">
+<tr><td>
+ <h3 class="epydoc">IN_DONT_FOLLOW</h3>
+ don't follow a symlink (new in kernel 2.6.15). IN_ONLYDIR we can make
+ sure that we don't watch the target of symlinks.
+ <dl class="fields">
+ <dt>Type:</dt>
+ <dd>int</dd>
+ </dl>
+</td></tr></table>
+</div>
+<a name="OP_FLAGS"></a>
+<div>
+<table class="details" border="1" cellpadding="3"
+ cellspacing="0" width="100%" bgcolor="white">
+<tr><td>
+ <h3 class="epydoc">OP_FLAGS</h3>
+
+ <dl class="fields">
+ </dl>
+ <dl class="fields">
+ <dt>Value:</dt>
+ <dd><table><tr><td><pre class="variable">
+<code class="variable-group">{</code><code class="variable-quote">'</code><code class="variable-string">IN_ACCESS</code><code class="variable-quote">'</code><code class="variable-op">: </code>1<code class="variable-op">,</code>
+ <code class="variable-quote">'</code><code class="variable-string">IN_ATTRIB</code><code class="variable-quote">'</code><code class="variable-op">: </code>4<code class="variable-op">,</code>
+ <code class="variable-quote">'</code><code class="variable-string">IN_CLOSE_NOWRITE</code><code class="variable-quote">'</code><code class="variable-op">: </code>16<code class="variable-op">,</code>
+ <code class="variable-quote">'</code><code class="variable-string">IN_CLOSE_WRITE</code><code class="variable-quote">'</code><code class="variable-op">: </code>8<code class="variable-op">,</code>
+ <code class="variable-quote">'</code><code class="variable-string">IN_CREATE</code><code class="variable-quote">'</code><code class="variable-op">: </code>256<code class="variable-op">,</code>
+ <code class="variable-quote">'</code><code class="variable-string">IN_DELETE</code><code class="variable-quote">'</code><code class="variable-op">: </code>512<code class="variable-op">,</code>
+ <code class="variable-quote">'</code><code class="variable-string">IN_DELETE_SELF</code><code class="variable-quote">'</code><code class="variable-op">: </code>1024<code class="variable-op">,</code>
+ <code class="variable-quote">'</code><code class="variable-string">IN_MODIFY</code><code class="variable-quote">'</code><code class="variable-op">: </code>2<code class="variable-op">,</code>
+<code class="variable-ellipsis">...</code>
+</pre></td></tr></table>
+</dd>
+ </dl>
+</td></tr></table>
+</div>
+<a name="SPECIAL_FLAGS"></a>
+<div>
+<table class="details" border="1" cellpadding="3"
+ cellspacing="0" width="100%" bgcolor="white">
+<tr><td>
+ <h3 class="epydoc">SPECIAL_FLAGS</h3>
+
+ <dl class="fields">
+ </dl>
+ <dl class="fields">
+ <dt>Value:</dt>
+ <dd><table><tr><td><pre class="variable">
+<code class="variable-group">{</code><code class="variable-quote">'</code><code class="variable-string">IN_DONT_FOLLOW</code><code class="variable-quote">'</code><code class="variable-op">: </code>33554432<code class="variable-op">,</code>
+ <code class="variable-quote">'</code><code class="variable-string">IN_ISDIR</code><code class="variable-quote">'</code><code class="variable-op">: </code>1073741824<code class="variable-op">,</code>
+ <code class="variable-quote">'</code><code class="variable-string">IN_MASK_ADD</code><code class="variable-quote">'</code><code class="variable-op">: </code>536870912<code class="variable-op">,</code>
+ <code class="variable-quote">'</code><code class="variable-string">IN_ONESHOT</code><code class="variable-quote">'</code><code class="variable-op">: </code>2147483648<code class="variable-op">,</code>
+ <code class="variable-quote">'</code><code class="variable-string">IN_ONLYDIR</code><code class="variable-quote">'</code><code class="variable-op">: </code>16777216<code class="variable-group">}</code>
+</pre></td></tr></table>
+</dd>
+ </dl>
+</td></tr></table>
+</div>
+<br />
+<!-- ==================== NAVIGATION BAR ==================== -->
+<table class="navbar" border="0" width="100%" cellpadding="0"
+ bgcolor="#a0c0ff" cellspacing="0">
+ <tr valign="middle">
+ <!-- Home link -->
+ <th>&nbsp;&nbsp;&nbsp;<a
+ href="pyinotify-module.html">Home</a>&nbsp;&nbsp;&nbsp;</th>
+
+ <!-- Tree link -->
+ <th>&nbsp;&nbsp;&nbsp;<a
+ href="module-tree.html">Trees</a>&nbsp;&nbsp;&nbsp;</th>
+
+ <!-- Index link -->
+ <th>&nbsp;&nbsp;&nbsp;<a
+ href="identifier-index.html">Indices</a>&nbsp;&nbsp;&nbsp;</th>
+
+ <!-- Help link -->
+ <th>&nbsp;&nbsp;&nbsp;<a
+ href="help.html">Help</a>&nbsp;&nbsp;&nbsp;</th>
+
+ <th class="navbar" width="100%"></th>
+ </tr>
+</table>
+<table border="0" cellpadding="0" cellspacing="0" width="100%%">
+ <tr>
+ <td align="left" class="footer">
+ Generated by Epydoc 3.0.1 on Wed Sep 15 21:46:49 2010
+ </td>
+ <td align="right" class="footer">
+ <a target="mainFrame" href="http://epydoc.sourceforge.net"
+ >http://epydoc.sourceforge.net</a>
+ </td>
+ </tr>
+</table>
+
+<script type="text/javascript">
+ <!--
+ // Private objects are initially displayed (because if
+ // javascript is turned off then we want them to be
+ // visible); but by default, we want to hide them. So hide
+ // them unless we have a cookie that says to show them.
+ checkCookie();
+ // -->
+</script>
+</body>
+</html>
diff --git a/python2/docstrings/pyinotify.ExcludeFilter-class.html b/python2/docstrings/pyinotify.ExcludeFilter-class.html
new file mode 100644
index 0000000..f6e8a80
--- /dev/null
+++ b/python2/docstrings/pyinotify.ExcludeFilter-class.html
@@ -0,0 +1,339 @@
+<?xml version="1.0" encoding="ascii"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+ <title>pyinotify.ExcludeFilter</title>
+ <link rel="stylesheet" href="epydoc.css" type="text/css" />
+ <script type="text/javascript" src="epydoc.js"></script>
+</head>
+
+<body bgcolor="white" text="black" link="blue" vlink="#204080"
+ alink="#204080">
+<!-- ==================== NAVIGATION BAR ==================== -->
+<table class="navbar" border="0" width="100%" cellpadding="0"
+ bgcolor="#a0c0ff" cellspacing="0">
+ <tr valign="middle">
+ <!-- Home link -->
+ <th>&nbsp;&nbsp;&nbsp;<a
+ href="pyinotify-module.html">Home</a>&nbsp;&nbsp;&nbsp;</th>
+
+ <!-- Tree link -->
+ <th>&nbsp;&nbsp;&nbsp;<a
+ href="module-tree.html">Trees</a>&nbsp;&nbsp;&nbsp;</th>
+
+ <!-- Index link -->
+ <th>&nbsp;&nbsp;&nbsp;<a
+ href="identifier-index.html">Indices</a>&nbsp;&nbsp;&nbsp;</th>
+
+ <!-- Help link -->
+ <th>&nbsp;&nbsp;&nbsp;<a
+ href="help.html">Help</a>&nbsp;&nbsp;&nbsp;</th>
+
+ <th class="navbar" width="100%"></th>
+ </tr>
+</table>
+<table width="100%" cellpadding="0" cellspacing="0">
+ <tr valign="top">
+ <td width="100%">
+ <span class="breadcrumbs">
+ <a href="pyinotify-module.html">Module&nbsp;pyinotify</a> ::
+ Class&nbsp;ExcludeFilter
+ </span>
+ </td>
+ <td>
+ <table cellpadding="0" cellspacing="0">
+ <!-- hide/show private -->
+ <tr><td align="right"><span class="options">[<a href="javascript:void(0);" class="privatelink"
+ onclick="toggle_private();">hide&nbsp;private</a>]</span></td></tr>
+ <tr><td align="right"><span class="options"
+ >[<a href="frames.html" target="_top">frames</a
+ >]&nbsp;|&nbsp;<a href="pyinotify.ExcludeFilter-class.html"
+ target="_top">no&nbsp;frames</a>]</span></td></tr>
+ </table>
+ </td>
+ </tr>
+</table>
+<!-- ==================== CLASS DESCRIPTION ==================== -->
+<h1 class="epydoc">Class ExcludeFilter</h1><p class="nomargin-top"><span class="codelink"><a href="pyinotify-pysrc.html#ExcludeFilter">source&nbsp;code</a></span></p>
+<center>
+<center> <map id="uml_class_diagram_for_pyinotif_6" name="uml_class_diagram_for_pyinotif_6">
+<area shape="rect" href="pyinotify.ExcludeFilter-class.html#__init__" title="Examples: &#160;&#160;ef1 = ExcludeFilter([&quot;^/etc/rc.*&quot;, &quot;^/etc/hostname&quot;]) &#160;&#160;ef2 = ExcludeFilter(&quot;/my/path/exclude.lst&quot;) &#160;&#160;Where exclude.lst contains: &#160;&#160;^/etc/rc.* &#160;&#160;^/etc/hostname" alt="" coords="17,36,143,55"/>
+<area shape="rect" href="pyinotify.ExcludeFilter-class.html#__call__" title="Returns: &#160;Return True if path has been matched and should be excluded, False &#160;otherwise." alt="" coords="17,55,143,73"/>
+<area shape="rect" href="pyinotify.ExcludeFilter-class.html" title="ExcludeFilter is an exclusion filter." alt="" coords="16,11,144,75"/>
+</map>
+ <img src="uml_class_diagram_for_pyinotif_6.gif" alt='' usemap="#uml_class_diagram_for_pyinotif_6" ismap="ismap" class="graph-without-title" />
+</center>
+</center>
+<hr />
+<p>ExcludeFilter is an exclusion filter.</p>
+
+<!-- ==================== INSTANCE METHODS ==================== -->
+<a name="section-InstanceMethods"></a>
+<table class="summary" border="1" cellpadding="3"
+ cellspacing="0" width="100%" bgcolor="white">
+<tr bgcolor="#70b0f0" class="table-header">
+ <td colspan="2" class="table-header">
+ <table border="0" cellpadding="0" cellspacing="0" width="100%">
+ <tr valign="top">
+ <td align="left"><span class="table-header">Instance Methods</span></td>
+ <td align="right" valign="top"
+ ><span class="options">[<a href="#section-InstanceMethods"
+ class="privatelink" onclick="toggle_private();"
+ >hide private</a>]</span></td>
+ </tr>
+ </table>
+ </td>
+</tr>
+<tr>
+ <td width="15%" align="right" valign="top" class="summary">
+ <span class="summary-type">&nbsp;</span>
+ </td><td class="summary">
+ <table width="100%" cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td><span class="summary-sig"><a href="pyinotify.ExcludeFilter-class.html#__init__" class="summary-sig-name">__init__</a>(<span class="summary-sig-arg">self</span>,
+ <span class="summary-sig-arg">arg_lst</span>)</span><br />
+ Examples:
+ ef1 = ExcludeFilter([&quot;^/etc/rc.*&quot;, &quot;^/etc/hostname&quot;])
+ ef2 = ExcludeFilter(&quot;/my/path/exclude.lst&quot;)
+ Where exclude.lst contains:
+ ^/etc/rc.*
+ ^/etc/hostname</td>
+ <td align="right" valign="top">
+ <span class="codelink"><a href="pyinotify-pysrc.html#ExcludeFilter.__init__">source&nbsp;code</a></span>
+
+ </td>
+ </tr>
+ </table>
+
+ </td>
+ </tr>
+<tr class="private">
+ <td width="15%" align="right" valign="top" class="summary">
+ <span class="summary-type">&nbsp;</span>
+ </td><td class="summary">
+ <table width="100%" cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td><span class="summary-sig"><a name="_load_patterns_from_file"></a><span class="summary-sig-name">_load_patterns_from_file</span>(<span class="summary-sig-arg">self</span>,
+ <span class="summary-sig-arg">filename</span>)</span></td>
+ <td align="right" valign="top">
+ <span class="codelink"><a href="pyinotify-pysrc.html#ExcludeFilter._load_patterns_from_file">source&nbsp;code</a></span>
+
+ </td>
+ </tr>
+ </table>
+
+ </td>
+ </tr>
+<tr class="private">
+ <td width="15%" align="right" valign="top" class="summary">
+ <span class="summary-type">&nbsp;</span>
+ </td><td class="summary">
+ <table width="100%" cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td><span class="summary-sig"><a name="_match"></a><span class="summary-sig-name">_match</span>(<span class="summary-sig-arg">self</span>,
+ <span class="summary-sig-arg">regex</span>,
+ <span class="summary-sig-arg">path</span>)</span></td>
+ <td align="right" valign="top">
+ <span class="codelink"><a href="pyinotify-pysrc.html#ExcludeFilter._match">source&nbsp;code</a></span>
+
+ </td>
+ </tr>
+ </table>
+
+ </td>
+ </tr>
+<tr>
+ <td width="15%" align="right" valign="top" class="summary">
+ <span class="summary-type">bool</span>
+ </td><td class="summary">
+ <table width="100%" cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td><span class="summary-sig"><a href="pyinotify.ExcludeFilter-class.html#__call__" class="summary-sig-name">__call__</a>(<span class="summary-sig-arg">self</span>,
+ <span class="summary-sig-arg">path</span>)</span><br />
+ Returns:
+ Return True if path has been matched and should be excluded, False
+ otherwise.</td>
+ <td align="right" valign="top">
+ <span class="codelink"><a href="pyinotify-pysrc.html#ExcludeFilter.__call__">source&nbsp;code</a></span>
+
+ </td>
+ </tr>
+ </table>
+
+ </td>
+ </tr>
+ <tr>
+ <td colspan="2" class="summary">
+ <p class="indent-wrapped-lines"><b>Inherited from <code>object</code></b>:
+ <code>__delattr__</code>,
+ <code>__format__</code>,
+ <code>__getattribute__</code>,
+ <code>__hash__</code>,
+ <code>__new__</code>,
+ <code>__reduce__</code>,
+ <code>__reduce_ex__</code>,
+ <code>__repr__</code>,
+ <code>__setattr__</code>,
+ <code>__sizeof__</code>,
+ <code>__str__</code>,
+ <code>__subclasshook__</code>
+ </p>
+ </td>
+ </tr>
+</table>
+<!-- ==================== PROPERTIES ==================== -->
+<a name="section-Properties"></a>
+<table class="summary" border="1" cellpadding="3"
+ cellspacing="0" width="100%" bgcolor="white">
+<tr bgcolor="#70b0f0" class="table-header">
+ <td colspan="2" class="table-header">
+ <table border="0" cellpadding="0" cellspacing="0" width="100%">
+ <tr valign="top">
+ <td align="left"><span class="table-header">Properties</span></td>
+ <td align="right" valign="top"
+ ><span class="options">[<a href="#section-Properties"
+ class="privatelink" onclick="toggle_private();"
+ >hide private</a>]</span></td>
+ </tr>
+ </table>
+ </td>
+</tr>
+ <tr>
+ <td colspan="2" class="summary">
+ <p class="indent-wrapped-lines"><b>Inherited from <code>object</code></b>:
+ <code>__class__</code>
+ </p>
+ </td>
+ </tr>
+</table>
+<!-- ==================== METHOD DETAILS ==================== -->
+<a name="section-MethodDetails"></a>
+<table class="details" border="1" cellpadding="3"
+ cellspacing="0" width="100%" bgcolor="white">
+<tr bgcolor="#70b0f0" class="table-header">
+ <td colspan="2" class="table-header">
+ <table border="0" cellpadding="0" cellspacing="0" width="100%">
+ <tr valign="top">
+ <td align="left"><span class="table-header">Method Details</span></td>
+ <td align="right" valign="top"
+ ><span class="options">[<a href="#section-MethodDetails"
+ class="privatelink" onclick="toggle_private();"
+ >hide private</a>]</span></td>
+ </tr>
+ </table>
+ </td>
+</tr>
+</table>
+<a name="__init__"></a>
+<div>
+<table class="details" border="1" cellpadding="3"
+ cellspacing="0" width="100%" bgcolor="white">
+<tr><td>
+ <table width="100%" cellpadding="0" cellspacing="0" border="0">
+ <tr valign="top"><td>
+ <h3 class="epydoc"><span class="sig"><span class="sig-name">__init__</span>(<span class="sig-arg">self</span>,
+ <span class="sig-arg">arg_lst</span>)</span>
+ <br /><em class="fname">(Constructor)</em>
+ </h3>
+ </td><td align="right" valign="top"
+ ><span class="codelink"><a href="pyinotify-pysrc.html#ExcludeFilter.__init__">source&nbsp;code</a></span>&nbsp;
+ </td>
+ </tr></table>
+
+ <pre class="literalblock">
+
+Examples:
+ ef1 = ExcludeFilter([&quot;^/etc/rc.*&quot;, &quot;^/etc/hostname&quot;])
+ ef2 = ExcludeFilter(&quot;/my/path/exclude.lst&quot;)
+ Where exclude.lst contains:
+ ^/etc/rc.*
+ ^/etc/hostname
+
+@param arg_lst: is either a list of patterns or a filename from which
+ patterns will be loaded.
+@type arg_lst: list of str or str
+
+</pre>
+ <dl class="fields">
+ <dt>Overrides:
+ object.__init__
+ </dt>
+ </dl>
+</td></tr></table>
+</div>
+<a name="__call__"></a>
+<div>
+<table class="details" border="1" cellpadding="3"
+ cellspacing="0" width="100%" bgcolor="white">
+<tr><td>
+ <table width="100%" cellpadding="0" cellspacing="0" border="0">
+ <tr valign="top"><td>
+ <h3 class="epydoc"><span class="sig"><span class="sig-name">__call__</span>(<span class="sig-arg">self</span>,
+ <span class="sig-arg">path</span>)</span>
+ <br /><em class="fname">(Call operator)</em>
+ </h3>
+ </td><td align="right" valign="top"
+ ><span class="codelink"><a href="pyinotify-pysrc.html#ExcludeFilter.__call__">source&nbsp;code</a></span>&nbsp;
+ </td>
+ </tr></table>
+
+
+ <dl class="fields">
+ <dt>Parameters:</dt>
+ <dd><ul class="nomargin-top">
+ <li><strong class="pname"><code>path</code></strong> (str) - Path to match against provided regexps.</li>
+ </ul></dd>
+ <dt>Returns: bool</dt>
+ <dd>Return True if path has been matched and should be excluded,
+ False otherwise.</dd>
+ </dl>
+</td></tr></table>
+</div>
+<br />
+<!-- ==================== NAVIGATION BAR ==================== -->
+<table class="navbar" border="0" width="100%" cellpadding="0"
+ bgcolor="#a0c0ff" cellspacing="0">
+ <tr valign="middle">
+ <!-- Home link -->
+ <th>&nbsp;&nbsp;&nbsp;<a
+ href="pyinotify-module.html">Home</a>&nbsp;&nbsp;&nbsp;</th>
+
+ <!-- Tree link -->
+ <th>&nbsp;&nbsp;&nbsp;<a
+ href="module-tree.html">Trees</a>&nbsp;&nbsp;&nbsp;</th>
+
+ <!-- Index link -->
+ <th>&nbsp;&nbsp;&nbsp;<a
+ href="identifier-index.html">Indices</a>&nbsp;&nbsp;&nbsp;</th>
+
+ <!-- Help link -->
+ <th>&nbsp;&nbsp;&nbsp;<a
+ href="help.html">Help</a>&nbsp;&nbsp;&nbsp;</th>
+
+ <th class="navbar" width="100%"></th>
+ </tr>
+</table>
+<table border="0" cellpadding="0" cellspacing="0" width="100%%">
+ <tr>
+ <td align="left" class="footer">
+ Generated by Epydoc 3.0.1 on Wed Sep 15 21:46:49 2010
+ </td>
+ <td align="right" class="footer">
+ <a target="mainFrame" href="http://epydoc.sourceforge.net"
+ >http://epydoc.sourceforge.net</a>
+ </td>
+ </tr>
+</table>
+
+<script type="text/javascript">
+ <!--
+ // Private objects are initially displayed (because if
+ // javascript is turned off then we want them to be
+ // visible); but by default, we want to hide them. So hide
+ // them unless we have a cookie that says to show them.
+ checkCookie();
+ // -->
+</script>
+</body>
+</html>
diff --git a/python2/docstrings/pyinotify.Notifier-class.html b/python2/docstrings/pyinotify.Notifier-class.html
new file mode 100644
index 0000000..3e79650
--- /dev/null
+++ b/python2/docstrings/pyinotify.Notifier-class.html
@@ -0,0 +1,650 @@
+<?xml version="1.0" encoding="ascii"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+ <title>pyinotify.Notifier</title>
+ <link rel="stylesheet" href="epydoc.css" type="text/css" />
+ <script type="text/javascript" src="epydoc.js"></script>
+</head>
+
+<body bgcolor="white" text="black" link="blue" vlink="#204080"
+ alink="#204080">
+<!-- ==================== NAVIGATION BAR ==================== -->
+<table class="navbar" border="0" width="100%" cellpadding="0"
+ bgcolor="#a0c0ff" cellspacing="0">
+ <tr valign="middle">
+ <!-- Home link -->
+ <th>&nbsp;&nbsp;&nbsp;<a
+ href="pyinotify-module.html">Home</a>&nbsp;&nbsp;&nbsp;</th>
+
+ <!-- Tree link -->
+ <th>&nbsp;&nbsp;&nbsp;<a
+ href="module-tree.html">Trees</a>&nbsp;&nbsp;&nbsp;</th>
+
+ <!-- Index link -->
+ <th>&nbsp;&nbsp;&nbsp;<a
+ href="identifier-index.html">Indices</a>&nbsp;&nbsp;&nbsp;</th>
+
+ <!-- Help link -->
+ <th>&nbsp;&nbsp;&nbsp;<a
+ href="help.html">Help</a>&nbsp;&nbsp;&nbsp;</th>
+
+ <th class="navbar" width="100%"></th>
+ </tr>
+</table>
+<table width="100%" cellpadding="0" cellspacing="0">
+ <tr valign="top">
+ <td width="100%">
+ <span class="breadcrumbs">
+ <a href="pyinotify-module.html">Module&nbsp;pyinotify</a> ::
+ Class&nbsp;Notifier
+ </span>
+ </td>
+ <td>
+ <table cellpadding="0" cellspacing="0">
+ <!-- hide/show private -->
+ <tr><td align="right"><span class="options">[<a href="javascript:void(0);" class="privatelink"
+ onclick="toggle_private();">hide&nbsp;private</a>]</span></td></tr>
+ <tr><td align="right"><span class="options"
+ >[<a href="frames.html" target="_top">frames</a
+ >]&nbsp;|&nbsp;<a href="pyinotify.Notifier-class.html"
+ target="_top">no&nbsp;frames</a>]</span></td></tr>
+ </table>
+ </td>
+ </tr>
+</table>
+<!-- ==================== CLASS DESCRIPTION ==================== -->
+<h1 class="epydoc">Class Notifier</h1><p class="nomargin-top"><span class="codelink"><a href="pyinotify-pysrc.html#Notifier">source&nbsp;code</a></span></p>
+<center>
+<center> <map id="uml_class_diagram_for_pyinotif_7" name="uml_class_diagram_for_pyinotif_7">
+<area shape="rect" href="pyinotify.Notifier-class.html#__init__" title="Initialization." alt="" coords="17,36,575,55"/>
+<area shape="rect" href="pyinotify.Notifier-class.html#append_event" title="Append a raw event to the event queue." alt="" coords="17,55,575,73"/>
+<area shape="rect" href="pyinotify.Notifier-class.html#proc_fun" title="pyinotify.Notifier.proc_fun" alt="" coords="17,73,575,92"/>
+<area shape="rect" href="pyinotify.Notifier-class.html#coalesce_events" title="Coalescing events." alt="" coords="17,92,575,111"/>
+<area shape="rect" href="pyinotify.Notifier-class.html#check_events" title="Check for new events available to read, blocks up to timeout milliseconds." alt="" coords="17,111,575,129"/>
+<area shape="rect" href="pyinotify.Notifier-class.html#read_events" title="Read events from device, build _RawEvents, and enqueue them." alt="" coords="17,129,575,148"/>
+<area shape="rect" href="pyinotify.Notifier-class.html#process_events" title="Routine for processing events from queue by calling their associated &#160;proccessing method (an instance of ProcessEvent)." alt="" coords="17,148,575,167"/>
+<area shape="rect" href="pyinotify.Notifier-class.html#loop" title="Events are read only one time every min(read_freq, timeout) seconds at best and only if the size to read is &gt;= threshold." alt="" coords="17,167,575,185"/>
+<area shape="rect" href="pyinotify.Notifier-class.html#stop" title="Close inotify&#39;s instance (close its file descriptor)." alt="" coords="17,185,575,204"/>
+<area shape="rect" href="pyinotify.Notifier-class.html" title="Read notifications, process events." alt="" coords="16,11,576,205"/>
+<area shape="rect" href="pyinotify.AsyncNotifier-class.html" title="This notifier inherits from asyncore.file_dispatcher in order to be able to use pyinotify along with the asyncore framework." alt="" coords="176,235,267,261"/>
+<area shape="rect" href="pyinotify.ThreadedNotifier-class.html" title="This notifier inherits from threading.Thread for instanciating a separate thread, and also inherits from Notifier, because it is a threaded notifier." alt="" coords="317,235,424,261"/>
+</map>
+ <img src="uml_class_diagram_for_pyinotif_7.gif" alt='' usemap="#uml_class_diagram_for_pyinotif_7" ismap="ismap" class="graph-without-title" />
+</center>
+</center>
+<hr />
+<p>Read notifications, process events.</p>
+
+<!-- ==================== INSTANCE METHODS ==================== -->
+<a name="section-InstanceMethods"></a>
+<table class="summary" border="1" cellpadding="3"
+ cellspacing="0" width="100%" bgcolor="white">
+<tr bgcolor="#70b0f0" class="table-header">
+ <td colspan="2" class="table-header">
+ <table border="0" cellpadding="0" cellspacing="0" width="100%">
+ <tr valign="top">
+ <td align="left"><span class="table-header">Instance Methods</span></td>
+ <td align="right" valign="top"
+ ><span class="options">[<a href="#section-InstanceMethods"
+ class="privatelink" onclick="toggle_private();"
+ >hide private</a>]</span></td>
+ </tr>
+ </table>
+ </td>
+</tr>
+<tr>
+ <td width="15%" align="right" valign="top" class="summary">
+ <span class="summary-type">&nbsp;</span>
+ </td><td class="summary">
+ <table width="100%" cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td><span class="summary-sig"><a href="pyinotify.Notifier-class.html#__init__" class="summary-sig-name">__init__</a>(<span class="summary-sig-arg">self</span>,
+ <span class="summary-sig-arg">watch_manager</span>,
+ <span class="summary-sig-arg">default_proc_fun</span>=<span class="summary-sig-default">None</span>,
+ <span class="summary-sig-arg">read_freq</span>=<span class="summary-sig-default">0</span>,
+ <span class="summary-sig-arg">threshold</span>=<span class="summary-sig-default">0</span>,
+ <span class="summary-sig-arg">timeout</span>=<span class="summary-sig-default">None</span>)</span><br />
+ Initialization.</td>
+ <td align="right" valign="top">
+ <span class="codelink"><a href="pyinotify-pysrc.html#Notifier.__init__">source&nbsp;code</a></span>
+
+ </td>
+ </tr>
+ </table>
+
+ </td>
+ </tr>
+<tr>
+ <td width="15%" align="right" valign="top" class="summary">
+ <span class="summary-type">&nbsp;</span>
+ </td><td class="summary">
+ <table width="100%" cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td><span class="summary-sig"><a href="pyinotify.Notifier-class.html#append_event" class="summary-sig-name">append_event</a>(<span class="summary-sig-arg">self</span>,
+ <span class="summary-sig-arg">event</span>)</span><br />
+ Append a raw event to the event queue.</td>
+ <td align="right" valign="top">
+ <span class="codelink"><a href="pyinotify-pysrc.html#Notifier.append_event">source&nbsp;code</a></span>
+
+ </td>
+ </tr>
+ </table>
+
+ </td>
+ </tr>
+<tr>
+ <td width="15%" align="right" valign="top" class="summary">
+ <span class="summary-type">&nbsp;</span>
+ </td><td class="summary">
+ <table width="100%" cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td><span class="summary-sig"><a name="proc_fun"></a><span class="summary-sig-name">proc_fun</span>(<span class="summary-sig-arg">self</span>)</span></td>
+ <td align="right" valign="top">
+ <span class="codelink"><a href="pyinotify-pysrc.html#Notifier.proc_fun">source&nbsp;code</a></span>
+
+ </td>
+ </tr>
+ </table>
+
+ </td>
+ </tr>
+<tr>
+ <td width="15%" align="right" valign="top" class="summary">
+ <span class="summary-type">&nbsp;</span>
+ </td><td class="summary">
+ <table width="100%" cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td><span class="summary-sig"><a href="pyinotify.Notifier-class.html#coalesce_events" class="summary-sig-name">coalesce_events</a>(<span class="summary-sig-arg">self</span>,
+ <span class="summary-sig-arg">coalesce</span>=<span class="summary-sig-default">True</span>)</span><br />
+ Coalescing events.</td>
+ <td align="right" valign="top">
+ <span class="codelink"><a href="pyinotify-pysrc.html#Notifier.coalesce_events">source&nbsp;code</a></span>
+
+ </td>
+ </tr>
+ </table>
+
+ </td>
+ </tr>
+<tr>
+ <td width="15%" align="right" valign="top" class="summary">
+ <span class="summary-type">bool</span>
+ </td><td class="summary">
+ <table width="100%" cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td><span class="summary-sig"><a href="pyinotify.Notifier-class.html#check_events" class="summary-sig-name">check_events</a>(<span class="summary-sig-arg">self</span>,
+ <span class="summary-sig-arg">timeout</span>=<span class="summary-sig-default">None</span>)</span><br />
+ Check for new events available to read, blocks up to timeout
+ milliseconds.</td>
+ <td align="right" valign="top">
+ <span class="codelink"><a href="pyinotify-pysrc.html#Notifier.check_events">source&nbsp;code</a></span>
+
+ </td>
+ </tr>
+ </table>
+
+ </td>
+ </tr>
+<tr>
+ <td width="15%" align="right" valign="top" class="summary">
+ <span class="summary-type">&nbsp;</span>
+ </td><td class="summary">
+ <table width="100%" cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td><span class="summary-sig"><a name="read_events"></a><span class="summary-sig-name">read_events</span>(<span class="summary-sig-arg">self</span>)</span><br />
+ Read events from device, build _RawEvents, and enqueue them.</td>
+ <td align="right" valign="top">
+ <span class="codelink"><a href="pyinotify-pysrc.html#Notifier.read_events">source&nbsp;code</a></span>
+
+ </td>
+ </tr>
+ </table>
+
+ </td>
+ </tr>
+<tr>
+ <td width="15%" align="right" valign="top" class="summary">
+ <span class="summary-type">&nbsp;</span>
+ </td><td class="summary">
+ <table width="100%" cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td><span class="summary-sig"><a href="pyinotify.Notifier-class.html#process_events" class="summary-sig-name">process_events</a>(<span class="summary-sig-arg">self</span>)</span><br />
+ Routine for processing events from queue by calling their associated
+ proccessing method (an instance of ProcessEvent).</td>
+ <td align="right" valign="top">
+ <span class="codelink"><a href="pyinotify-pysrc.html#Notifier.process_events">source&nbsp;code</a></span>
+
+ </td>
+ </tr>
+ </table>
+
+ </td>
+ </tr>
+<tr class="private">
+ <td width="15%" align="right" valign="top" class="summary">
+ <span class="summary-type">&nbsp;</span>
+ </td><td class="summary">
+ <table width="100%" cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td><span class="summary-sig"><a href="pyinotify.Notifier-class.html#__daemonize" class="summary-sig-name" onclick="show_private();">__daemonize</a>(<span class="summary-sig-arg">self</span>,
+ <span class="summary-sig-arg">pid_file</span>=<span class="summary-sig-default">None</span>,
+ <span class="summary-sig-arg">stdin</span>=<span class="summary-sig-default"><code class="variable-quote">'</code><code class="variable-string">/dev/null</code><code class="variable-quote">'</code></span>,
+ <span class="summary-sig-arg">stdout</span>=<span class="summary-sig-default"><code class="variable-quote">'</code><code class="variable-string">/dev/null</code><code class="variable-quote">'</code></span>,
+ <span class="summary-sig-arg">stderr</span>=<span class="summary-sig-default"><code class="variable-quote">'</code><code class="variable-string">/dev/null</code><code class="variable-quote">'</code></span>)</span><br />
+ pid_file: file where the pid will be written.</td>
+ <td align="right" valign="top">
+ <span class="codelink"><a href="pyinotify-pysrc.html#Notifier.__daemonize">source&nbsp;code</a></span>
+
+ </td>
+ </tr>
+ </table>
+
+ </td>
+ </tr>
+<tr class="private">
+ <td width="15%" align="right" valign="top" class="summary">
+ <span class="summary-type">&nbsp;</span>
+ </td><td class="summary">
+ <table width="100%" cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td><span class="summary-sig"><a name="_sleep"></a><span class="summary-sig-name">_sleep</span>(<span class="summary-sig-arg">self</span>,
+ <span class="summary-sig-arg">ref_time</span>)</span></td>
+ <td align="right" valign="top">
+ <span class="codelink"><a href="pyinotify-pysrc.html#Notifier._sleep">source&nbsp;code</a></span>
+
+ </td>
+ </tr>
+ </table>
+
+ </td>
+ </tr>
+<tr>
+ <td width="15%" align="right" valign="top" class="summary">
+ <span class="summary-type">&nbsp;</span>
+ </td><td class="summary">
+ <table width="100%" cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td><span class="summary-sig"><a href="pyinotify.Notifier-class.html#loop" class="summary-sig-name">loop</a>(<span class="summary-sig-arg">self</span>,
+ <span class="summary-sig-arg">callback</span>=<span class="summary-sig-default">None</span>,
+ <span class="summary-sig-arg">daemonize</span>=<span class="summary-sig-default">False</span>,
+ <span class="summary-sig-arg">**args</span>)</span><br />
+ Events are read only one time every min(read_freq, timeout) seconds
+ at best and only if the size to read is &gt;= threshold.</td>
+ <td align="right" valign="top">
+ <span class="codelink"><a href="pyinotify-pysrc.html#Notifier.loop">source&nbsp;code</a></span>
+
+ </td>
+ </tr>
+ </table>
+
+ </td>
+ </tr>
+<tr>
+ <td width="15%" align="right" valign="top" class="summary">
+ <span class="summary-type">&nbsp;</span>
+ </td><td class="summary">
+ <table width="100%" cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td><span class="summary-sig"><a href="pyinotify.Notifier-class.html#stop" class="summary-sig-name">stop</a>(<span class="summary-sig-arg">self</span>)</span><br />
+ Close inotify's instance (close its file descriptor).</td>
+ <td align="right" valign="top">
+ <span class="codelink"><a href="pyinotify-pysrc.html#Notifier.stop">source&nbsp;code</a></span>
+
+ </td>
+ </tr>
+ </table>
+
+ </td>
+ </tr>
+ <tr>
+ <td colspan="2" class="summary">
+ <p class="indent-wrapped-lines"><b>Inherited from <code>object</code></b>:
+ <code>__delattr__</code>,
+ <code>__format__</code>,
+ <code>__getattribute__</code>,
+ <code>__hash__</code>,
+ <code>__new__</code>,
+ <code>__reduce__</code>,
+ <code>__reduce_ex__</code>,
+ <code>__repr__</code>,
+ <code>__setattr__</code>,
+ <code>__sizeof__</code>,
+ <code>__str__</code>,
+ <code>__subclasshook__</code>
+ </p>
+ </td>
+ </tr>
+</table>
+<!-- ==================== PROPERTIES ==================== -->
+<a name="section-Properties"></a>
+<table class="summary" border="1" cellpadding="3"
+ cellspacing="0" width="100%" bgcolor="white">
+<tr bgcolor="#70b0f0" class="table-header">
+ <td colspan="2" class="table-header">
+ <table border="0" cellpadding="0" cellspacing="0" width="100%">
+ <tr valign="top">
+ <td align="left"><span class="table-header">Properties</span></td>
+ <td align="right" valign="top"
+ ><span class="options">[<a href="#section-Properties"
+ class="privatelink" onclick="toggle_private();"
+ >hide private</a>]</span></td>
+ </tr>
+ </table>
+ </td>
+</tr>
+ <tr>
+ <td colspan="2" class="summary">
+ <p class="indent-wrapped-lines"><b>Inherited from <code>object</code></b>:
+ <code>__class__</code>
+ </p>
+ </td>
+ </tr>
+</table>
+<!-- ==================== METHOD DETAILS ==================== -->
+<a name="section-MethodDetails"></a>
+<table class="details" border="1" cellpadding="3"
+ cellspacing="0" width="100%" bgcolor="white">
+<tr bgcolor="#70b0f0" class="table-header">
+ <td colspan="2" class="table-header">
+ <table border="0" cellpadding="0" cellspacing="0" width="100%">
+ <tr valign="top">
+ <td align="left"><span class="table-header">Method Details</span></td>
+ <td align="right" valign="top"
+ ><span class="options">[<a href="#section-MethodDetails"
+ class="privatelink" onclick="toggle_private();"
+ >hide private</a>]</span></td>
+ </tr>
+ </table>
+ </td>
+</tr>
+</table>
+<a name="__init__"></a>
+<div>
+<table class="details" border="1" cellpadding="3"
+ cellspacing="0" width="100%" bgcolor="white">
+<tr><td>
+ <table width="100%" cellpadding="0" cellspacing="0" border="0">
+ <tr valign="top"><td>
+ <h3 class="epydoc"><span class="sig"><span class="sig-name">__init__</span>(<span class="sig-arg">self</span>,
+ <span class="sig-arg">watch_manager</span>,
+ <span class="sig-arg">default_proc_fun</span>=<span class="sig-default">None</span>,
+ <span class="sig-arg">read_freq</span>=<span class="sig-default">0</span>,
+ <span class="sig-arg">threshold</span>=<span class="sig-default">0</span>,
+ <span class="sig-arg">timeout</span>=<span class="sig-default">None</span>)</span>
+ <br /><em class="fname">(Constructor)</em>
+ </h3>
+ </td><td align="right" valign="top"
+ ><span class="codelink"><a href="pyinotify-pysrc.html#Notifier.__init__">source&nbsp;code</a></span>&nbsp;
+ </td>
+ </tr></table>
+
+ <p>Initialization. read_freq, threshold and timeout parameters are used
+ when looping.</p>
+ <dl class="fields">
+ <dt>Parameters:</dt>
+ <dd><ul class="nomargin-top">
+ <li><strong class="pname"><code>watch_manager</code></strong> (WatchManager instance) - Watch Manager.</li>
+ <li><strong class="pname"><code>default_proc_fun</code></strong> (instance of ProcessEvent) - Default processing method. If None, a new instance of
+ PrintAllEvents will be assigned.</li>
+ <li><strong class="pname"><code>read_freq</code></strong> (int) - if read_freq == 0, events are read asap, if read_freq is &gt; 0,
+ this thread sleeps max(0, read_freq - timeout) seconds. But if
+ timeout is None it may be different because poll is blocking
+ waiting for something to read.</li>
+ <li><strong class="pname"><code>threshold</code></strong> (int) - File descriptor will be read only if the accumulated size to read
+ becomes &gt;= threshold. If != 0, you likely want to use it in
+ combination with an appropriate value for read_freq because
+ without that you would keep looping without really reading
+ anything and that until the amount of events to read is &gt;=
+ threshold. At least with read_freq set you might sleep.</li>
+ <li><strong class="pname"><code>timeout</code></strong> (int) - http://docs.python.org/lib/poll-objects.html#poll-objects</li>
+ </ul></dd>
+ <dt>Overrides:
+ object.__init__
+ </dt>
+ </dl>
+</td></tr></table>
+</div>
+<a name="append_event"></a>
+<div>
+<table class="details" border="1" cellpadding="3"
+ cellspacing="0" width="100%" bgcolor="white">
+<tr><td>
+ <table width="100%" cellpadding="0" cellspacing="0" border="0">
+ <tr valign="top"><td>
+ <h3 class="epydoc"><span class="sig"><span class="sig-name">append_event</span>(<span class="sig-arg">self</span>,
+ <span class="sig-arg">event</span>)</span>
+ </h3>
+ </td><td align="right" valign="top"
+ ><span class="codelink"><a href="pyinotify-pysrc.html#Notifier.append_event">source&nbsp;code</a></span>&nbsp;
+ </td>
+ </tr></table>
+
+ <p>Append a raw event to the event queue.</p>
+ <dl class="fields">
+ <dt>Parameters:</dt>
+ <dd><ul class="nomargin-top">
+ <li><strong class="pname"><code>event</code></strong> (_RawEvent instance.) - An event.</li>
+ </ul></dd>
+ </dl>
+</td></tr></table>
+</div>
+<a name="coalesce_events"></a>
+<div>
+<table class="details" border="1" cellpadding="3"
+ cellspacing="0" width="100%" bgcolor="white">
+<tr><td>
+ <table width="100%" cellpadding="0" cellspacing="0" border="0">
+ <tr valign="top"><td>
+ <h3 class="epydoc"><span class="sig"><span class="sig-name">coalesce_events</span>(<span class="sig-arg">self</span>,
+ <span class="sig-arg">coalesce</span>=<span class="sig-default">True</span>)</span>
+ </h3>
+ </td><td align="right" valign="top"
+ ><span class="codelink"><a href="pyinotify-pysrc.html#Notifier.coalesce_events">source&nbsp;code</a></span>&nbsp;
+ </td>
+ </tr></table>
+
+ <p>Coalescing events. Events are usually processed by batchs, their size
+ depend on various factors. Thus, before processing them, events received
+ from inotify are aggregated in a fifo queue. If this coalescing option is
+ enabled events are filtered based on their unicity, only unique events
+ are enqueued, doublons are discarded. An event is unique when the
+ combination of its fields (wd, mask, cookie, name) is unique among events
+ of a same batch. After a batch of events is processed any events is
+ accepted again. By default this option is disabled, you have to explictly
+ call this function to turn it on.</p>
+ <dl class="fields">
+ <dt>Parameters:</dt>
+ <dd><ul class="nomargin-top">
+ <li><strong class="pname"><code>coalesce</code></strong> (Bool) - Optional new coalescing value. True by default.</li>
+ </ul></dd>
+ </dl>
+</td></tr></table>
+</div>
+<a name="check_events"></a>
+<div>
+<table class="details" border="1" cellpadding="3"
+ cellspacing="0" width="100%" bgcolor="white">
+<tr><td>
+ <table width="100%" cellpadding="0" cellspacing="0" border="0">
+ <tr valign="top"><td>
+ <h3 class="epydoc"><span class="sig"><span class="sig-name">check_events</span>(<span class="sig-arg">self</span>,
+ <span class="sig-arg">timeout</span>=<span class="sig-default">None</span>)</span>
+ </h3>
+ </td><td align="right" valign="top"
+ ><span class="codelink"><a href="pyinotify-pysrc.html#Notifier.check_events">source&nbsp;code</a></span>&nbsp;
+ </td>
+ </tr></table>
+
+ <p>Check for new events available to read, blocks up to timeout
+ milliseconds.</p>
+ <dl class="fields">
+ <dt>Parameters:</dt>
+ <dd><ul class="nomargin-top">
+ <li><strong class="pname"><code>timeout</code></strong> (int) - If specified it overrides the corresponding instance attribute
+ _timeout.</li>
+ </ul></dd>
+ <dt>Returns: bool</dt>
+ <dd>New events to read.</dd>
+ </dl>
+</td></tr></table>
+</div>
+<a name="process_events"></a>
+<div>
+<table class="details" border="1" cellpadding="3"
+ cellspacing="0" width="100%" bgcolor="white">
+<tr><td>
+ <table width="100%" cellpadding="0" cellspacing="0" border="0">
+ <tr valign="top"><td>
+ <h3 class="epydoc"><span class="sig"><span class="sig-name">process_events</span>(<span class="sig-arg">self</span>)</span>
+ </h3>
+ </td><td align="right" valign="top"
+ ><span class="codelink"><a href="pyinotify-pysrc.html#Notifier.process_events">source&nbsp;code</a></span>&nbsp;
+ </td>
+ </tr></table>
+
+ <p>Routine for processing events from queue by calling their associated
+ proccessing method (an instance of ProcessEvent). It also does internal
+ processings, to keep the system updated.</p>
+ <dl class="fields">
+ </dl>
+</td></tr></table>
+</div>
+<a name="__daemonize"></a>
+<div class="private">
+<table class="details" border="1" cellpadding="3"
+ cellspacing="0" width="100%" bgcolor="white">
+<tr><td>
+ <table width="100%" cellpadding="0" cellspacing="0" border="0">
+ <tr valign="top"><td>
+ <h3 class="epydoc"><span class="sig"><span class="sig-name">__daemonize</span>(<span class="sig-arg">self</span>,
+ <span class="sig-arg">pid_file</span>=<span class="sig-default">None</span>,
+ <span class="sig-arg">stdin</span>=<span class="sig-default"><code class="variable-quote">'</code><code class="variable-string">/dev/null</code><code class="variable-quote">'</code></span>,
+ <span class="sig-arg">stdout</span>=<span class="sig-default"><code class="variable-quote">'</code><code class="variable-string">/dev/null</code><code class="variable-quote">'</code></span>,
+ <span class="sig-arg">stderr</span>=<span class="sig-default"><code class="variable-quote">'</code><code class="variable-string">/dev/null</code><code class="variable-quote">'</code></span>)</span>
+ </h3>
+ </td><td align="right" valign="top"
+ ><span class="codelink"><a href="pyinotify-pysrc.html#Notifier.__daemonize">source&nbsp;code</a></span>&nbsp;
+ </td>
+ </tr></table>
+
+ <pre class="literalblock">
+
+pid_file: file where the pid will be written. If pid_file=None the pid
+ is written to /var/run/&lt;sys.argv[0]|pyinotify&gt;.pid, if
+ pid_file=False no pid_file is written.
+stdin, stdout, stderr: files associated to common streams.
+
+</pre>
+ <dl class="fields">
+ </dl>
+</td></tr></table>
+</div>
+<a name="loop"></a>
+<div>
+<table class="details" border="1" cellpadding="3"
+ cellspacing="0" width="100%" bgcolor="white">
+<tr><td>
+ <table width="100%" cellpadding="0" cellspacing="0" border="0">
+ <tr valign="top"><td>
+ <h3 class="epydoc"><span class="sig"><span class="sig-name">loop</span>(<span class="sig-arg">self</span>,
+ <span class="sig-arg">callback</span>=<span class="sig-default">None</span>,
+ <span class="sig-arg">daemonize</span>=<span class="sig-default">False</span>,
+ <span class="sig-arg">**args</span>)</span>
+ </h3>
+ </td><td align="right" valign="top"
+ ><span class="codelink"><a href="pyinotify-pysrc.html#Notifier.loop">source&nbsp;code</a></span>&nbsp;
+ </td>
+ </tr></table>
+
+ <p>Events are read only one time every min(read_freq, timeout) seconds at
+ best and only if the size to read is &gt;= threshold. After this method
+ returns it must not be called again for the same instance.</p>
+ <dl class="fields">
+ <dt>Parameters:</dt>
+ <dd><ul class="nomargin-top">
+ <li><strong class="pname"><code>callback</code></strong> (callable object or function) - Functor called after each event processing iteration. Expects to
+ receive the notifier object (self) as first parameter. If this
+ function returns True the loop is immediately terminated
+ otherwise the loop method keeps looping.</li>
+ <li><strong class="pname"><code>daemonize</code></strong> (boolean) - This thread is daemonized if set to True.</li>
+ <li><strong class="pname"><code>args</code></strong> (various) - Optional and relevant only if daemonize is True. Remaining
+ keyworded arguments are directly passed to daemonize see
+ __daemonize() method. If pid_file=None or is set to a pathname
+ the caller must ensure the file does not exist before this method
+ is called otherwise an exception pyinotify.NotifierError will be
+ raised. If pid_file=False it is still daemonized but the pid is
+ not written in any file.</li>
+ </ul></dd>
+ </dl>
+</td></tr></table>
+</div>
+<a name="stop"></a>
+<div>
+<table class="details" border="1" cellpadding="3"
+ cellspacing="0" width="100%" bgcolor="white">
+<tr><td>
+ <table width="100%" cellpadding="0" cellspacing="0" border="0">
+ <tr valign="top"><td>
+ <h3 class="epydoc"><span class="sig"><span class="sig-name">stop</span>(<span class="sig-arg">self</span>)</span>
+ </h3>
+ </td><td align="right" valign="top"
+ ><span class="codelink"><a href="pyinotify-pysrc.html#Notifier.stop">source&nbsp;code</a></span>&nbsp;
+ </td>
+ </tr></table>
+
+ <p>Close inotify's instance (close its file descriptor). It destroys all
+ existing watches, pending events,... This method is automatically called
+ at the end of loop().</p>
+ <dl class="fields">
+ </dl>
+</td></tr></table>
+</div>
+<br />
+<!-- ==================== NAVIGATION BAR ==================== -->
+<table class="navbar" border="0" width="100%" cellpadding="0"
+ bgcolor="#a0c0ff" cellspacing="0">
+ <tr valign="middle">
+ <!-- Home link -->
+ <th>&nbsp;&nbsp;&nbsp;<a
+ href="pyinotify-module.html">Home</a>&nbsp;&nbsp;&nbsp;</th>
+
+ <!-- Tree link -->
+ <th>&nbsp;&nbsp;&nbsp;<a
+ href="module-tree.html">Trees</a>&nbsp;&nbsp;&nbsp;</th>
+
+ <!-- Index link -->
+ <th>&nbsp;&nbsp;&nbsp;<a
+ href="identifier-index.html">Indices</a>&nbsp;&nbsp;&nbsp;</th>
+
+ <!-- Help link -->
+ <th>&nbsp;&nbsp;&nbsp;<a
+ href="help.html">Help</a>&nbsp;&nbsp;&nbsp;</th>
+
+ <th class="navbar" width="100%"></th>
+ </tr>
+</table>
+<table border="0" cellpadding="0" cellspacing="0" width="100%%">
+ <tr>
+ <td align="left" class="footer">
+ Generated by Epydoc 3.0.1 on Wed Sep 15 21:46:49 2010
+ </td>
+ <td align="right" class="footer">
+ <a target="mainFrame" href="http://epydoc.sourceforge.net"
+ >http://epydoc.sourceforge.net</a>
+ </td>
+ </tr>
+</table>
+
+<script type="text/javascript">
+ <!--
+ // Private objects are initially displayed (because if
+ // javascript is turned off then we want them to be
+ // visible); but by default, we want to hide them. So hide
+ // them unless we have a cookie that says to show them.
+ checkCookie();
+ // -->
+</script>
+</body>
+</html>
diff --git a/python2/docstrings/pyinotify.NotifierError-class.html b/python2/docstrings/pyinotify.NotifierError-class.html
new file mode 100644
index 0000000..a75b10e
--- /dev/null
+++ b/python2/docstrings/pyinotify.NotifierError-class.html
@@ -0,0 +1,270 @@
+<?xml version="1.0" encoding="ascii"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+ <title>pyinotify.NotifierError</title>
+ <link rel="stylesheet" href="epydoc.css" type="text/css" />
+ <script type="text/javascript" src="epydoc.js"></script>
+</head>
+
+<body bgcolor="white" text="black" link="blue" vlink="#204080"
+ alink="#204080">
+<!-- ==================== NAVIGATION BAR ==================== -->
+<table class="navbar" border="0" width="100%" cellpadding="0"
+ bgcolor="#a0c0ff" cellspacing="0">
+ <tr valign="middle">
+ <!-- Home link -->
+ <th>&nbsp;&nbsp;&nbsp;<a
+ href="pyinotify-module.html">Home</a>&nbsp;&nbsp;&nbsp;</th>
+
+ <!-- Tree link -->
+ <th>&nbsp;&nbsp;&nbsp;<a
+ href="module-tree.html">Trees</a>&nbsp;&nbsp;&nbsp;</th>
+
+ <!-- Index link -->
+ <th>&nbsp;&nbsp;&nbsp;<a
+ href="identifier-index.html">Indices</a>&nbsp;&nbsp;&nbsp;</th>
+
+ <!-- Help link -->
+ <th>&nbsp;&nbsp;&nbsp;<a
+ href="help.html">Help</a>&nbsp;&nbsp;&nbsp;</th>
+
+ <th class="navbar" width="100%"></th>
+ </tr>
+</table>
+<table width="100%" cellpadding="0" cellspacing="0">
+ <tr valign="top">
+ <td width="100%">
+ <span class="breadcrumbs">
+ <a href="pyinotify-module.html">Module&nbsp;pyinotify</a> ::
+ Class&nbsp;NotifierError
+ </span>
+ </td>
+ <td>
+ <table cellpadding="0" cellspacing="0">
+ <!-- hide/show private -->
+ <tr><td align="right"><span class="options">[<a href="javascript:void(0);" class="privatelink"
+ onclick="toggle_private();">hide&nbsp;private</a>]</span></td></tr>
+ <tr><td align="right"><span class="options"
+ >[<a href="frames.html" target="_top">frames</a
+ >]&nbsp;|&nbsp;<a href="pyinotify.NotifierError-class.html"
+ target="_top">no&nbsp;frames</a>]</span></td></tr>
+ </table>
+ </td>
+ </tr>
+</table>
+<!-- ==================== CLASS DESCRIPTION ==================== -->
+<h1 class="epydoc">Class NotifierError</h1><p class="nomargin-top"><span class="codelink"><a href="pyinotify-pysrc.html#NotifierError">source&nbsp;code</a></span></p>
+<center>
+<center> <map id="uml_class_diagram_for_pyinotif_8" name="uml_class_diagram_for_pyinotif_8">
+<area shape="rect" href="pyinotify.NotifierError-class.html#__init__" title="x.__init__(...) initializes x; see x.__class__.__doc__ for signature" alt="" coords="44,447,145,465"/>
+<area shape="rect" href="pyinotify.NotifierError-class.html" title="Notifier Exception." alt="" coords="43,421,147,467"/>
+<area shape="rect" href="pyinotify.PyinotifyError-class.html" title="Indicates exceptions raised by a Pyinotify class." alt="" coords="53,360,136,392"/>
+<area shape="rect" href="javascript:void(0);" title="exceptions.BaseException.args" alt="" coords="17,28,172,47"/>
+<area shape="rect" href="javascript:void(0);" title="exceptions.BaseException.message" alt="" coords="17,47,172,65"/>
+<area shape="rect" href="javascript:void(0);" title="x.__delattr__(&#39;name&#39;) &lt;==&gt; del x.name" alt="" coords="17,68,172,87"/>
+<area shape="rect" href="javascript:void(0);" title="x.__getattribute__(&#39;name&#39;) &lt;==&gt; x.name" alt="" coords="17,87,172,105"/>
+<area shape="rect" href="javascript:void(0);" title="x[y]" alt="" coords="17,105,172,124"/>
+<area shape="rect" href="javascript:void(0);" title="x[i:j]" alt="" coords="17,124,172,143"/>
+<area shape="rect" href="javascript:void(0);" title="helper for pickle" alt="" coords="17,143,172,161"/>
+<area shape="rect" href="javascript:void(0);" title="repr(x)" alt="" coords="17,161,172,180"/>
+<area shape="rect" href="javascript:void(0);" title="x.__setattr__(&#39;name&#39;, value) &lt;==&gt; x.name = value" alt="" coords="17,180,172,199"/>
+<area shape="rect" href="javascript:void(0);" title="exceptions.BaseException.__setstate__" alt="" coords="17,199,172,217"/>
+<area shape="rect" href="javascript:void(0);" title="str(x)" alt="" coords="17,217,172,236"/>
+<area shape="rect" href="javascript:void(0);" title="exceptions.BaseException.__unicode__" alt="" coords="17,236,172,255"/>
+<area shape="rect" href="javascript:void(0);" title="Common base class for all exceptions" alt="" coords="16,11,173,256"/>
+<area shape="rect" href="javascript:void(0);" title="exceptions.Exception.__new__" alt="" coords="32,311,157,329"/>
+<area shape="rect" href="javascript:void(0);" title="Common base class for all non&#45;exit exceptions." alt="" coords="31,285,159,331"/>
+</map>
+ <img src="uml_class_diagram_for_pyinotif_8.gif" alt='' usemap="#uml_class_diagram_for_pyinotif_8" ismap="ismap" class="graph-without-title" />
+</center>
+</center>
+<hr />
+<p>Notifier Exception. Raised on Notifier error.</p>
+
+<!-- ==================== INSTANCE METHODS ==================== -->
+<a name="section-InstanceMethods"></a>
+<table class="summary" border="1" cellpadding="3"
+ cellspacing="0" width="100%" bgcolor="white">
+<tr bgcolor="#70b0f0" class="table-header">
+ <td colspan="2" class="table-header">
+ <table border="0" cellpadding="0" cellspacing="0" width="100%">
+ <tr valign="top">
+ <td align="left"><span class="table-header">Instance Methods</span></td>
+ <td align="right" valign="top"
+ ><span class="options">[<a href="#section-InstanceMethods"
+ class="privatelink" onclick="toggle_private();"
+ >hide private</a>]</span></td>
+ </tr>
+ </table>
+ </td>
+</tr>
+<tr>
+ <td width="15%" align="right" valign="top" class="summary">
+ <span class="summary-type">&nbsp;</span>
+ </td><td class="summary">
+ <table width="100%" cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td><span class="summary-sig"><a href="pyinotify.NotifierError-class.html#__init__" class="summary-sig-name">__init__</a>(<span class="summary-sig-arg">self</span>,
+ <span class="summary-sig-arg">err</span>)</span><br />
+ x.__init__(...) initializes x; see x.__class__.__doc__ for signature</td>
+ <td align="right" valign="top">
+ <span class="codelink"><a href="pyinotify-pysrc.html#NotifierError.__init__">source&nbsp;code</a></span>
+
+ </td>
+ </tr>
+ </table>
+
+ </td>
+ </tr>
+ <tr>
+ <td colspan="2" class="summary">
+ <p class="indent-wrapped-lines"><b>Inherited from <code>exceptions.Exception</code></b>:
+ <code>__new__</code>
+ </p>
+ <p class="indent-wrapped-lines"><b>Inherited from <code>exceptions.BaseException</code></b>:
+ <code>__delattr__</code>,
+ <code>__getattribute__</code>,
+ <code>__getitem__</code>,
+ <code>__getslice__</code>,
+ <code>__reduce__</code>,
+ <code>__repr__</code>,
+ <code>__setattr__</code>,
+ <code>__setstate__</code>,
+ <code>__str__</code>,
+ <code>__unicode__</code>
+ </p>
+ <p class="indent-wrapped-lines"><b>Inherited from <code>object</code></b>:
+ <code>__format__</code>,
+ <code>__hash__</code>,
+ <code>__reduce_ex__</code>,
+ <code>__sizeof__</code>,
+ <code>__subclasshook__</code>
+ </p>
+ </td>
+ </tr>
+</table>
+<!-- ==================== PROPERTIES ==================== -->
+<a name="section-Properties"></a>
+<table class="summary" border="1" cellpadding="3"
+ cellspacing="0" width="100%" bgcolor="white">
+<tr bgcolor="#70b0f0" class="table-header">
+ <td colspan="2" class="table-header">
+ <table border="0" cellpadding="0" cellspacing="0" width="100%">
+ <tr valign="top">
+ <td align="left"><span class="table-header">Properties</span></td>
+ <td align="right" valign="top"
+ ><span class="options">[<a href="#section-Properties"
+ class="privatelink" onclick="toggle_private();"
+ >hide private</a>]</span></td>
+ </tr>
+ </table>
+ </td>
+</tr>
+ <tr>
+ <td colspan="2" class="summary">
+ <p class="indent-wrapped-lines"><b>Inherited from <code>exceptions.BaseException</code></b>:
+ <code>args</code>,
+ <code>message</code>
+ </p>
+ <p class="indent-wrapped-lines"><b>Inherited from <code>object</code></b>:
+ <code>__class__</code>
+ </p>
+ </td>
+ </tr>
+</table>
+<!-- ==================== METHOD DETAILS ==================== -->
+<a name="section-MethodDetails"></a>
+<table class="details" border="1" cellpadding="3"
+ cellspacing="0" width="100%" bgcolor="white">
+<tr bgcolor="#70b0f0" class="table-header">
+ <td colspan="2" class="table-header">
+ <table border="0" cellpadding="0" cellspacing="0" width="100%">
+ <tr valign="top">
+ <td align="left"><span class="table-header">Method Details</span></td>
+ <td align="right" valign="top"
+ ><span class="options">[<a href="#section-MethodDetails"
+ class="privatelink" onclick="toggle_private();"
+ >hide private</a>]</span></td>
+ </tr>
+ </table>
+ </td>
+</tr>
+</table>
+<a name="__init__"></a>
+<div>
+<table class="details" border="1" cellpadding="3"
+ cellspacing="0" width="100%" bgcolor="white">
+<tr><td>
+ <table width="100%" cellpadding="0" cellspacing="0" border="0">
+ <tr valign="top"><td>
+ <h3 class="epydoc"><span class="sig"><span class="sig-name">__init__</span>(<span class="sig-arg">self</span>,
+ <span class="sig-arg">err</span>)</span>
+ <br /><em class="fname">(Constructor)</em>
+ </h3>
+ </td><td align="right" valign="top"
+ ><span class="codelink"><a href="pyinotify-pysrc.html#NotifierError.__init__">source&nbsp;code</a></span>&nbsp;
+ </td>
+ </tr></table>
+
+ <p>x.__init__(...) initializes x; see x.__class__.__doc__ for
+ signature</p>
+ <dl class="fields">
+ <dt>Parameters:</dt>
+ <dd><ul class="nomargin-top">
+ <li><strong class="pname"><code>err</code></strong> (string) - Exception string's description.</li>
+ </ul></dd>
+ <dt>Overrides:
+ object.__init__
+ </dt>
+ </dl>
+</td></tr></table>
+</div>
+<br />
+<!-- ==================== NAVIGATION BAR ==================== -->
+<table class="navbar" border="0" width="100%" cellpadding="0"
+ bgcolor="#a0c0ff" cellspacing="0">
+ <tr valign="middle">
+ <!-- Home link -->
+ <th>&nbsp;&nbsp;&nbsp;<a
+ href="pyinotify-module.html">Home</a>&nbsp;&nbsp;&nbsp;</th>
+
+ <!-- Tree link -->
+ <th>&nbsp;&nbsp;&nbsp;<a
+ href="module-tree.html">Trees</a>&nbsp;&nbsp;&nbsp;</th>
+
+ <!-- Index link -->
+ <th>&nbsp;&nbsp;&nbsp;<a
+ href="identifier-index.html">Indices</a>&nbsp;&nbsp;&nbsp;</th>
+
+ <!-- Help link -->
+ <th>&nbsp;&nbsp;&nbsp;<a
+ href="help.html">Help</a>&nbsp;&nbsp;&nbsp;</th>
+
+ <th class="navbar" width="100%"></th>
+ </tr>
+</table>
+<table border="0" cellpadding="0" cellspacing="0" width="100%%">
+ <tr>
+ <td align="left" class="footer">
+ Generated by Epydoc 3.0.1 on Wed Sep 15 21:46:49 2010
+ </td>
+ <td align="right" class="footer">
+ <a target="mainFrame" href="http://epydoc.sourceforge.net"
+ >http://epydoc.sourceforge.net</a>
+ </td>
+ </tr>
+</table>
+
+<script type="text/javascript">
+ <!--
+ // Private objects are initially displayed (because if
+ // javascript is turned off then we want them to be
+ // visible); but by default, we want to hide them. So hide
+ // them unless we have a cookie that says to show them.
+ checkCookie();
+ // -->
+</script>
+</body>
+</html>
diff --git a/python2/docstrings/pyinotify.PrintAllEvents-class.html b/python2/docstrings/pyinotify.PrintAllEvents-class.html
new file mode 100644
index 0000000..4290fed
--- /dev/null
+++ b/python2/docstrings/pyinotify.PrintAllEvents-class.html
@@ -0,0 +1,337 @@
+<?xml version="1.0" encoding="ascii"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+ <title>pyinotify.PrintAllEvents</title>
+ <link rel="stylesheet" href="epydoc.css" type="text/css" />
+ <script type="text/javascript" src="epydoc.js"></script>
+</head>
+
+<body bgcolor="white" text="black" link="blue" vlink="#204080"
+ alink="#204080">
+<!-- ==================== NAVIGATION BAR ==================== -->
+<table class="navbar" border="0" width="100%" cellpadding="0"
+ bgcolor="#a0c0ff" cellspacing="0">
+ <tr valign="middle">
+ <!-- Home link -->
+ <th>&nbsp;&nbsp;&nbsp;<a
+ href="pyinotify-module.html">Home</a>&nbsp;&nbsp;&nbsp;</th>
+
+ <!-- Tree link -->
+ <th>&nbsp;&nbsp;&nbsp;<a
+ href="module-tree.html">Trees</a>&nbsp;&nbsp;&nbsp;</th>
+
+ <!-- Index link -->
+ <th>&nbsp;&nbsp;&nbsp;<a
+ href="identifier-index.html">Indices</a>&nbsp;&nbsp;&nbsp;</th>
+
+ <!-- Help link -->
+ <th>&nbsp;&nbsp;&nbsp;<a
+ href="help.html">Help</a>&nbsp;&nbsp;&nbsp;</th>
+
+ <th class="navbar" width="100%"></th>
+ </tr>
+</table>
+<table width="100%" cellpadding="0" cellspacing="0">
+ <tr valign="top">
+ <td width="100%">
+ <span class="breadcrumbs">
+ <a href="pyinotify-module.html">Module&nbsp;pyinotify</a> ::
+ Class&nbsp;PrintAllEvents
+ </span>
+ </td>
+ <td>
+ <table cellpadding="0" cellspacing="0">
+ <!-- hide/show private -->
+ <tr><td align="right"><span class="options">[<a href="javascript:void(0);" class="privatelink"
+ onclick="toggle_private();">hide&nbsp;private</a>]</span></td></tr>
+ <tr><td align="right"><span class="options"
+ >[<a href="frames.html" target="_top">frames</a
+ >]&nbsp;|&nbsp;<a href="pyinotify.PrintAllEvents-class.html"
+ target="_top">no&nbsp;frames</a>]</span></td></tr>
+ </table>
+ </td>
+ </tr>
+</table>
+<!-- ==================== CLASS DESCRIPTION ==================== -->
+<h1 class="epydoc">Class PrintAllEvents</h1><p class="nomargin-top"><span class="codelink"><a href="pyinotify-pysrc.html#PrintAllEvents">source&nbsp;code</a></span></p>
+<center>
+<center> <map id="uml_class_diagram_for_pyinotif_9" name="uml_class_diagram_for_pyinotif_9">
+<area shape="rect" href="pyinotify.PrintAllEvents-class.html#my_init" title="This method is called from ProcessEvent.__init__()." alt="" coords="55,255,217,273"/>
+<area shape="rect" href="pyinotify.PrintAllEvents-class.html#process_default" title="Writes event string representation to file object provided to my_init()." alt="" coords="55,273,217,292"/>
+<area shape="rect" href="pyinotify.PrintAllEvents-class.html" title="Dummy class used to print events strings representations." alt="" coords="53,229,219,293"/>
+<area shape="rect" href="pyinotify.ProcessEvent-class.html#pevent" title="pyinotify.ProcessEvent.pevent" alt="" coords="17,103,255,121"/>
+<area shape="rect" href="pyinotify.ProcessEvent-class.html#__init__" title="Enable chaining of ProcessEvent instances." alt="" coords="17,124,255,143"/>
+<area shape="rect" href="pyinotify.ProcessEvent-class.html#__call__" title="To behave like a functor the object must be callable." alt="" coords="17,143,255,161"/>
+<area shape="rect" href="pyinotify.ProcessEvent-class.html#nested_pevent" title="pyinotify.ProcessEvent.nested_pevent" alt="" coords="17,161,255,180"/>
+<area shape="rect" href="pyinotify.ProcessEvent-class.html#process_IN_Q_OVERFLOW" title="By default this method only reports warning messages, you can overredide it by subclassing ProcessEvent and implement your own process_IN_Q_OVERFLOW &#160;method." alt="" coords="17,180,255,199"/>
+<area shape="rect" href="pyinotify.ProcessEvent-class.html" title="Process events objects, can be specialized via subclassing, thus its behavior can be overriden:" alt="" coords="16,85,256,200"/>
+<area shape="rect" href="pyinotify._ProcessEvent-class.html#__repr__" title="repr(x)" alt="" coords="92,36,180,55"/>
+<area shape="rect" href="pyinotify._ProcessEvent-class.html" title="Abstract processing event class." alt="" coords="91,11,181,56"/>
+</map>
+ <img src="uml_class_diagram_for_pyinotif_9.gif" alt='' usemap="#uml_class_diagram_for_pyinotif_9" ismap="ismap" class="graph-without-title" />
+</center>
+</center>
+<hr />
+<p>Dummy class used to print events strings representations. For instance
+ this class is used from command line to print all received events to
+ stdout.</p>
+
+<!-- ==================== INSTANCE METHODS ==================== -->
+<a name="section-InstanceMethods"></a>
+<table class="summary" border="1" cellpadding="3"
+ cellspacing="0" width="100%" bgcolor="white">
+<tr bgcolor="#70b0f0" class="table-header">
+ <td colspan="2" class="table-header">
+ <table border="0" cellpadding="0" cellspacing="0" width="100%">
+ <tr valign="top">
+ <td align="left"><span class="table-header">Instance Methods</span></td>
+ <td align="right" valign="top"
+ ><span class="options">[<a href="#section-InstanceMethods"
+ class="privatelink" onclick="toggle_private();"
+ >hide private</a>]</span></td>
+ </tr>
+ </table>
+ </td>
+</tr>
+<tr>
+ <td width="15%" align="right" valign="top" class="summary">
+ <span class="summary-type">&nbsp;</span>
+ </td><td class="summary">
+ <table width="100%" cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td><span class="summary-sig"><a href="pyinotify.PrintAllEvents-class.html#my_init" class="summary-sig-name">my_init</a>(<span class="summary-sig-arg">self</span>,
+ <span class="summary-sig-arg">out</span>=<span class="summary-sig-default">None</span>)</span><br />
+ This method is called from ProcessEvent.__init__().</td>
+ <td align="right" valign="top">
+ <span class="codelink"><a href="pyinotify-pysrc.html#PrintAllEvents.my_init">source&nbsp;code</a></span>
+
+ </td>
+ </tr>
+ </table>
+
+ </td>
+ </tr>
+<tr>
+ <td width="15%" align="right" valign="top" class="summary">
+ <span class="summary-type">&nbsp;</span>
+ </td><td class="summary">
+ <table width="100%" cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td><span class="summary-sig"><a href="pyinotify.PrintAllEvents-class.html#process_default" class="summary-sig-name">process_default</a>(<span class="summary-sig-arg">self</span>,
+ <span class="summary-sig-arg">event</span>)</span><br />
+ Writes event string representation to file object provided to
+ my_init().</td>
+ <td align="right" valign="top">
+ <span class="codelink"><a href="pyinotify-pysrc.html#PrintAllEvents.process_default">source&nbsp;code</a></span>
+
+ </td>
+ </tr>
+ </table>
+
+ </td>
+ </tr>
+ <tr>
+ <td colspan="2" class="summary">
+ <p class="indent-wrapped-lines"><b>Inherited from <code><a href="pyinotify.ProcessEvent-class.html">ProcessEvent</a></code></b>:
+ <code><a href="pyinotify.ProcessEvent-class.html#__call__">__call__</a></code>,
+ <code><a href="pyinotify.ProcessEvent-class.html#__init__">__init__</a></code>,
+ <code><a href="pyinotify.ProcessEvent-class.html#nested_pevent">nested_pevent</a></code>,
+ <code><a href="pyinotify.ProcessEvent-class.html#process_IN_Q_OVERFLOW">process_IN_Q_OVERFLOW</a></code>
+ </p>
+ <p class="indent-wrapped-lines"><b>Inherited from <code><a href="pyinotify._ProcessEvent-class.html" onclick="show_private();">_ProcessEvent</a></code></b>:
+ <code><a href="pyinotify._ProcessEvent-class.html#__repr__">__repr__</a></code>
+ </p>
+ <p class="indent-wrapped-lines"><b>Inherited from <code>object</code></b>:
+ <code>__delattr__</code>,
+ <code>__format__</code>,
+ <code>__getattribute__</code>,
+ <code>__hash__</code>,
+ <code>__new__</code>,
+ <code>__reduce__</code>,
+ <code>__reduce_ex__</code>,
+ <code>__setattr__</code>,
+ <code>__sizeof__</code>,
+ <code>__str__</code>,
+ <code>__subclasshook__</code>
+ </p>
+ </td>
+ </tr>
+</table>
+<!-- ==================== CLASS VARIABLES ==================== -->
+<a name="section-ClassVariables"></a>
+<table class="summary" border="1" cellpadding="3"
+ cellspacing="0" width="100%" bgcolor="white">
+<tr bgcolor="#70b0f0" class="table-header">
+ <td colspan="2" class="table-header">
+ <table border="0" cellpadding="0" cellspacing="0" width="100%">
+ <tr valign="top">
+ <td align="left"><span class="table-header">Class Variables</span></td>
+ <td align="right" valign="top"
+ ><span class="options">[<a href="#section-ClassVariables"
+ class="privatelink" onclick="toggle_private();"
+ >hide private</a>]</span></td>
+ </tr>
+ </table>
+ </td>
+</tr>
+ <tr>
+ <td colspan="2" class="summary">
+ <p class="indent-wrapped-lines"><b>Inherited from <code><a href="pyinotify.ProcessEvent-class.html">ProcessEvent</a></code></b>:
+ <code><a href="pyinotify.ProcessEvent-class.html#pevent">pevent</a></code>
+ </p>
+ </td>
+ </tr>
+</table>
+<!-- ==================== PROPERTIES ==================== -->
+<a name="section-Properties"></a>
+<table class="summary" border="1" cellpadding="3"
+ cellspacing="0" width="100%" bgcolor="white">
+<tr bgcolor="#70b0f0" class="table-header">
+ <td colspan="2" class="table-header">
+ <table border="0" cellpadding="0" cellspacing="0" width="100%">
+ <tr valign="top">
+ <td align="left"><span class="table-header">Properties</span></td>
+ <td align="right" valign="top"
+ ><span class="options">[<a href="#section-Properties"
+ class="privatelink" onclick="toggle_private();"
+ >hide private</a>]</span></td>
+ </tr>
+ </table>
+ </td>
+</tr>
+ <tr>
+ <td colspan="2" class="summary">
+ <p class="indent-wrapped-lines"><b>Inherited from <code>object</code></b>:
+ <code>__class__</code>
+ </p>
+ </td>
+ </tr>
+</table>
+<!-- ==================== METHOD DETAILS ==================== -->
+<a name="section-MethodDetails"></a>
+<table class="details" border="1" cellpadding="3"
+ cellspacing="0" width="100%" bgcolor="white">
+<tr bgcolor="#70b0f0" class="table-header">
+ <td colspan="2" class="table-header">
+ <table border="0" cellpadding="0" cellspacing="0" width="100%">
+ <tr valign="top">
+ <td align="left"><span class="table-header">Method Details</span></td>
+ <td align="right" valign="top"
+ ><span class="options">[<a href="#section-MethodDetails"
+ class="privatelink" onclick="toggle_private();"
+ >hide private</a>]</span></td>
+ </tr>
+ </table>
+ </td>
+</tr>
+</table>
+<a name="my_init"></a>
+<div>
+<table class="details" border="1" cellpadding="3"
+ cellspacing="0" width="100%" bgcolor="white">
+<tr><td>
+ <table width="100%" cellpadding="0" cellspacing="0" border="0">
+ <tr valign="top"><td>
+ <h3 class="epydoc"><span class="sig"><span class="sig-name">my_init</span>(<span class="sig-arg">self</span>,
+ <span class="sig-arg">out</span>=<span class="sig-default">None</span>)</span>
+ </h3>
+ </td><td align="right" valign="top"
+ ><span class="codelink"><a href="pyinotify-pysrc.html#PrintAllEvents.my_init">source&nbsp;code</a></span>&nbsp;
+ </td>
+ </tr></table>
+
+ <p>This method is called from ProcessEvent.__init__(). This method is
+ empty here and must be redefined to be useful. In effect, if you need to
+ specifically initialize your subclass' instance then you just have to
+ override this method in your subclass. Then all the keyworded arguments
+ passed to ProcessEvent.__init__() will be transmitted as parameters to
+ this method. Beware you MUST pass keyword arguments though.</p>
+ <dl class="fields">
+ <dt>Parameters:</dt>
+ <dd><ul class="nomargin-top">
+ <li><strong class="pname"><code>out</code></strong> (Object providing a valid file object interface.) - Where events will be written.</li>
+ </ul></dd>
+ <dt>Overrides:
+ <a href="pyinotify.ProcessEvent-class.html#my_init">ProcessEvent.my_init</a>
+ </dt>
+ </dl>
+</td></tr></table>
+</div>
+<a name="process_default"></a>
+<div>
+<table class="details" border="1" cellpadding="3"
+ cellspacing="0" width="100%" bgcolor="white">
+<tr><td>
+ <table width="100%" cellpadding="0" cellspacing="0" border="0">
+ <tr valign="top"><td>
+ <h3 class="epydoc"><span class="sig"><span class="sig-name">process_default</span>(<span class="sig-arg">self</span>,
+ <span class="sig-arg">event</span>)</span>
+ </h3>
+ </td><td align="right" valign="top"
+ ><span class="codelink"><a href="pyinotify-pysrc.html#PrintAllEvents.process_default">source&nbsp;code</a></span>&nbsp;
+ </td>
+ </tr></table>
+
+ <p>Writes event string representation to file object provided to
+ my_init().</p>
+ <dl class="fields">
+ <dt>Parameters:</dt>
+ <dd><ul class="nomargin-top">
+ <li><strong class="pname"><code>event</code></strong> (Event instance) - Event to be processed. Can be of any type of events but
+ IN_Q_OVERFLOW events (see method process_IN_Q_OVERFLOW).</li>
+ </ul></dd>
+ <dt>Overrides:
+ <a href="pyinotify.ProcessEvent-class.html#process_default">ProcessEvent.process_default</a>
+ </dt>
+ </dl>
+</td></tr></table>
+</div>
+<br />
+<!-- ==================== NAVIGATION BAR ==================== -->
+<table class="navbar" border="0" width="100%" cellpadding="0"
+ bgcolor="#a0c0ff" cellspacing="0">
+ <tr valign="middle">
+ <!-- Home link -->
+ <th>&nbsp;&nbsp;&nbsp;<a
+ href="pyinotify-module.html">Home</a>&nbsp;&nbsp;&nbsp;</th>
+
+ <!-- Tree link -->
+ <th>&nbsp;&nbsp;&nbsp;<a
+ href="module-tree.html">Trees</a>&nbsp;&nbsp;&nbsp;</th>
+
+ <!-- Index link -->
+ <th>&nbsp;&nbsp;&nbsp;<a
+ href="identifier-index.html">Indices</a>&nbsp;&nbsp;&nbsp;</th>
+
+ <!-- Help link -->
+ <th>&nbsp;&nbsp;&nbsp;<a
+ href="help.html">Help</a>&nbsp;&nbsp;&nbsp;</th>
+
+ <th class="navbar" width="100%"></th>
+ </tr>
+</table>
+<table border="0" cellpadding="0" cellspacing="0" width="100%%">
+ <tr>
+ <td align="left" class="footer">
+ Generated by Epydoc 3.0.1 on Wed Sep 15 21:46:49 2010
+ </td>
+ <td align="right" class="footer">
+ <a target="mainFrame" href="http://epydoc.sourceforge.net"
+ >http://epydoc.sourceforge.net</a>
+ </td>
+ </tr>
+</table>
+
+<script type="text/javascript">
+ <!--
+ // Private objects are initially displayed (because if
+ // javascript is turned off then we want them to be
+ // visible); but by default, we want to hide them. So hide
+ // them unless we have a cookie that says to show them.
+ checkCookie();
+ // -->
+</script>
+</body>
+</html>
diff --git a/python2/docstrings/pyinotify.ProcessEvent-class.html b/python2/docstrings/pyinotify.ProcessEvent-class.html
new file mode 100644
index 0000000..494659f
--- /dev/null
+++ b/python2/docstrings/pyinotify.ProcessEvent-class.html
@@ -0,0 +1,538 @@
+<?xml version="1.0" encoding="ascii"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+ <title>pyinotify.ProcessEvent</title>
+ <link rel="stylesheet" href="epydoc.css" type="text/css" />
+ <script type="text/javascript" src="epydoc.js"></script>
+</head>
+
+<body bgcolor="white" text="black" link="blue" vlink="#204080"
+ alink="#204080">
+<!-- ==================== NAVIGATION BAR ==================== -->
+<table class="navbar" border="0" width="100%" cellpadding="0"
+ bgcolor="#a0c0ff" cellspacing="0">
+ <tr valign="middle">
+ <!-- Home link -->
+ <th>&nbsp;&nbsp;&nbsp;<a
+ href="pyinotify-module.html">Home</a>&nbsp;&nbsp;&nbsp;</th>
+
+ <!-- Tree link -->
+ <th>&nbsp;&nbsp;&nbsp;<a
+ href="module-tree.html">Trees</a>&nbsp;&nbsp;&nbsp;</th>
+
+ <!-- Index link -->
+ <th>&nbsp;&nbsp;&nbsp;<a
+ href="identifier-index.html">Indices</a>&nbsp;&nbsp;&nbsp;</th>
+
+ <!-- Help link -->
+ <th>&nbsp;&nbsp;&nbsp;<a
+ href="help.html">Help</a>&nbsp;&nbsp;&nbsp;</th>
+
+ <th class="navbar" width="100%"></th>
+ </tr>
+</table>
+<table width="100%" cellpadding="0" cellspacing="0">
+ <tr valign="top">
+ <td width="100%">
+ <span class="breadcrumbs">
+ <a href="pyinotify-module.html">Module&nbsp;pyinotify</a> ::
+ Class&nbsp;ProcessEvent
+ </span>
+ </td>
+ <td>
+ <table cellpadding="0" cellspacing="0">
+ <!-- hide/show private -->
+ <tr><td align="right"><span class="options">[<a href="javascript:void(0);" class="privatelink"
+ onclick="toggle_private();">hide&nbsp;private</a>]</span></td></tr>
+ <tr><td align="right"><span class="options"
+ >[<a href="frames.html" target="_top">frames</a
+ >]&nbsp;|&nbsp;<a href="pyinotify.ProcessEvent-class.html"
+ target="_top">no&nbsp;frames</a>]</span></td></tr>
+ </table>
+ </td>
+ </tr>
+</table>
+<!-- ==================== CLASS DESCRIPTION ==================== -->
+<h1 class="epydoc">Class ProcessEvent</h1><p class="nomargin-top"><span class="codelink"><a href="pyinotify-pysrc.html#ProcessEvent">source&nbsp;code</a></span></p>
+<center>
+<center> <map id="uml_class_diagram_for_pyinotif_10" name="uml_class_diagram_for_pyinotif_10">
+<area shape="rect" href="pyinotify.ProcessEvent-class.html#pevent" title="pyinotify.ProcessEvent.pevent" alt="" coords="48,103,285,121"/>
+<area shape="rect" href="pyinotify.ProcessEvent-class.html#__init__" title="Enable chaining of ProcessEvent instances." alt="" coords="48,124,285,143"/>
+<area shape="rect" href="pyinotify.ProcessEvent-class.html#my_init" title="This method is called from ProcessEvent.__init__()." alt="" coords="48,143,285,161"/>
+<area shape="rect" href="pyinotify.ProcessEvent-class.html#__call__" title="To behave like a functor the object must be callable." alt="" coords="48,161,285,180"/>
+<area shape="rect" href="pyinotify.ProcessEvent-class.html#nested_pevent" title="pyinotify.ProcessEvent.nested_pevent" alt="" coords="48,180,285,199"/>
+<area shape="rect" href="pyinotify.ProcessEvent-class.html#process_IN_Q_OVERFLOW" title="By default this method only reports warning messages, you can overredide it by subclassing ProcessEvent and implement your own process_IN_Q_OVERFLOW &#160;method." alt="" coords="48,199,285,217"/>
+<area shape="rect" href="pyinotify.ProcessEvent-class.html#process_default" title="Default processing event method." alt="" coords="48,217,285,236"/>
+<area shape="rect" href="pyinotify.ProcessEvent-class.html" title="Process events objects, can be specialized via subclassing, thus its behavior can be overriden:" alt="" coords="47,85,287,237"/>
+<area shape="rect" href="pyinotify.ChainIfTrue-class.html" title="Makes conditional chaining depending on the result of the nested processing instance." alt="" coords="16,267,93,293"/>
+<area shape="rect" href="pyinotify.Stats-class.html" title="Compute and display trivial statistics about processed events." alt="" coords="144,267,189,293"/>
+<area shape="rect" href="pyinotify.PrintAllEvents-class.html" title="Dummy class used to print events strings representations." alt="" coords="240,267,336,293"/>
+<area shape="rect" href="pyinotify._ProcessEvent-class.html#__repr__" title="repr(x)" alt="" coords="123,36,211,55"/>
+<area shape="rect" href="pyinotify._ProcessEvent-class.html" title="Abstract processing event class." alt="" coords="121,11,212,56"/>
+</map>
+ <img src="uml_class_diagram_for_pyinotif_10.gif" alt='' usemap="#uml_class_diagram_for_pyinotif_10" ismap="ismap" class="graph-without-title" />
+</center>
+</center>
+<hr />
+<p>Process events objects, can be specialized via subclassing, thus its
+ behavior can be overriden:</p>
+ <p>Note: you should not override __init__ in your subclass instead define
+ a my_init() method, this method will be called automatically from the
+ constructor of this class with its optionals parameters.</p>
+ <ol start="1">
+ <li>
+ Provide specialized individual methods, e.g. process_IN_DELETE for
+ processing a precise type of event (e.g. IN_DELETE in this case).
+ </li>
+ <li>
+ Or/and provide methods for processing events by 'family', e.g.
+ process_IN_CLOSE method will process both IN_CLOSE_WRITE and
+ IN_CLOSE_NOWRITE events (if process_IN_CLOSE_WRITE and
+ process_IN_CLOSE_NOWRITE aren't defined though).
+ </li>
+ <li>
+ Or/and override process_default for catching and processing all the
+ remaining types of events.
+ </li>
+ </ol>
+
+<!-- ==================== INSTANCE METHODS ==================== -->
+<a name="section-InstanceMethods"></a>
+<table class="summary" border="1" cellpadding="3"
+ cellspacing="0" width="100%" bgcolor="white">
+<tr bgcolor="#70b0f0" class="table-header">
+ <td colspan="2" class="table-header">
+ <table border="0" cellpadding="0" cellspacing="0" width="100%">
+ <tr valign="top">
+ <td align="left"><span class="table-header">Instance Methods</span></td>
+ <td align="right" valign="top"
+ ><span class="options">[<a href="#section-InstanceMethods"
+ class="privatelink" onclick="toggle_private();"
+ >hide private</a>]</span></td>
+ </tr>
+ </table>
+ </td>
+</tr>
+<tr>
+ <td width="15%" align="right" valign="top" class="summary">
+ <span class="summary-type">&nbsp;</span>
+ </td><td class="summary">
+ <table width="100%" cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td><span class="summary-sig"><a href="pyinotify.ProcessEvent-class.html#__init__" class="summary-sig-name">__init__</a>(<span class="summary-sig-arg">self</span>,
+ <span class="summary-sig-arg">pevent</span>=<span class="summary-sig-default">None</span>,
+ <span class="summary-sig-arg">**kargs</span>)</span><br />
+ Enable chaining of ProcessEvent instances.</td>
+ <td align="right" valign="top">
+ <span class="codelink"><a href="pyinotify-pysrc.html#ProcessEvent.__init__">source&nbsp;code</a></span>
+
+ </td>
+ </tr>
+ </table>
+
+ </td>
+ </tr>
+<tr>
+ <td width="15%" align="right" valign="top" class="summary">
+ <span class="summary-type">&nbsp;</span>
+ </td><td class="summary">
+ <table width="100%" cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td><span class="summary-sig"><a href="pyinotify.ProcessEvent-class.html#my_init" class="summary-sig-name">my_init</a>(<span class="summary-sig-arg">self</span>,
+ <span class="summary-sig-arg">**kargs</span>)</span><br />
+ This method is called from ProcessEvent.__init__().</td>
+ <td align="right" valign="top">
+ <span class="codelink"><a href="pyinotify-pysrc.html#ProcessEvent.my_init">source&nbsp;code</a></span>
+
+ </td>
+ </tr>
+ </table>
+
+ </td>
+ </tr>
+<tr>
+ <td width="15%" align="right" valign="top" class="summary">
+ <span class="summary-type">bool</span>
+ </td><td class="summary">
+ <table width="100%" cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td><span class="summary-sig"><a href="pyinotify.ProcessEvent-class.html#__call__" class="summary-sig-name">__call__</a>(<span class="summary-sig-arg">self</span>,
+ <span class="summary-sig-arg">event</span>)</span><br />
+ To behave like a functor the object must be callable.</td>
+ <td align="right" valign="top">
+ <span class="codelink"><a href="pyinotify-pysrc.html#ProcessEvent.__call__">source&nbsp;code</a></span>
+
+ </td>
+ </tr>
+ </table>
+
+ </td>
+ </tr>
+<tr>
+ <td width="15%" align="right" valign="top" class="summary">
+ <span class="summary-type">&nbsp;</span>
+ </td><td class="summary">
+ <table width="100%" cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td><span class="summary-sig"><a name="nested_pevent"></a><span class="summary-sig-name">nested_pevent</span>(<span class="summary-sig-arg">self</span>)</span></td>
+ <td align="right" valign="top">
+ <span class="codelink"><a href="pyinotify-pysrc.html#ProcessEvent.nested_pevent">source&nbsp;code</a></span>
+
+ </td>
+ </tr>
+ </table>
+
+ </td>
+ </tr>
+<tr>
+ <td width="15%" align="right" valign="top" class="summary">
+ <span class="summary-type">&nbsp;</span>
+ </td><td class="summary">
+ <table width="100%" cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td><span class="summary-sig"><a href="pyinotify.ProcessEvent-class.html#process_IN_Q_OVERFLOW" class="summary-sig-name">process_IN_Q_OVERFLOW</a>(<span class="summary-sig-arg">self</span>,
+ <span class="summary-sig-arg">event</span>)</span><br />
+ By default this method only reports warning messages, you can
+ overredide it by subclassing ProcessEvent and implement your own
+ process_IN_Q_OVERFLOW method.</td>
+ <td align="right" valign="top">
+ <span class="codelink"><a href="pyinotify-pysrc.html#ProcessEvent.process_IN_Q_OVERFLOW">source&nbsp;code</a></span>
+
+ </td>
+ </tr>
+ </table>
+
+ </td>
+ </tr>
+<tr>
+ <td width="15%" align="right" valign="top" class="summary">
+ <span class="summary-type">&nbsp;</span>
+ </td><td class="summary">
+ <table width="100%" cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td><span class="summary-sig"><a href="pyinotify.ProcessEvent-class.html#process_default" class="summary-sig-name">process_default</a>(<span class="summary-sig-arg">self</span>,
+ <span class="summary-sig-arg">event</span>)</span><br />
+ Default processing event method.</td>
+ <td align="right" valign="top">
+ <span class="codelink"><a href="pyinotify-pysrc.html#ProcessEvent.process_default">source&nbsp;code</a></span>
+
+ </td>
+ </tr>
+ </table>
+
+ </td>
+ </tr>
+ <tr>
+ <td colspan="2" class="summary">
+ <p class="indent-wrapped-lines"><b>Inherited from <code><a href="pyinotify._ProcessEvent-class.html" onclick="show_private();">_ProcessEvent</a></code></b>:
+ <code><a href="pyinotify._ProcessEvent-class.html#__repr__">__repr__</a></code>
+ </p>
+ <p class="indent-wrapped-lines"><b>Inherited from <code>object</code></b>:
+ <code>__delattr__</code>,
+ <code>__format__</code>,
+ <code>__getattribute__</code>,
+ <code>__hash__</code>,
+ <code>__new__</code>,
+ <code>__reduce__</code>,
+ <code>__reduce_ex__</code>,
+ <code>__setattr__</code>,
+ <code>__sizeof__</code>,
+ <code>__str__</code>,
+ <code>__subclasshook__</code>
+ </p>
+ </td>
+ </tr>
+</table>
+<!-- ==================== CLASS VARIABLES ==================== -->
+<a name="section-ClassVariables"></a>
+<table class="summary" border="1" cellpadding="3"
+ cellspacing="0" width="100%" bgcolor="white">
+<tr bgcolor="#70b0f0" class="table-header">
+ <td colspan="2" class="table-header">
+ <table border="0" cellpadding="0" cellspacing="0" width="100%">
+ <tr valign="top">
+ <td align="left"><span class="table-header">Class Variables</span></td>
+ <td align="right" valign="top"
+ ><span class="options">[<a href="#section-ClassVariables"
+ class="privatelink" onclick="toggle_private();"
+ >hide private</a>]</span></td>
+ </tr>
+ </table>
+ </td>
+</tr>
+<tr>
+ <td width="15%" align="right" valign="top" class="summary">
+ <span class="summary-type">&nbsp;</span>
+ </td><td class="summary">
+ <a name="pevent"></a><span class="summary-name">pevent</span> = <code title="None">None</code>
+ </td>
+ </tr>
+</table>
+<!-- ==================== PROPERTIES ==================== -->
+<a name="section-Properties"></a>
+<table class="summary" border="1" cellpadding="3"
+ cellspacing="0" width="100%" bgcolor="white">
+<tr bgcolor="#70b0f0" class="table-header">
+ <td colspan="2" class="table-header">
+ <table border="0" cellpadding="0" cellspacing="0" width="100%">
+ <tr valign="top">
+ <td align="left"><span class="table-header">Properties</span></td>
+ <td align="right" valign="top"
+ ><span class="options">[<a href="#section-Properties"
+ class="privatelink" onclick="toggle_private();"
+ >hide private</a>]</span></td>
+ </tr>
+ </table>
+ </td>
+</tr>
+ <tr>
+ <td colspan="2" class="summary">
+ <p class="indent-wrapped-lines"><b>Inherited from <code>object</code></b>:
+ <code>__class__</code>
+ </p>
+ </td>
+ </tr>
+</table>
+<!-- ==================== METHOD DETAILS ==================== -->
+<a name="section-MethodDetails"></a>
+<table class="details" border="1" cellpadding="3"
+ cellspacing="0" width="100%" bgcolor="white">
+<tr bgcolor="#70b0f0" class="table-header">
+ <td colspan="2" class="table-header">
+ <table border="0" cellpadding="0" cellspacing="0" width="100%">
+ <tr valign="top">
+ <td align="left"><span class="table-header">Method Details</span></td>
+ <td align="right" valign="top"
+ ><span class="options">[<a href="#section-MethodDetails"
+ class="privatelink" onclick="toggle_private();"
+ >hide private</a>]</span></td>
+ </tr>
+ </table>
+ </td>
+</tr>
+</table>
+<a name="__init__"></a>
+<div>
+<table class="details" border="1" cellpadding="3"
+ cellspacing="0" width="100%" bgcolor="white">
+<tr><td>
+ <table width="100%" cellpadding="0" cellspacing="0" border="0">
+ <tr valign="top"><td>
+ <h3 class="epydoc"><span class="sig"><span class="sig-name">__init__</span>(<span class="sig-arg">self</span>,
+ <span class="sig-arg">pevent</span>=<span class="sig-default">None</span>,
+ <span class="sig-arg">**kargs</span>)</span>
+ <br /><em class="fname">(Constructor)</em>
+ </h3>
+ </td><td align="right" valign="top"
+ ><span class="codelink"><a href="pyinotify-pysrc.html#ProcessEvent.__init__">source&nbsp;code</a></span>&nbsp;
+ </td>
+ </tr></table>
+
+ <p>Enable chaining of ProcessEvent instances.</p>
+ <dl class="fields">
+ <dt>Parameters:</dt>
+ <dd><ul class="nomargin-top">
+ <li><strong class="pname"><code>pevent</code></strong> (callable) - Optional callable object, will be called on event processing
+ (before self).</li>
+ <li><strong class="pname"><code>kargs</code></strong> (dict) - This constructor is implemented as a template method delegating
+ its optionals keyworded arguments to the method my_init().</li>
+ </ul></dd>
+ <dt>Overrides:
+ object.__init__
+ </dt>
+ </dl>
+</td></tr></table>
+</div>
+<a name="my_init"></a>
+<div>
+<table class="details" border="1" cellpadding="3"
+ cellspacing="0" width="100%" bgcolor="white">
+<tr><td>
+ <table width="100%" cellpadding="0" cellspacing="0" border="0">
+ <tr valign="top"><td>
+ <h3 class="epydoc"><span class="sig"><span class="sig-name">my_init</span>(<span class="sig-arg">self</span>,
+ <span class="sig-arg">**kargs</span>)</span>
+ </h3>
+ </td><td align="right" valign="top"
+ ><span class="codelink"><a href="pyinotify-pysrc.html#ProcessEvent.my_init">source&nbsp;code</a></span>&nbsp;
+ </td>
+ </tr></table>
+
+ <p>This method is called from ProcessEvent.__init__(). This method is
+ empty here and must be redefined to be useful. In effect, if you need to
+ specifically initialize your subclass' instance then you just have to
+ override this method in your subclass. Then all the keyworded arguments
+ passed to ProcessEvent.__init__() will be transmitted as parameters to
+ this method. Beware you MUST pass keyword arguments though.</p>
+ <dl class="fields">
+ <dt>Parameters:</dt>
+ <dd><ul class="nomargin-top">
+ <li><strong class="pname"><code>kargs</code></strong> (dict) - optional delegated arguments from __init__().</li>
+ </ul></dd>
+ </dl>
+</td></tr></table>
+</div>
+<a name="__call__"></a>
+<div>
+<table class="details" border="1" cellpadding="3"
+ cellspacing="0" width="100%" bgcolor="white">
+<tr><td>
+ <table width="100%" cellpadding="0" cellspacing="0" border="0">
+ <tr valign="top"><td>
+ <h3 class="epydoc"><span class="sig"><span class="sig-name">__call__</span>(<span class="sig-arg">self</span>,
+ <span class="sig-arg">event</span>)</span>
+ <br /><em class="fname">(Call operator)</em>
+ </h3>
+ </td><td align="right" valign="top"
+ ><span class="codelink"><a href="pyinotify-pysrc.html#ProcessEvent.__call__">source&nbsp;code</a></span>&nbsp;
+ </td>
+ </tr></table>
+
+ <p>To behave like a functor the object must be callable. This method is a
+ dispatch method. Its lookup order is:</p>
+ <ol start="1">
+ <li>
+ process_MASKNAME method
+ </li>
+ <li>
+ process_FAMILY_NAME method
+ </li>
+ <li>
+ otherwise calls process_default
+ </li>
+ </ol>
+ <dl class="fields">
+ <dt>Parameters:</dt>
+ <dd><ul class="nomargin-top">
+ <li><strong class="pname"><code>event</code></strong> - Event to be processed.</li>
+ </ul></dd>
+ <dt>Returns: bool</dt>
+ <dd>By convention when used from the ProcessEvent class:
+ <ul>
+ <li>
+ Returning False or None (default value) means keep on
+ executing next chained functors (see chain.py example).
+ </li>
+ <li>
+ Returning True instead means do not execute next processing
+ functions.
+ </li>
+ </ul></dd>
+ <dt>Raises:</dt>
+ <dd><ul class="nomargin-top">
+ <li><code><strong class='fraise'><a href="pyinotify.ProcessEventError-class.html">ProcessEventError</a></strong></code> - Event object undispatchable, unknown event.</li>
+ </ul></dd>
+ <dt>Overrides:
+ <a href="pyinotify._ProcessEvent-class.html#__call__">_ProcessEvent.__call__</a>
+ <dd><em class="note">(inherited documentation)</em></dd>
+ </dt>
+ </dl>
+</td></tr></table>
+</div>
+<a name="process_IN_Q_OVERFLOW"></a>
+<div>
+<table class="details" border="1" cellpadding="3"
+ cellspacing="0" width="100%" bgcolor="white">
+<tr><td>
+ <table width="100%" cellpadding="0" cellspacing="0" border="0">
+ <tr valign="top"><td>
+ <h3 class="epydoc"><span class="sig"><span class="sig-name">process_IN_Q_OVERFLOW</span>(<span class="sig-arg">self</span>,
+ <span class="sig-arg">event</span>)</span>
+ </h3>
+ </td><td align="right" valign="top"
+ ><span class="codelink"><a href="pyinotify-pysrc.html#ProcessEvent.process_IN_Q_OVERFLOW">source&nbsp;code</a></span>&nbsp;
+ </td>
+ </tr></table>
+
+ <p>By default this method only reports warning messages, you can
+ overredide it by subclassing ProcessEvent and implement your own
+ process_IN_Q_OVERFLOW method. The actions you can take on receiving this
+ event is either to update the variable max_queued_events in order to
+ handle more simultaneous events or to modify your code in order to
+ accomplish a better filtering diminishing the number of raised events.
+ Because this method is defined, IN_Q_OVERFLOW will never get transmitted
+ as arguments to process_default calls.</p>
+ <dl class="fields">
+ <dt>Parameters:</dt>
+ <dd><ul class="nomargin-top">
+ <li><strong class="pname"><code>event</code></strong> (dict) - IN_Q_OVERFLOW event.</li>
+ </ul></dd>
+ </dl>
+</td></tr></table>
+</div>
+<a name="process_default"></a>
+<div>
+<table class="details" border="1" cellpadding="3"
+ cellspacing="0" width="100%" bgcolor="white">
+<tr><td>
+ <table width="100%" cellpadding="0" cellspacing="0" border="0">
+ <tr valign="top"><td>
+ <h3 class="epydoc"><span class="sig"><span class="sig-name">process_default</span>(<span class="sig-arg">self</span>,
+ <span class="sig-arg">event</span>)</span>
+ </h3>
+ </td><td align="right" valign="top"
+ ><span class="codelink"><a href="pyinotify-pysrc.html#ProcessEvent.process_default">source&nbsp;code</a></span>&nbsp;
+ </td>
+ </tr></table>
+
+ <p>Default processing event method. By default does nothing. Subclass
+ ProcessEvent and redefine this method in order to modify its
+ behavior.</p>
+ <dl class="fields">
+ <dt>Parameters:</dt>
+ <dd><ul class="nomargin-top">
+ <li><strong class="pname"><code>event</code></strong> (Event instance) - Event to be processed. Can be of any type of events but
+ IN_Q_OVERFLOW events (see method process_IN_Q_OVERFLOW).</li>
+ </ul></dd>
+ </dl>
+</td></tr></table>
+</div>
+<br />
+<!-- ==================== NAVIGATION BAR ==================== -->
+<table class="navbar" border="0" width="100%" cellpadding="0"
+ bgcolor="#a0c0ff" cellspacing="0">
+ <tr valign="middle">
+ <!-- Home link -->
+ <th>&nbsp;&nbsp;&nbsp;<a
+ href="pyinotify-module.html">Home</a>&nbsp;&nbsp;&nbsp;</th>
+
+ <!-- Tree link -->
+ <th>&nbsp;&nbsp;&nbsp;<a
+ href="module-tree.html">Trees</a>&nbsp;&nbsp;&nbsp;</th>
+
+ <!-- Index link -->
+ <th>&nbsp;&nbsp;&nbsp;<a
+ href="identifier-index.html">Indices</a>&nbsp;&nbsp;&nbsp;</th>
+
+ <!-- Help link -->
+ <th>&nbsp;&nbsp;&nbsp;<a
+ href="help.html">Help</a>&nbsp;&nbsp;&nbsp;</th>
+
+ <th class="navbar" width="100%"></th>
+ </tr>
+</table>
+<table border="0" cellpadding="0" cellspacing="0" width="100%%">
+ <tr>
+ <td align="left" class="footer">
+ Generated by Epydoc 3.0.1 on Wed Sep 15 21:46:49 2010
+ </td>
+ <td align="right" class="footer">
+ <a target="mainFrame" href="http://epydoc.sourceforge.net"
+ >http://epydoc.sourceforge.net</a>
+ </td>
+ </tr>
+</table>
+
+<script type="text/javascript">
+ <!--
+ // Private objects are initially displayed (because if
+ // javascript is turned off then we want them to be
+ // visible); but by default, we want to hide them. So hide
+ // them unless we have a cookie that says to show them.
+ checkCookie();
+ // -->
+</script>
+</body>
+</html>
diff --git a/python2/docstrings/pyinotify.ProcessEventError-class.html b/python2/docstrings/pyinotify.ProcessEventError-class.html
new file mode 100644
index 0000000..b6ae7bf
--- /dev/null
+++ b/python2/docstrings/pyinotify.ProcessEventError-class.html
@@ -0,0 +1,270 @@
+<?xml version="1.0" encoding="ascii"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+ <title>pyinotify.ProcessEventError</title>
+ <link rel="stylesheet" href="epydoc.css" type="text/css" />
+ <script type="text/javascript" src="epydoc.js"></script>
+</head>
+
+<body bgcolor="white" text="black" link="blue" vlink="#204080"
+ alink="#204080">
+<!-- ==================== NAVIGATION BAR ==================== -->
+<table class="navbar" border="0" width="100%" cellpadding="0"
+ bgcolor="#a0c0ff" cellspacing="0">
+ <tr valign="middle">
+ <!-- Home link -->
+ <th>&nbsp;&nbsp;&nbsp;<a
+ href="pyinotify-module.html">Home</a>&nbsp;&nbsp;&nbsp;</th>
+
+ <!-- Tree link -->
+ <th>&nbsp;&nbsp;&nbsp;<a
+ href="module-tree.html">Trees</a>&nbsp;&nbsp;&nbsp;</th>
+
+ <!-- Index link -->
+ <th>&nbsp;&nbsp;&nbsp;<a
+ href="identifier-index.html">Indices</a>&nbsp;&nbsp;&nbsp;</th>
+
+ <!-- Help link -->
+ <th>&nbsp;&nbsp;&nbsp;<a
+ href="help.html">Help</a>&nbsp;&nbsp;&nbsp;</th>
+
+ <th class="navbar" width="100%"></th>
+ </tr>
+</table>
+<table width="100%" cellpadding="0" cellspacing="0">
+ <tr valign="top">
+ <td width="100%">
+ <span class="breadcrumbs">
+ <a href="pyinotify-module.html">Module&nbsp;pyinotify</a> ::
+ Class&nbsp;ProcessEventError
+ </span>
+ </td>
+ <td>
+ <table cellpadding="0" cellspacing="0">
+ <!-- hide/show private -->
+ <tr><td align="right"><span class="options">[<a href="javascript:void(0);" class="privatelink"
+ onclick="toggle_private();">hide&nbsp;private</a>]</span></td></tr>
+ <tr><td align="right"><span class="options"
+ >[<a href="frames.html" target="_top">frames</a
+ >]&nbsp;|&nbsp;<a href="pyinotify.ProcessEventError-class.html"
+ target="_top">no&nbsp;frames</a>]</span></td></tr>
+ </table>
+ </td>
+ </tr>
+</table>
+<!-- ==================== CLASS DESCRIPTION ==================== -->
+<h1 class="epydoc">Class ProcessEventError</h1><p class="nomargin-top"><span class="codelink"><a href="pyinotify-pysrc.html#ProcessEventError">source&nbsp;code</a></span></p>
+<center>
+<center> <map id="uml_class_diagram_for_pyinotif_11" name="uml_class_diagram_for_pyinotif_11">
+<area shape="rect" href="pyinotify.ProcessEventError-class.html#__init__" title="x.__init__(...) initializes x; see x.__class__.__doc__ for signature" alt="" coords="40,447,149,465"/>
+<area shape="rect" href="pyinotify.ProcessEventError-class.html" title="ProcessEventError Exception." alt="" coords="39,421,151,467"/>
+<area shape="rect" href="pyinotify.PyinotifyError-class.html" title="Indicates exceptions raised by a Pyinotify class." alt="" coords="53,360,136,392"/>
+<area shape="rect" href="javascript:void(0);" title="exceptions.BaseException.args" alt="" coords="17,28,172,47"/>
+<area shape="rect" href="javascript:void(0);" title="exceptions.BaseException.message" alt="" coords="17,47,172,65"/>
+<area shape="rect" href="javascript:void(0);" title="x.__delattr__(&#39;name&#39;) &lt;==&gt; del x.name" alt="" coords="17,68,172,87"/>
+<area shape="rect" href="javascript:void(0);" title="x.__getattribute__(&#39;name&#39;) &lt;==&gt; x.name" alt="" coords="17,87,172,105"/>
+<area shape="rect" href="javascript:void(0);" title="x[y]" alt="" coords="17,105,172,124"/>
+<area shape="rect" href="javascript:void(0);" title="x[i:j]" alt="" coords="17,124,172,143"/>
+<area shape="rect" href="javascript:void(0);" title="helper for pickle" alt="" coords="17,143,172,161"/>
+<area shape="rect" href="javascript:void(0);" title="repr(x)" alt="" coords="17,161,172,180"/>
+<area shape="rect" href="javascript:void(0);" title="x.__setattr__(&#39;name&#39;, value) &lt;==&gt; x.name = value" alt="" coords="17,180,172,199"/>
+<area shape="rect" href="javascript:void(0);" title="exceptions.BaseException.__setstate__" alt="" coords="17,199,172,217"/>
+<area shape="rect" href="javascript:void(0);" title="str(x)" alt="" coords="17,217,172,236"/>
+<area shape="rect" href="javascript:void(0);" title="exceptions.BaseException.__unicode__" alt="" coords="17,236,172,255"/>
+<area shape="rect" href="javascript:void(0);" title="Common base class for all exceptions" alt="" coords="16,11,173,256"/>
+<area shape="rect" href="javascript:void(0);" title="exceptions.Exception.__new__" alt="" coords="32,311,157,329"/>
+<area shape="rect" href="javascript:void(0);" title="Common base class for all non&#45;exit exceptions." alt="" coords="31,285,159,331"/>
+</map>
+ <img src="uml_class_diagram_for_pyinotif_11.gif" alt='' usemap="#uml_class_diagram_for_pyinotif_11" ismap="ismap" class="graph-without-title" />
+</center>
+</center>
+<hr />
+<p>ProcessEventError Exception. Raised on ProcessEvent error.</p>
+
+<!-- ==================== INSTANCE METHODS ==================== -->
+<a name="section-InstanceMethods"></a>
+<table class="summary" border="1" cellpadding="3"
+ cellspacing="0" width="100%" bgcolor="white">
+<tr bgcolor="#70b0f0" class="table-header">
+ <td colspan="2" class="table-header">
+ <table border="0" cellpadding="0" cellspacing="0" width="100%">
+ <tr valign="top">
+ <td align="left"><span class="table-header">Instance Methods</span></td>
+ <td align="right" valign="top"
+ ><span class="options">[<a href="#section-InstanceMethods"
+ class="privatelink" onclick="toggle_private();"
+ >hide private</a>]</span></td>
+ </tr>
+ </table>
+ </td>
+</tr>
+<tr>
+ <td width="15%" align="right" valign="top" class="summary">
+ <span class="summary-type">&nbsp;</span>
+ </td><td class="summary">
+ <table width="100%" cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td><span class="summary-sig"><a href="pyinotify.ProcessEventError-class.html#__init__" class="summary-sig-name">__init__</a>(<span class="summary-sig-arg">self</span>,
+ <span class="summary-sig-arg">err</span>)</span><br />
+ x.__init__(...) initializes x; see x.__class__.__doc__ for signature</td>
+ <td align="right" valign="top">
+ <span class="codelink"><a href="pyinotify-pysrc.html#ProcessEventError.__init__">source&nbsp;code</a></span>
+
+ </td>
+ </tr>
+ </table>
+
+ </td>
+ </tr>
+ <tr>
+ <td colspan="2" class="summary">
+ <p class="indent-wrapped-lines"><b>Inherited from <code>exceptions.Exception</code></b>:
+ <code>__new__</code>
+ </p>
+ <p class="indent-wrapped-lines"><b>Inherited from <code>exceptions.BaseException</code></b>:
+ <code>__delattr__</code>,
+ <code>__getattribute__</code>,
+ <code>__getitem__</code>,
+ <code>__getslice__</code>,
+ <code>__reduce__</code>,
+ <code>__repr__</code>,
+ <code>__setattr__</code>,
+ <code>__setstate__</code>,
+ <code>__str__</code>,
+ <code>__unicode__</code>
+ </p>
+ <p class="indent-wrapped-lines"><b>Inherited from <code>object</code></b>:
+ <code>__format__</code>,
+ <code>__hash__</code>,
+ <code>__reduce_ex__</code>,
+ <code>__sizeof__</code>,
+ <code>__subclasshook__</code>
+ </p>
+ </td>
+ </tr>
+</table>
+<!-- ==================== PROPERTIES ==================== -->
+<a name="section-Properties"></a>
+<table class="summary" border="1" cellpadding="3"
+ cellspacing="0" width="100%" bgcolor="white">
+<tr bgcolor="#70b0f0" class="table-header">
+ <td colspan="2" class="table-header">
+ <table border="0" cellpadding="0" cellspacing="0" width="100%">
+ <tr valign="top">
+ <td align="left"><span class="table-header">Properties</span></td>
+ <td align="right" valign="top"
+ ><span class="options">[<a href="#section-Properties"
+ class="privatelink" onclick="toggle_private();"
+ >hide private</a>]</span></td>
+ </tr>
+ </table>
+ </td>
+</tr>
+ <tr>
+ <td colspan="2" class="summary">
+ <p class="indent-wrapped-lines"><b>Inherited from <code>exceptions.BaseException</code></b>:
+ <code>args</code>,
+ <code>message</code>
+ </p>
+ <p class="indent-wrapped-lines"><b>Inherited from <code>object</code></b>:
+ <code>__class__</code>
+ </p>
+ </td>
+ </tr>
+</table>
+<!-- ==================== METHOD DETAILS ==================== -->
+<a name="section-MethodDetails"></a>
+<table class="details" border="1" cellpadding="3"
+ cellspacing="0" width="100%" bgcolor="white">
+<tr bgcolor="#70b0f0" class="table-header">
+ <td colspan="2" class="table-header">
+ <table border="0" cellpadding="0" cellspacing="0" width="100%">
+ <tr valign="top">
+ <td align="left"><span class="table-header">Method Details</span></td>
+ <td align="right" valign="top"
+ ><span class="options">[<a href="#section-MethodDetails"
+ class="privatelink" onclick="toggle_private();"
+ >hide private</a>]</span></td>
+ </tr>
+ </table>
+ </td>
+</tr>
+</table>
+<a name="__init__"></a>
+<div>
+<table class="details" border="1" cellpadding="3"
+ cellspacing="0" width="100%" bgcolor="white">
+<tr><td>
+ <table width="100%" cellpadding="0" cellspacing="0" border="0">
+ <tr valign="top"><td>
+ <h3 class="epydoc"><span class="sig"><span class="sig-name">__init__</span>(<span class="sig-arg">self</span>,
+ <span class="sig-arg">err</span>)</span>
+ <br /><em class="fname">(Constructor)</em>
+ </h3>
+ </td><td align="right" valign="top"
+ ><span class="codelink"><a href="pyinotify-pysrc.html#ProcessEventError.__init__">source&nbsp;code</a></span>&nbsp;
+ </td>
+ </tr></table>
+
+ <p>x.__init__(...) initializes x; see x.__class__.__doc__ for
+ signature</p>
+ <dl class="fields">
+ <dt>Parameters:</dt>
+ <dd><ul class="nomargin-top">
+ <li><strong class="pname"><code>err</code></strong> (string) - Exception error description.</li>
+ </ul></dd>
+ <dt>Overrides:
+ object.__init__
+ </dt>
+ </dl>
+</td></tr></table>
+</div>
+<br />
+<!-- ==================== NAVIGATION BAR ==================== -->
+<table class="navbar" border="0" width="100%" cellpadding="0"
+ bgcolor="#a0c0ff" cellspacing="0">
+ <tr valign="middle">
+ <!-- Home link -->
+ <th>&nbsp;&nbsp;&nbsp;<a
+ href="pyinotify-module.html">Home</a>&nbsp;&nbsp;&nbsp;</th>
+
+ <!-- Tree link -->
+ <th>&nbsp;&nbsp;&nbsp;<a
+ href="module-tree.html">Trees</a>&nbsp;&nbsp;&nbsp;</th>
+
+ <!-- Index link -->
+ <th>&nbsp;&nbsp;&nbsp;<a
+ href="identifier-index.html">Indices</a>&nbsp;&nbsp;&nbsp;</th>
+
+ <!-- Help link -->
+ <th>&nbsp;&nbsp;&nbsp;<a
+ href="help.html">Help</a>&nbsp;&nbsp;&nbsp;</th>
+
+ <th class="navbar" width="100%"></th>
+ </tr>
+</table>
+<table border="0" cellpadding="0" cellspacing="0" width="100%%">
+ <tr>
+ <td align="left" class="footer">
+ Generated by Epydoc 3.0.1 on Wed Sep 15 21:46:50 2010
+ </td>
+ <td align="right" class="footer">
+ <a target="mainFrame" href="http://epydoc.sourceforge.net"
+ >http://epydoc.sourceforge.net</a>
+ </td>
+ </tr>
+</table>
+
+<script type="text/javascript">
+ <!--
+ // Private objects are initially displayed (because if
+ // javascript is turned off then we want them to be
+ // visible); but by default, we want to hide them. So hide
+ // them unless we have a cookie that says to show them.
+ checkCookie();
+ // -->
+</script>
+</body>
+</html>
diff --git a/python2/docstrings/pyinotify.PyinotifyError-class.html b/python2/docstrings/pyinotify.PyinotifyError-class.html
new file mode 100644
index 0000000..65f15e3
--- /dev/null
+++ b/python2/docstrings/pyinotify.PyinotifyError-class.html
@@ -0,0 +1,208 @@
+<?xml version="1.0" encoding="ascii"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+ <title>pyinotify.PyinotifyError</title>
+ <link rel="stylesheet" href="epydoc.css" type="text/css" />
+ <script type="text/javascript" src="epydoc.js"></script>
+</head>
+
+<body bgcolor="white" text="black" link="blue" vlink="#204080"
+ alink="#204080">
+<!-- ==================== NAVIGATION BAR ==================== -->
+<table class="navbar" border="0" width="100%" cellpadding="0"
+ bgcolor="#a0c0ff" cellspacing="0">
+ <tr valign="middle">
+ <!-- Home link -->
+ <th>&nbsp;&nbsp;&nbsp;<a
+ href="pyinotify-module.html">Home</a>&nbsp;&nbsp;&nbsp;</th>
+
+ <!-- Tree link -->
+ <th>&nbsp;&nbsp;&nbsp;<a
+ href="module-tree.html">Trees</a>&nbsp;&nbsp;&nbsp;</th>
+
+ <!-- Index link -->
+ <th>&nbsp;&nbsp;&nbsp;<a
+ href="identifier-index.html">Indices</a>&nbsp;&nbsp;&nbsp;</th>
+
+ <!-- Help link -->
+ <th>&nbsp;&nbsp;&nbsp;<a
+ href="help.html">Help</a>&nbsp;&nbsp;&nbsp;</th>
+
+ <th class="navbar" width="100%"></th>
+ </tr>
+</table>
+<table width="100%" cellpadding="0" cellspacing="0">
+ <tr valign="top">
+ <td width="100%">
+ <span class="breadcrumbs">
+ <a href="pyinotify-module.html">Module&nbsp;pyinotify</a> ::
+ Class&nbsp;PyinotifyError
+ </span>
+ </td>
+ <td>
+ <table cellpadding="0" cellspacing="0">
+ <!-- hide/show private -->
+ <tr><td align="right"><span class="options">[<a href="javascript:void(0);" class="privatelink"
+ onclick="toggle_private();">hide&nbsp;private</a>]</span></td></tr>
+ <tr><td align="right"><span class="options"
+ >[<a href="frames.html" target="_top">frames</a
+ >]&nbsp;|&nbsp;<a href="pyinotify.PyinotifyError-class.html"
+ target="_top">no&nbsp;frames</a>]</span></td></tr>
+ </table>
+ </td>
+ </tr>
+</table>
+<!-- ==================== CLASS DESCRIPTION ==================== -->
+<h1 class="epydoc">Class PyinotifyError</h1><p class="nomargin-top"><span class="codelink"><a href="pyinotify-pysrc.html#PyinotifyError">source&nbsp;code</a></span></p>
+<center>
+<center> <map id="uml_class_diagram_for_pyinotif_12" name="uml_class_diagram_for_pyinotif_12">
+<area shape="rect" href="pyinotify.PyinotifyError-class.html" title="Indicates exceptions raised by a Pyinotify class." alt="" coords="368,379,451,411"/>
+<area shape="rect" href="pyinotify.ProcessEventError-class.html" title="ProcessEventError Exception." alt="" coords="16,440,139,467"/>
+<area shape="rect" href="pyinotify.UnsupportedPythonVersionError-class.html" title="Raised on unsupported Python versions." alt="" coords="189,440,389,467"/>
+<area shape="rect" href="pyinotify.UnsupportedLibcVersionError-class.html" title="Raised when libc couldn&#39;t be loaded or when inotify functions werent provided." alt="" coords="440,440,621,467"/>
+<area shape="rect" href="pyinotify.NotifierError-class.html" title="Notifier Exception." alt="" coords="672,440,755,467"/>
+<area shape="rect" href="javascript:void(0);" title="x.__init__(...) initializes x; see x.__class__.__doc__ for signature" alt="" coords="347,311,472,329"/>
+<area shape="rect" href="javascript:void(0);" title="exceptions.Exception.__new__" alt="" coords="347,329,472,348"/>
+<area shape="rect" href="javascript:void(0);" title="Common base class for all non&#45;exit exceptions." alt="" coords="345,285,473,349"/>
+<area shape="rect" href="javascript:void(0);" title="exceptions.BaseException.args" alt="" coords="332,28,487,47"/>
+<area shape="rect" href="javascript:void(0);" title="exceptions.BaseException.message" alt="" coords="332,47,487,65"/>
+<area shape="rect" href="javascript:void(0);" title="x.__delattr__(&#39;name&#39;) &lt;==&gt; del x.name" alt="" coords="332,68,487,87"/>
+<area shape="rect" href="javascript:void(0);" title="x.__getattribute__(&#39;name&#39;) &lt;==&gt; x.name" alt="" coords="332,87,487,105"/>
+<area shape="rect" href="javascript:void(0);" title="x[y]" alt="" coords="332,105,487,124"/>
+<area shape="rect" href="javascript:void(0);" title="x[i:j]" alt="" coords="332,124,487,143"/>
+<area shape="rect" href="javascript:void(0);" title="helper for pickle" alt="" coords="332,143,487,161"/>
+<area shape="rect" href="javascript:void(0);" title="repr(x)" alt="" coords="332,161,487,180"/>
+<area shape="rect" href="javascript:void(0);" title="x.__setattr__(&#39;name&#39;, value) &lt;==&gt; x.name = value" alt="" coords="332,180,487,199"/>
+<area shape="rect" href="javascript:void(0);" title="exceptions.BaseException.__setstate__" alt="" coords="332,199,487,217"/>
+<area shape="rect" href="javascript:void(0);" title="str(x)" alt="" coords="332,217,487,236"/>
+<area shape="rect" href="javascript:void(0);" title="exceptions.BaseException.__unicode__" alt="" coords="332,236,487,255"/>
+<area shape="rect" href="javascript:void(0);" title="Common base class for all exceptions" alt="" coords="331,11,488,256"/>
+</map>
+ <img src="uml_class_diagram_for_pyinotif_12.gif" alt='' usemap="#uml_class_diagram_for_pyinotif_12" ismap="ismap" class="graph-without-title" />
+</center>
+</center>
+<hr />
+<p>Indicates exceptions raised by a Pyinotify class.</p>
+
+<!-- ==================== INSTANCE METHODS ==================== -->
+<a name="section-InstanceMethods"></a>
+<table class="summary" border="1" cellpadding="3"
+ cellspacing="0" width="100%" bgcolor="white">
+<tr bgcolor="#70b0f0" class="table-header">
+ <td colspan="2" class="table-header">
+ <table border="0" cellpadding="0" cellspacing="0" width="100%">
+ <tr valign="top">
+ <td align="left"><span class="table-header">Instance Methods</span></td>
+ <td align="right" valign="top"
+ ><span class="options">[<a href="#section-InstanceMethods"
+ class="privatelink" onclick="toggle_private();"
+ >hide private</a>]</span></td>
+ </tr>
+ </table>
+ </td>
+</tr>
+ <tr>
+ <td colspan="2" class="summary">
+ <p class="indent-wrapped-lines"><b>Inherited from <code>exceptions.Exception</code></b>:
+ <code>__init__</code>,
+ <code>__new__</code>
+ </p>
+ <p class="indent-wrapped-lines"><b>Inherited from <code>exceptions.BaseException</code></b>:
+ <code>__delattr__</code>,
+ <code>__getattribute__</code>,
+ <code>__getitem__</code>,
+ <code>__getslice__</code>,
+ <code>__reduce__</code>,
+ <code>__repr__</code>,
+ <code>__setattr__</code>,
+ <code>__setstate__</code>,
+ <code>__str__</code>,
+ <code>__unicode__</code>
+ </p>
+ <p class="indent-wrapped-lines"><b>Inherited from <code>object</code></b>:
+ <code>__format__</code>,
+ <code>__hash__</code>,
+ <code>__reduce_ex__</code>,
+ <code>__sizeof__</code>,
+ <code>__subclasshook__</code>
+ </p>
+ </td>
+ </tr>
+</table>
+<!-- ==================== PROPERTIES ==================== -->
+<a name="section-Properties"></a>
+<table class="summary" border="1" cellpadding="3"
+ cellspacing="0" width="100%" bgcolor="white">
+<tr bgcolor="#70b0f0" class="table-header">
+ <td colspan="2" class="table-header">
+ <table border="0" cellpadding="0" cellspacing="0" width="100%">
+ <tr valign="top">
+ <td align="left"><span class="table-header">Properties</span></td>
+ <td align="right" valign="top"
+ ><span class="options">[<a href="#section-Properties"
+ class="privatelink" onclick="toggle_private();"
+ >hide private</a>]</span></td>
+ </tr>
+ </table>
+ </td>
+</tr>
+ <tr>
+ <td colspan="2" class="summary">
+ <p class="indent-wrapped-lines"><b>Inherited from <code>exceptions.BaseException</code></b>:
+ <code>args</code>,
+ <code>message</code>
+ </p>
+ <p class="indent-wrapped-lines"><b>Inherited from <code>object</code></b>:
+ <code>__class__</code>
+ </p>
+ </td>
+ </tr>
+</table>
+<!-- ==================== NAVIGATION BAR ==================== -->
+<table class="navbar" border="0" width="100%" cellpadding="0"
+ bgcolor="#a0c0ff" cellspacing="0">
+ <tr valign="middle">
+ <!-- Home link -->
+ <th>&nbsp;&nbsp;&nbsp;<a
+ href="pyinotify-module.html">Home</a>&nbsp;&nbsp;&nbsp;</th>
+
+ <!-- Tree link -->
+ <th>&nbsp;&nbsp;&nbsp;<a
+ href="module-tree.html">Trees</a>&nbsp;&nbsp;&nbsp;</th>
+
+ <!-- Index link -->
+ <th>&nbsp;&nbsp;&nbsp;<a
+ href="identifier-index.html">Indices</a>&nbsp;&nbsp;&nbsp;</th>
+
+ <!-- Help link -->
+ <th>&nbsp;&nbsp;&nbsp;<a
+ href="help.html">Help</a>&nbsp;&nbsp;&nbsp;</th>
+
+ <th class="navbar" width="100%"></th>
+ </tr>
+</table>
+<table border="0" cellpadding="0" cellspacing="0" width="100%%">
+ <tr>
+ <td align="left" class="footer">
+ Generated by Epydoc 3.0.1 on Wed Sep 15 21:46:50 2010
+ </td>
+ <td align="right" class="footer">
+ <a target="mainFrame" href="http://epydoc.sourceforge.net"
+ >http://epydoc.sourceforge.net</a>
+ </td>
+ </tr>
+</table>
+
+<script type="text/javascript">
+ <!--
+ // Private objects are initially displayed (because if
+ // javascript is turned off then we want them to be
+ // visible); but by default, we want to hide them. So hide
+ // them unless we have a cookie that says to show them.
+ checkCookie();
+ // -->
+</script>
+</body>
+</html>
diff --git a/python2/docstrings/pyinotify.PyinotifyLogger-class.html b/python2/docstrings/pyinotify.PyinotifyLogger-class.html
new file mode 100644
index 0000000..809db03
--- /dev/null
+++ b/python2/docstrings/pyinotify.PyinotifyLogger-class.html
@@ -0,0 +1,291 @@
+<?xml version="1.0" encoding="ascii"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+ <title>pyinotify.PyinotifyLogger</title>
+ <link rel="stylesheet" href="epydoc.css" type="text/css" />
+ <script type="text/javascript" src="epydoc.js"></script>
+</head>
+
+<body bgcolor="white" text="black" link="blue" vlink="#204080"
+ alink="#204080">
+<!-- ==================== NAVIGATION BAR ==================== -->
+<table class="navbar" border="0" width="100%" cellpadding="0"
+ bgcolor="#a0c0ff" cellspacing="0">
+ <tr valign="middle">
+ <!-- Home link -->
+ <th>&nbsp;&nbsp;&nbsp;<a
+ href="pyinotify-module.html">Home</a>&nbsp;&nbsp;&nbsp;</th>
+
+ <!-- Tree link -->
+ <th>&nbsp;&nbsp;&nbsp;<a
+ href="module-tree.html">Trees</a>&nbsp;&nbsp;&nbsp;</th>
+
+ <!-- Index link -->
+ <th>&nbsp;&nbsp;&nbsp;<a
+ href="identifier-index.html">Indices</a>&nbsp;&nbsp;&nbsp;</th>
+
+ <!-- Help link -->
+ <th>&nbsp;&nbsp;&nbsp;<a
+ href="help.html">Help</a>&nbsp;&nbsp;&nbsp;</th>
+
+ <th class="navbar" width="100%"></th>
+ </tr>
+</table>
+<table width="100%" cellpadding="0" cellspacing="0">
+ <tr valign="top">
+ <td width="100%">
+ <span class="breadcrumbs">
+ <a href="pyinotify-module.html">Module&nbsp;pyinotify</a> ::
+ Class&nbsp;PyinotifyLogger
+ </span>
+ </td>
+ <td>
+ <table cellpadding="0" cellspacing="0">
+ <!-- hide/show private -->
+ <tr><td align="right"><span class="options">[<a href="javascript:void(0);" class="privatelink"
+ onclick="toggle_private();">hide&nbsp;private</a>]</span></td></tr>
+ <tr><td align="right"><span class="options"
+ >[<a href="frames.html" target="_top">frames</a
+ >]&nbsp;|&nbsp;<a href="pyinotify.PyinotifyLogger-class.html"
+ target="_top">no&nbsp;frames</a>]</span></td></tr>
+ </table>
+ </td>
+ </tr>
+</table>
+<!-- ==================== CLASS DESCRIPTION ==================== -->
+<h1 class="epydoc">Class PyinotifyLogger</h1><p class="nomargin-top"><span class="codelink"><a href="pyinotify-pysrc.html#PyinotifyLogger">source&nbsp;code</a></span></p>
+<center>
+<center> <map id="uml_class_diagram_for_pyinotif_13" name="uml_class_diagram_for_pyinotif_13">
+<area shape="rect" href="pyinotify.PyinotifyLogger-class.html#makeRecord" title="A factory method which can be overridden in subclasses to create &#160;specialized LogRecords." alt="" coords="17,516,508,535"/>
+<area shape="rect" href="pyinotify.PyinotifyLogger-class.html" title="Pyinotify logger used for logging unicode strings." alt="" coords="16,491,509,536"/>
+<area shape="rect" href="javascript:void(0);" title="logging.Logger.root" alt="" coords="156,140,369,159"/>
+<area shape="rect" href="javascript:void(0);" title="logging.Logger.manager" alt="" coords="156,159,369,177"/>
+<area shape="rect" href="javascript:void(0);" title="Initialize the logger with a name and an optional level." alt="" coords="156,180,369,199"/>
+<area shape="rect" href="javascript:void(0);" title="Set the logging level of this logger." alt="" coords="156,199,369,217"/>
+<area shape="rect" href="javascript:void(0);" title="Log &#39;msg % args&#39; with severity &#39;DEBUG&#39;." alt="" coords="156,217,369,236"/>
+<area shape="rect" href="javascript:void(0);" title="Log &#39;msg % args&#39; with severity &#39;INFO&#39;." alt="" coords="156,236,369,255"/>
+<area shape="rect" href="javascript:void(0);" title="Log &#39;msg % args&#39; with severity &#39;WARNING&#39;." alt="" coords="156,255,369,273"/>
+<area shape="rect" href="javascript:void(0);" title="Log &#39;msg % args&#39; with severity &#39;WARNING&#39;." alt="" coords="156,273,369,292"/>
+<area shape="rect" href="javascript:void(0);" title="Log &#39;msg % args&#39; with severity &#39;ERROR&#39;." alt="" coords="156,292,369,311"/>
+<area shape="rect" href="javascript:void(0);" title="Convenience method for logging an ERROR with exception information." alt="" coords="156,311,369,329"/>
+<area shape="rect" href="javascript:void(0);" title="Log &#39;msg % args&#39; with severity &#39;CRITICAL&#39;." alt="" coords="156,329,369,348"/>
+<area shape="rect" href="javascript:void(0);" title="Log &#39;msg % args&#39; with severity &#39;CRITICAL&#39;." alt="" coords="156,348,369,367"/>
+<area shape="rect" href="javascript:void(0);" title="Log &#39;msg % args&#39; with the integer severity &#39;level&#39;." alt="" coords="156,367,369,385"/>
+<area shape="rect" href="javascript:void(0);" title="Find the stack frame of the caller so that we can note the source file &#160;name, line number and function name." alt="" coords="156,385,369,404"/>
+<area shape="rect" href="javascript:void(0);" title="Call the handlers for the specified record." alt="" coords="156,404,369,423"/>
+<area shape="rect" href="javascript:void(0);" title="Is this logger enabled for level &#39;level&#39;?" alt="" coords="156,441,369,460"/>
+<area shape="rect" href="javascript:void(0);" title="Instances of the Logger class represent a single logging channel." alt="" coords="155,123,371,461"/>
+<area shape="rect" href="javascript:void(0);" title="Add the specified filter to this handler." alt="" coords="195,36,331,55"/>
+<area shape="rect" href="javascript:void(0);" title="Remove the specified filter from this handler." alt="" coords="195,55,331,73"/>
+<area shape="rect" href="javascript:void(0);" title="Determine if a record is loggable by consulting all the filters." alt="" coords="195,73,331,92"/>
+<area shape="rect" href="javascript:void(0);" title="A base class for loggers and handlers which allows them to share common code." alt="" coords="193,11,332,93"/>
+</map>
+ <img src="uml_class_diagram_for_pyinotif_13.gif" alt='' usemap="#uml_class_diagram_for_pyinotif_13" ismap="ismap" class="graph-without-title" />
+</center>
+</center>
+<hr />
+<p>Pyinotify logger used for logging unicode strings.</p>
+
+<!-- ==================== INSTANCE METHODS ==================== -->
+<a name="section-InstanceMethods"></a>
+<table class="summary" border="1" cellpadding="3"
+ cellspacing="0" width="100%" bgcolor="white">
+<tr bgcolor="#70b0f0" class="table-header">
+ <td colspan="2" class="table-header">
+ <table border="0" cellpadding="0" cellspacing="0" width="100%">
+ <tr valign="top">
+ <td align="left"><span class="table-header">Instance Methods</span></td>
+ <td align="right" valign="top"
+ ><span class="options">[<a href="#section-InstanceMethods"
+ class="privatelink" onclick="toggle_private();"
+ >hide private</a>]</span></td>
+ </tr>
+ </table>
+ </td>
+</tr>
+<tr>
+ <td width="15%" align="right" valign="top" class="summary">
+ <span class="summary-type">&nbsp;</span>
+ </td><td class="summary">
+ <table width="100%" cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td><span class="summary-sig"><a href="pyinotify.PyinotifyLogger-class.html#makeRecord" class="summary-sig-name">makeRecord</a>(<span class="summary-sig-arg">self</span>,
+ <span class="summary-sig-arg">name</span>,
+ <span class="summary-sig-arg">level</span>,
+ <span class="summary-sig-arg">fn</span>,
+ <span class="summary-sig-arg">lno</span>,
+ <span class="summary-sig-arg">msg</span>,
+ <span class="summary-sig-arg">args</span>,
+ <span class="summary-sig-arg">exc_info</span>,
+ <span class="summary-sig-arg">func</span>=<span class="summary-sig-default">None</span>,
+ <span class="summary-sig-arg">extra</span>=<span class="summary-sig-default">None</span>)</span><br />
+ A factory method which can be overridden in subclasses to create
+ specialized LogRecords.</td>
+ <td align="right" valign="top">
+ <span class="codelink"><a href="pyinotify-pysrc.html#PyinotifyLogger.makeRecord">source&nbsp;code</a></span>
+
+ </td>
+ </tr>
+ </table>
+
+ </td>
+ </tr>
+ <tr>
+ <td colspan="2" class="summary">
+ <p class="indent-wrapped-lines"><b>Inherited from <code>logging.Logger</code></b>:
+ <code>__init__</code>,
+ <code>addHandler</code>,
+ <code>callHandlers</code>,
+ <code>critical</code>,
+ <code>debug</code>,
+ <code>error</code>,
+ <code>exception</code>,
+ <code>fatal</code>,
+ <code>findCaller</code>,
+ <code>getEffectiveLevel</code>,
+ <code>handle</code>,
+ <code>info</code>,
+ <code>isEnabledFor</code>,
+ <code>log</code>,
+ <code>removeHandler</code>,
+ <code>setLevel</code>,
+ <code>warn</code>,
+ <code>warning</code>
+ </p>
+ <div class="private"> <p class="indent-wrapped-lines"><b>Inherited from <code>logging.Logger</code></b> (private):
+ <code>_log</code>
+ </p></div>
+ <p class="indent-wrapped-lines"><b>Inherited from <code>logging.Filterer</code></b>:
+ <code>addFilter</code>,
+ <code>filter</code>,
+ <code>removeFilter</code>
+ </p>
+ </td>
+ </tr>
+</table>
+<!-- ==================== CLASS VARIABLES ==================== -->
+<a name="section-ClassVariables"></a>
+<table class="summary" border="1" cellpadding="3"
+ cellspacing="0" width="100%" bgcolor="white">
+<tr bgcolor="#70b0f0" class="table-header">
+ <td colspan="2" class="table-header">
+ <table border="0" cellpadding="0" cellspacing="0" width="100%">
+ <tr valign="top">
+ <td align="left"><span class="table-header">Class Variables</span></td>
+ <td align="right" valign="top"
+ ><span class="options">[<a href="#section-ClassVariables"
+ class="privatelink" onclick="toggle_private();"
+ >hide private</a>]</span></td>
+ </tr>
+ </table>
+ </td>
+</tr>
+ <tr>
+ <td colspan="2" class="summary">
+ <p class="indent-wrapped-lines"><b>Inherited from <code>logging.Logger</code></b>:
+ <code>manager</code>,
+ <code>root</code>
+ </p>
+ </td>
+ </tr>
+</table>
+<!-- ==================== METHOD DETAILS ==================== -->
+<a name="section-MethodDetails"></a>
+<table class="details" border="1" cellpadding="3"
+ cellspacing="0" width="100%" bgcolor="white">
+<tr bgcolor="#70b0f0" class="table-header">
+ <td colspan="2" class="table-header">
+ <table border="0" cellpadding="0" cellspacing="0" width="100%">
+ <tr valign="top">
+ <td align="left"><span class="table-header">Method Details</span></td>
+ <td align="right" valign="top"
+ ><span class="options">[<a href="#section-MethodDetails"
+ class="privatelink" onclick="toggle_private();"
+ >hide private</a>]</span></td>
+ </tr>
+ </table>
+ </td>
+</tr>
+</table>
+<a name="makeRecord"></a>
+<div>
+<table class="details" border="1" cellpadding="3"
+ cellspacing="0" width="100%" bgcolor="white">
+<tr><td>
+ <table width="100%" cellpadding="0" cellspacing="0" border="0">
+ <tr valign="top"><td>
+ <h3 class="epydoc"><span class="sig"><span class="sig-name">makeRecord</span>(<span class="sig-arg">self</span>,
+ <span class="sig-arg">name</span>,
+ <span class="sig-arg">level</span>,
+ <span class="sig-arg">fn</span>,
+ <span class="sig-arg">lno</span>,
+ <span class="sig-arg">msg</span>,
+ <span class="sig-arg">args</span>,
+ <span class="sig-arg">exc_info</span>,
+ <span class="sig-arg">func</span>=<span class="sig-default">None</span>,
+ <span class="sig-arg">extra</span>=<span class="sig-default">None</span>)</span>
+ </h3>
+ </td><td align="right" valign="top"
+ ><span class="codelink"><a href="pyinotify-pysrc.html#PyinotifyLogger.makeRecord">source&nbsp;code</a></span>&nbsp;
+ </td>
+ </tr></table>
+
+ <p>A factory method which can be overridden in subclasses to create
+ specialized LogRecords.</p>
+ <dl class="fields">
+ <dt>Overrides:
+ logging.Logger.makeRecord
+ <dd><em class="note">(inherited documentation)</em></dd>
+ </dt>
+ </dl>
+</td></tr></table>
+</div>
+<br />
+<!-- ==================== NAVIGATION BAR ==================== -->
+<table class="navbar" border="0" width="100%" cellpadding="0"
+ bgcolor="#a0c0ff" cellspacing="0">
+ <tr valign="middle">
+ <!-- Home link -->
+ <th>&nbsp;&nbsp;&nbsp;<a
+ href="pyinotify-module.html">Home</a>&nbsp;&nbsp;&nbsp;</th>
+
+ <!-- Tree link -->
+ <th>&nbsp;&nbsp;&nbsp;<a
+ href="module-tree.html">Trees</a>&nbsp;&nbsp;&nbsp;</th>
+
+ <!-- Index link -->
+ <th>&nbsp;&nbsp;&nbsp;<a
+ href="identifier-index.html">Indices</a>&nbsp;&nbsp;&nbsp;</th>
+
+ <!-- Help link -->
+ <th>&nbsp;&nbsp;&nbsp;<a
+ href="help.html">Help</a>&nbsp;&nbsp;&nbsp;</th>
+
+ <th class="navbar" width="100%"></th>
+ </tr>
+</table>
+<table border="0" cellpadding="0" cellspacing="0" width="100%%">
+ <tr>
+ <td align="left" class="footer">
+ Generated by Epydoc 3.0.1 on Wed Sep 15 21:46:50 2010
+ </td>
+ <td align="right" class="footer">
+ <a target="mainFrame" href="http://epydoc.sourceforge.net"
+ >http://epydoc.sourceforge.net</a>
+ </td>
+ </tr>
+</table>
+
+<script type="text/javascript">
+ <!--
+ // Private objects are initially displayed (because if
+ // javascript is turned off then we want them to be
+ // visible); but by default, we want to hide them. So hide
+ // them unless we have a cookie that says to show them.
+ checkCookie();
+ // -->
+</script>
+</body>
+</html>
diff --git a/python2/docstrings/pyinotify.RawOutputFormat-class.html b/python2/docstrings/pyinotify.RawOutputFormat-class.html
new file mode 100644
index 0000000..1f78081
--- /dev/null
+++ b/python2/docstrings/pyinotify.RawOutputFormat-class.html
@@ -0,0 +1,335 @@
+<?xml version="1.0" encoding="ascii"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+ <title>pyinotify.RawOutputFormat</title>
+ <link rel="stylesheet" href="epydoc.css" type="text/css" />
+ <script type="text/javascript" src="epydoc.js"></script>
+</head>
+
+<body bgcolor="white" text="black" link="blue" vlink="#204080"
+ alink="#204080">
+<!-- ==================== NAVIGATION BAR ==================== -->
+<table class="navbar" border="0" width="100%" cellpadding="0"
+ bgcolor="#a0c0ff" cellspacing="0">
+ <tr valign="middle">
+ <!-- Home link -->
+ <th>&nbsp;&nbsp;&nbsp;<a
+ href="pyinotify-module.html">Home</a>&nbsp;&nbsp;&nbsp;</th>
+
+ <!-- Tree link -->
+ <th>&nbsp;&nbsp;&nbsp;<a
+ href="module-tree.html">Trees</a>&nbsp;&nbsp;&nbsp;</th>
+
+ <!-- Index link -->
+ <th>&nbsp;&nbsp;&nbsp;<a
+ href="identifier-index.html">Indices</a>&nbsp;&nbsp;&nbsp;</th>
+
+ <!-- Help link -->
+ <th>&nbsp;&nbsp;&nbsp;<a
+ href="help.html">Help</a>&nbsp;&nbsp;&nbsp;</th>
+
+ <th class="navbar" width="100%"></th>
+ </tr>
+</table>
+<table width="100%" cellpadding="0" cellspacing="0">
+ <tr valign="top">
+ <td width="100%">
+ <span class="breadcrumbs">
+ <a href="pyinotify-module.html">Module&nbsp;pyinotify</a> ::
+ Class&nbsp;RawOutputFormat
+ </span>
+ </td>
+ <td>
+ <table cellpadding="0" cellspacing="0">
+ <!-- hide/show private -->
+ <tr><td align="right"><span class="options">[<a href="javascript:void(0);" class="privatelink"
+ onclick="toggle_private();">hide&nbsp;private</a>]</span></td></tr>
+ <tr><td align="right"><span class="options"
+ >[<a href="frames.html" target="_top">frames</a
+ >]&nbsp;|&nbsp;<a href="pyinotify.RawOutputFormat-class.html"
+ target="_top">no&nbsp;frames</a>]</span></td></tr>
+ </table>
+ </td>
+ </tr>
+</table>
+<!-- ==================== CLASS DESCRIPTION ==================== -->
+<h1 class="epydoc">Class RawOutputFormat</h1><p class="nomargin-top"><span class="codelink"><a href="pyinotify-pysrc.html#RawOutputFormat">source&nbsp;code</a></span></p>
+<center>
+<center> <map id="uml_class_diagram_for_pyinotif_14" name="uml_class_diagram_for_pyinotif_14">
+<area shape="rect" href="pyinotify.RawOutputFormat-class.html#__init__" title="x.__init__(...) initializes x; see x.__class__.__doc__ for signature" alt="" coords="17,36,177,55"/>
+<area shape="rect" href="pyinotify.RawOutputFormat-class.html#simple" title="pyinotify.RawOutputFormat.simple" alt="" coords="17,55,177,73"/>
+<area shape="rect" href="pyinotify.RawOutputFormat-class.html#punctuation" title="Punctuation color." alt="" coords="17,73,177,92"/>
+<area shape="rect" href="pyinotify.RawOutputFormat-class.html#field_value" title="Field value color." alt="" coords="17,92,177,111"/>
+<area shape="rect" href="pyinotify.RawOutputFormat-class.html#field_name" title="Field name color." alt="" coords="17,111,177,129"/>
+<area shape="rect" href="pyinotify.RawOutputFormat-class.html#class_name" title="Class name color." alt="" coords="17,129,177,148"/>
+<area shape="rect" href="pyinotify.RawOutputFormat-class.html" title="Format string representations." alt="" coords="16,11,179,149"/>
+<area shape="rect" href="pyinotify.ColoredOutputFormat-class.html" title="Format colored string representations." alt="" coords="28,179,167,205"/>
+</map>
+ <img src="uml_class_diagram_for_pyinotif_14.gif" alt='' usemap="#uml_class_diagram_for_pyinotif_14" ismap="ismap" class="graph-without-title" />
+</center>
+</center>
+<hr />
+<p>Format string representations.</p>
+
+<!-- ==================== INSTANCE METHODS ==================== -->
+<a name="section-InstanceMethods"></a>
+<table class="summary" border="1" cellpadding="3"
+ cellspacing="0" width="100%" bgcolor="white">
+<tr bgcolor="#70b0f0" class="table-header">
+ <td colspan="2" class="table-header">
+ <table border="0" cellpadding="0" cellspacing="0" width="100%">
+ <tr valign="top">
+ <td align="left"><span class="table-header">Instance Methods</span></td>
+ <td align="right" valign="top"
+ ><span class="options">[<a href="#section-InstanceMethods"
+ class="privatelink" onclick="toggle_private();"
+ >hide private</a>]</span></td>
+ </tr>
+ </table>
+ </td>
+</tr>
+<tr>
+ <td width="15%" align="right" valign="top" class="summary">
+ <span class="summary-type">&nbsp;</span>
+ </td><td class="summary">
+ <table width="100%" cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td><span class="summary-sig"><a href="pyinotify.RawOutputFormat-class.html#__init__" class="summary-sig-name">__init__</a>(<span class="summary-sig-arg">self</span>,
+ <span class="summary-sig-arg">format</span>=<span class="summary-sig-default">None</span>)</span><br />
+ x.__init__(...) initializes x; see x.__class__.__doc__ for signature</td>
+ <td align="right" valign="top">
+ <span class="codelink"><a href="pyinotify-pysrc.html#RawOutputFormat.__init__">source&nbsp;code</a></span>
+
+ </td>
+ </tr>
+ </table>
+
+ </td>
+ </tr>
+<tr>
+ <td width="15%" align="right" valign="top" class="summary">
+ <span class="summary-type">&nbsp;</span>
+ </td><td class="summary">
+ <table width="100%" cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td><span class="summary-sig"><a name="simple"></a><span class="summary-sig-name">simple</span>(<span class="summary-sig-arg">self</span>,
+ <span class="summary-sig-arg">s</span>,
+ <span class="summary-sig-arg">attribute</span>)</span></td>
+ <td align="right" valign="top">
+ <span class="codelink"><a href="pyinotify-pysrc.html#RawOutputFormat.simple">source&nbsp;code</a></span>
+
+ </td>
+ </tr>
+ </table>
+
+ </td>
+ </tr>
+<tr>
+ <td width="15%" align="right" valign="top" class="summary">
+ <span class="summary-type">&nbsp;</span>
+ </td><td class="summary">
+ <table width="100%" cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td><span class="summary-sig"><a name="punctuation"></a><span class="summary-sig-name">punctuation</span>(<span class="summary-sig-arg">self</span>,
+ <span class="summary-sig-arg">s</span>)</span><br />
+ Punctuation color.</td>
+ <td align="right" valign="top">
+ <span class="codelink"><a href="pyinotify-pysrc.html#RawOutputFormat.punctuation">source&nbsp;code</a></span>
+
+ </td>
+ </tr>
+ </table>
+
+ </td>
+ </tr>
+<tr>
+ <td width="15%" align="right" valign="top" class="summary">
+ <span class="summary-type">&nbsp;</span>
+ </td><td class="summary">
+ <table width="100%" cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td><span class="summary-sig"><a name="field_value"></a><span class="summary-sig-name">field_value</span>(<span class="summary-sig-arg">self</span>,
+ <span class="summary-sig-arg">s</span>)</span><br />
+ Field value color.</td>
+ <td align="right" valign="top">
+ <span class="codelink"><a href="pyinotify-pysrc.html#RawOutputFormat.field_value">source&nbsp;code</a></span>
+
+ </td>
+ </tr>
+ </table>
+
+ </td>
+ </tr>
+<tr>
+ <td width="15%" align="right" valign="top" class="summary">
+ <span class="summary-type">&nbsp;</span>
+ </td><td class="summary">
+ <table width="100%" cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td><span class="summary-sig"><a name="field_name"></a><span class="summary-sig-name">field_name</span>(<span class="summary-sig-arg">self</span>,
+ <span class="summary-sig-arg">s</span>)</span><br />
+ Field name color.</td>
+ <td align="right" valign="top">
+ <span class="codelink"><a href="pyinotify-pysrc.html#RawOutputFormat.field_name">source&nbsp;code</a></span>
+
+ </td>
+ </tr>
+ </table>
+
+ </td>
+ </tr>
+<tr>
+ <td width="15%" align="right" valign="top" class="summary">
+ <span class="summary-type">&nbsp;</span>
+ </td><td class="summary">
+ <table width="100%" cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td><span class="summary-sig"><a name="class_name"></a><span class="summary-sig-name">class_name</span>(<span class="summary-sig-arg">self</span>,
+ <span class="summary-sig-arg">s</span>)</span><br />
+ Class name color.</td>
+ <td align="right" valign="top">
+ <span class="codelink"><a href="pyinotify-pysrc.html#RawOutputFormat.class_name">source&nbsp;code</a></span>
+
+ </td>
+ </tr>
+ </table>
+
+ </td>
+ </tr>
+ <tr>
+ <td colspan="2" class="summary">
+ <p class="indent-wrapped-lines"><b>Inherited from <code>object</code></b>:
+ <code>__delattr__</code>,
+ <code>__format__</code>,
+ <code>__getattribute__</code>,
+ <code>__hash__</code>,
+ <code>__new__</code>,
+ <code>__reduce__</code>,
+ <code>__reduce_ex__</code>,
+ <code>__repr__</code>,
+ <code>__setattr__</code>,
+ <code>__sizeof__</code>,
+ <code>__str__</code>,
+ <code>__subclasshook__</code>
+ </p>
+ </td>
+ </tr>
+</table>
+<!-- ==================== PROPERTIES ==================== -->
+<a name="section-Properties"></a>
+<table class="summary" border="1" cellpadding="3"
+ cellspacing="0" width="100%" bgcolor="white">
+<tr bgcolor="#70b0f0" class="table-header">
+ <td colspan="2" class="table-header">
+ <table border="0" cellpadding="0" cellspacing="0" width="100%">
+ <tr valign="top">
+ <td align="left"><span class="table-header">Properties</span></td>
+ <td align="right" valign="top"
+ ><span class="options">[<a href="#section-Properties"
+ class="privatelink" onclick="toggle_private();"
+ >hide private</a>]</span></td>
+ </tr>
+ </table>
+ </td>
+</tr>
+ <tr>
+ <td colspan="2" class="summary">
+ <p class="indent-wrapped-lines"><b>Inherited from <code>object</code></b>:
+ <code>__class__</code>
+ </p>
+ </td>
+ </tr>
+</table>
+<!-- ==================== METHOD DETAILS ==================== -->
+<a name="section-MethodDetails"></a>
+<table class="details" border="1" cellpadding="3"
+ cellspacing="0" width="100%" bgcolor="white">
+<tr bgcolor="#70b0f0" class="table-header">
+ <td colspan="2" class="table-header">
+ <table border="0" cellpadding="0" cellspacing="0" width="100%">
+ <tr valign="top">
+ <td align="left"><span class="table-header">Method Details</span></td>
+ <td align="right" valign="top"
+ ><span class="options">[<a href="#section-MethodDetails"
+ class="privatelink" onclick="toggle_private();"
+ >hide private</a>]</span></td>
+ </tr>
+ </table>
+ </td>
+</tr>
+</table>
+<a name="__init__"></a>
+<div>
+<table class="details" border="1" cellpadding="3"
+ cellspacing="0" width="100%" bgcolor="white">
+<tr><td>
+ <table width="100%" cellpadding="0" cellspacing="0" border="0">
+ <tr valign="top"><td>
+ <h3 class="epydoc"><span class="sig"><span class="sig-name">__init__</span>(<span class="sig-arg">self</span>,
+ <span class="sig-arg">format</span>=<span class="sig-default">None</span>)</span>
+ <br /><em class="fname">(Constructor)</em>
+ </h3>
+ </td><td align="right" valign="top"
+ ><span class="codelink"><a href="pyinotify-pysrc.html#RawOutputFormat.__init__">source&nbsp;code</a></span>&nbsp;
+ </td>
+ </tr></table>
+
+ <p>x.__init__(...) initializes x; see x.__class__.__doc__ for
+ signature</p>
+ <dl class="fields">
+ <dt>Overrides:
+ object.__init__
+ <dd><em class="note">(inherited documentation)</em></dd>
+ </dt>
+ </dl>
+</td></tr></table>
+</div>
+<br />
+<!-- ==================== NAVIGATION BAR ==================== -->
+<table class="navbar" border="0" width="100%" cellpadding="0"
+ bgcolor="#a0c0ff" cellspacing="0">
+ <tr valign="middle">
+ <!-- Home link -->
+ <th>&nbsp;&nbsp;&nbsp;<a
+ href="pyinotify-module.html">Home</a>&nbsp;&nbsp;&nbsp;</th>
+
+ <!-- Tree link -->
+ <th>&nbsp;&nbsp;&nbsp;<a
+ href="module-tree.html">Trees</a>&nbsp;&nbsp;&nbsp;</th>
+
+ <!-- Index link -->
+ <th>&nbsp;&nbsp;&nbsp;<a
+ href="identifier-index.html">Indices</a>&nbsp;&nbsp;&nbsp;</th>
+
+ <!-- Help link -->
+ <th>&nbsp;&nbsp;&nbsp;<a
+ href="help.html">Help</a>&nbsp;&nbsp;&nbsp;</th>
+
+ <th class="navbar" width="100%"></th>
+ </tr>
+</table>
+<table border="0" cellpadding="0" cellspacing="0" width="100%%">
+ <tr>
+ <td align="left" class="footer">
+ Generated by Epydoc 3.0.1 on Wed Sep 15 21:46:50 2010
+ </td>
+ <td align="right" class="footer">
+ <a target="mainFrame" href="http://epydoc.sourceforge.net"
+ >http://epydoc.sourceforge.net</a>
+ </td>
+ </tr>
+</table>
+
+<script type="text/javascript">
+ <!--
+ // Private objects are initially displayed (because if
+ // javascript is turned off then we want them to be
+ // visible); but by default, we want to hide them. So hide
+ // them unless we have a cookie that says to show them.
+ checkCookie();
+ // -->
+</script>
+</body>
+</html>
diff --git a/python2/docstrings/pyinotify.Stats-class.html b/python2/docstrings/pyinotify.Stats-class.html
new file mode 100644
index 0000000..a424925
--- /dev/null
+++ b/python2/docstrings/pyinotify.Stats-class.html
@@ -0,0 +1,467 @@
+<?xml version="1.0" encoding="ascii"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+ <title>pyinotify.Stats</title>
+ <link rel="stylesheet" href="epydoc.css" type="text/css" />
+ <script type="text/javascript" src="epydoc.js"></script>
+</head>
+
+<body bgcolor="white" text="black" link="blue" vlink="#204080"
+ alink="#204080">
+<!-- ==================== NAVIGATION BAR ==================== -->
+<table class="navbar" border="0" width="100%" cellpadding="0"
+ bgcolor="#a0c0ff" cellspacing="0">
+ <tr valign="middle">
+ <!-- Home link -->
+ <th>&nbsp;&nbsp;&nbsp;<a
+ href="pyinotify-module.html">Home</a>&nbsp;&nbsp;&nbsp;</th>
+
+ <!-- Tree link -->
+ <th>&nbsp;&nbsp;&nbsp;<a
+ href="module-tree.html">Trees</a>&nbsp;&nbsp;&nbsp;</th>
+
+ <!-- Index link -->
+ <th>&nbsp;&nbsp;&nbsp;<a
+ href="identifier-index.html">Indices</a>&nbsp;&nbsp;&nbsp;</th>
+
+ <!-- Help link -->
+ <th>&nbsp;&nbsp;&nbsp;<a
+ href="help.html">Help</a>&nbsp;&nbsp;&nbsp;</th>
+
+ <th class="navbar" width="100%"></th>
+ </tr>
+</table>
+<table width="100%" cellpadding="0" cellspacing="0">
+ <tr valign="top">
+ <td width="100%">
+ <span class="breadcrumbs">
+ <a href="pyinotify-module.html">Module&nbsp;pyinotify</a> ::
+ Class&nbsp;Stats
+ </span>
+ </td>
+ <td>
+ <table cellpadding="0" cellspacing="0">
+ <!-- hide/show private -->
+ <tr><td align="right"><span class="options">[<a href="javascript:void(0);" class="privatelink"
+ onclick="toggle_private();">hide&nbsp;private</a>]</span></td></tr>
+ <tr><td align="right"><span class="options"
+ >[<a href="frames.html" target="_top">frames</a
+ >]&nbsp;|&nbsp;<a href="pyinotify.Stats-class.html"
+ target="_top">no&nbsp;frames</a>]</span></td></tr>
+ </table>
+ </td>
+ </tr>
+</table>
+<!-- ==================== CLASS DESCRIPTION ==================== -->
+<h1 class="epydoc">Class Stats</h1><p class="nomargin-top"><span class="codelink"><a href="pyinotify-pysrc.html#Stats">source&nbsp;code</a></span></p>
+<center>
+<center> <map id="uml_class_diagram_for_pyinotif_15" name="uml_class_diagram_for_pyinotif_15">
+<area shape="rect" href="pyinotify.Stats-class.html#my_init" title="Method automatically called from base class constructor." alt="" coords="55,241,217,260"/>
+<area shape="rect" href="pyinotify.Stats-class.html#process_default" title="Processes |event|." alt="" coords="55,260,217,279"/>
+<area shape="rect" href="pyinotify.Stats-class.html#__repr__" title="repr(x)" alt="" coords="55,279,217,297"/>
+<area shape="rect" href="pyinotify.Stats-class.html#dump" title="Dumps statistics." alt="" coords="55,297,217,316"/>
+<area shape="rect" href="pyinotify.Stats-class.html#__str__" title="str(x)" alt="" coords="55,316,217,335"/>
+<area shape="rect" href="pyinotify.Stats-class.html" title="Compute and display trivial statistics about processed events." alt="" coords="53,216,219,336"/>
+<area shape="rect" href="pyinotify.ProcessEvent-class.html#pevent" title="pyinotify.ProcessEvent.pevent" alt="" coords="17,89,255,108"/>
+<area shape="rect" href="pyinotify.ProcessEvent-class.html#__init__" title="Enable chaining of ProcessEvent instances." alt="" coords="17,111,255,129"/>
+<area shape="rect" href="pyinotify.ProcessEvent-class.html#__call__" title="To behave like a functor the object must be callable." alt="" coords="17,129,255,148"/>
+<area shape="rect" href="pyinotify.ProcessEvent-class.html#nested_pevent" title="pyinotify.ProcessEvent.nested_pevent" alt="" coords="17,148,255,167"/>
+<area shape="rect" href="pyinotify.ProcessEvent-class.html#process_IN_Q_OVERFLOW" title="By default this method only reports warning messages, you can overredide it by subclassing ProcessEvent and implement your own process_IN_Q_OVERFLOW &#160;method." alt="" coords="17,167,255,185"/>
+<area shape="rect" href="pyinotify.ProcessEvent-class.html" title="Process events objects, can be specialized via subclassing, thus its behavior can be overriden:" alt="" coords="16,72,256,187"/>
+<area shape="rect" href="pyinotify._ProcessEvent-class.html" title="Abstract processing event class." alt="" coords="91,11,181,43"/>
+</map>
+ <img src="uml_class_diagram_for_pyinotif_15.gif" alt='' usemap="#uml_class_diagram_for_pyinotif_15" ismap="ismap" class="graph-without-title" />
+</center>
+</center>
+<hr />
+<p>Compute and display trivial statistics about processed events.</p>
+
+<!-- ==================== INSTANCE METHODS ==================== -->
+<a name="section-InstanceMethods"></a>
+<table class="summary" border="1" cellpadding="3"
+ cellspacing="0" width="100%" bgcolor="white">
+<tr bgcolor="#70b0f0" class="table-header">
+ <td colspan="2" class="table-header">
+ <table border="0" cellpadding="0" cellspacing="0" width="100%">
+ <tr valign="top">
+ <td align="left"><span class="table-header">Instance Methods</span></td>
+ <td align="right" valign="top"
+ ><span class="options">[<a href="#section-InstanceMethods"
+ class="privatelink" onclick="toggle_private();"
+ >hide private</a>]</span></td>
+ </tr>
+ </table>
+ </td>
+</tr>
+<tr>
+ <td width="15%" align="right" valign="top" class="summary">
+ <span class="summary-type">&nbsp;</span>
+ </td><td class="summary">
+ <table width="100%" cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td><span class="summary-sig"><a href="pyinotify.Stats-class.html#my_init" class="summary-sig-name">my_init</a>(<span class="summary-sig-arg">self</span>)</span><br />
+ Method automatically called from base class constructor.</td>
+ <td align="right" valign="top">
+ <span class="codelink"><a href="pyinotify-pysrc.html#Stats.my_init">source&nbsp;code</a></span>
+
+ </td>
+ </tr>
+ </table>
+
+ </td>
+ </tr>
+<tr>
+ <td width="15%" align="right" valign="top" class="summary">
+ <span class="summary-type">&nbsp;</span>
+ </td><td class="summary">
+ <table width="100%" cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td><span class="summary-sig"><a href="pyinotify.Stats-class.html#process_default" class="summary-sig-name">process_default</a>(<span class="summary-sig-arg">self</span>,
+ <span class="summary-sig-arg">event</span>)</span><br />
+ Processes |event|.</td>
+ <td align="right" valign="top">
+ <span class="codelink"><a href="pyinotify-pysrc.html#Stats.process_default">source&nbsp;code</a></span>
+
+ </td>
+ </tr>
+ </table>
+
+ </td>
+ </tr>
+<tr class="private">
+ <td width="15%" align="right" valign="top" class="summary">
+ <span class="summary-type">&nbsp;</span>
+ </td><td class="summary">
+ <table width="100%" cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td><span class="summary-sig"><a name="_stats_copy"></a><span class="summary-sig-name">_stats_copy</span>(<span class="summary-sig-arg">self</span>)</span></td>
+ <td align="right" valign="top">
+ <span class="codelink"><a href="pyinotify-pysrc.html#Stats._stats_copy">source&nbsp;code</a></span>
+
+ </td>
+ </tr>
+ </table>
+
+ </td>
+ </tr>
+<tr>
+ <td width="15%" align="right" valign="top" class="summary">
+ <span class="summary-type">&nbsp;</span>
+ </td><td class="summary">
+ <table width="100%" cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td><span class="summary-sig"><a href="pyinotify.Stats-class.html#__repr__" class="summary-sig-name">__repr__</a>(<span class="summary-sig-arg">self</span>)</span><br />
+ repr(x)</td>
+ <td align="right" valign="top">
+ <span class="codelink"><a href="pyinotify-pysrc.html#Stats.__repr__">source&nbsp;code</a></span>
+
+ </td>
+ </tr>
+ </table>
+
+ </td>
+ </tr>
+<tr>
+ <td width="15%" align="right" valign="top" class="summary">
+ <span class="summary-type">&nbsp;</span>
+ </td><td class="summary">
+ <table width="100%" cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td><span class="summary-sig"><a href="pyinotify.Stats-class.html#dump" class="summary-sig-name">dump</a>(<span class="summary-sig-arg">self</span>,
+ <span class="summary-sig-arg">filename</span>)</span><br />
+ Dumps statistics.</td>
+ <td align="right" valign="top">
+ <span class="codelink"><a href="pyinotify-pysrc.html#Stats.dump">source&nbsp;code</a></span>
+
+ </td>
+ </tr>
+ </table>
+
+ </td>
+ </tr>
+<tr>
+ <td width="15%" align="right" valign="top" class="summary">
+ <span class="summary-type">&nbsp;</span>
+ </td><td class="summary">
+ <table width="100%" cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td><span class="summary-sig"><a href="pyinotify.Stats-class.html#__str__" class="summary-sig-name">__str__</a>(<span class="summary-sig-arg">self</span>,
+ <span class="summary-sig-arg">scale</span>=<span class="summary-sig-default">45</span>)</span><br />
+ str(x)</td>
+ <td align="right" valign="top">
+ <span class="codelink"><a href="pyinotify-pysrc.html#Stats.__str__">source&nbsp;code</a></span>
+
+ </td>
+ </tr>
+ </table>
+
+ </td>
+ </tr>
+ <tr>
+ <td colspan="2" class="summary">
+ <p class="indent-wrapped-lines"><b>Inherited from <code><a href="pyinotify.ProcessEvent-class.html">ProcessEvent</a></code></b>:
+ <code><a href="pyinotify.ProcessEvent-class.html#__call__">__call__</a></code>,
+ <code><a href="pyinotify.ProcessEvent-class.html#__init__">__init__</a></code>,
+ <code><a href="pyinotify.ProcessEvent-class.html#nested_pevent">nested_pevent</a></code>,
+ <code><a href="pyinotify.ProcessEvent-class.html#process_IN_Q_OVERFLOW">process_IN_Q_OVERFLOW</a></code>
+ </p>
+ <p class="indent-wrapped-lines"><b>Inherited from <code>object</code></b>:
+ <code>__delattr__</code>,
+ <code>__format__</code>,
+ <code>__getattribute__</code>,
+ <code>__hash__</code>,
+ <code>__new__</code>,
+ <code>__reduce__</code>,
+ <code>__reduce_ex__</code>,
+ <code>__setattr__</code>,
+ <code>__sizeof__</code>,
+ <code>__subclasshook__</code>
+ </p>
+ </td>
+ </tr>
+</table>
+<!-- ==================== CLASS VARIABLES ==================== -->
+<a name="section-ClassVariables"></a>
+<table class="summary" border="1" cellpadding="3"
+ cellspacing="0" width="100%" bgcolor="white">
+<tr bgcolor="#70b0f0" class="table-header">
+ <td colspan="2" class="table-header">
+ <table border="0" cellpadding="0" cellspacing="0" width="100%">
+ <tr valign="top">
+ <td align="left"><span class="table-header">Class Variables</span></td>
+ <td align="right" valign="top"
+ ><span class="options">[<a href="#section-ClassVariables"
+ class="privatelink" onclick="toggle_private();"
+ >hide private</a>]</span></td>
+ </tr>
+ </table>
+ </td>
+</tr>
+ <tr>
+ <td colspan="2" class="summary">
+ <p class="indent-wrapped-lines"><b>Inherited from <code><a href="pyinotify.ProcessEvent-class.html">ProcessEvent</a></code></b>:
+ <code><a href="pyinotify.ProcessEvent-class.html#pevent">pevent</a></code>
+ </p>
+ </td>
+ </tr>
+</table>
+<!-- ==================== PROPERTIES ==================== -->
+<a name="section-Properties"></a>
+<table class="summary" border="1" cellpadding="3"
+ cellspacing="0" width="100%" bgcolor="white">
+<tr bgcolor="#70b0f0" class="table-header">
+ <td colspan="2" class="table-header">
+ <table border="0" cellpadding="0" cellspacing="0" width="100%">
+ <tr valign="top">
+ <td align="left"><span class="table-header">Properties</span></td>
+ <td align="right" valign="top"
+ ><span class="options">[<a href="#section-Properties"
+ class="privatelink" onclick="toggle_private();"
+ >hide private</a>]</span></td>
+ </tr>
+ </table>
+ </td>
+</tr>
+ <tr>
+ <td colspan="2" class="summary">
+ <p class="indent-wrapped-lines"><b>Inherited from <code>object</code></b>:
+ <code>__class__</code>
+ </p>
+ </td>
+ </tr>
+</table>
+<!-- ==================== METHOD DETAILS ==================== -->
+<a name="section-MethodDetails"></a>
+<table class="details" border="1" cellpadding="3"
+ cellspacing="0" width="100%" bgcolor="white">
+<tr bgcolor="#70b0f0" class="table-header">
+ <td colspan="2" class="table-header">
+ <table border="0" cellpadding="0" cellspacing="0" width="100%">
+ <tr valign="top">
+ <td align="left"><span class="table-header">Method Details</span></td>
+ <td align="right" valign="top"
+ ><span class="options">[<a href="#section-MethodDetails"
+ class="privatelink" onclick="toggle_private();"
+ >hide private</a>]</span></td>
+ </tr>
+ </table>
+ </td>
+</tr>
+</table>
+<a name="my_init"></a>
+<div>
+<table class="details" border="1" cellpadding="3"
+ cellspacing="0" width="100%" bgcolor="white">
+<tr><td>
+ <table width="100%" cellpadding="0" cellspacing="0" border="0">
+ <tr valign="top"><td>
+ <h3 class="epydoc"><span class="sig"><span class="sig-name">my_init</span>(<span class="sig-arg">self</span>)</span>
+ </h3>
+ </td><td align="right" valign="top"
+ ><span class="codelink"><a href="pyinotify-pysrc.html#Stats.my_init">source&nbsp;code</a></span>&nbsp;
+ </td>
+ </tr></table>
+
+ <p>Method automatically called from base class constructor.</p>
+ <dl class="fields">
+ <dt>Parameters:</dt>
+ <dd><ul class="nomargin-top">
+ <li><strong class="pname"><code>kargs</code></strong> - optional delegated arguments from __init__().</li>
+ </ul></dd>
+ <dt>Overrides:
+ <a href="pyinotify.ProcessEvent-class.html#my_init">ProcessEvent.my_init</a>
+ </dt>
+ </dl>
+</td></tr></table>
+</div>
+<a name="process_default"></a>
+<div>
+<table class="details" border="1" cellpadding="3"
+ cellspacing="0" width="100%" bgcolor="white">
+<tr><td>
+ <table width="100%" cellpadding="0" cellspacing="0" border="0">
+ <tr valign="top"><td>
+ <h3 class="epydoc"><span class="sig"><span class="sig-name">process_default</span>(<span class="sig-arg">self</span>,
+ <span class="sig-arg">event</span>)</span>
+ </h3>
+ </td><td align="right" valign="top"
+ ><span class="codelink"><a href="pyinotify-pysrc.html#Stats.process_default">source&nbsp;code</a></span>&nbsp;
+ </td>
+ </tr></table>
+
+ <p>Processes |event|.</p>
+ <dl class="fields">
+ <dt>Parameters:</dt>
+ <dd><ul class="nomargin-top">
+ <li><strong class="pname"><code>event</code></strong> - Event to be processed. Can be of any type of events but
+ IN_Q_OVERFLOW events (see method process_IN_Q_OVERFLOW).</li>
+ </ul></dd>
+ <dt>Overrides:
+ <a href="pyinotify.ProcessEvent-class.html#process_default">ProcessEvent.process_default</a>
+ </dt>
+ </dl>
+</td></tr></table>
+</div>
+<a name="__repr__"></a>
+<div>
+<table class="details" border="1" cellpadding="3"
+ cellspacing="0" width="100%" bgcolor="white">
+<tr><td>
+ <table width="100%" cellpadding="0" cellspacing="0" border="0">
+ <tr valign="top"><td>
+ <h3 class="epydoc"><span class="sig"><span class="sig-name">__repr__</span>(<span class="sig-arg">self</span>)</span>
+ <br /><em class="fname">(Representation operator)</em>
+ </h3>
+ </td><td align="right" valign="top"
+ ><span class="codelink"><a href="pyinotify-pysrc.html#Stats.__repr__">source&nbsp;code</a></span>&nbsp;
+ </td>
+ </tr></table>
+
+ <p>repr(x)</p>
+ <dl class="fields">
+ <dt>Overrides:
+ object.__repr__
+ <dd><em class="note">(inherited documentation)</em></dd>
+ </dt>
+ </dl>
+</td></tr></table>
+</div>
+<a name="dump"></a>
+<div>
+<table class="details" border="1" cellpadding="3"
+ cellspacing="0" width="100%" bgcolor="white">
+<tr><td>
+ <table width="100%" cellpadding="0" cellspacing="0" border="0">
+ <tr valign="top"><td>
+ <h3 class="epydoc"><span class="sig"><span class="sig-name">dump</span>(<span class="sig-arg">self</span>,
+ <span class="sig-arg">filename</span>)</span>
+ </h3>
+ </td><td align="right" valign="top"
+ ><span class="codelink"><a href="pyinotify-pysrc.html#Stats.dump">source&nbsp;code</a></span>&nbsp;
+ </td>
+ </tr></table>
+
+ <p>Dumps statistics.</p>
+ <dl class="fields">
+ <dt>Parameters:</dt>
+ <dd><ul class="nomargin-top">
+ <li><strong class="pname"><code>filename</code></strong> (string) - filename where stats will be dumped, filename is created and must
+ not exist prior to this call.</li>
+ </ul></dd>
+ </dl>
+</td></tr></table>
+</div>
+<a name="__str__"></a>
+<div>
+<table class="details" border="1" cellpadding="3"
+ cellspacing="0" width="100%" bgcolor="white">
+<tr><td>
+ <table width="100%" cellpadding="0" cellspacing="0" border="0">
+ <tr valign="top"><td>
+ <h3 class="epydoc"><span class="sig"><span class="sig-name">__str__</span>(<span class="sig-arg">self</span>,
+ <span class="sig-arg">scale</span>=<span class="sig-default">45</span>)</span>
+ <br /><em class="fname">(Informal representation operator)</em>
+ </h3>
+ </td><td align="right" valign="top"
+ ><span class="codelink"><a href="pyinotify-pysrc.html#Stats.__str__">source&nbsp;code</a></span>&nbsp;
+ </td>
+ </tr></table>
+
+ <p>str(x)</p>
+ <dl class="fields">
+ <dt>Overrides:
+ object.__str__
+ <dd><em class="note">(inherited documentation)</em></dd>
+ </dt>
+ </dl>
+</td></tr></table>
+</div>
+<br />
+<!-- ==================== NAVIGATION BAR ==================== -->
+<table class="navbar" border="0" width="100%" cellpadding="0"
+ bgcolor="#a0c0ff" cellspacing="0">
+ <tr valign="middle">
+ <!-- Home link -->
+ <th>&nbsp;&nbsp;&nbsp;<a
+ href="pyinotify-module.html">Home</a>&nbsp;&nbsp;&nbsp;</th>
+
+ <!-- Tree link -->
+ <th>&nbsp;&nbsp;&nbsp;<a
+ href="module-tree.html">Trees</a>&nbsp;&nbsp;&nbsp;</th>
+
+ <!-- Index link -->
+ <th>&nbsp;&nbsp;&nbsp;<a
+ href="identifier-index.html">Indices</a>&nbsp;&nbsp;&nbsp;</th>
+
+ <!-- Help link -->
+ <th>&nbsp;&nbsp;&nbsp;<a
+ href="help.html">Help</a>&nbsp;&nbsp;&nbsp;</th>
+
+ <th class="navbar" width="100%"></th>
+ </tr>
+</table>
+<table border="0" cellpadding="0" cellspacing="0" width="100%%">
+ <tr>
+ <td align="left" class="footer">
+ Generated by Epydoc 3.0.1 on Wed Sep 15 21:46:50 2010
+ </td>
+ <td align="right" class="footer">
+ <a target="mainFrame" href="http://epydoc.sourceforge.net"
+ >http://epydoc.sourceforge.net</a>
+ </td>
+ </tr>
+</table>
+
+<script type="text/javascript">
+ <!--
+ // Private objects are initially displayed (because if
+ // javascript is turned off then we want them to be
+ // visible); but by default, we want to hide them. So hide
+ // them unless we have a cookie that says to show them.
+ checkCookie();
+ // -->
+</script>
+</body>
+</html>
diff --git a/python2/docstrings/pyinotify.SysCtlINotify-class.html b/python2/docstrings/pyinotify.SysCtlINotify-class.html
new file mode 100644
index 0000000..89a8816
--- /dev/null
+++ b/python2/docstrings/pyinotify.SysCtlINotify-class.html
@@ -0,0 +1,489 @@
+<?xml version="1.0" encoding="ascii"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+ <title>pyinotify.SysCtlINotify</title>
+ <link rel="stylesheet" href="epydoc.css" type="text/css" />
+ <script type="text/javascript" src="epydoc.js"></script>
+</head>
+
+<body bgcolor="white" text="black" link="blue" vlink="#204080"
+ alink="#204080">
+<!-- ==================== NAVIGATION BAR ==================== -->
+<table class="navbar" border="0" width="100%" cellpadding="0"
+ bgcolor="#a0c0ff" cellspacing="0">
+ <tr valign="middle">
+ <!-- Home link -->
+ <th>&nbsp;&nbsp;&nbsp;<a
+ href="pyinotify-module.html">Home</a>&nbsp;&nbsp;&nbsp;</th>
+
+ <!-- Tree link -->
+ <th>&nbsp;&nbsp;&nbsp;<a
+ href="module-tree.html">Trees</a>&nbsp;&nbsp;&nbsp;</th>
+
+ <!-- Index link -->
+ <th>&nbsp;&nbsp;&nbsp;<a
+ href="identifier-index.html">Indices</a>&nbsp;&nbsp;&nbsp;</th>
+
+ <!-- Help link -->
+ <th>&nbsp;&nbsp;&nbsp;<a
+ href="help.html">Help</a>&nbsp;&nbsp;&nbsp;</th>
+
+ <th class="navbar" width="100%"></th>
+ </tr>
+</table>
+<table width="100%" cellpadding="0" cellspacing="0">
+ <tr valign="top">
+ <td width="100%">
+ <span class="breadcrumbs">
+ <a href="pyinotify-module.html">Module&nbsp;pyinotify</a> ::
+ Class&nbsp;SysCtlINotify
+ </span>
+ </td>
+ <td>
+ <table cellpadding="0" cellspacing="0">
+ <!-- hide/show private -->
+ <tr><td align="right"><span class="options">[<a href="javascript:void(0);" class="privatelink"
+ onclick="toggle_private();">hide&nbsp;private</a>]</span></td></tr>
+ <tr><td align="right"><span class="options"
+ >[<a href="frames.html" target="_top">frames</a
+ >]&nbsp;|&nbsp;<a href="pyinotify.SysCtlINotify-class.html"
+ target="_top">no&nbsp;frames</a>]</span></td></tr>
+ </table>
+ </td>
+ </tr>
+</table>
+<!-- ==================== CLASS DESCRIPTION ==================== -->
+<h1 class="epydoc">Class SysCtlINotify</h1><p class="nomargin-top"><span class="codelink"><a href="pyinotify-pysrc.html#SysCtlINotify">source&nbsp;code</a></span></p>
+<center>
+<center> <map id="uml_class_diagram_for_pyinotif_16" name="uml_class_diagram_for_pyinotif_16">
+<area shape="rect" href="pyinotify.SysCtlINotify-class.html#inotify_attrs" title="pyinotify.SysCtlINotify.inotify_attrs" alt="" coords="17,28,156,47"/>
+<area shape="rect" href="pyinotify.SysCtlINotify-class.html#value" title="Gets attribute&#39;s value." alt="" coords="17,47,156,65"/>
+<area shape="rect" href="pyinotify.SysCtlINotify-class.html#__init__" title="x.__init__(...) initializes x; see x.__class__.__doc__ for signature" alt="" coords="17,68,156,87"/>
+<area shape="rect" href="pyinotify.SysCtlINotify-class.html#get_val" title="Gets attribute&#39;s value." alt="" coords="17,87,156,105"/>
+<area shape="rect" href="pyinotify.SysCtlINotify-class.html#set_val" title="Sets new attribute&#39;s value." alt="" coords="17,105,156,124"/>
+<area shape="rect" href="pyinotify.SysCtlINotify-class.html#__repr__" title="repr(x)" alt="" coords="17,124,156,143"/>
+<area shape="rect" href="pyinotify.SysCtlINotify-class.html" title="Access (read, write) inotify&#39;s variables through sysctl." alt="" coords="16,11,157,144"/>
+</map>
+ <img src="uml_class_diagram_for_pyinotif_16.gif" alt='' usemap="#uml_class_diagram_for_pyinotif_16" ismap="ismap" class="graph-without-title" />
+</center>
+</center>
+<hr />
+<p>Access (read, write) inotify's variables through sysctl. Usually it
+ requires administrator rights to update them.</p>
+ <p>Examples:</p>
+ <ul>
+ <li>
+ Read max_queued_events attribute: myvar = max_queued_events.value
+ </li>
+ <li>
+ Update max_queued_events attribute: max_queued_events.value = 42
+ </li>
+ </ul>
+
+<!-- ==================== INSTANCE METHODS ==================== -->
+<a name="section-InstanceMethods"></a>
+<table class="summary" border="1" cellpadding="3"
+ cellspacing="0" width="100%" bgcolor="white">
+<tr bgcolor="#70b0f0" class="table-header">
+ <td colspan="2" class="table-header">
+ <table border="0" cellpadding="0" cellspacing="0" width="100%">
+ <tr valign="top">
+ <td align="left"><span class="table-header">Instance Methods</span></td>
+ <td align="right" valign="top"
+ ><span class="options">[<a href="#section-InstanceMethods"
+ class="privatelink" onclick="toggle_private();"
+ >hide private</a>]</span></td>
+ </tr>
+ </table>
+ </td>
+</tr>
+<tr>
+ <td width="15%" align="right" valign="top" class="summary">
+ <span class="summary-type">&nbsp;</span>
+ </td><td class="summary">
+ <table width="100%" cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td><span class="summary-sig"><a href="pyinotify.SysCtlINotify-class.html#__init__" class="summary-sig-name">__init__</a>(<span class="summary-sig-arg">self</span>,
+ <span class="summary-sig-arg">attrname</span>)</span><br />
+ x.__init__(...) initializes x; see x.__class__.__doc__ for signature</td>
+ <td align="right" valign="top">
+ <span class="codelink"><a href="pyinotify-pysrc.html#SysCtlINotify.__init__">source&nbsp;code</a></span>
+
+ </td>
+ </tr>
+ </table>
+
+ </td>
+ </tr>
+<tr>
+ <td width="15%" align="right" valign="top" class="summary">
+ <span class="summary-type">int</span>
+ </td><td class="summary">
+ <table width="100%" cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td><span class="summary-sig"><a href="pyinotify.SysCtlINotify-class.html#get_val" class="summary-sig-name">get_val</a>(<span class="summary-sig-arg">self</span>)</span><br />
+ Gets attribute's value.</td>
+ <td align="right" valign="top">
+ <span class="codelink"><a href="pyinotify-pysrc.html#SysCtlINotify.get_val">source&nbsp;code</a></span>
+
+ </td>
+ </tr>
+ </table>
+
+ </td>
+ </tr>
+<tr>
+ <td width="15%" align="right" valign="top" class="summary">
+ <span class="summary-type">&nbsp;</span>
+ </td><td class="summary">
+ <table width="100%" cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td><span class="summary-sig"><a href="pyinotify.SysCtlINotify-class.html#set_val" class="summary-sig-name">set_val</a>(<span class="summary-sig-arg">self</span>,
+ <span class="summary-sig-arg">nval</span>)</span><br />
+ Sets new attribute's value.</td>
+ <td align="right" valign="top">
+ <span class="codelink"><a href="pyinotify-pysrc.html#SysCtlINotify.set_val">source&nbsp;code</a></span>
+
+ </td>
+ </tr>
+ </table>
+
+ </td>
+ </tr>
+<tr>
+ <td width="15%" align="right" valign="top" class="summary">
+ <span class="summary-type">&nbsp;</span>
+ </td><td class="summary">
+ <table width="100%" cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td><span class="summary-sig"><a href="pyinotify.SysCtlINotify-class.html#__repr__" class="summary-sig-name">__repr__</a>(<span class="summary-sig-arg">self</span>)</span><br />
+ repr(x)</td>
+ <td align="right" valign="top">
+ <span class="codelink"><a href="pyinotify-pysrc.html#SysCtlINotify.__repr__">source&nbsp;code</a></span>
+
+ </td>
+ </tr>
+ </table>
+
+ </td>
+ </tr>
+ <tr>
+ <td colspan="2" class="summary">
+ <p class="indent-wrapped-lines"><b>Inherited from <code>object</code></b>:
+ <code>__delattr__</code>,
+ <code>__format__</code>,
+ <code>__getattribute__</code>,
+ <code>__hash__</code>,
+ <code>__new__</code>,
+ <code>__reduce__</code>,
+ <code>__reduce_ex__</code>,
+ <code>__setattr__</code>,
+ <code>__sizeof__</code>,
+ <code>__str__</code>,
+ <code>__subclasshook__</code>
+ </p>
+ </td>
+ </tr>
+</table>
+<!-- ==================== CLASS VARIABLES ==================== -->
+<a name="section-ClassVariables"></a>
+<table class="summary" border="1" cellpadding="3"
+ cellspacing="0" width="100%" bgcolor="white">
+<tr bgcolor="#70b0f0" class="table-header">
+ <td colspan="2" class="table-header">
+ <table border="0" cellpadding="0" cellspacing="0" width="100%">
+ <tr valign="top">
+ <td align="left"><span class="table-header">Class Variables</span></td>
+ <td align="right" valign="top"
+ ><span class="options">[<a href="#section-ClassVariables"
+ class="privatelink" onclick="toggle_private();"
+ >hide private</a>]</span></td>
+ </tr>
+ </table>
+ </td>
+</tr>
+<tr>
+ <td width="15%" align="right" valign="top" class="summary">
+ <span class="summary-type">&nbsp;</span>
+ </td><td class="summary">
+ <a href="pyinotify.SysCtlINotify-class.html#inotify_attrs" class="summary-name">inotify_attrs</a> = <code title="{'max_queued_events': 3,
+ 'max_user_instances': 1,
+ 'max_user_watches': 2}"><code class="variable-group">{</code><code class="variable-quote">'</code><code class="variable-string">max_queued_events</code><code class="variable-quote">'</code><code class="variable-op">: </code>3<code class="variable-op">, </code><code class="variable-quote">'</code><code class="variable-string">max_user_instances</code><code class="variable-quote">'</code><code class="variable-op">:</code><code class="variable-ellipsis">...</code></code>
+ </td>
+ </tr>
+</table>
+<!-- ==================== PROPERTIES ==================== -->
+<a name="section-Properties"></a>
+<table class="summary" border="1" cellpadding="3"
+ cellspacing="0" width="100%" bgcolor="white">
+<tr bgcolor="#70b0f0" class="table-header">
+ <td colspan="2" class="table-header">
+ <table border="0" cellpadding="0" cellspacing="0" width="100%">
+ <tr valign="top">
+ <td align="left"><span class="table-header">Properties</span></td>
+ <td align="right" valign="top"
+ ><span class="options">[<a href="#section-Properties"
+ class="privatelink" onclick="toggle_private();"
+ >hide private</a>]</span></td>
+ </tr>
+ </table>
+ </td>
+</tr>
+<tr>
+ <td width="15%" align="right" valign="top" class="summary">
+ <span class="summary-type">int</span>
+ </td><td class="summary">
+ <a href="pyinotify.SysCtlINotify-class.html#value" class="summary-name">value</a><br />
+ Gets attribute's value.
+ </td>
+ </tr>
+ <tr>
+ <td colspan="2" class="summary">
+ <p class="indent-wrapped-lines"><b>Inherited from <code>object</code></b>:
+ <code>__class__</code>
+ </p>
+ </td>
+ </tr>
+</table>
+<!-- ==================== METHOD DETAILS ==================== -->
+<a name="section-MethodDetails"></a>
+<table class="details" border="1" cellpadding="3"
+ cellspacing="0" width="100%" bgcolor="white">
+<tr bgcolor="#70b0f0" class="table-header">
+ <td colspan="2" class="table-header">
+ <table border="0" cellpadding="0" cellspacing="0" width="100%">
+ <tr valign="top">
+ <td align="left"><span class="table-header">Method Details</span></td>
+ <td align="right" valign="top"
+ ><span class="options">[<a href="#section-MethodDetails"
+ class="privatelink" onclick="toggle_private();"
+ >hide private</a>]</span></td>
+ </tr>
+ </table>
+ </td>
+</tr>
+</table>
+<a name="__init__"></a>
+<div>
+<table class="details" border="1" cellpadding="3"
+ cellspacing="0" width="100%" bgcolor="white">
+<tr><td>
+ <table width="100%" cellpadding="0" cellspacing="0" border="0">
+ <tr valign="top"><td>
+ <h3 class="epydoc"><span class="sig"><span class="sig-name">__init__</span>(<span class="sig-arg">self</span>,
+ <span class="sig-arg">attrname</span>)</span>
+ <br /><em class="fname">(Constructor)</em>
+ </h3>
+ </td><td align="right" valign="top"
+ ><span class="codelink"><a href="pyinotify-pysrc.html#SysCtlINotify.__init__">source&nbsp;code</a></span>&nbsp;
+ </td>
+ </tr></table>
+
+ <p>x.__init__(...) initializes x; see x.__class__.__doc__ for
+ signature</p>
+ <dl class="fields">
+ <dt>Overrides:
+ object.__init__
+ <dd><em class="note">(inherited documentation)</em></dd>
+ </dt>
+ </dl>
+</td></tr></table>
+</div>
+<a name="get_val"></a>
+<div>
+<table class="details" border="1" cellpadding="3"
+ cellspacing="0" width="100%" bgcolor="white">
+<tr><td>
+ <table width="100%" cellpadding="0" cellspacing="0" border="0">
+ <tr valign="top"><td>
+ <h3 class="epydoc"><span class="sig"><span class="sig-name">get_val</span>(<span class="sig-arg">self</span>)</span>
+ </h3>
+ </td><td align="right" valign="top"
+ ><span class="codelink"><a href="pyinotify-pysrc.html#SysCtlINotify.get_val">source&nbsp;code</a></span>&nbsp;
+ </td>
+ </tr></table>
+
+ <p>Gets attribute's value.</p>
+ <dl class="fields">
+ <dt>Returns: int</dt>
+ <dd>stored value.</dd>
+ </dl>
+</td></tr></table>
+</div>
+<a name="set_val"></a>
+<div>
+<table class="details" border="1" cellpadding="3"
+ cellspacing="0" width="100%" bgcolor="white">
+<tr><td>
+ <table width="100%" cellpadding="0" cellspacing="0" border="0">
+ <tr valign="top"><td>
+ <h3 class="epydoc"><span class="sig"><span class="sig-name">set_val</span>(<span class="sig-arg">self</span>,
+ <span class="sig-arg">nval</span>)</span>
+ </h3>
+ </td><td align="right" valign="top"
+ ><span class="codelink"><a href="pyinotify-pysrc.html#SysCtlINotify.set_val">source&nbsp;code</a></span>&nbsp;
+ </td>
+ </tr></table>
+
+ <p>Sets new attribute's value.</p>
+ <dl class="fields">
+ <dt>Parameters:</dt>
+ <dd><ul class="nomargin-top">
+ <li><strong class="pname"><code>nval</code></strong> (int) - replaces current value by nval.</li>
+ </ul></dd>
+ </dl>
+</td></tr></table>
+</div>
+<a name="__repr__"></a>
+<div>
+<table class="details" border="1" cellpadding="3"
+ cellspacing="0" width="100%" bgcolor="white">
+<tr><td>
+ <table width="100%" cellpadding="0" cellspacing="0" border="0">
+ <tr valign="top"><td>
+ <h3 class="epydoc"><span class="sig"><span class="sig-name">__repr__</span>(<span class="sig-arg">self</span>)</span>
+ <br /><em class="fname">(Representation operator)</em>
+ </h3>
+ </td><td align="right" valign="top"
+ ><span class="codelink"><a href="pyinotify-pysrc.html#SysCtlINotify.__repr__">source&nbsp;code</a></span>&nbsp;
+ </td>
+ </tr></table>
+
+ <p>repr(x)</p>
+ <dl class="fields">
+ <dt>Overrides:
+ object.__repr__
+ <dd><em class="note">(inherited documentation)</em></dd>
+ </dt>
+ </dl>
+</td></tr></table>
+</div>
+<br />
+<!-- ==================== CLASS VARIABLE DETAILS ==================== -->
+<a name="section-ClassVariableDetails"></a>
+<table class="details" border="1" cellpadding="3"
+ cellspacing="0" width="100%" bgcolor="white">
+<tr bgcolor="#70b0f0" class="table-header">
+ <td colspan="2" class="table-header">
+ <table border="0" cellpadding="0" cellspacing="0" width="100%">
+ <tr valign="top">
+ <td align="left"><span class="table-header">Class Variable Details</span></td>
+ <td align="right" valign="top"
+ ><span class="options">[<a href="#section-ClassVariableDetails"
+ class="privatelink" onclick="toggle_private();"
+ >hide private</a>]</span></td>
+ </tr>
+ </table>
+ </td>
+</tr>
+</table>
+<a name="inotify_attrs"></a>
+<div>
+<table class="details" border="1" cellpadding="3"
+ cellspacing="0" width="100%" bgcolor="white">
+<tr><td>
+ <h3 class="epydoc">inotify_attrs</h3>
+
+ <dl class="fields">
+ </dl>
+ <dl class="fields">
+ <dt>Value:</dt>
+ <dd><table><tr><td><pre class="variable">
+<code class="variable-group">{</code><code class="variable-quote">'</code><code class="variable-string">max_queued_events</code><code class="variable-quote">'</code><code class="variable-op">: </code>3<code class="variable-op">,</code>
+ <code class="variable-quote">'</code><code class="variable-string">max_user_instances</code><code class="variable-quote">'</code><code class="variable-op">: </code>1<code class="variable-op">,</code>
+ <code class="variable-quote">'</code><code class="variable-string">max_user_watches</code><code class="variable-quote">'</code><code class="variable-op">: </code>2<code class="variable-group">}</code>
+</pre></td></tr></table>
+</dd>
+ </dl>
+</td></tr></table>
+</div>
+<br />
+<!-- ==================== PROPERTY DETAILS ==================== -->
+<a name="section-PropertyDetails"></a>
+<table class="details" border="1" cellpadding="3"
+ cellspacing="0" width="100%" bgcolor="white">
+<tr bgcolor="#70b0f0" class="table-header">
+ <td colspan="2" class="table-header">
+ <table border="0" cellpadding="0" cellspacing="0" width="100%">
+ <tr valign="top">
+ <td align="left"><span class="table-header">Property Details</span></td>
+ <td align="right" valign="top"
+ ><span class="options">[<a href="#section-PropertyDetails"
+ class="privatelink" onclick="toggle_private();"
+ >hide private</a>]</span></td>
+ </tr>
+ </table>
+ </td>
+</tr>
+</table>
+<a name="value"></a>
+<div>
+<table class="details" border="1" cellpadding="3"
+ cellspacing="0" width="100%" bgcolor="white">
+<tr><td>
+ <h3 class="epydoc">value</h3>
+ <p>Gets attribute's value.</p>
+ <dl class="fields">
+ <dt>Get Method:</dt>
+ <dd class="value"><span class="summary-sig"><a href="pyinotify.SysCtlINotify-class.html#get_val" class="summary-sig-name">get_val</a>(<span class="summary-sig-arg">self</span>)</span>
+ - Gets attribute's value.
+ </dd>
+ <dt>Set Method:</dt>
+ <dd class="value"><span class="summary-sig"><a href="pyinotify.SysCtlINotify-class.html#set_val" class="summary-sig-name">set_val</a>(<span class="summary-sig-arg">self</span>,
+ <span class="summary-sig-arg">nval</span>)</span>
+ - Sets new attribute's value.
+ </dd>
+ <dt>Type:</dt>
+ <dd>int</dd>
+ </dl>
+</td></tr></table>
+</div>
+<br />
+<!-- ==================== NAVIGATION BAR ==================== -->
+<table class="navbar" border="0" width="100%" cellpadding="0"
+ bgcolor="#a0c0ff" cellspacing="0">
+ <tr valign="middle">
+ <!-- Home link -->
+ <th>&nbsp;&nbsp;&nbsp;<a
+ href="pyinotify-module.html">Home</a>&nbsp;&nbsp;&nbsp;</th>
+
+ <!-- Tree link -->
+ <th>&nbsp;&nbsp;&nbsp;<a
+ href="module-tree.html">Trees</a>&nbsp;&nbsp;&nbsp;</th>
+
+ <!-- Index link -->
+ <th>&nbsp;&nbsp;&nbsp;<a
+ href="identifier-index.html">Indices</a>&nbsp;&nbsp;&nbsp;</th>
+
+ <!-- Help link -->
+ <th>&nbsp;&nbsp;&nbsp;<a
+ href="help.html">Help</a>&nbsp;&nbsp;&nbsp;</th>
+
+ <th class="navbar" width="100%"></th>
+ </tr>
+</table>
+<table border="0" cellpadding="0" cellspacing="0" width="100%%">
+ <tr>
+ <td align="left" class="footer">
+ Generated by Epydoc 3.0.1 on Wed Sep 15 21:46:50 2010
+ </td>
+ <td align="right" class="footer">
+ <a target="mainFrame" href="http://epydoc.sourceforge.net"
+ >http://epydoc.sourceforge.net</a>
+ </td>
+ </tr>
+</table>
+
+<script type="text/javascript">
+ <!--
+ // Private objects are initially displayed (because if
+ // javascript is turned off then we want them to be
+ // visible); but by default, we want to hide them. So hide
+ // them unless we have a cookie that says to show them.
+ checkCookie();
+ // -->
+</script>
+</body>
+</html>
diff --git a/python2/docstrings/pyinotify.ThreadedNotifier-class.html b/python2/docstrings/pyinotify.ThreadedNotifier-class.html
new file mode 100644
index 0000000..408ff0c
--- /dev/null
+++ b/python2/docstrings/pyinotify.ThreadedNotifier-class.html
@@ -0,0 +1,461 @@
+<?xml version="1.0" encoding="ascii"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+ <title>pyinotify.ThreadedNotifier</title>
+ <link rel="stylesheet" href="epydoc.css" type="text/css" />
+ <script type="text/javascript" src="epydoc.js"></script>
+</head>
+
+<body bgcolor="white" text="black" link="blue" vlink="#204080"
+ alink="#204080">
+<!-- ==================== NAVIGATION BAR ==================== -->
+<table class="navbar" border="0" width="100%" cellpadding="0"
+ bgcolor="#a0c0ff" cellspacing="0">
+ <tr valign="middle">
+ <!-- Home link -->
+ <th>&nbsp;&nbsp;&nbsp;<a
+ href="pyinotify-module.html">Home</a>&nbsp;&nbsp;&nbsp;</th>
+
+ <!-- Tree link -->
+ <th>&nbsp;&nbsp;&nbsp;<a
+ href="module-tree.html">Trees</a>&nbsp;&nbsp;&nbsp;</th>
+
+ <!-- Index link -->
+ <th>&nbsp;&nbsp;&nbsp;<a
+ href="identifier-index.html">Indices</a>&nbsp;&nbsp;&nbsp;</th>
+
+ <!-- Help link -->
+ <th>&nbsp;&nbsp;&nbsp;<a
+ href="help.html">Help</a>&nbsp;&nbsp;&nbsp;</th>
+
+ <th class="navbar" width="100%"></th>
+ </tr>
+</table>
+<table width="100%" cellpadding="0" cellspacing="0">
+ <tr valign="top">
+ <td width="100%">
+ <span class="breadcrumbs">
+ <a href="pyinotify-module.html">Module&nbsp;pyinotify</a> ::
+ Class&nbsp;ThreadedNotifier
+ </span>
+ </td>
+ <td>
+ <table cellpadding="0" cellspacing="0">
+ <!-- hide/show private -->
+ <tr><td align="right"><span class="options">[<a href="javascript:void(0);" class="privatelink"
+ onclick="toggle_private();">hide&nbsp;private</a>]</span></td></tr>
+ <tr><td align="right"><span class="options"
+ >[<a href="frames.html" target="_top">frames</a
+ >]&nbsp;|&nbsp;<a href="pyinotify.ThreadedNotifier-class.html"
+ target="_top">no&nbsp;frames</a>]</span></td></tr>
+ </table>
+ </td>
+ </tr>
+</table>
+<!-- ==================== CLASS DESCRIPTION ==================== -->
+<h1 class="epydoc">Class ThreadedNotifier</h1><p class="nomargin-top"><span class="codelink"><a href="pyinotify-pysrc.html#ThreadedNotifier">source&nbsp;code</a></span></p>
+<center>
+<center> <map id="uml_class_diagram_for_pyinotif_17" name="uml_class_diagram_for_pyinotif_17">
+<area shape="rect" href="pyinotify.ThreadedNotifier-class.html#__init__" title="Initialization, initialize base classes." alt="" coords="17,372,575,391"/>
+<area shape="rect" href="pyinotify.ThreadedNotifier-class.html#stop" title="Stop notifier&#39;s loop." alt="" coords="17,391,575,409"/>
+<area shape="rect" href="pyinotify.ThreadedNotifier-class.html#loop" title="Thread&#39;s main loop." alt="" coords="17,409,575,428"/>
+<area shape="rect" href="pyinotify.ThreadedNotifier-class.html#run" title="Start thread&#39;s loop: read and process events until the method stop() is &#160;called." alt="" coords="17,428,575,447"/>
+<area shape="rect" href="pyinotify.ThreadedNotifier-class.html" title="This notifier inherits from threading.Thread for instanciating a separate thread, and also inherits from Notifier, because it is a threaded notifier." alt="" coords="16,347,576,448"/>
+<area shape="rect" href="javascript:void(0);" title="threading.Thread.name" alt="" coords="89,89,255,108"/>
+<area shape="rect" href="javascript:void(0);" title="threading.Thread.ident" alt="" coords="89,108,255,127"/>
+<area shape="rect" href="javascript:void(0);" title="threading.Thread.daemon" alt="" coords="89,127,255,145"/>
+<area shape="rect" href="javascript:void(0);" title="repr(x)" alt="" coords="89,148,255,167"/>
+<area shape="rect" href="javascript:void(0);" title="threading.Thread.start" alt="" coords="89,167,255,185"/>
+<area shape="rect" href="javascript:void(0);" title="threading.Thread.join" alt="" coords="89,185,255,204"/>
+<area shape="rect" href="javascript:void(0);" title="threading.Thread.isAlive" alt="" coords="89,204,255,223"/>
+<area shape="rect" href="javascript:void(0);" title="threading.Thread.is_alive" alt="" coords="89,223,255,241"/>
+<area shape="rect" href="javascript:void(0);" title="threading.Thread.isDaemon" alt="" coords="89,241,255,260"/>
+<area shape="rect" href="javascript:void(0);" title="threading.Thread.setDaemon" alt="" coords="89,260,255,279"/>
+<area shape="rect" href="javascript:void(0);" title="threading.Thread.getName" alt="" coords="89,279,255,297"/>
+<area shape="rect" href="javascript:void(0);" title="threading.Thread.setName" alt="" coords="89,297,255,316"/>
+<area shape="rect" href="javascript:void(0);" title="threading.Thread" alt="" coords="88,72,256,317"/>
+<area shape="rect" href="pyinotify.Notifier-class.html#append_event" title="Append a raw event to the event queue." alt="" coords="308,151,532,169"/>
+<area shape="rect" href="pyinotify.Notifier-class.html#proc_fun" title="pyinotify.Notifier.proc_fun" alt="" coords="308,169,532,188"/>
+<area shape="rect" href="pyinotify.Notifier-class.html#coalesce_events" title="Coalescing events." alt="" coords="308,188,532,207"/>
+<area shape="rect" href="pyinotify.Notifier-class.html#check_events" title="Check for new events available to read, blocks up to timeout milliseconds." alt="" coords="308,207,532,225"/>
+<area shape="rect" href="pyinotify.Notifier-class.html#read_events" title="Read events from device, build _RawEvents, and enqueue them." alt="" coords="308,225,532,244"/>
+<area shape="rect" href="pyinotify.Notifier-class.html#process_events" title="Routine for processing events from queue by calling their associated &#160;proccessing method (an instance of ProcessEvent)." alt="" coords="308,244,532,263"/>
+<area shape="rect" href="pyinotify.Notifier-class.html" title="Read notifications, process events." alt="" coords="307,125,533,264"/>
+<area shape="rect" href="javascript:void(0);" title="threading._Verbose" alt="" coords="115,11,229,43"/>
+</map>
+ <img src="uml_class_diagram_for_pyinotif_17.gif" alt='' usemap="#uml_class_diagram_for_pyinotif_17" ismap="ismap" class="graph-without-title" />
+</center>
+</center>
+<hr />
+<p>This notifier inherits from threading.Thread for instanciating a
+ separate thread, and also inherits from Notifier, because it is a
+ threaded notifier.</p>
+ <p>Note that every functionality provided by this class is also provided
+ through Notifier class. Moreover Notifier should be considered first
+ because it is not threaded and could be easily daemonized.</p>
+
+<!-- ==================== INSTANCE METHODS ==================== -->
+<a name="section-InstanceMethods"></a>
+<table class="summary" border="1" cellpadding="3"
+ cellspacing="0" width="100%" bgcolor="white">
+<tr bgcolor="#70b0f0" class="table-header">
+ <td colspan="2" class="table-header">
+ <table border="0" cellpadding="0" cellspacing="0" width="100%">
+ <tr valign="top">
+ <td align="left"><span class="table-header">Instance Methods</span></td>
+ <td align="right" valign="top"
+ ><span class="options">[<a href="#section-InstanceMethods"
+ class="privatelink" onclick="toggle_private();"
+ >hide private</a>]</span></td>
+ </tr>
+ </table>
+ </td>
+</tr>
+<tr>
+ <td width="15%" align="right" valign="top" class="summary">
+ <span class="summary-type">&nbsp;</span>
+ </td><td class="summary">
+ <table width="100%" cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td><span class="summary-sig"><a href="pyinotify.ThreadedNotifier-class.html#__init__" class="summary-sig-name">__init__</a>(<span class="summary-sig-arg">self</span>,
+ <span class="summary-sig-arg">watch_manager</span>,
+ <span class="summary-sig-arg">default_proc_fun</span>=<span class="summary-sig-default">None</span>,
+ <span class="summary-sig-arg">read_freq</span>=<span class="summary-sig-default">0</span>,
+ <span class="summary-sig-arg">threshold</span>=<span class="summary-sig-default">0</span>,
+ <span class="summary-sig-arg">timeout</span>=<span class="summary-sig-default">None</span>)</span><br />
+ Initialization, initialize base classes.</td>
+ <td align="right" valign="top">
+ <span class="codelink"><a href="pyinotify-pysrc.html#ThreadedNotifier.__init__">source&nbsp;code</a></span>
+
+ </td>
+ </tr>
+ </table>
+
+ </td>
+ </tr>
+<tr>
+ <td width="15%" align="right" valign="top" class="summary">
+ <span class="summary-type">&nbsp;</span>
+ </td><td class="summary">
+ <table width="100%" cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td><span class="summary-sig"><a href="pyinotify.ThreadedNotifier-class.html#stop" class="summary-sig-name">stop</a>(<span class="summary-sig-arg">self</span>)</span><br />
+ Stop notifier's loop.</td>
+ <td align="right" valign="top">
+ <span class="codelink"><a href="pyinotify-pysrc.html#ThreadedNotifier.stop">source&nbsp;code</a></span>
+
+ </td>
+ </tr>
+ </table>
+
+ </td>
+ </tr>
+<tr>
+ <td width="15%" align="right" valign="top" class="summary">
+ <span class="summary-type">&nbsp;</span>
+ </td><td class="summary">
+ <table width="100%" cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td><span class="summary-sig"><a href="pyinotify.ThreadedNotifier-class.html#loop" class="summary-sig-name">loop</a>(<span class="summary-sig-arg">self</span>)</span><br />
+ Thread's main loop.</td>
+ <td align="right" valign="top">
+ <span class="codelink"><a href="pyinotify-pysrc.html#ThreadedNotifier.loop">source&nbsp;code</a></span>
+
+ </td>
+ </tr>
+ </table>
+
+ </td>
+ </tr>
+<tr>
+ <td width="15%" align="right" valign="top" class="summary">
+ <span class="summary-type">&nbsp;</span>
+ </td><td class="summary">
+ <table width="100%" cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td><span class="summary-sig"><a href="pyinotify.ThreadedNotifier-class.html#run" class="summary-sig-name">run</a>(<span class="summary-sig-arg">self</span>)</span><br />
+ Start thread's loop: read and process events until the method stop()
+ is called.</td>
+ <td align="right" valign="top">
+ <span class="codelink"><a href="pyinotify-pysrc.html#ThreadedNotifier.run">source&nbsp;code</a></span>
+
+ </td>
+ </tr>
+ </table>
+
+ </td>
+ </tr>
+ <tr>
+ <td colspan="2" class="summary">
+ <p class="indent-wrapped-lines"><b>Inherited from <code>threading.Thread</code></b>:
+ <code>__repr__</code>,
+ <code>getName</code>,
+ <code>isAlive</code>,
+ <code>isDaemon</code>,
+ <code>is_alive</code>,
+ <code>join</code>,
+ <code>setDaemon</code>,
+ <code>setName</code>,
+ <code>start</code>
+ </p>
+ <div class="private"> <p class="indent-wrapped-lines"><b>Inherited from <code>threading.Thread</code></b> (private):
+ <code>_set_daemon</code>,
+ <code>_set_ident</code>
+ </p></div>
+ <div class="private"> <p class="indent-wrapped-lines"><b>Inherited from <code>threading._Verbose</code></b> (private):
+ <code>_note</code>
+ </p></div>
+ <p class="indent-wrapped-lines"><b>Inherited from <code><a href="pyinotify.Notifier-class.html">Notifier</a></code></b>:
+ <code><a href="pyinotify.Notifier-class.html#append_event">append_event</a></code>,
+ <code><a href="pyinotify.Notifier-class.html#check_events">check_events</a></code>,
+ <code><a href="pyinotify.Notifier-class.html#coalesce_events">coalesce_events</a></code>,
+ <code><a href="pyinotify.Notifier-class.html#proc_fun">proc_fun</a></code>,
+ <code><a href="pyinotify.Notifier-class.html#process_events">process_events</a></code>,
+ <code><a href="pyinotify.Notifier-class.html#read_events">read_events</a></code>
+ </p>
+ <div class="private"> <p class="indent-wrapped-lines"><b>Inherited from <code><a href="pyinotify.Notifier-class.html">Notifier</a></code></b> (private):
+ <code><a href="pyinotify.Notifier-class.html#_sleep" onclick="show_private();">_sleep</a></code>
+ </p></div>
+ <p class="indent-wrapped-lines"><b>Inherited from <code>object</code></b>:
+ <code>__delattr__</code>,
+ <code>__format__</code>,
+ <code>__getattribute__</code>,
+ <code>__hash__</code>,
+ <code>__new__</code>,
+ <code>__reduce__</code>,
+ <code>__reduce_ex__</code>,
+ <code>__setattr__</code>,
+ <code>__sizeof__</code>,
+ <code>__str__</code>,
+ <code>__subclasshook__</code>
+ </p>
+ </td>
+ </tr>
+</table>
+<!-- ==================== PROPERTIES ==================== -->
+<a name="section-Properties"></a>
+<table class="summary" border="1" cellpadding="3"
+ cellspacing="0" width="100%" bgcolor="white">
+<tr bgcolor="#70b0f0" class="table-header">
+ <td colspan="2" class="table-header">
+ <table border="0" cellpadding="0" cellspacing="0" width="100%">
+ <tr valign="top">
+ <td align="left"><span class="table-header">Properties</span></td>
+ <td align="right" valign="top"
+ ><span class="options">[<a href="#section-Properties"
+ class="privatelink" onclick="toggle_private();"
+ >hide private</a>]</span></td>
+ </tr>
+ </table>
+ </td>
+</tr>
+ <tr>
+ <td colspan="2" class="summary">
+ <p class="indent-wrapped-lines"><b>Inherited from <code>threading.Thread</code></b>:
+ <code>daemon</code>,
+ <code>ident</code>,
+ <code>name</code>
+ </p>
+ <p class="indent-wrapped-lines"><b>Inherited from <code>object</code></b>:
+ <code>__class__</code>
+ </p>
+ </td>
+ </tr>
+</table>
+<!-- ==================== METHOD DETAILS ==================== -->
+<a name="section-MethodDetails"></a>
+<table class="details" border="1" cellpadding="3"
+ cellspacing="0" width="100%" bgcolor="white">
+<tr bgcolor="#70b0f0" class="table-header">
+ <td colspan="2" class="table-header">
+ <table border="0" cellpadding="0" cellspacing="0" width="100%">
+ <tr valign="top">
+ <td align="left"><span class="table-header">Method Details</span></td>
+ <td align="right" valign="top"
+ ><span class="options">[<a href="#section-MethodDetails"
+ class="privatelink" onclick="toggle_private();"
+ >hide private</a>]</span></td>
+ </tr>
+ </table>
+ </td>
+</tr>
+</table>
+<a name="__init__"></a>
+<div>
+<table class="details" border="1" cellpadding="3"
+ cellspacing="0" width="100%" bgcolor="white">
+<tr><td>
+ <table width="100%" cellpadding="0" cellspacing="0" border="0">
+ <tr valign="top"><td>
+ <h3 class="epydoc"><span class="sig"><span class="sig-name">__init__</span>(<span class="sig-arg">self</span>,
+ <span class="sig-arg">watch_manager</span>,
+ <span class="sig-arg">default_proc_fun</span>=<span class="sig-default">None</span>,
+ <span class="sig-arg">read_freq</span>=<span class="sig-default">0</span>,
+ <span class="sig-arg">threshold</span>=<span class="sig-default">0</span>,
+ <span class="sig-arg">timeout</span>=<span class="sig-default">None</span>)</span>
+ <br /><em class="fname">(Constructor)</em>
+ </h3>
+ </td><td align="right" valign="top"
+ ><span class="codelink"><a href="pyinotify-pysrc.html#ThreadedNotifier.__init__">source&nbsp;code</a></span>&nbsp;
+ </td>
+ </tr></table>
+
+ <p>Initialization, initialize base classes. read_freq, threshold and
+ timeout parameters are used when looping.</p>
+ <dl class="fields">
+ <dt>Parameters:</dt>
+ <dd><ul class="nomargin-top">
+ <li><strong class="pname"><code>watch_manager</code></strong> (WatchManager instance) - Watch Manager.</li>
+ <li><strong class="pname"><code>default_proc_fun</code></strong> (instance of ProcessEvent) - Default processing method. See base class.</li>
+ <li><strong class="pname"><code>read_freq</code></strong> (int) - if read_freq == 0, events are read asap, if read_freq is &gt; 0,
+ this thread sleeps max(0, read_freq - timeout) seconds.</li>
+ <li><strong class="pname"><code>threshold</code></strong> (int) - File descriptor will be read only if the accumulated size to read
+ becomes &gt;= threshold. If != 0, you likely want to use it in
+ combination with an appropriate value set for read_freq because
+ without that you would keep looping without really reading
+ anything and that until the amount of events to read is &gt;=
+ threshold. At least with read_freq you might sleep.</li>
+ <li><strong class="pname"><code>timeout</code></strong> (int) - see http://docs.python.org/lib/poll-objects.html#poll-objects</li>
+ </ul></dd>
+ <dt>Overrides:
+ object.__init__
+ </dt>
+ </dl>
+</td></tr></table>
+</div>
+<a name="stop"></a>
+<div>
+<table class="details" border="1" cellpadding="3"
+ cellspacing="0" width="100%" bgcolor="white">
+<tr><td>
+ <table width="100%" cellpadding="0" cellspacing="0" border="0">
+ <tr valign="top"><td>
+ <h3 class="epydoc"><span class="sig"><span class="sig-name">stop</span>(<span class="sig-arg">self</span>)</span>
+ </h3>
+ </td><td align="right" valign="top"
+ ><span class="codelink"><a href="pyinotify-pysrc.html#ThreadedNotifier.stop">source&nbsp;code</a></span>&nbsp;
+ </td>
+ </tr></table>
+
+ <p>Stop notifier's loop. Stop notification. Join the thread.</p>
+ <dl class="fields">
+ <dt>Overrides:
+ <a href="pyinotify.Notifier-class.html#stop">Notifier.stop</a>
+ </dt>
+ </dl>
+</td></tr></table>
+</div>
+<a name="loop"></a>
+<div>
+<table class="details" border="1" cellpadding="3"
+ cellspacing="0" width="100%" bgcolor="white">
+<tr><td>
+ <table width="100%" cellpadding="0" cellspacing="0" border="0">
+ <tr valign="top"><td>
+ <h3 class="epydoc"><span class="sig"><span class="sig-name">loop</span>(<span class="sig-arg">self</span>)</span>
+ </h3>
+ </td><td align="right" valign="top"
+ ><span class="codelink"><a href="pyinotify-pysrc.html#ThreadedNotifier.loop">source&nbsp;code</a></span>&nbsp;
+ </td>
+ </tr></table>
+
+ <p>Thread's main loop. Don't meant to be called by user directly. Call
+ inherited start() method instead.</p>
+ <p>Events are read only once time every min(read_freq, timeout) seconds
+ at best and only if the size of events to read is &gt;= threshold.</p>
+ <dl class="fields">
+ <dt>Parameters:</dt>
+ <dd><ul class="nomargin-top">
+ <li><strong class="pname"><code>callback</code></strong> - Functor called after each event processing iteration. Expects to
+ receive the notifier object (self) as first parameter. If this
+ function returns True the loop is immediately terminated
+ otherwise the loop method keeps looping.</li>
+ <li><strong class="pname"><code>daemonize</code></strong> - This thread is daemonized if set to True.</li>
+ <li><strong class="pname"><code>args</code></strong> - Optional and relevant only if daemonize is True. Remaining
+ keyworded arguments are directly passed to daemonize see
+ __daemonize() method. If pid_file=None or is set to a pathname
+ the caller must ensure the file does not exist before this method
+ is called otherwise an exception pyinotify.NotifierError will be
+ raised. If pid_file=False it is still daemonized but the pid is
+ not written in any file.</li>
+ </ul></dd>
+ <dt>Overrides:
+ <a href="pyinotify.Notifier-class.html#loop">Notifier.loop</a>
+ </dt>
+ </dl>
+</td></tr></table>
+</div>
+<a name="run"></a>
+<div>
+<table class="details" border="1" cellpadding="3"
+ cellspacing="0" width="100%" bgcolor="white">
+<tr><td>
+ <table width="100%" cellpadding="0" cellspacing="0" border="0">
+ <tr valign="top"><td>
+ <h3 class="epydoc"><span class="sig"><span class="sig-name">run</span>(<span class="sig-arg">self</span>)</span>
+ </h3>
+ </td><td align="right" valign="top"
+ ><span class="codelink"><a href="pyinotify-pysrc.html#ThreadedNotifier.run">source&nbsp;code</a></span>&nbsp;
+ </td>
+ </tr></table>
+
+ <p>Start thread's loop: read and process events until the method stop()
+ is called. Never call this method directly, instead call the start()
+ method inherited from threading.Thread, which then will call run() in its
+ turn.</p>
+ <dl class="fields">
+ <dt>Overrides:
+ threading.Thread.run
+ </dt>
+ </dl>
+</td></tr></table>
+</div>
+<br />
+<!-- ==================== NAVIGATION BAR ==================== -->
+<table class="navbar" border="0" width="100%" cellpadding="0"
+ bgcolor="#a0c0ff" cellspacing="0">
+ <tr valign="middle">
+ <!-- Home link -->
+ <th>&nbsp;&nbsp;&nbsp;<a
+ href="pyinotify-module.html">Home</a>&nbsp;&nbsp;&nbsp;</th>
+
+ <!-- Tree link -->
+ <th>&nbsp;&nbsp;&nbsp;<a
+ href="module-tree.html">Trees</a>&nbsp;&nbsp;&nbsp;</th>
+
+ <!-- Index link -->
+ <th>&nbsp;&nbsp;&nbsp;<a
+ href="identifier-index.html">Indices</a>&nbsp;&nbsp;&nbsp;</th>
+
+ <!-- Help link -->
+ <th>&nbsp;&nbsp;&nbsp;<a
+ href="help.html">Help</a>&nbsp;&nbsp;&nbsp;</th>
+
+ <th class="navbar" width="100%"></th>
+ </tr>
+</table>
+<table border="0" cellpadding="0" cellspacing="0" width="100%%">
+ <tr>
+ <td align="left" class="footer">
+ Generated by Epydoc 3.0.1 on Wed Sep 15 21:46:50 2010
+ </td>
+ <td align="right" class="footer">
+ <a target="mainFrame" href="http://epydoc.sourceforge.net"
+ >http://epydoc.sourceforge.net</a>
+ </td>
+ </tr>
+</table>
+
+<script type="text/javascript">
+ <!--
+ // Private objects are initially displayed (because if
+ // javascript is turned off then we want them to be
+ // visible); but by default, we want to hide them. So hide
+ // them unless we have a cookie that says to show them.
+ checkCookie();
+ // -->
+</script>
+</body>
+</html>
diff --git a/python2/docstrings/pyinotify.UnicodeLogRecord-class.html b/python2/docstrings/pyinotify.UnicodeLogRecord-class.html
new file mode 100644
index 0000000..4367d4a
--- /dev/null
+++ b/python2/docstrings/pyinotify.UnicodeLogRecord-class.html
@@ -0,0 +1,259 @@
+<?xml version="1.0" encoding="ascii"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+ <title>pyinotify.UnicodeLogRecord</title>
+ <link rel="stylesheet" href="epydoc.css" type="text/css" />
+ <script type="text/javascript" src="epydoc.js"></script>
+</head>
+
+<body bgcolor="white" text="black" link="blue" vlink="#204080"
+ alink="#204080">
+<!-- ==================== NAVIGATION BAR ==================== -->
+<table class="navbar" border="0" width="100%" cellpadding="0"
+ bgcolor="#a0c0ff" cellspacing="0">
+ <tr valign="middle">
+ <!-- Home link -->
+ <th>&nbsp;&nbsp;&nbsp;<a
+ href="pyinotify-module.html">Home</a>&nbsp;&nbsp;&nbsp;</th>
+
+ <!-- Tree link -->
+ <th>&nbsp;&nbsp;&nbsp;<a
+ href="module-tree.html">Trees</a>&nbsp;&nbsp;&nbsp;</th>
+
+ <!-- Index link -->
+ <th>&nbsp;&nbsp;&nbsp;<a
+ href="identifier-index.html">Indices</a>&nbsp;&nbsp;&nbsp;</th>
+
+ <!-- Help link -->
+ <th>&nbsp;&nbsp;&nbsp;<a
+ href="help.html">Help</a>&nbsp;&nbsp;&nbsp;</th>
+
+ <th class="navbar" width="100%"></th>
+ </tr>
+</table>
+<table width="100%" cellpadding="0" cellspacing="0">
+ <tr valign="top">
+ <td width="100%">
+ <span class="breadcrumbs">
+ <a href="pyinotify-module.html">Module&nbsp;pyinotify</a> ::
+ Class&nbsp;UnicodeLogRecord
+ </span>
+ </td>
+ <td>
+ <table cellpadding="0" cellspacing="0">
+ <!-- hide/show private -->
+ <tr><td align="right"><span class="options">[<a href="javascript:void(0);" class="privatelink"
+ onclick="toggle_private();">hide&nbsp;private</a>]</span></td></tr>
+ <tr><td align="right"><span class="options"
+ >[<a href="frames.html" target="_top">frames</a
+ >]&nbsp;|&nbsp;<a href="pyinotify.UnicodeLogRecord-class.html"
+ target="_top">no&nbsp;frames</a>]</span></td></tr>
+ </table>
+ </td>
+ </tr>
+</table>
+<!-- ==================== CLASS DESCRIPTION ==================== -->
+<h1 class="epydoc">Class UnicodeLogRecord</h1><p class="nomargin-top"><span class="codelink"><a href="pyinotify-pysrc.html#UnicodeLogRecord">source&nbsp;code</a></span></p>
+<center>
+<center> <map id="uml_class_diagram_for_pyinotif_18" name="uml_class_diagram_for_pyinotif_18">
+<area shape="rect" href="pyinotify.UnicodeLogRecord-class.html#__init__" title="Initialize a logging record with interesting information." alt="" coords="17,111,468,129"/>
+<area shape="rect" href="pyinotify.UnicodeLogRecord-class.html#getMessage" title="Return the message for this LogRecord." alt="" coords="17,129,468,148"/>
+<area shape="rect" href="pyinotify.UnicodeLogRecord-class.html" title="pyinotify.UnicodeLogRecord" alt="" coords="16,85,469,149"/>
+<area shape="rect" href="javascript:void(0);" title="logging.LogRecord.__str__" alt="" coords="189,36,296,55"/>
+<area shape="rect" href="javascript:void(0);" title="A LogRecord instance represents an event being logged." alt="" coords="188,11,297,56"/>
+</map>
+ <img src="uml_class_diagram_for_pyinotif_18.gif" alt='' usemap="#uml_class_diagram_for_pyinotif_18" ismap="ismap" class="graph-without-title" />
+</center>
+</center>
+<hr />
+<!-- ==================== INSTANCE METHODS ==================== -->
+<a name="section-InstanceMethods"></a>
+<table class="summary" border="1" cellpadding="3"
+ cellspacing="0" width="100%" bgcolor="white">
+<tr bgcolor="#70b0f0" class="table-header">
+ <td colspan="2" class="table-header">
+ <table border="0" cellpadding="0" cellspacing="0" width="100%">
+ <tr valign="top">
+ <td align="left"><span class="table-header">Instance Methods</span></td>
+ <td align="right" valign="top"
+ ><span class="options">[<a href="#section-InstanceMethods"
+ class="privatelink" onclick="toggle_private();"
+ >hide private</a>]</span></td>
+ </tr>
+ </table>
+ </td>
+</tr>
+<tr>
+ <td width="15%" align="right" valign="top" class="summary">
+ <span class="summary-type">&nbsp;</span>
+ </td><td class="summary">
+ <table width="100%" cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td><span class="summary-sig"><a href="pyinotify.UnicodeLogRecord-class.html#__init__" class="summary-sig-name">__init__</a>(<span class="summary-sig-arg">self</span>,
+ <span class="summary-sig-arg">name</span>,
+ <span class="summary-sig-arg">level</span>,
+ <span class="summary-sig-arg">pathname</span>,
+ <span class="summary-sig-arg">lineno</span>,
+ <span class="summary-sig-arg">msg</span>,
+ <span class="summary-sig-arg">args</span>,
+ <span class="summary-sig-arg">exc_info</span>,
+ <span class="summary-sig-arg">func</span>=<span class="summary-sig-default">None</span>)</span><br />
+ Initialize a logging record with interesting information.</td>
+ <td align="right" valign="top">
+ <span class="codelink"><a href="pyinotify-pysrc.html#UnicodeLogRecord.__init__">source&nbsp;code</a></span>
+
+ </td>
+ </tr>
+ </table>
+
+ </td>
+ </tr>
+<tr>
+ <td width="15%" align="right" valign="top" class="summary">
+ <span class="summary-type">&nbsp;</span>
+ </td><td class="summary">
+ <table width="100%" cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td><span class="summary-sig"><a href="pyinotify.UnicodeLogRecord-class.html#getMessage" class="summary-sig-name">getMessage</a>(<span class="summary-sig-arg">self</span>)</span><br />
+ Return the message for this LogRecord.</td>
+ <td align="right" valign="top">
+ <span class="codelink"><a href="pyinotify-pysrc.html#UnicodeLogRecord.getMessage">source&nbsp;code</a></span>
+
+ </td>
+ </tr>
+ </table>
+
+ </td>
+ </tr>
+ <tr>
+ <td colspan="2" class="summary">
+ <p class="indent-wrapped-lines"><b>Inherited from <code>logging.LogRecord</code></b>:
+ <code>__str__</code>
+ </p>
+ </td>
+ </tr>
+</table>
+<!-- ==================== METHOD DETAILS ==================== -->
+<a name="section-MethodDetails"></a>
+<table class="details" border="1" cellpadding="3"
+ cellspacing="0" width="100%" bgcolor="white">
+<tr bgcolor="#70b0f0" class="table-header">
+ <td colspan="2" class="table-header">
+ <table border="0" cellpadding="0" cellspacing="0" width="100%">
+ <tr valign="top">
+ <td align="left"><span class="table-header">Method Details</span></td>
+ <td align="right" valign="top"
+ ><span class="options">[<a href="#section-MethodDetails"
+ class="privatelink" onclick="toggle_private();"
+ >hide private</a>]</span></td>
+ </tr>
+ </table>
+ </td>
+</tr>
+</table>
+<a name="__init__"></a>
+<div>
+<table class="details" border="1" cellpadding="3"
+ cellspacing="0" width="100%" bgcolor="white">
+<tr><td>
+ <table width="100%" cellpadding="0" cellspacing="0" border="0">
+ <tr valign="top"><td>
+ <h3 class="epydoc"><span class="sig"><span class="sig-name">__init__</span>(<span class="sig-arg">self</span>,
+ <span class="sig-arg">name</span>,
+ <span class="sig-arg">level</span>,
+ <span class="sig-arg">pathname</span>,
+ <span class="sig-arg">lineno</span>,
+ <span class="sig-arg">msg</span>,
+ <span class="sig-arg">args</span>,
+ <span class="sig-arg">exc_info</span>,
+ <span class="sig-arg">func</span>=<span class="sig-default">None</span>)</span>
+ <br /><em class="fname">(Constructor)</em>
+ </h3>
+ </td><td align="right" valign="top"
+ ><span class="codelink"><a href="pyinotify-pysrc.html#UnicodeLogRecord.__init__">source&nbsp;code</a></span>&nbsp;
+ </td>
+ </tr></table>
+
+ <p>Initialize a logging record with interesting information.</p>
+ <dl class="fields">
+ <dt>Overrides:
+ logging.LogRecord.__init__
+ <dd><em class="note">(inherited documentation)</em></dd>
+ </dt>
+ </dl>
+</td></tr></table>
+</div>
+<a name="getMessage"></a>
+<div>
+<table class="details" border="1" cellpadding="3"
+ cellspacing="0" width="100%" bgcolor="white">
+<tr><td>
+ <table width="100%" cellpadding="0" cellspacing="0" border="0">
+ <tr valign="top"><td>
+ <h3 class="epydoc"><span class="sig"><span class="sig-name">getMessage</span>(<span class="sig-arg">self</span>)</span>
+ </h3>
+ </td><td align="right" valign="top"
+ ><span class="codelink"><a href="pyinotify-pysrc.html#UnicodeLogRecord.getMessage">source&nbsp;code</a></span>&nbsp;
+ </td>
+ </tr></table>
+
+ <p>Return the message for this LogRecord.</p>
+ <p>Return the message for this LogRecord after merging any user-supplied
+ arguments with the message.</p>
+ <dl class="fields">
+ <dt>Overrides:
+ logging.LogRecord.getMessage
+ <dd><em class="note">(inherited documentation)</em></dd>
+ </dt>
+ </dl>
+</td></tr></table>
+</div>
+<br />
+<!-- ==================== NAVIGATION BAR ==================== -->
+<table class="navbar" border="0" width="100%" cellpadding="0"
+ bgcolor="#a0c0ff" cellspacing="0">
+ <tr valign="middle">
+ <!-- Home link -->
+ <th>&nbsp;&nbsp;&nbsp;<a
+ href="pyinotify-module.html">Home</a>&nbsp;&nbsp;&nbsp;</th>
+
+ <!-- Tree link -->
+ <th>&nbsp;&nbsp;&nbsp;<a
+ href="module-tree.html">Trees</a>&nbsp;&nbsp;&nbsp;</th>
+
+ <!-- Index link -->
+ <th>&nbsp;&nbsp;&nbsp;<a
+ href="identifier-index.html">Indices</a>&nbsp;&nbsp;&nbsp;</th>
+
+ <!-- Help link -->
+ <th>&nbsp;&nbsp;&nbsp;<a
+ href="help.html">Help</a>&nbsp;&nbsp;&nbsp;</th>
+
+ <th class="navbar" width="100%"></th>
+ </tr>
+</table>
+<table border="0" cellpadding="0" cellspacing="0" width="100%%">
+ <tr>
+ <td align="left" class="footer">
+ Generated by Epydoc 3.0.1 on Wed Sep 15 21:46:50 2010
+ </td>
+ <td align="right" class="footer">
+ <a target="mainFrame" href="http://epydoc.sourceforge.net"
+ >http://epydoc.sourceforge.net</a>
+ </td>
+ </tr>
+</table>
+
+<script type="text/javascript">
+ <!--
+ // Private objects are initially displayed (because if
+ // javascript is turned off then we want them to be
+ // visible); but by default, we want to hide them. So hide
+ // them unless we have a cookie that says to show them.
+ checkCookie();
+ // -->
+</script>
+</body>
+</html>
diff --git a/python2/docstrings/pyinotify.UnsupportedLibcVersionError-class.html b/python2/docstrings/pyinotify.UnsupportedLibcVersionError-class.html
new file mode 100644
index 0000000..e70fa60
--- /dev/null
+++ b/python2/docstrings/pyinotify.UnsupportedLibcVersionError-class.html
@@ -0,0 +1,266 @@
+<?xml version="1.0" encoding="ascii"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+ <title>pyinotify.UnsupportedLibcVersionError</title>
+ <link rel="stylesheet" href="epydoc.css" type="text/css" />
+ <script type="text/javascript" src="epydoc.js"></script>
+</head>
+
+<body bgcolor="white" text="black" link="blue" vlink="#204080"
+ alink="#204080">
+<!-- ==================== NAVIGATION BAR ==================== -->
+<table class="navbar" border="0" width="100%" cellpadding="0"
+ bgcolor="#a0c0ff" cellspacing="0">
+ <tr valign="middle">
+ <!-- Home link -->
+ <th>&nbsp;&nbsp;&nbsp;<a
+ href="pyinotify-module.html">Home</a>&nbsp;&nbsp;&nbsp;</th>
+
+ <!-- Tree link -->
+ <th>&nbsp;&nbsp;&nbsp;<a
+ href="module-tree.html">Trees</a>&nbsp;&nbsp;&nbsp;</th>
+
+ <!-- Index link -->
+ <th>&nbsp;&nbsp;&nbsp;<a
+ href="identifier-index.html">Indices</a>&nbsp;&nbsp;&nbsp;</th>
+
+ <!-- Help link -->
+ <th>&nbsp;&nbsp;&nbsp;<a
+ href="help.html">Help</a>&nbsp;&nbsp;&nbsp;</th>
+
+ <th class="navbar" width="100%"></th>
+ </tr>
+</table>
+<table width="100%" cellpadding="0" cellspacing="0">
+ <tr valign="top">
+ <td width="100%">
+ <span class="breadcrumbs">
+ <a href="pyinotify-module.html">Module&nbsp;pyinotify</a> ::
+ Class&nbsp;UnsupportedLibcVersionError
+ </span>
+ </td>
+ <td>
+ <table cellpadding="0" cellspacing="0">
+ <!-- hide/show private -->
+ <tr><td align="right"><span class="options">[<a href="javascript:void(0);" class="privatelink"
+ onclick="toggle_private();">hide&nbsp;private</a>]</span></td></tr>
+ <tr><td align="right"><span class="options"
+ >[<a href="frames.html" target="_top">frames</a
+ >]&nbsp;|&nbsp;<a href="pyinotify.UnsupportedLibcVersionError-class.html"
+ target="_top">no&nbsp;frames</a>]</span></td></tr>
+ </table>
+ </td>
+ </tr>
+</table>
+<!-- ==================== CLASS DESCRIPTION ==================== -->
+<h1 class="epydoc">Class UnsupportedLibcVersionError</h1><p class="nomargin-top"><span class="codelink"><a href="pyinotify-pysrc.html#UnsupportedLibcVersionError">source&nbsp;code</a></span></p>
+<center>
+<center> <map id="uml_class_diagram_for_pyinotif_19" name="uml_class_diagram_for_pyinotif_19">
+<area shape="rect" href="pyinotify.UnsupportedLibcVersionError-class.html#__init__" title="x.__init__(...) initializes x; see x.__class__.__doc__ for signature" alt="" coords="17,447,185,465"/>
+<area shape="rect" href="pyinotify.UnsupportedLibcVersionError-class.html" title="Raised when libc couldn&#39;t be loaded or when inotify functions werent provided." alt="" coords="16,421,187,467"/>
+<area shape="rect" href="pyinotify.PyinotifyError-class.html" title="Indicates exceptions raised by a Pyinotify class." alt="" coords="60,360,143,392"/>
+<area shape="rect" href="javascript:void(0);" title="exceptions.BaseException.args" alt="" coords="24,28,179,47"/>
+<area shape="rect" href="javascript:void(0);" title="exceptions.BaseException.message" alt="" coords="24,47,179,65"/>
+<area shape="rect" href="javascript:void(0);" title="x.__delattr__(&#39;name&#39;) &lt;==&gt; del x.name" alt="" coords="24,68,179,87"/>
+<area shape="rect" href="javascript:void(0);" title="x.__getattribute__(&#39;name&#39;) &lt;==&gt; x.name" alt="" coords="24,87,179,105"/>
+<area shape="rect" href="javascript:void(0);" title="x[y]" alt="" coords="24,105,179,124"/>
+<area shape="rect" href="javascript:void(0);" title="x[i:j]" alt="" coords="24,124,179,143"/>
+<area shape="rect" href="javascript:void(0);" title="helper for pickle" alt="" coords="24,143,179,161"/>
+<area shape="rect" href="javascript:void(0);" title="repr(x)" alt="" coords="24,161,179,180"/>
+<area shape="rect" href="javascript:void(0);" title="x.__setattr__(&#39;name&#39;, value) &lt;==&gt; x.name = value" alt="" coords="24,180,179,199"/>
+<area shape="rect" href="javascript:void(0);" title="exceptions.BaseException.__setstate__" alt="" coords="24,199,179,217"/>
+<area shape="rect" href="javascript:void(0);" title="str(x)" alt="" coords="24,217,179,236"/>
+<area shape="rect" href="javascript:void(0);" title="exceptions.BaseException.__unicode__" alt="" coords="24,236,179,255"/>
+<area shape="rect" href="javascript:void(0);" title="Common base class for all exceptions" alt="" coords="23,11,180,256"/>
+<area shape="rect" href="javascript:void(0);" title="exceptions.Exception.__new__" alt="" coords="39,311,164,329"/>
+<area shape="rect" href="javascript:void(0);" title="Common base class for all non&#45;exit exceptions." alt="" coords="37,285,165,331"/>
+</map>
+ <img src="uml_class_diagram_for_pyinotif_19.gif" alt='' usemap="#uml_class_diagram_for_pyinotif_19" ismap="ismap" class="graph-without-title" />
+</center>
+</center>
+<hr />
+<p>Raised when libc couldn't be loaded or when inotify functions werent
+ provided.</p>
+
+<!-- ==================== INSTANCE METHODS ==================== -->
+<a name="section-InstanceMethods"></a>
+<table class="summary" border="1" cellpadding="3"
+ cellspacing="0" width="100%" bgcolor="white">
+<tr bgcolor="#70b0f0" class="table-header">
+ <td colspan="2" class="table-header">
+ <table border="0" cellpadding="0" cellspacing="0" width="100%">
+ <tr valign="top">
+ <td align="left"><span class="table-header">Instance Methods</span></td>
+ <td align="right" valign="top"
+ ><span class="options">[<a href="#section-InstanceMethods"
+ class="privatelink" onclick="toggle_private();"
+ >hide private</a>]</span></td>
+ </tr>
+ </table>
+ </td>
+</tr>
+<tr>
+ <td width="15%" align="right" valign="top" class="summary">
+ <span class="summary-type">&nbsp;</span>
+ </td><td class="summary">
+ <table width="100%" cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td><span class="summary-sig"><a href="pyinotify.UnsupportedLibcVersionError-class.html#__init__" class="summary-sig-name">__init__</a>(<span class="summary-sig-arg">self</span>)</span><br />
+ x.__init__(...) initializes x; see x.__class__.__doc__ for signature</td>
+ <td align="right" valign="top">
+ <span class="codelink"><a href="pyinotify-pysrc.html#UnsupportedLibcVersionError.__init__">source&nbsp;code</a></span>
+
+ </td>
+ </tr>
+ </table>
+
+ </td>
+ </tr>
+ <tr>
+ <td colspan="2" class="summary">
+ <p class="indent-wrapped-lines"><b>Inherited from <code>exceptions.Exception</code></b>:
+ <code>__new__</code>
+ </p>
+ <p class="indent-wrapped-lines"><b>Inherited from <code>exceptions.BaseException</code></b>:
+ <code>__delattr__</code>,
+ <code>__getattribute__</code>,
+ <code>__getitem__</code>,
+ <code>__getslice__</code>,
+ <code>__reduce__</code>,
+ <code>__repr__</code>,
+ <code>__setattr__</code>,
+ <code>__setstate__</code>,
+ <code>__str__</code>,
+ <code>__unicode__</code>
+ </p>
+ <p class="indent-wrapped-lines"><b>Inherited from <code>object</code></b>:
+ <code>__format__</code>,
+ <code>__hash__</code>,
+ <code>__reduce_ex__</code>,
+ <code>__sizeof__</code>,
+ <code>__subclasshook__</code>
+ </p>
+ </td>
+ </tr>
+</table>
+<!-- ==================== PROPERTIES ==================== -->
+<a name="section-Properties"></a>
+<table class="summary" border="1" cellpadding="3"
+ cellspacing="0" width="100%" bgcolor="white">
+<tr bgcolor="#70b0f0" class="table-header">
+ <td colspan="2" class="table-header">
+ <table border="0" cellpadding="0" cellspacing="0" width="100%">
+ <tr valign="top">
+ <td align="left"><span class="table-header">Properties</span></td>
+ <td align="right" valign="top"
+ ><span class="options">[<a href="#section-Properties"
+ class="privatelink" onclick="toggle_private();"
+ >hide private</a>]</span></td>
+ </tr>
+ </table>
+ </td>
+</tr>
+ <tr>
+ <td colspan="2" class="summary">
+ <p class="indent-wrapped-lines"><b>Inherited from <code>exceptions.BaseException</code></b>:
+ <code>args</code>,
+ <code>message</code>
+ </p>
+ <p class="indent-wrapped-lines"><b>Inherited from <code>object</code></b>:
+ <code>__class__</code>
+ </p>
+ </td>
+ </tr>
+</table>
+<!-- ==================== METHOD DETAILS ==================== -->
+<a name="section-MethodDetails"></a>
+<table class="details" border="1" cellpadding="3"
+ cellspacing="0" width="100%" bgcolor="white">
+<tr bgcolor="#70b0f0" class="table-header">
+ <td colspan="2" class="table-header">
+ <table border="0" cellpadding="0" cellspacing="0" width="100%">
+ <tr valign="top">
+ <td align="left"><span class="table-header">Method Details</span></td>
+ <td align="right" valign="top"
+ ><span class="options">[<a href="#section-MethodDetails"
+ class="privatelink" onclick="toggle_private();"
+ >hide private</a>]</span></td>
+ </tr>
+ </table>
+ </td>
+</tr>
+</table>
+<a name="__init__"></a>
+<div>
+<table class="details" border="1" cellpadding="3"
+ cellspacing="0" width="100%" bgcolor="white">
+<tr><td>
+ <table width="100%" cellpadding="0" cellspacing="0" border="0">
+ <tr valign="top"><td>
+ <h3 class="epydoc"><span class="sig"><span class="sig-name">__init__</span>(<span class="sig-arg">self</span>)</span>
+ <br /><em class="fname">(Constructor)</em>
+ </h3>
+ </td><td align="right" valign="top"
+ ><span class="codelink"><a href="pyinotify-pysrc.html#UnsupportedLibcVersionError.__init__">source&nbsp;code</a></span>&nbsp;
+ </td>
+ </tr></table>
+
+ <p>x.__init__(...) initializes x; see x.__class__.__doc__ for
+ signature</p>
+ <dl class="fields">
+ <dt>Overrides:
+ object.__init__
+ <dd><em class="note">(inherited documentation)</em></dd>
+ </dt>
+ </dl>
+</td></tr></table>
+</div>
+<br />
+<!-- ==================== NAVIGATION BAR ==================== -->
+<table class="navbar" border="0" width="100%" cellpadding="0"
+ bgcolor="#a0c0ff" cellspacing="0">
+ <tr valign="middle">
+ <!-- Home link -->
+ <th>&nbsp;&nbsp;&nbsp;<a
+ href="pyinotify-module.html">Home</a>&nbsp;&nbsp;&nbsp;</th>
+
+ <!-- Tree link -->
+ <th>&nbsp;&nbsp;&nbsp;<a
+ href="module-tree.html">Trees</a>&nbsp;&nbsp;&nbsp;</th>
+
+ <!-- Index link -->
+ <th>&nbsp;&nbsp;&nbsp;<a
+ href="identifier-index.html">Indices</a>&nbsp;&nbsp;&nbsp;</th>
+
+ <!-- Help link -->
+ <th>&nbsp;&nbsp;&nbsp;<a
+ href="help.html">Help</a>&nbsp;&nbsp;&nbsp;</th>
+
+ <th class="navbar" width="100%"></th>
+ </tr>
+</table>
+<table border="0" cellpadding="0" cellspacing="0" width="100%%">
+ <tr>
+ <td align="left" class="footer">
+ Generated by Epydoc 3.0.1 on Wed Sep 15 21:46:50 2010
+ </td>
+ <td align="right" class="footer">
+ <a target="mainFrame" href="http://epydoc.sourceforge.net"
+ >http://epydoc.sourceforge.net</a>
+ </td>
+ </tr>
+</table>
+
+<script type="text/javascript">
+ <!--
+ // Private objects are initially displayed (because if
+ // javascript is turned off then we want them to be
+ // visible); but by default, we want to hide them. So hide
+ // them unless we have a cookie that says to show them.
+ checkCookie();
+ // -->
+</script>
+</body>
+</html>
diff --git a/python2/docstrings/pyinotify.UnsupportedPythonVersionError-class.html b/python2/docstrings/pyinotify.UnsupportedPythonVersionError-class.html
new file mode 100644
index 0000000..b50aca8
--- /dev/null
+++ b/python2/docstrings/pyinotify.UnsupportedPythonVersionError-class.html
@@ -0,0 +1,270 @@
+<?xml version="1.0" encoding="ascii"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+ <title>pyinotify.UnsupportedPythonVersionError</title>
+ <link rel="stylesheet" href="epydoc.css" type="text/css" />
+ <script type="text/javascript" src="epydoc.js"></script>
+</head>
+
+<body bgcolor="white" text="black" link="blue" vlink="#204080"
+ alink="#204080">
+<!-- ==================== NAVIGATION BAR ==================== -->
+<table class="navbar" border="0" width="100%" cellpadding="0"
+ bgcolor="#a0c0ff" cellspacing="0">
+ <tr valign="middle">
+ <!-- Home link -->
+ <th>&nbsp;&nbsp;&nbsp;<a
+ href="pyinotify-module.html">Home</a>&nbsp;&nbsp;&nbsp;</th>
+
+ <!-- Tree link -->
+ <th>&nbsp;&nbsp;&nbsp;<a
+ href="module-tree.html">Trees</a>&nbsp;&nbsp;&nbsp;</th>
+
+ <!-- Index link -->
+ <th>&nbsp;&nbsp;&nbsp;<a
+ href="identifier-index.html">Indices</a>&nbsp;&nbsp;&nbsp;</th>
+
+ <!-- Help link -->
+ <th>&nbsp;&nbsp;&nbsp;<a
+ href="help.html">Help</a>&nbsp;&nbsp;&nbsp;</th>
+
+ <th class="navbar" width="100%"></th>
+ </tr>
+</table>
+<table width="100%" cellpadding="0" cellspacing="0">
+ <tr valign="top">
+ <td width="100%">
+ <span class="breadcrumbs">
+ <a href="pyinotify-module.html">Module&nbsp;pyinotify</a> ::
+ Class&nbsp;UnsupportedPythonVersionError
+ </span>
+ </td>
+ <td>
+ <table cellpadding="0" cellspacing="0">
+ <!-- hide/show private -->
+ <tr><td align="right"><span class="options">[<a href="javascript:void(0);" class="privatelink"
+ onclick="toggle_private();">hide&nbsp;private</a>]</span></td></tr>
+ <tr><td align="right"><span class="options"
+ >[<a href="frames.html" target="_top">frames</a
+ >]&nbsp;|&nbsp;<a href="pyinotify.UnsupportedPythonVersionError-class.html"
+ target="_top">no&nbsp;frames</a>]</span></td></tr>
+ </table>
+ </td>
+ </tr>
+</table>
+<!-- ==================== CLASS DESCRIPTION ==================== -->
+<h1 class="epydoc">Class UnsupportedPythonVersionError</h1><p class="nomargin-top"><span class="codelink"><a href="pyinotify-pysrc.html#UnsupportedPythonVersionError">source&nbsp;code</a></span></p>
+<center>
+<center> <map id="uml_class_diagram_for_pyinotif_20" name="uml_class_diagram_for_pyinotif_20">
+<area shape="rect" href="pyinotify.UnsupportedPythonVersionError-class.html#__init__" title="x.__init__(...) initializes x; see x.__class__.__doc__ for signature" alt="" coords="17,447,204,465"/>
+<area shape="rect" href="pyinotify.UnsupportedPythonVersionError-class.html" title="Raised on unsupported Python versions." alt="" coords="16,421,205,467"/>
+<area shape="rect" href="pyinotify.PyinotifyError-class.html" title="Indicates exceptions raised by a Pyinotify class." alt="" coords="69,360,152,392"/>
+<area shape="rect" href="javascript:void(0);" title="exceptions.BaseException.args" alt="" coords="33,28,188,47"/>
+<area shape="rect" href="javascript:void(0);" title="exceptions.BaseException.message" alt="" coords="33,47,188,65"/>
+<area shape="rect" href="javascript:void(0);" title="x.__delattr__(&#39;name&#39;) &lt;==&gt; del x.name" alt="" coords="33,68,188,87"/>
+<area shape="rect" href="javascript:void(0);" title="x.__getattribute__(&#39;name&#39;) &lt;==&gt; x.name" alt="" coords="33,87,188,105"/>
+<area shape="rect" href="javascript:void(0);" title="x[y]" alt="" coords="33,105,188,124"/>
+<area shape="rect" href="javascript:void(0);" title="x[i:j]" alt="" coords="33,124,188,143"/>
+<area shape="rect" href="javascript:void(0);" title="helper for pickle" alt="" coords="33,143,188,161"/>
+<area shape="rect" href="javascript:void(0);" title="repr(x)" alt="" coords="33,161,188,180"/>
+<area shape="rect" href="javascript:void(0);" title="x.__setattr__(&#39;name&#39;, value) &lt;==&gt; x.name = value" alt="" coords="33,180,188,199"/>
+<area shape="rect" href="javascript:void(0);" title="exceptions.BaseException.__setstate__" alt="" coords="33,199,188,217"/>
+<area shape="rect" href="javascript:void(0);" title="str(x)" alt="" coords="33,217,188,236"/>
+<area shape="rect" href="javascript:void(0);" title="exceptions.BaseException.__unicode__" alt="" coords="33,236,188,255"/>
+<area shape="rect" href="javascript:void(0);" title="Common base class for all exceptions" alt="" coords="32,11,189,256"/>
+<area shape="rect" href="javascript:void(0);" title="exceptions.Exception.__new__" alt="" coords="48,311,173,329"/>
+<area shape="rect" href="javascript:void(0);" title="Common base class for all non&#45;exit exceptions." alt="" coords="47,285,175,331"/>
+</map>
+ <img src="uml_class_diagram_for_pyinotif_20.gif" alt='' usemap="#uml_class_diagram_for_pyinotif_20" ismap="ismap" class="graph-without-title" />
+</center>
+</center>
+<hr />
+<p>Raised on unsupported Python versions.</p>
+
+<!-- ==================== INSTANCE METHODS ==================== -->
+<a name="section-InstanceMethods"></a>
+<table class="summary" border="1" cellpadding="3"
+ cellspacing="0" width="100%" bgcolor="white">
+<tr bgcolor="#70b0f0" class="table-header">
+ <td colspan="2" class="table-header">
+ <table border="0" cellpadding="0" cellspacing="0" width="100%">
+ <tr valign="top">
+ <td align="left"><span class="table-header">Instance Methods</span></td>
+ <td align="right" valign="top"
+ ><span class="options">[<a href="#section-InstanceMethods"
+ class="privatelink" onclick="toggle_private();"
+ >hide private</a>]</span></td>
+ </tr>
+ </table>
+ </td>
+</tr>
+<tr>
+ <td width="15%" align="right" valign="top" class="summary">
+ <span class="summary-type">&nbsp;</span>
+ </td><td class="summary">
+ <table width="100%" cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td><span class="summary-sig"><a href="pyinotify.UnsupportedPythonVersionError-class.html#__init__" class="summary-sig-name">__init__</a>(<span class="summary-sig-arg">self</span>,
+ <span class="summary-sig-arg">version</span>)</span><br />
+ x.__init__(...) initializes x; see x.__class__.__doc__ for signature</td>
+ <td align="right" valign="top">
+ <span class="codelink"><a href="pyinotify-pysrc.html#UnsupportedPythonVersionError.__init__">source&nbsp;code</a></span>
+
+ </td>
+ </tr>
+ </table>
+
+ </td>
+ </tr>
+ <tr>
+ <td colspan="2" class="summary">
+ <p class="indent-wrapped-lines"><b>Inherited from <code>exceptions.Exception</code></b>:
+ <code>__new__</code>
+ </p>
+ <p class="indent-wrapped-lines"><b>Inherited from <code>exceptions.BaseException</code></b>:
+ <code>__delattr__</code>,
+ <code>__getattribute__</code>,
+ <code>__getitem__</code>,
+ <code>__getslice__</code>,
+ <code>__reduce__</code>,
+ <code>__repr__</code>,
+ <code>__setattr__</code>,
+ <code>__setstate__</code>,
+ <code>__str__</code>,
+ <code>__unicode__</code>
+ </p>
+ <p class="indent-wrapped-lines"><b>Inherited from <code>object</code></b>:
+ <code>__format__</code>,
+ <code>__hash__</code>,
+ <code>__reduce_ex__</code>,
+ <code>__sizeof__</code>,
+ <code>__subclasshook__</code>
+ </p>
+ </td>
+ </tr>
+</table>
+<!-- ==================== PROPERTIES ==================== -->
+<a name="section-Properties"></a>
+<table class="summary" border="1" cellpadding="3"
+ cellspacing="0" width="100%" bgcolor="white">
+<tr bgcolor="#70b0f0" class="table-header">
+ <td colspan="2" class="table-header">
+ <table border="0" cellpadding="0" cellspacing="0" width="100%">
+ <tr valign="top">
+ <td align="left"><span class="table-header">Properties</span></td>
+ <td align="right" valign="top"
+ ><span class="options">[<a href="#section-Properties"
+ class="privatelink" onclick="toggle_private();"
+ >hide private</a>]</span></td>
+ </tr>
+ </table>
+ </td>
+</tr>
+ <tr>
+ <td colspan="2" class="summary">
+ <p class="indent-wrapped-lines"><b>Inherited from <code>exceptions.BaseException</code></b>:
+ <code>args</code>,
+ <code>message</code>
+ </p>
+ <p class="indent-wrapped-lines"><b>Inherited from <code>object</code></b>:
+ <code>__class__</code>
+ </p>
+ </td>
+ </tr>
+</table>
+<!-- ==================== METHOD DETAILS ==================== -->
+<a name="section-MethodDetails"></a>
+<table class="details" border="1" cellpadding="3"
+ cellspacing="0" width="100%" bgcolor="white">
+<tr bgcolor="#70b0f0" class="table-header">
+ <td colspan="2" class="table-header">
+ <table border="0" cellpadding="0" cellspacing="0" width="100%">
+ <tr valign="top">
+ <td align="left"><span class="table-header">Method Details</span></td>
+ <td align="right" valign="top"
+ ><span class="options">[<a href="#section-MethodDetails"
+ class="privatelink" onclick="toggle_private();"
+ >hide private</a>]</span></td>
+ </tr>
+ </table>
+ </td>
+</tr>
+</table>
+<a name="__init__"></a>
+<div>
+<table class="details" border="1" cellpadding="3"
+ cellspacing="0" width="100%" bgcolor="white">
+<tr><td>
+ <table width="100%" cellpadding="0" cellspacing="0" border="0">
+ <tr valign="top"><td>
+ <h3 class="epydoc"><span class="sig"><span class="sig-name">__init__</span>(<span class="sig-arg">self</span>,
+ <span class="sig-arg">version</span>)</span>
+ <br /><em class="fname">(Constructor)</em>
+ </h3>
+ </td><td align="right" valign="top"
+ ><span class="codelink"><a href="pyinotify-pysrc.html#UnsupportedPythonVersionError.__init__">source&nbsp;code</a></span>&nbsp;
+ </td>
+ </tr></table>
+
+ <p>x.__init__(...) initializes x; see x.__class__.__doc__ for
+ signature</p>
+ <dl class="fields">
+ <dt>Parameters:</dt>
+ <dd><ul class="nomargin-top">
+ <li><strong class="pname"><code>version</code></strong> (string) - Current Python version</li>
+ </ul></dd>
+ <dt>Overrides:
+ object.__init__
+ </dt>
+ </dl>
+</td></tr></table>
+</div>
+<br />
+<!-- ==================== NAVIGATION BAR ==================== -->
+<table class="navbar" border="0" width="100%" cellpadding="0"
+ bgcolor="#a0c0ff" cellspacing="0">
+ <tr valign="middle">
+ <!-- Home link -->
+ <th>&nbsp;&nbsp;&nbsp;<a
+ href="pyinotify-module.html">Home</a>&nbsp;&nbsp;&nbsp;</th>
+
+ <!-- Tree link -->
+ <th>&nbsp;&nbsp;&nbsp;<a
+ href="module-tree.html">Trees</a>&nbsp;&nbsp;&nbsp;</th>
+
+ <!-- Index link -->
+ <th>&nbsp;&nbsp;&nbsp;<a
+ href="identifier-index.html">Indices</a>&nbsp;&nbsp;&nbsp;</th>
+
+ <!-- Help link -->
+ <th>&nbsp;&nbsp;&nbsp;<a
+ href="help.html">Help</a>&nbsp;&nbsp;&nbsp;</th>
+
+ <th class="navbar" width="100%"></th>
+ </tr>
+</table>
+<table border="0" cellpadding="0" cellspacing="0" width="100%%">
+ <tr>
+ <td align="left" class="footer">
+ Generated by Epydoc 3.0.1 on Wed Sep 15 21:46:50 2010
+ </td>
+ <td align="right" class="footer">
+ <a target="mainFrame" href="http://epydoc.sourceforge.net"
+ >http://epydoc.sourceforge.net</a>
+ </td>
+ </tr>
+</table>
+
+<script type="text/javascript">
+ <!--
+ // Private objects are initially displayed (because if
+ // javascript is turned off then we want them to be
+ // visible); but by default, we want to hide them. So hide
+ // them unless we have a cookie that says to show them.
+ checkCookie();
+ // -->
+</script>
+</body>
+</html>
diff --git a/python2/docstrings/pyinotify.Watch-class.html b/python2/docstrings/pyinotify.Watch-class.html
new file mode 100644
index 0000000..0911717
--- /dev/null
+++ b/python2/docstrings/pyinotify.Watch-class.html
@@ -0,0 +1,300 @@
+<?xml version="1.0" encoding="ascii"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+ <title>pyinotify.Watch</title>
+ <link rel="stylesheet" href="epydoc.css" type="text/css" />
+ <script type="text/javascript" src="epydoc.js"></script>
+</head>
+
+<body bgcolor="white" text="black" link="blue" vlink="#204080"
+ alink="#204080">
+<!-- ==================== NAVIGATION BAR ==================== -->
+<table class="navbar" border="0" width="100%" cellpadding="0"
+ bgcolor="#a0c0ff" cellspacing="0">
+ <tr valign="middle">
+ <!-- Home link -->
+ <th>&nbsp;&nbsp;&nbsp;<a
+ href="pyinotify-module.html">Home</a>&nbsp;&nbsp;&nbsp;</th>
+
+ <!-- Tree link -->
+ <th>&nbsp;&nbsp;&nbsp;<a
+ href="module-tree.html">Trees</a>&nbsp;&nbsp;&nbsp;</th>
+
+ <!-- Index link -->
+ <th>&nbsp;&nbsp;&nbsp;<a
+ href="identifier-index.html">Indices</a>&nbsp;&nbsp;&nbsp;</th>
+
+ <!-- Help link -->
+ <th>&nbsp;&nbsp;&nbsp;<a
+ href="help.html">Help</a>&nbsp;&nbsp;&nbsp;</th>
+
+ <th class="navbar" width="100%"></th>
+ </tr>
+</table>
+<table width="100%" cellpadding="0" cellspacing="0">
+ <tr valign="top">
+ <td width="100%">
+ <span class="breadcrumbs">
+ <a href="pyinotify-module.html">Module&nbsp;pyinotify</a> ::
+ Class&nbsp;Watch
+ </span>
+ </td>
+ <td>
+ <table cellpadding="0" cellspacing="0">
+ <!-- hide/show private -->
+ <tr><td align="right"><span class="options">[<a href="javascript:void(0);" class="privatelink"
+ onclick="toggle_private();">hide&nbsp;private</a>]</span></td></tr>
+ <tr><td align="right"><span class="options"
+ >[<a href="frames.html" target="_top">frames</a
+ >]&nbsp;|&nbsp;<a href="pyinotify.Watch-class.html"
+ target="_top">no&nbsp;frames</a>]</span></td></tr>
+ </table>
+ </td>
+ </tr>
+</table>
+<!-- ==================== CLASS DESCRIPTION ==================== -->
+<h1 class="epydoc">Class Watch</h1><p class="nomargin-top"><span class="codelink"><a href="pyinotify-pysrc.html#Watch">source&nbsp;code</a></span></p>
+<center>
+<center> <map id="uml_class_diagram_for_pyinotif_21" name="uml_class_diagram_for_pyinotif_21">
+<area shape="rect" href="pyinotify.Watch-class.html#__init__" title="Initializations." alt="" coords="17,36,396,55"/>
+<area shape="rect" href="pyinotify.Watch-class.html#__repr__" title="Returns: &#160;String representation." alt="" coords="17,55,396,73"/>
+<area shape="rect" href="pyinotify.Watch-class.html" title="Represent a watch, i.e." alt="" coords="16,11,397,75"/>
+</map>
+ <img src="uml_class_diagram_for_pyinotif_21.gif" alt='' usemap="#uml_class_diagram_for_pyinotif_21" ismap="ismap" class="graph-without-title" />
+</center>
+</center>
+<hr />
+<p>Represent a watch, i.e. a file or directory being watched.</p>
+
+<!-- ==================== INSTANCE METHODS ==================== -->
+<a name="section-InstanceMethods"></a>
+<table class="summary" border="1" cellpadding="3"
+ cellspacing="0" width="100%" bgcolor="white">
+<tr bgcolor="#70b0f0" class="table-header">
+ <td colspan="2" class="table-header">
+ <table border="0" cellpadding="0" cellspacing="0" width="100%">
+ <tr valign="top">
+ <td align="left"><span class="table-header">Instance Methods</span></td>
+ <td align="right" valign="top"
+ ><span class="options">[<a href="#section-InstanceMethods"
+ class="privatelink" onclick="toggle_private();"
+ >hide private</a>]</span></td>
+ </tr>
+ </table>
+ </td>
+</tr>
+<tr>
+ <td width="15%" align="right" valign="top" class="summary">
+ <span class="summary-type">&nbsp;</span>
+ </td><td class="summary">
+ <table width="100%" cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td><span class="summary-sig"><a href="pyinotify.Watch-class.html#__init__" class="summary-sig-name">__init__</a>(<span class="summary-sig-arg">self</span>,
+ <span class="summary-sig-arg">wd</span>,
+ <span class="summary-sig-arg">path</span>,
+ <span class="summary-sig-arg">mask</span>,
+ <span class="summary-sig-arg">proc_fun</span>,
+ <span class="summary-sig-arg">auto_add</span>,
+ <span class="summary-sig-arg">exclude_filter</span>)</span><br />
+ Initializations.</td>
+ <td align="right" valign="top">
+ <span class="codelink"><a href="pyinotify-pysrc.html#Watch.__init__">source&nbsp;code</a></span>
+
+ </td>
+ </tr>
+ </table>
+
+ </td>
+ </tr>
+<tr>
+ <td width="15%" align="right" valign="top" class="summary">
+ <span class="summary-type">str</span>
+ </td><td class="summary">
+ <table width="100%" cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td><span class="summary-sig"><a href="pyinotify.Watch-class.html#__repr__" class="summary-sig-name">__repr__</a>(<span class="summary-sig-arg">self</span>)</span><br />
+ Returns:
+ String representation.</td>
+ <td align="right" valign="top">
+ <span class="codelink"><a href="pyinotify-pysrc.html#Watch.__repr__">source&nbsp;code</a></span>
+
+ </td>
+ </tr>
+ </table>
+
+ </td>
+ </tr>
+ <tr>
+ <td colspan="2" class="summary">
+ <p class="indent-wrapped-lines"><b>Inherited from <code>object</code></b>:
+ <code>__delattr__</code>,
+ <code>__format__</code>,
+ <code>__getattribute__</code>,
+ <code>__hash__</code>,
+ <code>__new__</code>,
+ <code>__reduce__</code>,
+ <code>__reduce_ex__</code>,
+ <code>__setattr__</code>,
+ <code>__sizeof__</code>,
+ <code>__str__</code>,
+ <code>__subclasshook__</code>
+ </p>
+ </td>
+ </tr>
+</table>
+<!-- ==================== PROPERTIES ==================== -->
+<a name="section-Properties"></a>
+<table class="summary" border="1" cellpadding="3"
+ cellspacing="0" width="100%" bgcolor="white">
+<tr bgcolor="#70b0f0" class="table-header">
+ <td colspan="2" class="table-header">
+ <table border="0" cellpadding="0" cellspacing="0" width="100%">
+ <tr valign="top">
+ <td align="left"><span class="table-header">Properties</span></td>
+ <td align="right" valign="top"
+ ><span class="options">[<a href="#section-Properties"
+ class="privatelink" onclick="toggle_private();"
+ >hide private</a>]</span></td>
+ </tr>
+ </table>
+ </td>
+</tr>
+ <tr>
+ <td colspan="2" class="summary">
+ <p class="indent-wrapped-lines"><b>Inherited from <code>object</code></b>:
+ <code>__class__</code>
+ </p>
+ </td>
+ </tr>
+</table>
+<!-- ==================== METHOD DETAILS ==================== -->
+<a name="section-MethodDetails"></a>
+<table class="details" border="1" cellpadding="3"
+ cellspacing="0" width="100%" bgcolor="white">
+<tr bgcolor="#70b0f0" class="table-header">
+ <td colspan="2" class="table-header">
+ <table border="0" cellpadding="0" cellspacing="0" width="100%">
+ <tr valign="top">
+ <td align="left"><span class="table-header">Method Details</span></td>
+ <td align="right" valign="top"
+ ><span class="options">[<a href="#section-MethodDetails"
+ class="privatelink" onclick="toggle_private();"
+ >hide private</a>]</span></td>
+ </tr>
+ </table>
+ </td>
+</tr>
+</table>
+<a name="__init__"></a>
+<div>
+<table class="details" border="1" cellpadding="3"
+ cellspacing="0" width="100%" bgcolor="white">
+<tr><td>
+ <table width="100%" cellpadding="0" cellspacing="0" border="0">
+ <tr valign="top"><td>
+ <h3 class="epydoc"><span class="sig"><span class="sig-name">__init__</span>(<span class="sig-arg">self</span>,
+ <span class="sig-arg">wd</span>,
+ <span class="sig-arg">path</span>,
+ <span class="sig-arg">mask</span>,
+ <span class="sig-arg">proc_fun</span>,
+ <span class="sig-arg">auto_add</span>,
+ <span class="sig-arg">exclude_filter</span>)</span>
+ <br /><em class="fname">(Constructor)</em>
+ </h3>
+ </td><td align="right" valign="top"
+ ><span class="codelink"><a href="pyinotify-pysrc.html#Watch.__init__">source&nbsp;code</a></span>&nbsp;
+ </td>
+ </tr></table>
+
+ <p>Initializations.</p>
+ <dl class="fields">
+ <dt>Parameters:</dt>
+ <dd><ul class="nomargin-top">
+ <li><strong class="pname"><code>wd</code></strong> (int) - Watch descriptor.</li>
+ <li><strong class="pname"><code>path</code></strong> (str) - Path of the file or directory being watched.</li>
+ <li><strong class="pname"><code>mask</code></strong> (int) - Mask.</li>
+ <li><strong class="pname"><code>proc_fun</code></strong> () - Processing callable object.</li>
+ <li><strong class="pname"><code>auto_add</code></strong> (bool) - Automatically add watches on new directories.</li>
+ <li><strong class="pname"><code>exclude_filter</code></strong> (callable object) - Boolean function, used to exclude new directories from being
+ automatically watched. See WatchManager.__init__</li>
+ </ul></dd>
+ <dt>Overrides:
+ object.__init__
+ </dt>
+ </dl>
+</td></tr></table>
+</div>
+<a name="__repr__"></a>
+<div>
+<table class="details" border="1" cellpadding="3"
+ cellspacing="0" width="100%" bgcolor="white">
+<tr><td>
+ <table width="100%" cellpadding="0" cellspacing="0" border="0">
+ <tr valign="top"><td>
+ <h3 class="epydoc"><span class="sig"><span class="sig-name">__repr__</span>(<span class="sig-arg">self</span>)</span>
+ <br /><em class="fname">(Representation operator)</em>
+ </h3>
+ </td><td align="right" valign="top"
+ ><span class="codelink"><a href="pyinotify-pysrc.html#Watch.__repr__">source&nbsp;code</a></span>&nbsp;
+ </td>
+ </tr></table>
+
+ <p>repr(x)</p>
+ <dl class="fields">
+ <dt>Returns: str</dt>
+ <dd>String representation.</dd>
+ <dt>Overrides:
+ object.__repr__
+ </dt>
+ </dl>
+</td></tr></table>
+</div>
+<br />
+<!-- ==================== NAVIGATION BAR ==================== -->
+<table class="navbar" border="0" width="100%" cellpadding="0"
+ bgcolor="#a0c0ff" cellspacing="0">
+ <tr valign="middle">
+ <!-- Home link -->
+ <th>&nbsp;&nbsp;&nbsp;<a
+ href="pyinotify-module.html">Home</a>&nbsp;&nbsp;&nbsp;</th>
+
+ <!-- Tree link -->
+ <th>&nbsp;&nbsp;&nbsp;<a
+ href="module-tree.html">Trees</a>&nbsp;&nbsp;&nbsp;</th>
+
+ <!-- Index link -->
+ <th>&nbsp;&nbsp;&nbsp;<a
+ href="identifier-index.html">Indices</a>&nbsp;&nbsp;&nbsp;</th>
+
+ <!-- Help link -->
+ <th>&nbsp;&nbsp;&nbsp;<a
+ href="help.html">Help</a>&nbsp;&nbsp;&nbsp;</th>
+
+ <th class="navbar" width="100%"></th>
+ </tr>
+</table>
+<table border="0" cellpadding="0" cellspacing="0" width="100%%">
+ <tr>
+ <td align="left" class="footer">
+ Generated by Epydoc 3.0.1 on Wed Sep 15 21:46:50 2010
+ </td>
+ <td align="right" class="footer">
+ <a target="mainFrame" href="http://epydoc.sourceforge.net"
+ >http://epydoc.sourceforge.net</a>
+ </td>
+ </tr>
+</table>
+
+<script type="text/javascript">
+ <!--
+ // Private objects are initially displayed (because if
+ // javascript is turned off then we want them to be
+ // visible); but by default, we want to hide them. So hide
+ // them unless we have a cookie that says to show them.
+ checkCookie();
+ // -->
+</script>
+</body>
+</html>
diff --git a/python2/docstrings/pyinotify.WatchManager-class.html b/python2/docstrings/pyinotify.WatchManager-class.html
new file mode 100644
index 0000000..e4fb016
--- /dev/null
+++ b/python2/docstrings/pyinotify.WatchManager-class.html
@@ -0,0 +1,1052 @@
+<?xml version="1.0" encoding="ascii"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+ <title>pyinotify.WatchManager</title>
+ <link rel="stylesheet" href="epydoc.css" type="text/css" />
+ <script type="text/javascript" src="epydoc.js"></script>
+</head>
+
+<body bgcolor="white" text="black" link="blue" vlink="#204080"
+ alink="#204080">
+<!-- ==================== NAVIGATION BAR ==================== -->
+<table class="navbar" border="0" width="100%" cellpadding="0"
+ bgcolor="#a0c0ff" cellspacing="0">
+ <tr valign="middle">
+ <!-- Home link -->
+ <th>&nbsp;&nbsp;&nbsp;<a
+ href="pyinotify-module.html">Home</a>&nbsp;&nbsp;&nbsp;</th>
+
+ <!-- Tree link -->
+ <th>&nbsp;&nbsp;&nbsp;<a
+ href="module-tree.html">Trees</a>&nbsp;&nbsp;&nbsp;</th>
+
+ <!-- Index link -->
+ <th>&nbsp;&nbsp;&nbsp;<a
+ href="identifier-index.html">Indices</a>&nbsp;&nbsp;&nbsp;</th>
+
+ <!-- Help link -->
+ <th>&nbsp;&nbsp;&nbsp;<a
+ href="help.html">Help</a>&nbsp;&nbsp;&nbsp;</th>
+
+ <th class="navbar" width="100%"></th>
+ </tr>
+</table>
+<table width="100%" cellpadding="0" cellspacing="0">
+ <tr valign="top">
+ <td width="100%">
+ <span class="breadcrumbs">
+ <a href="pyinotify-module.html">Module&nbsp;pyinotify</a> ::
+ Class&nbsp;WatchManager
+ </span>
+ </td>
+ <td>
+ <table cellpadding="0" cellspacing="0">
+ <!-- hide/show private -->
+ <tr><td align="right"><span class="options">[<a href="javascript:void(0);" class="privatelink"
+ onclick="toggle_private();">hide&nbsp;private</a>]</span></td></tr>
+ <tr><td align="right"><span class="options"
+ >[<a href="frames.html" target="_top">frames</a
+ >]&nbsp;|&nbsp;<a href="pyinotify.WatchManager-class.html"
+ target="_top">no&nbsp;frames</a>]</span></td></tr>
+ </table>
+ </td>
+ </tr>
+</table>
+<!-- ==================== CLASS DESCRIPTION ==================== -->
+<h1 class="epydoc">Class WatchManager</h1><p class="nomargin-top"><span class="codelink"><a href="pyinotify-pysrc.html#WatchManager">source&nbsp;code</a></span></p>
+<center>
+<center> <map id="uml_class_diagram_for_pyinotif_22" name="uml_class_diagram_for_pyinotif_22">
+<area shape="rect" href="pyinotify.WatchManager-class.html#watches" title="Get a reference on the internal watch manager dictionary." alt="" coords="17,28,732,47"/>
+<area shape="rect" href="pyinotify.WatchManager-class.html#__init__" title="Initialization: init inotify, init watch manager dictionary." alt="" coords="17,49,732,68"/>
+<area shape="rect" href="pyinotify.WatchManager-class.html#close" title="Close inotify&#39;s file descriptor, this action will also automatically remove (i.e." alt="" coords="17,68,732,87"/>
+<area shape="rect" href="pyinotify.WatchManager-class.html#get_fd" title="Return assigned inotify&#39;s file descriptor." alt="" coords="17,87,732,105"/>
+<area shape="rect" href="pyinotify.WatchManager-class.html#get_watch" title="Get watch from provided watch descriptor wd." alt="" coords="17,105,732,124"/>
+<area shape="rect" href="pyinotify.WatchManager-class.html#del_watch" title="Remove watch entry associated to watch descriptor wd." alt="" coords="17,124,732,143"/>
+<area shape="rect" href="pyinotify.WatchManager-class.html#add_watch" title="Add watch(s) on the provided |path|(s) with associated |mask| flag value &#160;and optionally with a processing |proc_fun| function and recursive flag &#160;|rec| set to True." alt="" coords="17,143,732,161"/>
+<area shape="rect" href="pyinotify.WatchManager-class.html#update_watch" title="Update existing watch descriptors |wd|." alt="" coords="17,161,732,180"/>
+<area shape="rect" href="pyinotify.WatchManager-class.html#get_wd" title="Returns the watch descriptor associated to path." alt="" coords="17,180,732,199"/>
+<area shape="rect" href="pyinotify.WatchManager-class.html#get_path" title="Returns the path associated to WD, if WD is unknown it returns None." alt="" coords="17,199,732,217"/>
+<area shape="rect" href="pyinotify.WatchManager-class.html#rm_watch" title="Removes watch(s)." alt="" coords="17,217,732,236"/>
+<area shape="rect" href="pyinotify.WatchManager-class.html#watch_transient_file" title="Watch a transient file, which will be created and deleted frequently over &#160;time (e.g." alt="" coords="17,236,732,255"/>
+<area shape="rect" href="pyinotify.WatchManager-class.html" title="Provide operations for watching files and directories." alt="" coords="16,11,733,256"/>
+</map>
+ <img src="uml_class_diagram_for_pyinotif_22.gif" alt='' usemap="#uml_class_diagram_for_pyinotif_22" ismap="ismap" class="graph-without-title" />
+</center>
+</center>
+<hr />
+<p>Provide operations for watching files and directories. Its internal
+ dictionary is used to reference watched items. When used inside threaded
+ code, one must instanciate as many WatchManager instances as there are
+ ThreadedNotifier instances.</p>
+
+<!-- ==================== INSTANCE METHODS ==================== -->
+<a name="section-InstanceMethods"></a>
+<table class="summary" border="1" cellpadding="3"
+ cellspacing="0" width="100%" bgcolor="white">
+<tr bgcolor="#70b0f0" class="table-header">
+ <td colspan="2" class="table-header">
+ <table border="0" cellpadding="0" cellspacing="0" width="100%">
+ <tr valign="top">
+ <td align="left"><span class="table-header">Instance Methods</span></td>
+ <td align="right" valign="top"
+ ><span class="options">[<a href="#section-InstanceMethods"
+ class="privatelink" onclick="toggle_private();"
+ >hide private</a>]</span></td>
+ </tr>
+ </table>
+ </td>
+</tr>
+<tr>
+ <td width="15%" align="right" valign="top" class="summary">
+ <span class="summary-type">&nbsp;</span>
+ </td><td class="summary">
+ <table width="100%" cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td><span class="summary-sig"><a href="pyinotify.WatchManager-class.html#__init__" class="summary-sig-name">__init__</a>(<span class="summary-sig-arg">self</span>,
+ <span class="summary-sig-arg">exclude_filter</span>=<span class="summary-sig-default">&lt;function &lt;lambda&gt; at 0x2083410&gt;</span>)</span><br />
+ Initialization: init inotify, init watch manager dictionary.</td>
+ <td align="right" valign="top">
+ <span class="codelink"><a href="pyinotify-pysrc.html#WatchManager.__init__">source&nbsp;code</a></span>
+
+ </td>
+ </tr>
+ </table>
+
+ </td>
+ </tr>
+<tr>
+ <td width="15%" align="right" valign="top" class="summary">
+ <span class="summary-type">&nbsp;</span>
+ </td><td class="summary">
+ <table width="100%" cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td><span class="summary-sig"><a href="pyinotify.WatchManager-class.html#close" class="summary-sig-name">close</a>(<span class="summary-sig-arg">self</span>)</span><br />
+ Close inotify's file descriptor, this action will also automatically
+ remove (i.e.</td>
+ <td align="right" valign="top">
+ <span class="codelink"><a href="pyinotify-pysrc.html#WatchManager.close">source&nbsp;code</a></span>
+
+ </td>
+ </tr>
+ </table>
+
+ </td>
+ </tr>
+<tr>
+ <td width="15%" align="right" valign="top" class="summary">
+ <span class="summary-type">int</span>
+ </td><td class="summary">
+ <table width="100%" cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td><span class="summary-sig"><a href="pyinotify.WatchManager-class.html#get_fd" class="summary-sig-name">get_fd</a>(<span class="summary-sig-arg">self</span>)</span><br />
+ Return assigned inotify's file descriptor.</td>
+ <td align="right" valign="top">
+ <span class="codelink"><a href="pyinotify-pysrc.html#WatchManager.get_fd">source&nbsp;code</a></span>
+
+ </td>
+ </tr>
+ </table>
+
+ </td>
+ </tr>
+<tr>
+ <td width="15%" align="right" valign="top" class="summary">
+ <span class="summary-type">&nbsp;</span>
+ </td><td class="summary">
+ <table width="100%" cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td><span class="summary-sig"><a href="pyinotify.WatchManager-class.html#get_watch" class="summary-sig-name">get_watch</a>(<span class="summary-sig-arg">self</span>,
+ <span class="summary-sig-arg">wd</span>)</span><br />
+ Get watch from provided watch descriptor wd.</td>
+ <td align="right" valign="top">
+ <span class="codelink"><a href="pyinotify-pysrc.html#WatchManager.get_watch">source&nbsp;code</a></span>
+
+ </td>
+ </tr>
+ </table>
+
+ </td>
+ </tr>
+<tr>
+ <td width="15%" align="right" valign="top" class="summary">
+ <span class="summary-type">&nbsp;</span>
+ </td><td class="summary">
+ <table width="100%" cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td><span class="summary-sig"><a href="pyinotify.WatchManager-class.html#del_watch" class="summary-sig-name">del_watch</a>(<span class="summary-sig-arg">self</span>,
+ <span class="summary-sig-arg">wd</span>)</span><br />
+ Remove watch entry associated to watch descriptor wd.</td>
+ <td align="right" valign="top">
+ <span class="codelink"><a href="pyinotify-pysrc.html#WatchManager.del_watch">source&nbsp;code</a></span>
+
+ </td>
+ </tr>
+ </table>
+
+ </td>
+ </tr>
+<tr class="private">
+ <td width="15%" align="right" valign="top" class="summary">
+ <span class="summary-type">&nbsp;</span>
+ </td><td class="summary">
+ <table width="100%" cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td><span class="summary-sig"><a name="__format_path"></a><span class="summary-sig-name">__format_path</span>(<span class="summary-sig-arg">self</span>,
+ <span class="summary-sig-arg">path</span>)</span><br />
+ Format path to its internal (stored in watch manager) representation.</td>
+ <td align="right" valign="top">
+ <span class="codelink"><a href="pyinotify-pysrc.html#WatchManager.__format_path">source&nbsp;code</a></span>
+
+ </td>
+ </tr>
+ </table>
+
+ </td>
+ </tr>
+<tr class="private">
+ <td width="15%" align="right" valign="top" class="summary">
+ <span class="summary-type">&nbsp;</span>
+ </td><td class="summary">
+ <table width="100%" cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td><span class="summary-sig"><a href="pyinotify.WatchManager-class.html#__add_watch" class="summary-sig-name" onclick="show_private();">__add_watch</a>(<span class="summary-sig-arg">self</span>,
+ <span class="summary-sig-arg">path</span>,
+ <span class="summary-sig-arg">mask</span>,
+ <span class="summary-sig-arg">proc_fun</span>,
+ <span class="summary-sig-arg">auto_add</span>,
+ <span class="summary-sig-arg">exclude_filter</span>)</span><br />
+ Add a watch on path, build a Watch object and insert it in the watch
+ manager dictionary.</td>
+ <td align="right" valign="top">
+ <span class="codelink"><a href="pyinotify-pysrc.html#WatchManager.__add_watch">source&nbsp;code</a></span>
+
+ </td>
+ </tr>
+ </table>
+
+ </td>
+ </tr>
+<tr class="private">
+ <td width="15%" align="right" valign="top" class="summary">
+ <span class="summary-type">&nbsp;</span>
+ </td><td class="summary">
+ <table width="100%" cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td><span class="summary-sig"><a name="__glob"></a><span class="summary-sig-name">__glob</span>(<span class="summary-sig-arg">self</span>,
+ <span class="summary-sig-arg">path</span>,
+ <span class="summary-sig-arg">do_glob</span>)</span></td>
+ <td align="right" valign="top">
+ <span class="codelink"><a href="pyinotify-pysrc.html#WatchManager.__glob">source&nbsp;code</a></span>
+
+ </td>
+ </tr>
+ </table>
+
+ </td>
+ </tr>
+<tr>
+ <td width="15%" align="right" valign="top" class="summary">
+ <span class="summary-type">dict of {str: int}</span>
+ </td><td class="summary">
+ <table width="100%" cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td><span class="summary-sig"><a href="pyinotify.WatchManager-class.html#add_watch" class="summary-sig-name">add_watch</a>(<span class="summary-sig-arg">self</span>,
+ <span class="summary-sig-arg">path</span>,
+ <span class="summary-sig-arg">mask</span>,
+ <span class="summary-sig-arg">proc_fun</span>=<span class="summary-sig-default">None</span>,
+ <span class="summary-sig-arg">rec</span>=<span class="summary-sig-default">False</span>,
+ <span class="summary-sig-arg">auto_add</span>=<span class="summary-sig-default">False</span>,
+ <span class="summary-sig-arg">do_glob</span>=<span class="summary-sig-default">False</span>,
+ <span class="summary-sig-arg">quiet</span>=<span class="summary-sig-default">True</span>,
+ <span class="summary-sig-arg">exclude_filter</span>=<span class="summary-sig-default">None</span>)</span><br />
+ Add watch(s) on the provided |path|(s) with associated |mask| flag
+ value and optionally with a processing |proc_fun| function and
+ recursive flag |rec| set to True.</td>
+ <td align="right" valign="top">
+ <span class="codelink"><a href="pyinotify-pysrc.html#WatchManager.add_watch">source&nbsp;code</a></span>
+
+ </td>
+ </tr>
+ </table>
+
+ </td>
+ </tr>
+<tr class="private">
+ <td width="15%" align="right" valign="top" class="summary">
+ <span class="summary-type">list of int</span>
+ </td><td class="summary">
+ <table width="100%" cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td><span class="summary-sig"><a href="pyinotify.WatchManager-class.html#__get_sub_rec" class="summary-sig-name" onclick="show_private();">__get_sub_rec</a>(<span class="summary-sig-arg">self</span>,
+ <span class="summary-sig-arg">lpath</span>)</span><br />
+ Get every wd from self._wmd if its path is under the path of one (at
+ least) of those in lpath.</td>
+ <td align="right" valign="top">
+ <span class="codelink"><a href="pyinotify-pysrc.html#WatchManager.__get_sub_rec">source&nbsp;code</a></span>
+
+ </td>
+ </tr>
+ </table>
+
+ </td>
+ </tr>
+<tr>
+ <td width="15%" align="right" valign="top" class="summary">
+ <span class="summary-type">dict of {int: bool}</span>
+ </td><td class="summary">
+ <table width="100%" cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td><span class="summary-sig"><a href="pyinotify.WatchManager-class.html#update_watch" class="summary-sig-name">update_watch</a>(<span class="summary-sig-arg">self</span>,
+ <span class="summary-sig-arg">wd</span>,
+ <span class="summary-sig-arg">mask</span>=<span class="summary-sig-default">None</span>,
+ <span class="summary-sig-arg">proc_fun</span>=<span class="summary-sig-default">None</span>,
+ <span class="summary-sig-arg">rec</span>=<span class="summary-sig-default">False</span>,
+ <span class="summary-sig-arg">auto_add</span>=<span class="summary-sig-default">False</span>,
+ <span class="summary-sig-arg">quiet</span>=<span class="summary-sig-default">True</span>)</span><br />
+ Update existing watch descriptors |wd|.</td>
+ <td align="right" valign="top">
+ <span class="codelink"><a href="pyinotify-pysrc.html#WatchManager.update_watch">source&nbsp;code</a></span>
+
+ </td>
+ </tr>
+ </table>
+
+ </td>
+ </tr>
+<tr class="private">
+ <td width="15%" align="right" valign="top" class="summary">
+ <span class="summary-type">list of type(param)</span>
+ </td><td class="summary">
+ <table width="100%" cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td><span class="summary-sig"><a href="pyinotify.WatchManager-class.html#__format_param" class="summary-sig-name" onclick="show_private();">__format_param</a>(<span class="summary-sig-arg">self</span>,
+ <span class="summary-sig-arg">param</span>)</span><br />
+ Returns:
+ wrap param.</td>
+ <td align="right" valign="top">
+ <span class="codelink"><a href="pyinotify-pysrc.html#WatchManager.__format_param">source&nbsp;code</a></span>
+
+ </td>
+ </tr>
+ </table>
+
+ </td>
+ </tr>
+<tr>
+ <td width="15%" align="right" valign="top" class="summary">
+ <span class="summary-type">int or None</span>
+ </td><td class="summary">
+ <table width="100%" cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td><span class="summary-sig"><a href="pyinotify.WatchManager-class.html#get_wd" class="summary-sig-name">get_wd</a>(<span class="summary-sig-arg">self</span>,
+ <span class="summary-sig-arg">path</span>)</span><br />
+ Returns the watch descriptor associated to path.</td>
+ <td align="right" valign="top">
+ <span class="codelink"><a href="pyinotify-pysrc.html#WatchManager.get_wd">source&nbsp;code</a></span>
+
+ </td>
+ </tr>
+ </table>
+
+ </td>
+ </tr>
+<tr>
+ <td width="15%" align="right" valign="top" class="summary">
+ <span class="summary-type">string or None</span>
+ </td><td class="summary">
+ <table width="100%" cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td><span class="summary-sig"><a href="pyinotify.WatchManager-class.html#get_path" class="summary-sig-name">get_path</a>(<span class="summary-sig-arg">self</span>,
+ <span class="summary-sig-arg">wd</span>)</span><br />
+ Returns the path associated to WD, if WD is unknown it returns None.</td>
+ <td align="right" valign="top">
+ <span class="codelink"><a href="pyinotify-pysrc.html#WatchManager.get_path">source&nbsp;code</a></span>
+
+ </td>
+ </tr>
+ </table>
+
+ </td>
+ </tr>
+<tr class="private">
+ <td width="15%" align="right" valign="top" class="summary">
+ <span class="summary-type">string</span>
+ </td><td class="summary">
+ <table width="100%" cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td><span class="summary-sig"><a href="pyinotify.WatchManager-class.html#__walk_rec" class="summary-sig-name" onclick="show_private();">__walk_rec</a>(<span class="summary-sig-arg">self</span>,
+ <span class="summary-sig-arg">top</span>,
+ <span class="summary-sig-arg">rec</span>)</span><br />
+ Yields each subdirectories of top, doesn't follow symlinks.</td>
+ <td align="right" valign="top">
+ <span class="codelink"><a href="pyinotify-pysrc.html#WatchManager.__walk_rec">source&nbsp;code</a></span>
+
+ </td>
+ </tr>
+ </table>
+
+ </td>
+ </tr>
+<tr>
+ <td width="15%" align="right" valign="top" class="summary">
+ <span class="summary-type">dict of {int: bool}</span>
+ </td><td class="summary">
+ <table width="100%" cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td><span class="summary-sig"><a href="pyinotify.WatchManager-class.html#rm_watch" class="summary-sig-name">rm_watch</a>(<span class="summary-sig-arg">self</span>,
+ <span class="summary-sig-arg">wd</span>,
+ <span class="summary-sig-arg">rec</span>=<span class="summary-sig-default">False</span>,
+ <span class="summary-sig-arg">quiet</span>=<span class="summary-sig-default">True</span>)</span><br />
+ Removes watch(s).</td>
+ <td align="right" valign="top">
+ <span class="codelink"><a href="pyinotify-pysrc.html#WatchManager.rm_watch">source&nbsp;code</a></span>
+
+ </td>
+ </tr>
+ </table>
+
+ </td>
+ </tr>
+<tr>
+ <td width="15%" align="right" valign="top" class="summary">
+ <span class="summary-type">Same as add_watch().</span>
+ </td><td class="summary">
+ <table width="100%" cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td><span class="summary-sig"><a href="pyinotify.WatchManager-class.html#watch_transient_file" class="summary-sig-name">watch_transient_file</a>(<span class="summary-sig-arg">self</span>,
+ <span class="summary-sig-arg">filename</span>,
+ <span class="summary-sig-arg">mask</span>,
+ <span class="summary-sig-arg">proc_class</span>)</span><br />
+ Watch a transient file, which will be created and deleted frequently
+ over time (e.g.</td>
+ <td align="right" valign="top">
+ <span class="codelink"><a href="pyinotify-pysrc.html#WatchManager.watch_transient_file">source&nbsp;code</a></span>
+
+ </td>
+ </tr>
+ </table>
+
+ </td>
+ </tr>
+ <tr>
+ <td colspan="2" class="summary">
+ <p class="indent-wrapped-lines"><b>Inherited from <code>object</code></b>:
+ <code>__delattr__</code>,
+ <code>__format__</code>,
+ <code>__getattribute__</code>,
+ <code>__hash__</code>,
+ <code>__new__</code>,
+ <code>__reduce__</code>,
+ <code>__reduce_ex__</code>,
+ <code>__repr__</code>,
+ <code>__setattr__</code>,
+ <code>__sizeof__</code>,
+ <code>__str__</code>,
+ <code>__subclasshook__</code>
+ </p>
+ </td>
+ </tr>
+</table>
+<!-- ==================== PROPERTIES ==================== -->
+<a name="section-Properties"></a>
+<table class="summary" border="1" cellpadding="3"
+ cellspacing="0" width="100%" bgcolor="white">
+<tr bgcolor="#70b0f0" class="table-header">
+ <td colspan="2" class="table-header">
+ <table border="0" cellpadding="0" cellspacing="0" width="100%">
+ <tr valign="top">
+ <td align="left"><span class="table-header">Properties</span></td>
+ <td align="right" valign="top"
+ ><span class="options">[<a href="#section-Properties"
+ class="privatelink" onclick="toggle_private();"
+ >hide private</a>]</span></td>
+ </tr>
+ </table>
+ </td>
+</tr>
+<tr>
+ <td width="15%" align="right" valign="top" class="summary">
+ <span class="summary-type">dict</span>
+ </td><td class="summary">
+ <a href="pyinotify.WatchManager-class.html#watches" class="summary-name">watches</a><br />
+ Get a reference on the internal watch manager dictionary.
+ </td>
+ </tr>
+ <tr>
+ <td colspan="2" class="summary">
+ <p class="indent-wrapped-lines"><b>Inherited from <code>object</code></b>:
+ <code>__class__</code>
+ </p>
+ </td>
+ </tr>
+</table>
+<!-- ==================== METHOD DETAILS ==================== -->
+<a name="section-MethodDetails"></a>
+<table class="details" border="1" cellpadding="3"
+ cellspacing="0" width="100%" bgcolor="white">
+<tr bgcolor="#70b0f0" class="table-header">
+ <td colspan="2" class="table-header">
+ <table border="0" cellpadding="0" cellspacing="0" width="100%">
+ <tr valign="top">
+ <td align="left"><span class="table-header">Method Details</span></td>
+ <td align="right" valign="top"
+ ><span class="options">[<a href="#section-MethodDetails"
+ class="privatelink" onclick="toggle_private();"
+ >hide private</a>]</span></td>
+ </tr>
+ </table>
+ </td>
+</tr>
+</table>
+<a name="__init__"></a>
+<div>
+<table class="details" border="1" cellpadding="3"
+ cellspacing="0" width="100%" bgcolor="white">
+<tr><td>
+ <table width="100%" cellpadding="0" cellspacing="0" border="0">
+ <tr valign="top"><td>
+ <h3 class="epydoc"><span class="sig"><span class="sig-name">__init__</span>(<span class="sig-arg">self</span>,
+ <span class="sig-arg">exclude_filter</span>=<span class="sig-default">&lt;function &lt;lambda&gt; at 0x2083410&gt;</span>)</span>
+ <br /><em class="fname">(Constructor)</em>
+ </h3>
+ </td><td align="right" valign="top"
+ ><span class="codelink"><a href="pyinotify-pysrc.html#WatchManager.__init__">source&nbsp;code</a></span>&nbsp;
+ </td>
+ </tr></table>
+
+ <p>Initialization: init inotify, init watch manager dictionary. Raise
+ OSError if initialization fails.</p>
+ <dl class="fields">
+ <dt>Parameters:</dt>
+ <dd><ul class="nomargin-top">
+ <li><strong class="pname"><code>exclude_filter</code></strong> (callable object) - boolean function, returns True if current path must be excluded
+ from being watched. Convenient for providing a common exclusion
+ filter for every call to add_watch.</li>
+ </ul></dd>
+ <dt>Overrides:
+ object.__init__
+ </dt>
+ </dl>
+</td></tr></table>
+</div>
+<a name="close"></a>
+<div>
+<table class="details" border="1" cellpadding="3"
+ cellspacing="0" width="100%" bgcolor="white">
+<tr><td>
+ <table width="100%" cellpadding="0" cellspacing="0" border="0">
+ <tr valign="top"><td>
+ <h3 class="epydoc"><span class="sig"><span class="sig-name">close</span>(<span class="sig-arg">self</span>)</span>
+ </h3>
+ </td><td align="right" valign="top"
+ ><span class="codelink"><a href="pyinotify-pysrc.html#WatchManager.close">source&nbsp;code</a></span>&nbsp;
+ </td>
+ </tr></table>
+
+ <p>Close inotify's file descriptor, this action will also automatically
+ remove (i.e. stop watching) all its associated watch descriptors. After a
+ call to this method the WatchManager's instance become useless and cannot
+ be reused, a new instance must then be instanciated. It makes sense to
+ call this method in few situations for instance if several independant
+ WatchManager must be instanciated or if all watches must be removed and
+ no other watches need to be added.</p>
+ <dl class="fields">
+ </dl>
+</td></tr></table>
+</div>
+<a name="get_fd"></a>
+<div>
+<table class="details" border="1" cellpadding="3"
+ cellspacing="0" width="100%" bgcolor="white">
+<tr><td>
+ <table width="100%" cellpadding="0" cellspacing="0" border="0">
+ <tr valign="top"><td>
+ <h3 class="epydoc"><span class="sig"><span class="sig-name">get_fd</span>(<span class="sig-arg">self</span>)</span>
+ </h3>
+ </td><td align="right" valign="top"
+ ><span class="codelink"><a href="pyinotify-pysrc.html#WatchManager.get_fd">source&nbsp;code</a></span>&nbsp;
+ </td>
+ </tr></table>
+
+ <p>Return assigned inotify's file descriptor.</p>
+ <dl class="fields">
+ <dt>Returns: int</dt>
+ <dd>File descriptor.</dd>
+ </dl>
+</td></tr></table>
+</div>
+<a name="get_watch"></a>
+<div>
+<table class="details" border="1" cellpadding="3"
+ cellspacing="0" width="100%" bgcolor="white">
+<tr><td>
+ <table width="100%" cellpadding="0" cellspacing="0" border="0">
+ <tr valign="top"><td>
+ <h3 class="epydoc"><span class="sig"><span class="sig-name">get_watch</span>(<span class="sig-arg">self</span>,
+ <span class="sig-arg">wd</span>)</span>
+ </h3>
+ </td><td align="right" valign="top"
+ ><span class="codelink"><a href="pyinotify-pysrc.html#WatchManager.get_watch">source&nbsp;code</a></span>&nbsp;
+ </td>
+ </tr></table>
+
+ <p>Get watch from provided watch descriptor wd.</p>
+ <dl class="fields">
+ <dt>Parameters:</dt>
+ <dd><ul class="nomargin-top">
+ <li><strong class="pname"><code>wd</code></strong> (int) - Watch descriptor.</li>
+ </ul></dd>
+ </dl>
+</td></tr></table>
+</div>
+<a name="del_watch"></a>
+<div>
+<table class="details" border="1" cellpadding="3"
+ cellspacing="0" width="100%" bgcolor="white">
+<tr><td>
+ <table width="100%" cellpadding="0" cellspacing="0" border="0">
+ <tr valign="top"><td>
+ <h3 class="epydoc"><span class="sig"><span class="sig-name">del_watch</span>(<span class="sig-arg">self</span>,
+ <span class="sig-arg">wd</span>)</span>
+ </h3>
+ </td><td align="right" valign="top"
+ ><span class="codelink"><a href="pyinotify-pysrc.html#WatchManager.del_watch">source&nbsp;code</a></span>&nbsp;
+ </td>
+ </tr></table>
+
+ <p>Remove watch entry associated to watch descriptor wd.</p>
+ <dl class="fields">
+ <dt>Parameters:</dt>
+ <dd><ul class="nomargin-top">
+ <li><strong class="pname"><code>wd</code></strong> (int) - Watch descriptor.</li>
+ </ul></dd>
+ </dl>
+</td></tr></table>
+</div>
+<a name="__add_watch"></a>
+<div class="private">
+<table class="details" border="1" cellpadding="3"
+ cellspacing="0" width="100%" bgcolor="white">
+<tr><td>
+ <table width="100%" cellpadding="0" cellspacing="0" border="0">
+ <tr valign="top"><td>
+ <h3 class="epydoc"><span class="sig"><span class="sig-name">__add_watch</span>(<span class="sig-arg">self</span>,
+ <span class="sig-arg">path</span>,
+ <span class="sig-arg">mask</span>,
+ <span class="sig-arg">proc_fun</span>,
+ <span class="sig-arg">auto_add</span>,
+ <span class="sig-arg">exclude_filter</span>)</span>
+ </h3>
+ </td><td align="right" valign="top"
+ ><span class="codelink"><a href="pyinotify-pysrc.html#WatchManager.__add_watch">source&nbsp;code</a></span>&nbsp;
+ </td>
+ </tr></table>
+
+ <p>Add a watch on path, build a Watch object and insert it in the watch
+ manager dictionary. Return the wd value.</p>
+ <dl class="fields">
+ </dl>
+</td></tr></table>
+</div>
+<a name="add_watch"></a>
+<div>
+<table class="details" border="1" cellpadding="3"
+ cellspacing="0" width="100%" bgcolor="white">
+<tr><td>
+ <table width="100%" cellpadding="0" cellspacing="0" border="0">
+ <tr valign="top"><td>
+ <h3 class="epydoc"><span class="sig"><span class="sig-name">add_watch</span>(<span class="sig-arg">self</span>,
+ <span class="sig-arg">path</span>,
+ <span class="sig-arg">mask</span>,
+ <span class="sig-arg">proc_fun</span>=<span class="sig-default">None</span>,
+ <span class="sig-arg">rec</span>=<span class="sig-default">False</span>,
+ <span class="sig-arg">auto_add</span>=<span class="sig-default">False</span>,
+ <span class="sig-arg">do_glob</span>=<span class="sig-default">False</span>,
+ <span class="sig-arg">quiet</span>=<span class="sig-default">True</span>,
+ <span class="sig-arg">exclude_filter</span>=<span class="sig-default">None</span>)</span>
+ </h3>
+ </td><td align="right" valign="top"
+ ><span class="codelink"><a href="pyinotify-pysrc.html#WatchManager.add_watch">source&nbsp;code</a></span>&nbsp;
+ </td>
+ </tr></table>
+
+ <p>Add watch(s) on the provided |path|(s) with associated |mask| flag
+ value and optionally with a processing |proc_fun| function and recursive
+ flag |rec| set to True. Ideally |path| components should not be unicode
+ objects. Note that although unicode paths are accepted there are
+ converted to byte strings before a watch is put on that path. The
+ encoding used for converting the unicode object is given by
+ sys.getfilesystemencoding(). If |path| si already watched it is ignored,
+ but if it is called with option rec=True a watch is put on each one of
+ its not-watched subdirectory.</p>
+ <dl class="fields">
+ <dt>Parameters:</dt>
+ <dd><ul class="nomargin-top">
+ <li><strong class="pname"><code>path</code></strong> (string or list of strings) - Path to watch, the path can either be a file or a directory. Also
+ accepts a sequence (list) of paths.</li>
+ <li><strong class="pname"><code>mask</code></strong> (int) - Bitmask of events.</li>
+ <li><strong class="pname"><code>proc_fun</code></strong> (function or ProcessEvent instance or instance of one of its
+ subclasses or callable object.) - Processing object.</li>
+ <li><strong class="pname"><code>rec</code></strong> (bool) - Recursively add watches from path on all its subdirectories, set
+ to False by default (doesn't follows symlinks in any case).</li>
+ <li><strong class="pname"><code>auto_add</code></strong> (bool) - Automatically add watches on newly created directories in watched
+ parent |path| directory.</li>
+ <li><strong class="pname"><code>do_glob</code></strong> (bool) - Do globbing on pathname (see standard globbing module for more
+ informations).</li>
+ <li><strong class="pname"><code>quiet</code></strong> (bool) - if False raises a WatchManagerError exception on error. See
+ example not_quiet.py.</li>
+ <li><strong class="pname"><code>exclude_filter</code></strong> (callable object) - predicate (boolean function), which returns True if the current
+ path must be excluded from being watched. This argument has
+ precedence over exclude_filter passed to the class' constructor.</li>
+ </ul></dd>
+ <dt>Returns: dict of {str: int}</dt>
+ <dd>dict of paths associated to watch descriptors. A wd value is
+ positive if the watch was added sucessfully, otherwise the value
+ is negative. If the path was invalid or was already watched it is
+ not included into this returned dictionary.</dd>
+ </dl>
+</td></tr></table>
+</div>
+<a name="__get_sub_rec"></a>
+<div class="private">
+<table class="details" border="1" cellpadding="3"
+ cellspacing="0" width="100%" bgcolor="white">
+<tr><td>
+ <table width="100%" cellpadding="0" cellspacing="0" border="0">
+ <tr valign="top"><td>
+ <h3 class="epydoc"><span class="sig"><span class="sig-name">__get_sub_rec</span>(<span class="sig-arg">self</span>,
+ <span class="sig-arg">lpath</span>)</span>
+ </h3>
+ </td><td align="right" valign="top"
+ ><span class="codelink"><a href="pyinotify-pysrc.html#WatchManager.__get_sub_rec">source&nbsp;code</a></span>&nbsp;
+ </td>
+ </tr></table>
+
+ <p>Get every wd from self._wmd if its path is under the path of one (at
+ least) of those in lpath. Doesn't follow symlinks.</p>
+ <dl class="fields">
+ <dt>Parameters:</dt>
+ <dd><ul class="nomargin-top">
+ <li><strong class="pname"><code>lpath</code></strong> (list of int) - list of watch descriptor</li>
+ </ul></dd>
+ <dt>Returns: list of int</dt>
+ <dd>list of watch descriptor</dd>
+ </dl>
+</td></tr></table>
+</div>
+<a name="update_watch"></a>
+<div>
+<table class="details" border="1" cellpadding="3"
+ cellspacing="0" width="100%" bgcolor="white">
+<tr><td>
+ <table width="100%" cellpadding="0" cellspacing="0" border="0">
+ <tr valign="top"><td>
+ <h3 class="epydoc"><span class="sig"><span class="sig-name">update_watch</span>(<span class="sig-arg">self</span>,
+ <span class="sig-arg">wd</span>,
+ <span class="sig-arg">mask</span>=<span class="sig-default">None</span>,
+ <span class="sig-arg">proc_fun</span>=<span class="sig-default">None</span>,
+ <span class="sig-arg">rec</span>=<span class="sig-default">False</span>,
+ <span class="sig-arg">auto_add</span>=<span class="sig-default">False</span>,
+ <span class="sig-arg">quiet</span>=<span class="sig-default">True</span>)</span>
+ </h3>
+ </td><td align="right" valign="top"
+ ><span class="codelink"><a href="pyinotify-pysrc.html#WatchManager.update_watch">source&nbsp;code</a></span>&nbsp;
+ </td>
+ </tr></table>
+
+ <p>Update existing watch descriptors |wd|. The |mask| value, the
+ processing object |proc_fun|, the recursive param |rec| and the
+ |auto_add| and |quiet| flags can all be updated.</p>
+ <dl class="fields">
+ <dt>Parameters:</dt>
+ <dd><ul class="nomargin-top">
+ <li><strong class="pname"><code>wd</code></strong> (int or list of int) - Watch Descriptor to update. Also accepts a list of watch
+ descriptors.</li>
+ <li><strong class="pname"><code>mask</code></strong> (int) - Optional new bitmask of events.</li>
+ <li><strong class="pname"><code>proc_fun</code></strong> (function or ProcessEvent instance or instance of one of its
+ subclasses or callable object.) - Optional new processing function.</li>
+ <li><strong class="pname"><code>rec</code></strong> (bool) - Optionally adds watches recursively on all subdirectories
+ contained into |wd| directory.</li>
+ <li><strong class="pname"><code>auto_add</code></strong> (bool) - Automatically adds watches on newly created directories in the
+ watch's path corresponding to |wd|.</li>
+ <li><strong class="pname"><code>quiet</code></strong> (bool) - If False raises a WatchManagerError exception on error. See
+ example not_quiet.py</li>
+ </ul></dd>
+ <dt>Returns: dict of {int: bool}</dt>
+ <dd>dict of watch descriptors associated to booleans values. True if
+ the corresponding wd has been successfully updated, False
+ otherwise.</dd>
+ </dl>
+</td></tr></table>
+</div>
+<a name="__format_param"></a>
+<div class="private">
+<table class="details" border="1" cellpadding="3"
+ cellspacing="0" width="100%" bgcolor="white">
+<tr><td>
+ <table width="100%" cellpadding="0" cellspacing="0" border="0">
+ <tr valign="top"><td>
+ <h3 class="epydoc"><span class="sig"><span class="sig-name">__format_param</span>(<span class="sig-arg">self</span>,
+ <span class="sig-arg">param</span>)</span>
+ </h3>
+ </td><td align="right" valign="top"
+ ><span class="codelink"><a href="pyinotify-pysrc.html#WatchManager.__format_param">source&nbsp;code</a></span>&nbsp;
+ </td>
+ </tr></table>
+
+
+ <dl class="fields">
+ <dt>Parameters:</dt>
+ <dd><ul class="nomargin-top">
+ <li><strong class="pname"><code>param</code></strong> (string or int) - Parameter.</li>
+ </ul></dd>
+ <dt>Returns: list of type(param)</dt>
+ <dd>wrap param.</dd>
+ </dl>
+</td></tr></table>
+</div>
+<a name="get_wd"></a>
+<div>
+<table class="details" border="1" cellpadding="3"
+ cellspacing="0" width="100%" bgcolor="white">
+<tr><td>
+ <table width="100%" cellpadding="0" cellspacing="0" border="0">
+ <tr valign="top"><td>
+ <h3 class="epydoc"><span class="sig"><span class="sig-name">get_wd</span>(<span class="sig-arg">self</span>,
+ <span class="sig-arg">path</span>)</span>
+ </h3>
+ </td><td align="right" valign="top"
+ ><span class="codelink"><a href="pyinotify-pysrc.html#WatchManager.get_wd">source&nbsp;code</a></span>&nbsp;
+ </td>
+ </tr></table>
+
+ <p>Returns the watch descriptor associated to path. This method presents
+ a prohibitive cost, always prefer to keep the WD returned by add_watch().
+ If the path is unknown it returns None.</p>
+ <dl class="fields">
+ <dt>Parameters:</dt>
+ <dd><ul class="nomargin-top">
+ <li><strong class="pname"><code>path</code></strong> (str) - Path.</li>
+ </ul></dd>
+ <dt>Returns: int or None</dt>
+ <dd>WD or None.</dd>
+ </dl>
+</td></tr></table>
+</div>
+<a name="get_path"></a>
+<div>
+<table class="details" border="1" cellpadding="3"
+ cellspacing="0" width="100%" bgcolor="white">
+<tr><td>
+ <table width="100%" cellpadding="0" cellspacing="0" border="0">
+ <tr valign="top"><td>
+ <h3 class="epydoc"><span class="sig"><span class="sig-name">get_path</span>(<span class="sig-arg">self</span>,
+ <span class="sig-arg">wd</span>)</span>
+ </h3>
+ </td><td align="right" valign="top"
+ ><span class="codelink"><a href="pyinotify-pysrc.html#WatchManager.get_path">source&nbsp;code</a></span>&nbsp;
+ </td>
+ </tr></table>
+
+ <p>Returns the path associated to WD, if WD is unknown it returns
+ None.</p>
+ <dl class="fields">
+ <dt>Parameters:</dt>
+ <dd><ul class="nomargin-top">
+ <li><strong class="pname"><code>wd</code></strong> (int) - Watch descriptor.</li>
+ </ul></dd>
+ <dt>Returns: string or None</dt>
+ <dd>Path or None.</dd>
+ </dl>
+</td></tr></table>
+</div>
+<a name="__walk_rec"></a>
+<div class="private">
+<table class="details" border="1" cellpadding="3"
+ cellspacing="0" width="100%" bgcolor="white">
+<tr><td>
+ <table width="100%" cellpadding="0" cellspacing="0" border="0">
+ <tr valign="top"><td>
+ <h3 class="epydoc"><span class="sig"><span class="sig-name">__walk_rec</span>(<span class="sig-arg">self</span>,
+ <span class="sig-arg">top</span>,
+ <span class="sig-arg">rec</span>)</span>
+ </h3>
+ </td><td align="right" valign="top"
+ ><span class="codelink"><a href="pyinotify-pysrc.html#WatchManager.__walk_rec">source&nbsp;code</a></span>&nbsp;
+ </td>
+ </tr></table>
+
+ <p>Yields each subdirectories of top, doesn't follow symlinks. If rec is
+ false, only yield top.</p>
+ <dl class="fields">
+ <dt>Parameters:</dt>
+ <dd><ul class="nomargin-top">
+ <li><strong class="pname"><code>top</code></strong> (string) - root directory.</li>
+ <li><strong class="pname"><code>rec</code></strong> (bool) - recursive flag.</li>
+ </ul></dd>
+ <dt>Returns: string</dt>
+ <dd>path of one subdirectory.</dd>
+ </dl>
+</td></tr></table>
+</div>
+<a name="rm_watch"></a>
+<div>
+<table class="details" border="1" cellpadding="3"
+ cellspacing="0" width="100%" bgcolor="white">
+<tr><td>
+ <table width="100%" cellpadding="0" cellspacing="0" border="0">
+ <tr valign="top"><td>
+ <h3 class="epydoc"><span class="sig"><span class="sig-name">rm_watch</span>(<span class="sig-arg">self</span>,
+ <span class="sig-arg">wd</span>,
+ <span class="sig-arg">rec</span>=<span class="sig-default">False</span>,
+ <span class="sig-arg">quiet</span>=<span class="sig-default">True</span>)</span>
+ </h3>
+ </td><td align="right" valign="top"
+ ><span class="codelink"><a href="pyinotify-pysrc.html#WatchManager.rm_watch">source&nbsp;code</a></span>&nbsp;
+ </td>
+ </tr></table>
+
+ <p>Removes watch(s).</p>
+ <dl class="fields">
+ <dt>Parameters:</dt>
+ <dd><ul class="nomargin-top">
+ <li><strong class="pname"><code>wd</code></strong> (int or list of int.) - Watch Descriptor of the file or directory to unwatch. Also
+ accepts a list of WDs.</li>
+ <li><strong class="pname"><code>rec</code></strong> (bool) - Recursively removes watches on every already watched
+ subdirectories and subfiles.</li>
+ <li><strong class="pname"><code>quiet</code></strong> (bool) - If False raises a WatchManagerError exception on error. See
+ example not_quiet.py</li>
+ </ul></dd>
+ <dt>Returns: dict of {int: bool}</dt>
+ <dd>dict of watch descriptors associated to booleans values. True if
+ the corresponding wd has been successfully removed, False
+ otherwise.</dd>
+ </dl>
+</td></tr></table>
+</div>
+<a name="watch_transient_file"></a>
+<div>
+<table class="details" border="1" cellpadding="3"
+ cellspacing="0" width="100%" bgcolor="white">
+<tr><td>
+ <table width="100%" cellpadding="0" cellspacing="0" border="0">
+ <tr valign="top"><td>
+ <h3 class="epydoc"><span class="sig"><span class="sig-name">watch_transient_file</span>(<span class="sig-arg">self</span>,
+ <span class="sig-arg">filename</span>,
+ <span class="sig-arg">mask</span>,
+ <span class="sig-arg">proc_class</span>)</span>
+ </h3>
+ </td><td align="right" valign="top"
+ ><span class="codelink"><a href="pyinotify-pysrc.html#WatchManager.watch_transient_file">source&nbsp;code</a></span>&nbsp;
+ </td>
+ </tr></table>
+
+ <p>Watch a transient file, which will be created and deleted frequently
+ over time (e.g. pid file).</p>
+ <dl class="fields">
+ <dt>Parameters:</dt>
+ <dd><ul class="nomargin-top">
+ <li><strong class="pname"><code>filename</code></strong> (string) - Filename.</li>
+ <li><strong class="pname"><code>mask</code></strong> (int) - Bitmask of events, should contain IN_CREATE and IN_DELETE.</li>
+ <li><strong class="pname"><code>proc_class</code></strong> (ProcessEvent's instance or of one of its subclasses.) - ProcessEvent (or of one of its subclass), beware of accepting a
+ ProcessEvent's instance as argument into __init__, see
+ transient_file.py example for more details.</li>
+ </ul></dd>
+ <dt>Returns: Same as add_watch().</dt>
+ <dd>Same as add_watch().</dd>
+ </dl>
+<div class="fields"> <p><strong>Attention:</strong>
+ Currently under the call to this function it is not possible to
+ correctly watch the events triggered into the same base directory
+ than the directory where is located this watched transient file.
+ For instance it would be wrong to make these two successive calls:
+ wm.watch_transient_file('/var/run/foo.pid', ...) and
+ wm.add_watch('/var/run/', ...)
+ </p>
+</div></td></tr></table>
+</div>
+<br />
+<!-- ==================== PROPERTY DETAILS ==================== -->
+<a name="section-PropertyDetails"></a>
+<table class="details" border="1" cellpadding="3"
+ cellspacing="0" width="100%" bgcolor="white">
+<tr bgcolor="#70b0f0" class="table-header">
+ <td colspan="2" class="table-header">
+ <table border="0" cellpadding="0" cellspacing="0" width="100%">
+ <tr valign="top">
+ <td align="left"><span class="table-header">Property Details</span></td>
+ <td align="right" valign="top"
+ ><span class="options">[<a href="#section-PropertyDetails"
+ class="privatelink" onclick="toggle_private();"
+ >hide private</a>]</span></td>
+ </tr>
+ </table>
+ </td>
+</tr>
+</table>
+<a name="watches"></a>
+<div>
+<table class="details" border="1" cellpadding="3"
+ cellspacing="0" width="100%" bgcolor="white">
+<tr><td>
+ <h3 class="epydoc">watches</h3>
+ <p>Get a reference on the internal watch manager dictionary.</p>
+ <dl class="fields">
+ <dt>Get Method:</dt>
+ <dd class="value"><span class="summary-sig"><i>unreachable</i>.watches(<span class="summary-sig-arg">self</span>)</span>
+ - Get a reference on the internal watch manager dictionary.
+ </dd>
+ <dt>Type:</dt>
+ <dd>dict</dd>
+ </dl>
+</td></tr></table>
+</div>
+<br />
+<!-- ==================== NAVIGATION BAR ==================== -->
+<table class="navbar" border="0" width="100%" cellpadding="0"
+ bgcolor="#a0c0ff" cellspacing="0">
+ <tr valign="middle">
+ <!-- Home link -->
+ <th>&nbsp;&nbsp;&nbsp;<a
+ href="pyinotify-module.html">Home</a>&nbsp;&nbsp;&nbsp;</th>
+
+ <!-- Tree link -->
+ <th>&nbsp;&nbsp;&nbsp;<a
+ href="module-tree.html">Trees</a>&nbsp;&nbsp;&nbsp;</th>
+
+ <!-- Index link -->
+ <th>&nbsp;&nbsp;&nbsp;<a
+ href="identifier-index.html">Indices</a>&nbsp;&nbsp;&nbsp;</th>
+
+ <!-- Help link -->
+ <th>&nbsp;&nbsp;&nbsp;<a
+ href="help.html">Help</a>&nbsp;&nbsp;&nbsp;</th>
+
+ <th class="navbar" width="100%"></th>
+ </tr>
+</table>
+<table border="0" cellpadding="0" cellspacing="0" width="100%%">
+ <tr>
+ <td align="left" class="footer">
+ Generated by Epydoc 3.0.1 on Wed Sep 15 21:46:50 2010
+ </td>
+ <td align="right" class="footer">
+ <a target="mainFrame" href="http://epydoc.sourceforge.net"
+ >http://epydoc.sourceforge.net</a>
+ </td>
+ </tr>
+</table>
+
+<script type="text/javascript">
+ <!--
+ // Private objects are initially displayed (because if
+ // javascript is turned off then we want them to be
+ // visible); but by default, we want to hide them. So hide
+ // them unless we have a cookie that says to show them.
+ checkCookie();
+ // -->
+</script>
+</body>
+</html>
diff --git a/python2/docstrings/pyinotify.WatchManagerError-class.html b/python2/docstrings/pyinotify.WatchManagerError-class.html
new file mode 100644
index 0000000..6af294c
--- /dev/null
+++ b/python2/docstrings/pyinotify.WatchManagerError-class.html
@@ -0,0 +1,274 @@
+<?xml version="1.0" encoding="ascii"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+ <title>pyinotify.WatchManagerError</title>
+ <link rel="stylesheet" href="epydoc.css" type="text/css" />
+ <script type="text/javascript" src="epydoc.js"></script>
+</head>
+
+<body bgcolor="white" text="black" link="blue" vlink="#204080"
+ alink="#204080">
+<!-- ==================== NAVIGATION BAR ==================== -->
+<table class="navbar" border="0" width="100%" cellpadding="0"
+ bgcolor="#a0c0ff" cellspacing="0">
+ <tr valign="middle">
+ <!-- Home link -->
+ <th>&nbsp;&nbsp;&nbsp;<a
+ href="pyinotify-module.html">Home</a>&nbsp;&nbsp;&nbsp;</th>
+
+ <!-- Tree link -->
+ <th>&nbsp;&nbsp;&nbsp;<a
+ href="module-tree.html">Trees</a>&nbsp;&nbsp;&nbsp;</th>
+
+ <!-- Index link -->
+ <th>&nbsp;&nbsp;&nbsp;<a
+ href="identifier-index.html">Indices</a>&nbsp;&nbsp;&nbsp;</th>
+
+ <!-- Help link -->
+ <th>&nbsp;&nbsp;&nbsp;<a
+ href="help.html">Help</a>&nbsp;&nbsp;&nbsp;</th>
+
+ <th class="navbar" width="100%"></th>
+ </tr>
+</table>
+<table width="100%" cellpadding="0" cellspacing="0">
+ <tr valign="top">
+ <td width="100%">
+ <span class="breadcrumbs">
+ <a href="pyinotify-module.html">Module&nbsp;pyinotify</a> ::
+ Class&nbsp;WatchManagerError
+ </span>
+ </td>
+ <td>
+ <table cellpadding="0" cellspacing="0">
+ <!-- hide/show private -->
+ <tr><td align="right"><span class="options">[<a href="javascript:void(0);" class="privatelink"
+ onclick="toggle_private();">hide&nbsp;private</a>]</span></td></tr>
+ <tr><td align="right"><span class="options"
+ >[<a href="frames.html" target="_top">frames</a
+ >]&nbsp;|&nbsp;<a href="pyinotify.WatchManagerError-class.html"
+ target="_top">no&nbsp;frames</a>]</span></td></tr>
+ </table>
+ </td>
+ </tr>
+</table>
+<!-- ==================== CLASS DESCRIPTION ==================== -->
+<h1 class="epydoc">Class WatchManagerError</h1><p class="nomargin-top"><span class="codelink"><a href="pyinotify-pysrc.html#WatchManagerError">source&nbsp;code</a></span></p>
+<center>
+<center> <map id="uml_class_diagram_for_pyinotif_23" name="uml_class_diagram_for_pyinotif_23">
+<area shape="rect" href="pyinotify.WatchManagerError-class.html#__init__" title="x.__init__(...) initializes x; see x.__class__.__doc__ for signature" alt="" coords="21,385,168,404"/>
+<area shape="rect" href="pyinotify.WatchManagerError-class.html" title="WatchManager Exception." alt="" coords="20,360,169,405"/>
+<area shape="rect" href="javascript:void(0);" title="exceptions.Exception.__new__" alt="" coords="32,311,157,329"/>
+<area shape="rect" href="javascript:void(0);" title="Common base class for all non&#45;exit exceptions." alt="" coords="31,285,159,331"/>
+<area shape="rect" href="javascript:void(0);" title="exceptions.BaseException.args" alt="" coords="17,28,172,47"/>
+<area shape="rect" href="javascript:void(0);" title="exceptions.BaseException.message" alt="" coords="17,47,172,65"/>
+<area shape="rect" href="javascript:void(0);" title="x.__delattr__(&#39;name&#39;) &lt;==&gt; del x.name" alt="" coords="17,68,172,87"/>
+<area shape="rect" href="javascript:void(0);" title="x.__getattribute__(&#39;name&#39;) &lt;==&gt; x.name" alt="" coords="17,87,172,105"/>
+<area shape="rect" href="javascript:void(0);" title="x[y]" alt="" coords="17,105,172,124"/>
+<area shape="rect" href="javascript:void(0);" title="x[i:j]" alt="" coords="17,124,172,143"/>
+<area shape="rect" href="javascript:void(0);" title="helper for pickle" alt="" coords="17,143,172,161"/>
+<area shape="rect" href="javascript:void(0);" title="repr(x)" alt="" coords="17,161,172,180"/>
+<area shape="rect" href="javascript:void(0);" title="x.__setattr__(&#39;name&#39;, value) &lt;==&gt; x.name = value" alt="" coords="17,180,172,199"/>
+<area shape="rect" href="javascript:void(0);" title="exceptions.BaseException.__setstate__" alt="" coords="17,199,172,217"/>
+<area shape="rect" href="javascript:void(0);" title="str(x)" alt="" coords="17,217,172,236"/>
+<area shape="rect" href="javascript:void(0);" title="exceptions.BaseException.__unicode__" alt="" coords="17,236,172,255"/>
+<area shape="rect" href="javascript:void(0);" title="Common base class for all exceptions" alt="" coords="16,11,173,256"/>
+</map>
+ <img src="uml_class_diagram_for_pyinotif_23.gif" alt='' usemap="#uml_class_diagram_for_pyinotif_23" ismap="ismap" class="graph-without-title" />
+</center>
+</center>
+<hr />
+<p>WatchManager Exception. Raised on error encountered on watches
+ operations.</p>
+
+<!-- ==================== INSTANCE METHODS ==================== -->
+<a name="section-InstanceMethods"></a>
+<table class="summary" border="1" cellpadding="3"
+ cellspacing="0" width="100%" bgcolor="white">
+<tr bgcolor="#70b0f0" class="table-header">
+ <td colspan="2" class="table-header">
+ <table border="0" cellpadding="0" cellspacing="0" width="100%">
+ <tr valign="top">
+ <td align="left"><span class="table-header">Instance Methods</span></td>
+ <td align="right" valign="top"
+ ><span class="options">[<a href="#section-InstanceMethods"
+ class="privatelink" onclick="toggle_private();"
+ >hide private</a>]</span></td>
+ </tr>
+ </table>
+ </td>
+</tr>
+<tr>
+ <td width="15%" align="right" valign="top" class="summary">
+ <span class="summary-type">&nbsp;</span>
+ </td><td class="summary">
+ <table width="100%" cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td><span class="summary-sig"><a href="pyinotify.WatchManagerError-class.html#__init__" class="summary-sig-name">__init__</a>(<span class="summary-sig-arg">self</span>,
+ <span class="summary-sig-arg">msg</span>,
+ <span class="summary-sig-arg">wmd</span>)</span><br />
+ x.__init__(...) initializes x; see x.__class__.__doc__ for signature</td>
+ <td align="right" valign="top">
+ <span class="codelink"><a href="pyinotify-pysrc.html#WatchManagerError.__init__">source&nbsp;code</a></span>
+
+ </td>
+ </tr>
+ </table>
+
+ </td>
+ </tr>
+ <tr>
+ <td colspan="2" class="summary">
+ <p class="indent-wrapped-lines"><b>Inherited from <code>exceptions.Exception</code></b>:
+ <code>__new__</code>
+ </p>
+ <p class="indent-wrapped-lines"><b>Inherited from <code>exceptions.BaseException</code></b>:
+ <code>__delattr__</code>,
+ <code>__getattribute__</code>,
+ <code>__getitem__</code>,
+ <code>__getslice__</code>,
+ <code>__reduce__</code>,
+ <code>__repr__</code>,
+ <code>__setattr__</code>,
+ <code>__setstate__</code>,
+ <code>__str__</code>,
+ <code>__unicode__</code>
+ </p>
+ <p class="indent-wrapped-lines"><b>Inherited from <code>object</code></b>:
+ <code>__format__</code>,
+ <code>__hash__</code>,
+ <code>__reduce_ex__</code>,
+ <code>__sizeof__</code>,
+ <code>__subclasshook__</code>
+ </p>
+ </td>
+ </tr>
+</table>
+<!-- ==================== PROPERTIES ==================== -->
+<a name="section-Properties"></a>
+<table class="summary" border="1" cellpadding="3"
+ cellspacing="0" width="100%" bgcolor="white">
+<tr bgcolor="#70b0f0" class="table-header">
+ <td colspan="2" class="table-header">
+ <table border="0" cellpadding="0" cellspacing="0" width="100%">
+ <tr valign="top">
+ <td align="left"><span class="table-header">Properties</span></td>
+ <td align="right" valign="top"
+ ><span class="options">[<a href="#section-Properties"
+ class="privatelink" onclick="toggle_private();"
+ >hide private</a>]</span></td>
+ </tr>
+ </table>
+ </td>
+</tr>
+ <tr>
+ <td colspan="2" class="summary">
+ <p class="indent-wrapped-lines"><b>Inherited from <code>exceptions.BaseException</code></b>:
+ <code>args</code>,
+ <code>message</code>
+ </p>
+ <p class="indent-wrapped-lines"><b>Inherited from <code>object</code></b>:
+ <code>__class__</code>
+ </p>
+ </td>
+ </tr>
+</table>
+<!-- ==================== METHOD DETAILS ==================== -->
+<a name="section-MethodDetails"></a>
+<table class="details" border="1" cellpadding="3"
+ cellspacing="0" width="100%" bgcolor="white">
+<tr bgcolor="#70b0f0" class="table-header">
+ <td colspan="2" class="table-header">
+ <table border="0" cellpadding="0" cellspacing="0" width="100%">
+ <tr valign="top">
+ <td align="left"><span class="table-header">Method Details</span></td>
+ <td align="right" valign="top"
+ ><span class="options">[<a href="#section-MethodDetails"
+ class="privatelink" onclick="toggle_private();"
+ >hide private</a>]</span></td>
+ </tr>
+ </table>
+ </td>
+</tr>
+</table>
+<a name="__init__"></a>
+<div>
+<table class="details" border="1" cellpadding="3"
+ cellspacing="0" width="100%" bgcolor="white">
+<tr><td>
+ <table width="100%" cellpadding="0" cellspacing="0" border="0">
+ <tr valign="top"><td>
+ <h3 class="epydoc"><span class="sig"><span class="sig-name">__init__</span>(<span class="sig-arg">self</span>,
+ <span class="sig-arg">msg</span>,
+ <span class="sig-arg">wmd</span>)</span>
+ <br /><em class="fname">(Constructor)</em>
+ </h3>
+ </td><td align="right" valign="top"
+ ><span class="codelink"><a href="pyinotify-pysrc.html#WatchManagerError.__init__">source&nbsp;code</a></span>&nbsp;
+ </td>
+ </tr></table>
+
+ <p>x.__init__(...) initializes x; see x.__class__.__doc__ for
+ signature</p>
+ <dl class="fields">
+ <dt>Parameters:</dt>
+ <dd><ul class="nomargin-top">
+ <li><strong class="pname"><code>msg</code></strong> (string) - Exception string's description.</li>
+ <li><strong class="pname"><code>wmd</code></strong> (dict) - This dictionary contains the wd assigned to paths of the same
+ call for which watches were successfully added.</li>
+ </ul></dd>
+ <dt>Overrides:
+ object.__init__
+ </dt>
+ </dl>
+</td></tr></table>
+</div>
+<br />
+<!-- ==================== NAVIGATION BAR ==================== -->
+<table class="navbar" border="0" width="100%" cellpadding="0"
+ bgcolor="#a0c0ff" cellspacing="0">
+ <tr valign="middle">
+ <!-- Home link -->
+ <th>&nbsp;&nbsp;&nbsp;<a
+ href="pyinotify-module.html">Home</a>&nbsp;&nbsp;&nbsp;</th>
+
+ <!-- Tree link -->
+ <th>&nbsp;&nbsp;&nbsp;<a
+ href="module-tree.html">Trees</a>&nbsp;&nbsp;&nbsp;</th>
+
+ <!-- Index link -->
+ <th>&nbsp;&nbsp;&nbsp;<a
+ href="identifier-index.html">Indices</a>&nbsp;&nbsp;&nbsp;</th>
+
+ <!-- Help link -->
+ <th>&nbsp;&nbsp;&nbsp;<a
+ href="help.html">Help</a>&nbsp;&nbsp;&nbsp;</th>
+
+ <th class="navbar" width="100%"></th>
+ </tr>
+</table>
+<table border="0" cellpadding="0" cellspacing="0" width="100%%">
+ <tr>
+ <td align="left" class="footer">
+ Generated by Epydoc 3.0.1 on Wed Sep 15 21:46:50 2010
+ </td>
+ <td align="right" class="footer">
+ <a target="mainFrame" href="http://epydoc.sourceforge.net"
+ >http://epydoc.sourceforge.net</a>
+ </td>
+ </tr>
+</table>
+
+<script type="text/javascript">
+ <!--
+ // Private objects are initially displayed (because if
+ // javascript is turned off then we want them to be
+ // visible); but by default, we want to hide them. So hide
+ // them unless we have a cookie that says to show them.
+ checkCookie();
+ // -->
+</script>
+</body>
+</html>
diff --git a/python2/docstrings/pyinotify._Event-class.html b/python2/docstrings/pyinotify._Event-class.html
new file mode 100644
index 0000000..b8733b8
--- /dev/null
+++ b/python2/docstrings/pyinotify._Event-class.html
@@ -0,0 +1,337 @@
+<?xml version="1.0" encoding="ascii"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+ <title>pyinotify._Event</title>
+ <link rel="stylesheet" href="epydoc.css" type="text/css" />
+ <script type="text/javascript" src="epydoc.js"></script>
+</head>
+
+<body bgcolor="white" text="black" link="blue" vlink="#204080"
+ alink="#204080">
+<!-- ==================== NAVIGATION BAR ==================== -->
+<table class="navbar" border="0" width="100%" cellpadding="0"
+ bgcolor="#a0c0ff" cellspacing="0">
+ <tr valign="middle">
+ <!-- Home link -->
+ <th>&nbsp;&nbsp;&nbsp;<a
+ href="pyinotify-module.html">Home</a>&nbsp;&nbsp;&nbsp;</th>
+
+ <!-- Tree link -->
+ <th>&nbsp;&nbsp;&nbsp;<a
+ href="module-tree.html">Trees</a>&nbsp;&nbsp;&nbsp;</th>
+
+ <!-- Index link -->
+ <th>&nbsp;&nbsp;&nbsp;<a
+ href="identifier-index.html">Indices</a>&nbsp;&nbsp;&nbsp;</th>
+
+ <!-- Help link -->
+ <th>&nbsp;&nbsp;&nbsp;<a
+ href="help.html">Help</a>&nbsp;&nbsp;&nbsp;</th>
+
+ <th class="navbar" width="100%"></th>
+ </tr>
+</table>
+<table width="100%" cellpadding="0" cellspacing="0">
+ <tr valign="top">
+ <td width="100%">
+ <span class="breadcrumbs">
+ <a href="pyinotify-module.html">Module&nbsp;pyinotify</a> ::
+ Class&nbsp;_Event
+ </span>
+ </td>
+ <td>
+ <table cellpadding="0" cellspacing="0">
+ <!-- hide/show private -->
+ <tr><td align="right"><span class="options">[<a href="javascript:void(0);" class="privatelink"
+ onclick="toggle_private();">hide&nbsp;private</a>]</span></td></tr>
+ <tr><td align="right"><span class="options"
+ >[<a href="frames.html" target="_top">frames</a
+ >]&nbsp;|&nbsp;<a href="pyinotify._Event-class.html"
+ target="_top">no&nbsp;frames</a>]</span></td></tr>
+ </table>
+ </td>
+ </tr>
+</table>
+<!-- ==================== CLASS DESCRIPTION ==================== -->
+<h1 class="epydoc">Class _Event</h1><p class="nomargin-top"><span class="codelink"><a href="pyinotify-pysrc.html#_Event">source&nbsp;code</a></span></p>
+<center>
+ <div class="private"><center> <map id="uml_class_diagram_for_pyinotif_24" name="uml_class_diagram_for_pyinotif_24">
+<area shape="rect" href="pyinotify._Event-class.html#__init__" title="Attach attributes (contained in dict_) to self." alt="" coords="37,36,152,55"/>
+<area shape="rect" href="pyinotify._Event-class.html#__repr__" title="Returns: &#160;Generic event string representation." alt="" coords="37,55,152,73"/>
+<area shape="rect" href="pyinotify._Event-class.html#__str__" title="str(x)" alt="" coords="37,73,152,92"/>
+<area shape="rect" href="pyinotify._Event-class.html" title="Event structure, represent events raised by the system." alt="" coords="36,11,153,93"/>
+<area shape="rect" href="pyinotify.Event-class.html" title="This class contains all the useful informations about the observed event." alt="" coords="16,123,61,149"/>
+<area shape="rect" href="pyinotify._RawEvent-class.html" title="Raw event, it contains only the informations provided by the system." alt="" coords="112,123,189,149"/>
+</map>
+ <img src="uml_class_diagram_for_pyinotif_24.gif" alt='' usemap="#uml_class_diagram_for_pyinotif_24" ismap="ismap" class="graph-without-title" />
+</center></div>
+ <div class="public" style="display:none"><center> <map id="uml_class_diagram_for_pyinotif_25" name="uml_class_diagram_for_pyinotif_25">
+<area shape="rect" href="pyinotify._Event-class.html#__init__" title="Attach attributes (contained in dict_) to self." alt="" coords="17,36,132,55"/>
+<area shape="rect" href="pyinotify._Event-class.html#__repr__" title="Returns: &#160;Generic event string representation." alt="" coords="17,55,132,73"/>
+<area shape="rect" href="pyinotify._Event-class.html#__str__" title="str(x)" alt="" coords="17,73,132,92"/>
+<area shape="rect" href="pyinotify._Event-class.html" title="Event structure, represent events raised by the system." alt="" coords="16,11,133,93"/>
+<area shape="rect" href="pyinotify.Event-class.html" title="This class contains all the useful informations about the observed event." alt="" coords="52,123,97,149"/>
+</map>
+ <img src="uml_class_diagram_for_pyinotif_25.gif" alt='' usemap="#uml_class_diagram_for_pyinotif_25" ismap="ismap" class="graph-without-title" />
+</center></div>
+</center>
+<hr />
+<p>Event structure, represent events raised by the system. This is the
+ base class and should be subclassed.</p>
+
+<!-- ==================== INSTANCE METHODS ==================== -->
+<a name="section-InstanceMethods"></a>
+<table class="summary" border="1" cellpadding="3"
+ cellspacing="0" width="100%" bgcolor="white">
+<tr bgcolor="#70b0f0" class="table-header">
+ <td colspan="2" class="table-header">
+ <table border="0" cellpadding="0" cellspacing="0" width="100%">
+ <tr valign="top">
+ <td align="left"><span class="table-header">Instance Methods</span></td>
+ <td align="right" valign="top"
+ ><span class="options">[<a href="#section-InstanceMethods"
+ class="privatelink" onclick="toggle_private();"
+ >hide private</a>]</span></td>
+ </tr>
+ </table>
+ </td>
+</tr>
+<tr>
+ <td width="15%" align="right" valign="top" class="summary">
+ <span class="summary-type">&nbsp;</span>
+ </td><td class="summary">
+ <table width="100%" cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td><span class="summary-sig"><a href="pyinotify._Event-class.html#__init__" class="summary-sig-name">__init__</a>(<span class="summary-sig-arg">self</span>,
+ <span class="summary-sig-arg">dict_</span>)</span><br />
+ Attach attributes (contained in dict_) to self.</td>
+ <td align="right" valign="top">
+ <span class="codelink"><a href="pyinotify-pysrc.html#_Event.__init__">source&nbsp;code</a></span>
+
+ </td>
+ </tr>
+ </table>
+
+ </td>
+ </tr>
+<tr>
+ <td width="15%" align="right" valign="top" class="summary">
+ <span class="summary-type">str</span>
+ </td><td class="summary">
+ <table width="100%" cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td><span class="summary-sig"><a href="pyinotify._Event-class.html#__repr__" class="summary-sig-name">__repr__</a>(<span class="summary-sig-arg">self</span>)</span><br />
+ Returns:
+ Generic event string representation.</td>
+ <td align="right" valign="top">
+ <span class="codelink"><a href="pyinotify-pysrc.html#_Event.__repr__">source&nbsp;code</a></span>
+
+ </td>
+ </tr>
+ </table>
+
+ </td>
+ </tr>
+<tr>
+ <td width="15%" align="right" valign="top" class="summary">
+ <span class="summary-type">&nbsp;</span>
+ </td><td class="summary">
+ <table width="100%" cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td><span class="summary-sig"><a href="pyinotify._Event-class.html#__str__" class="summary-sig-name">__str__</a>(<span class="summary-sig-arg">self</span>)</span><br />
+ str(x)</td>
+ <td align="right" valign="top">
+ <span class="codelink"><a href="pyinotify-pysrc.html#_Event.__str__">source&nbsp;code</a></span>
+
+ </td>
+ </tr>
+ </table>
+
+ </td>
+ </tr>
+ <tr>
+ <td colspan="2" class="summary">
+ <p class="indent-wrapped-lines"><b>Inherited from <code>object</code></b>:
+ <code>__delattr__</code>,
+ <code>__format__</code>,
+ <code>__getattribute__</code>,
+ <code>__hash__</code>,
+ <code>__new__</code>,
+ <code>__reduce__</code>,
+ <code>__reduce_ex__</code>,
+ <code>__setattr__</code>,
+ <code>__sizeof__</code>,
+ <code>__subclasshook__</code>
+ </p>
+ </td>
+ </tr>
+</table>
+<!-- ==================== PROPERTIES ==================== -->
+<a name="section-Properties"></a>
+<table class="summary" border="1" cellpadding="3"
+ cellspacing="0" width="100%" bgcolor="white">
+<tr bgcolor="#70b0f0" class="table-header">
+ <td colspan="2" class="table-header">
+ <table border="0" cellpadding="0" cellspacing="0" width="100%">
+ <tr valign="top">
+ <td align="left"><span class="table-header">Properties</span></td>
+ <td align="right" valign="top"
+ ><span class="options">[<a href="#section-Properties"
+ class="privatelink" onclick="toggle_private();"
+ >hide private</a>]</span></td>
+ </tr>
+ </table>
+ </td>
+</tr>
+ <tr>
+ <td colspan="2" class="summary">
+ <p class="indent-wrapped-lines"><b>Inherited from <code>object</code></b>:
+ <code>__class__</code>
+ </p>
+ </td>
+ </tr>
+</table>
+<!-- ==================== METHOD DETAILS ==================== -->
+<a name="section-MethodDetails"></a>
+<table class="details" border="1" cellpadding="3"
+ cellspacing="0" width="100%" bgcolor="white">
+<tr bgcolor="#70b0f0" class="table-header">
+ <td colspan="2" class="table-header">
+ <table border="0" cellpadding="0" cellspacing="0" width="100%">
+ <tr valign="top">
+ <td align="left"><span class="table-header">Method Details</span></td>
+ <td align="right" valign="top"
+ ><span class="options">[<a href="#section-MethodDetails"
+ class="privatelink" onclick="toggle_private();"
+ >hide private</a>]</span></td>
+ </tr>
+ </table>
+ </td>
+</tr>
+</table>
+<a name="__init__"></a>
+<div>
+<table class="details" border="1" cellpadding="3"
+ cellspacing="0" width="100%" bgcolor="white">
+<tr><td>
+ <table width="100%" cellpadding="0" cellspacing="0" border="0">
+ <tr valign="top"><td>
+ <h3 class="epydoc"><span class="sig"><span class="sig-name">__init__</span>(<span class="sig-arg">self</span>,
+ <span class="sig-arg">dict_</span>)</span>
+ <br /><em class="fname">(Constructor)</em>
+ </h3>
+ </td><td align="right" valign="top"
+ ><span class="codelink"><a href="pyinotify-pysrc.html#_Event.__init__">source&nbsp;code</a></span>&nbsp;
+ </td>
+ </tr></table>
+
+ <p>Attach attributes (contained in dict_) to self.</p>
+ <dl class="fields">
+ <dt>Parameters:</dt>
+ <dd><ul class="nomargin-top">
+ <li><strong class="pname"><code>dict_</code></strong> (dictionary) - Set of attributes.</li>
+ </ul></dd>
+ <dt>Overrides:
+ object.__init__
+ </dt>
+ </dl>
+</td></tr></table>
+</div>
+<a name="__repr__"></a>
+<div>
+<table class="details" border="1" cellpadding="3"
+ cellspacing="0" width="100%" bgcolor="white">
+<tr><td>
+ <table width="100%" cellpadding="0" cellspacing="0" border="0">
+ <tr valign="top"><td>
+ <h3 class="epydoc"><span class="sig"><span class="sig-name">__repr__</span>(<span class="sig-arg">self</span>)</span>
+ <br /><em class="fname">(Representation operator)</em>
+ </h3>
+ </td><td align="right" valign="top"
+ ><span class="codelink"><a href="pyinotify-pysrc.html#_Event.__repr__">source&nbsp;code</a></span>&nbsp;
+ </td>
+ </tr></table>
+
+ <p>repr(x)</p>
+ <dl class="fields">
+ <dt>Returns: str</dt>
+ <dd>Generic event string representation.</dd>
+ <dt>Overrides:
+ object.__repr__
+ </dt>
+ </dl>
+</td></tr></table>
+</div>
+<a name="__str__"></a>
+<div>
+<table class="details" border="1" cellpadding="3"
+ cellspacing="0" width="100%" bgcolor="white">
+<tr><td>
+ <table width="100%" cellpadding="0" cellspacing="0" border="0">
+ <tr valign="top"><td>
+ <h3 class="epydoc"><span class="sig"><span class="sig-name">__str__</span>(<span class="sig-arg">self</span>)</span>
+ <br /><em class="fname">(Informal representation operator)</em>
+ </h3>
+ </td><td align="right" valign="top"
+ ><span class="codelink"><a href="pyinotify-pysrc.html#_Event.__str__">source&nbsp;code</a></span>&nbsp;
+ </td>
+ </tr></table>
+
+ <p>str(x)</p>
+ <dl class="fields">
+ <dt>Overrides:
+ object.__str__
+ <dd><em class="note">(inherited documentation)</em></dd>
+ </dt>
+ </dl>
+</td></tr></table>
+</div>
+<br />
+<!-- ==================== NAVIGATION BAR ==================== -->
+<table class="navbar" border="0" width="100%" cellpadding="0"
+ bgcolor="#a0c0ff" cellspacing="0">
+ <tr valign="middle">
+ <!-- Home link -->
+ <th>&nbsp;&nbsp;&nbsp;<a
+ href="pyinotify-module.html">Home</a>&nbsp;&nbsp;&nbsp;</th>
+
+ <!-- Tree link -->
+ <th>&nbsp;&nbsp;&nbsp;<a
+ href="module-tree.html">Trees</a>&nbsp;&nbsp;&nbsp;</th>
+
+ <!-- Index link -->
+ <th>&nbsp;&nbsp;&nbsp;<a
+ href="identifier-index.html">Indices</a>&nbsp;&nbsp;&nbsp;</th>
+
+ <!-- Help link -->
+ <th>&nbsp;&nbsp;&nbsp;<a
+ href="help.html">Help</a>&nbsp;&nbsp;&nbsp;</th>
+
+ <th class="navbar" width="100%"></th>
+ </tr>
+</table>
+<table border="0" cellpadding="0" cellspacing="0" width="100%%">
+ <tr>
+ <td align="left" class="footer">
+ Generated by Epydoc 3.0.1 on Wed Sep 15 21:46:51 2010
+ </td>
+ <td align="right" class="footer">
+ <a target="mainFrame" href="http://epydoc.sourceforge.net"
+ >http://epydoc.sourceforge.net</a>
+ </td>
+ </tr>
+</table>
+
+<script type="text/javascript">
+ <!--
+ // Private objects are initially displayed (because if
+ // javascript is turned off then we want them to be
+ // visible); but by default, we want to hide them. So hide
+ // them unless we have a cookie that says to show them.
+ checkCookie();
+ // -->
+</script>
+</body>
+</html>
diff --git a/python2/docstrings/pyinotify._ProcessEvent-class.html b/python2/docstrings/pyinotify._ProcessEvent-class.html
new file mode 100644
index 0000000..9b1e696
--- /dev/null
+++ b/python2/docstrings/pyinotify._ProcessEvent-class.html
@@ -0,0 +1,324 @@
+<?xml version="1.0" encoding="ascii"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+ <title>pyinotify._ProcessEvent</title>
+ <link rel="stylesheet" href="epydoc.css" type="text/css" />
+ <script type="text/javascript" src="epydoc.js"></script>
+</head>
+
+<body bgcolor="white" text="black" link="blue" vlink="#204080"
+ alink="#204080">
+<!-- ==================== NAVIGATION BAR ==================== -->
+<table class="navbar" border="0" width="100%" cellpadding="0"
+ bgcolor="#a0c0ff" cellspacing="0">
+ <tr valign="middle">
+ <!-- Home link -->
+ <th>&nbsp;&nbsp;&nbsp;<a
+ href="pyinotify-module.html">Home</a>&nbsp;&nbsp;&nbsp;</th>
+
+ <!-- Tree link -->
+ <th>&nbsp;&nbsp;&nbsp;<a
+ href="module-tree.html">Trees</a>&nbsp;&nbsp;&nbsp;</th>
+
+ <!-- Index link -->
+ <th>&nbsp;&nbsp;&nbsp;<a
+ href="identifier-index.html">Indices</a>&nbsp;&nbsp;&nbsp;</th>
+
+ <!-- Help link -->
+ <th>&nbsp;&nbsp;&nbsp;<a
+ href="help.html">Help</a>&nbsp;&nbsp;&nbsp;</th>
+
+ <th class="navbar" width="100%"></th>
+ </tr>
+</table>
+<table width="100%" cellpadding="0" cellspacing="0">
+ <tr valign="top">
+ <td width="100%">
+ <span class="breadcrumbs">
+ <a href="pyinotify-module.html">Module&nbsp;pyinotify</a> ::
+ Class&nbsp;_ProcessEvent
+ </span>
+ </td>
+ <td>
+ <table cellpadding="0" cellspacing="0">
+ <!-- hide/show private -->
+ <tr><td align="right"><span class="options">[<a href="javascript:void(0);" class="privatelink"
+ onclick="toggle_private();">hide&nbsp;private</a>]</span></td></tr>
+ <tr><td align="right"><span class="options"
+ >[<a href="frames.html" target="_top">frames</a
+ >]&nbsp;|&nbsp;<a href="pyinotify._ProcessEvent-class.html"
+ target="_top">no&nbsp;frames</a>]</span></td></tr>
+ </table>
+ </td>
+ </tr>
+</table>
+<!-- ==================== CLASS DESCRIPTION ==================== -->
+<h1 class="epydoc">Class _ProcessEvent</h1><p class="nomargin-top"><span class="codelink"><a href="pyinotify-pysrc.html#_ProcessEvent">source&nbsp;code</a></span></p>
+<center>
+ <div class="private"><center> <map id="uml_class_diagram_for_pyinotif_26" name="uml_class_diagram_for_pyinotif_26">
+<area shape="rect" href="pyinotify.ProcessEvent-class.html" title="Process events objects, can be specialized via subclassing, thus its behavior can be overriden:" alt="" coords="155,104,248,131"/>
+<area shape="rect" href="pyinotify.PrintAllEvents-class.html" title="Dummy class used to print events strings representations." alt="" coords="16,160,112,187"/>
+<area shape="rect" href="pyinotify.ChainIfTrue-class.html" title="Makes conditional chaining depending on the result of the nested processing instance." alt="" coords="163,160,240,187"/>
+<area shape="rect" href="pyinotify.Stats-class.html" title="Compute and display trivial statistics about processed events." alt="" coords="291,160,336,187"/>
+<area shape="rect" href="pyinotify._ProcessEvent-class.html#__call__" title="To behave like a functor the object must be callable." alt="" coords="221,36,341,55"/>
+<area shape="rect" href="pyinotify._ProcessEvent-class.html#__repr__" title="repr(x)" alt="" coords="221,55,341,73"/>
+<area shape="rect" href="pyinotify._ProcessEvent-class.html" title="Abstract processing event class." alt="" coords="220,11,343,75"/>
+<area shape="rect" href="pyinotify._SysProcessEvent-class.html" title="There is three kind of processing according to each event:" alt="" coords="299,104,424,131"/>
+</map>
+ <img src="uml_class_diagram_for_pyinotif_26.gif" alt='' usemap="#uml_class_diagram_for_pyinotif_26" ismap="ismap" class="graph-without-title" />
+</center></div>
+ <div class="public" style="display:none"><center> <map id="uml_class_diagram_for_pyinotif_27" name="uml_class_diagram_for_pyinotif_27">
+<area shape="rect" href="pyinotify._ProcessEvent-class.html#__call__" title="To behave like a functor the object must be callable." alt="" coords="107,36,227,55"/>
+<area shape="rect" href="pyinotify._ProcessEvent-class.html#__repr__" title="repr(x)" alt="" coords="107,55,227,73"/>
+<area shape="rect" href="pyinotify._ProcessEvent-class.html" title="Abstract processing event class." alt="" coords="105,11,228,75"/>
+<area shape="rect" href="pyinotify.ProcessEvent-class.html" title="Process events objects, can be specialized via subclassing, thus its behavior can be overriden:" alt="" coords="120,104,213,131"/>
+<area shape="rect" href="pyinotify.ChainIfTrue-class.html" title="Makes conditional chaining depending on the result of the nested processing instance." alt="" coords="16,160,93,187"/>
+<area shape="rect" href="pyinotify.Stats-class.html" title="Compute and display trivial statistics about processed events." alt="" coords="144,160,189,187"/>
+<area shape="rect" href="pyinotify.PrintAllEvents-class.html" title="Dummy class used to print events strings representations." alt="" coords="240,160,336,187"/>
+</map>
+ <img src="uml_class_diagram_for_pyinotif_27.gif" alt='' usemap="#uml_class_diagram_for_pyinotif_27" ismap="ismap" class="graph-without-title" />
+</center></div>
+</center>
+<hr />
+<p>Abstract processing event class.</p>
+
+<!-- ==================== INSTANCE METHODS ==================== -->
+<a name="section-InstanceMethods"></a>
+<table class="summary" border="1" cellpadding="3"
+ cellspacing="0" width="100%" bgcolor="white">
+<tr bgcolor="#70b0f0" class="table-header">
+ <td colspan="2" class="table-header">
+ <table border="0" cellpadding="0" cellspacing="0" width="100%">
+ <tr valign="top">
+ <td align="left"><span class="table-header">Instance Methods</span></td>
+ <td align="right" valign="top"
+ ><span class="options">[<a href="#section-InstanceMethods"
+ class="privatelink" onclick="toggle_private();"
+ >hide private</a>]</span></td>
+ </tr>
+ </table>
+ </td>
+</tr>
+<tr>
+ <td width="15%" align="right" valign="top" class="summary">
+ <span class="summary-type">bool</span>
+ </td><td class="summary">
+ <table width="100%" cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td><span class="summary-sig"><a href="pyinotify._ProcessEvent-class.html#__call__" class="summary-sig-name">__call__</a>(<span class="summary-sig-arg">self</span>,
+ <span class="summary-sig-arg">event</span>)</span><br />
+ To behave like a functor the object must be callable.</td>
+ <td align="right" valign="top">
+ <span class="codelink"><a href="pyinotify-pysrc.html#_ProcessEvent.__call__">source&nbsp;code</a></span>
+
+ </td>
+ </tr>
+ </table>
+
+ </td>
+ </tr>
+<tr>
+ <td width="15%" align="right" valign="top" class="summary">
+ <span class="summary-type">&nbsp;</span>
+ </td><td class="summary">
+ <table width="100%" cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td><span class="summary-sig"><a href="pyinotify._ProcessEvent-class.html#__repr__" class="summary-sig-name">__repr__</a>(<span class="summary-sig-arg">self</span>)</span><br />
+ repr(x)</td>
+ <td align="right" valign="top">
+ <span class="codelink"><a href="pyinotify-pysrc.html#_ProcessEvent.__repr__">source&nbsp;code</a></span>
+
+ </td>
+ </tr>
+ </table>
+
+ </td>
+ </tr>
+ <tr>
+ <td colspan="2" class="summary">
+ <p class="indent-wrapped-lines"><b>Inherited from <code>object</code></b>:
+ <code>__delattr__</code>,
+ <code>__format__</code>,
+ <code>__getattribute__</code>,
+ <code>__hash__</code>,
+ <code>__init__</code>,
+ <code>__new__</code>,
+ <code>__reduce__</code>,
+ <code>__reduce_ex__</code>,
+ <code>__setattr__</code>,
+ <code>__sizeof__</code>,
+ <code>__str__</code>,
+ <code>__subclasshook__</code>
+ </p>
+ </td>
+ </tr>
+</table>
+<!-- ==================== PROPERTIES ==================== -->
+<a name="section-Properties"></a>
+<table class="summary" border="1" cellpadding="3"
+ cellspacing="0" width="100%" bgcolor="white">
+<tr bgcolor="#70b0f0" class="table-header">
+ <td colspan="2" class="table-header">
+ <table border="0" cellpadding="0" cellspacing="0" width="100%">
+ <tr valign="top">
+ <td align="left"><span class="table-header">Properties</span></td>
+ <td align="right" valign="top"
+ ><span class="options">[<a href="#section-Properties"
+ class="privatelink" onclick="toggle_private();"
+ >hide private</a>]</span></td>
+ </tr>
+ </table>
+ </td>
+</tr>
+ <tr>
+ <td colspan="2" class="summary">
+ <p class="indent-wrapped-lines"><b>Inherited from <code>object</code></b>:
+ <code>__class__</code>
+ </p>
+ </td>
+ </tr>
+</table>
+<!-- ==================== METHOD DETAILS ==================== -->
+<a name="section-MethodDetails"></a>
+<table class="details" border="1" cellpadding="3"
+ cellspacing="0" width="100%" bgcolor="white">
+<tr bgcolor="#70b0f0" class="table-header">
+ <td colspan="2" class="table-header">
+ <table border="0" cellpadding="0" cellspacing="0" width="100%">
+ <tr valign="top">
+ <td align="left"><span class="table-header">Method Details</span></td>
+ <td align="right" valign="top"
+ ><span class="options">[<a href="#section-MethodDetails"
+ class="privatelink" onclick="toggle_private();"
+ >hide private</a>]</span></td>
+ </tr>
+ </table>
+ </td>
+</tr>
+</table>
+<a name="__call__"></a>
+<div>
+<table class="details" border="1" cellpadding="3"
+ cellspacing="0" width="100%" bgcolor="white">
+<tr><td>
+ <table width="100%" cellpadding="0" cellspacing="0" border="0">
+ <tr valign="top"><td>
+ <h3 class="epydoc"><span class="sig"><span class="sig-name">__call__</span>(<span class="sig-arg">self</span>,
+ <span class="sig-arg">event</span>)</span>
+ <br /><em class="fname">(Call operator)</em>
+ </h3>
+ </td><td align="right" valign="top"
+ ><span class="codelink"><a href="pyinotify-pysrc.html#_ProcessEvent.__call__">source&nbsp;code</a></span>&nbsp;
+ </td>
+ </tr></table>
+
+ <p>To behave like a functor the object must be callable. This method is a
+ dispatch method. Its lookup order is:</p>
+ <ol start="1">
+ <li>
+ process_MASKNAME method
+ </li>
+ <li>
+ process_FAMILY_NAME method
+ </li>
+ <li>
+ otherwise calls process_default
+ </li>
+ </ol>
+ <dl class="fields">
+ <dt>Parameters:</dt>
+ <dd><ul class="nomargin-top">
+ <li><strong class="pname"><code>event</code></strong> (Event object) - Event to be processed.</li>
+ </ul></dd>
+ <dt>Returns: bool</dt>
+ <dd>By convention when used from the ProcessEvent class:
+ <ul>
+ <li>
+ Returning False or None (default value) means keep on
+ executing next chained functors (see chain.py example).
+ </li>
+ <li>
+ Returning True instead means do not execute next processing
+ functions.
+ </li>
+ </ul></dd>
+ <dt>Raises:</dt>
+ <dd><ul class="nomargin-top">
+ <li><code><strong class='fraise'><a href="pyinotify.ProcessEventError-class.html">ProcessEventError</a></strong></code> - Event object undispatchable, unknown event.</li>
+ </ul></dd>
+ </dl>
+</td></tr></table>
+</div>
+<a name="__repr__"></a>
+<div>
+<table class="details" border="1" cellpadding="3"
+ cellspacing="0" width="100%" bgcolor="white">
+<tr><td>
+ <table width="100%" cellpadding="0" cellspacing="0" border="0">
+ <tr valign="top"><td>
+ <h3 class="epydoc"><span class="sig"><span class="sig-name">__repr__</span>(<span class="sig-arg">self</span>)</span>
+ <br /><em class="fname">(Representation operator)</em>
+ </h3>
+ </td><td align="right" valign="top"
+ ><span class="codelink"><a href="pyinotify-pysrc.html#_ProcessEvent.__repr__">source&nbsp;code</a></span>&nbsp;
+ </td>
+ </tr></table>
+
+ <p>repr(x)</p>
+ <dl class="fields">
+ <dt>Overrides:
+ object.__repr__
+ <dd><em class="note">(inherited documentation)</em></dd>
+ </dt>
+ </dl>
+</td></tr></table>
+</div>
+<br />
+<!-- ==================== NAVIGATION BAR ==================== -->
+<table class="navbar" border="0" width="100%" cellpadding="0"
+ bgcolor="#a0c0ff" cellspacing="0">
+ <tr valign="middle">
+ <!-- Home link -->
+ <th>&nbsp;&nbsp;&nbsp;<a
+ href="pyinotify-module.html">Home</a>&nbsp;&nbsp;&nbsp;</th>
+
+ <!-- Tree link -->
+ <th>&nbsp;&nbsp;&nbsp;<a
+ href="module-tree.html">Trees</a>&nbsp;&nbsp;&nbsp;</th>
+
+ <!-- Index link -->
+ <th>&nbsp;&nbsp;&nbsp;<a
+ href="identifier-index.html">Indices</a>&nbsp;&nbsp;&nbsp;</th>
+
+ <!-- Help link -->
+ <th>&nbsp;&nbsp;&nbsp;<a
+ href="help.html">Help</a>&nbsp;&nbsp;&nbsp;</th>
+
+ <th class="navbar" width="100%"></th>
+ </tr>
+</table>
+<table border="0" cellpadding="0" cellspacing="0" width="100%%">
+ <tr>
+ <td align="left" class="footer">
+ Generated by Epydoc 3.0.1 on Wed Sep 15 21:46:51 2010
+ </td>
+ <td align="right" class="footer">
+ <a target="mainFrame" href="http://epydoc.sourceforge.net"
+ >http://epydoc.sourceforge.net</a>
+ </td>
+ </tr>
+</table>
+
+<script type="text/javascript">
+ <!--
+ // Private objects are initially displayed (because if
+ // javascript is turned off then we want them to be
+ // visible); but by default, we want to hide them. So hide
+ // them unless we have a cookie that says to show them.
+ checkCookie();
+ // -->
+</script>
+</body>
+</html>
diff --git a/python2/docstrings/pyinotify._RawEvent-class.html b/python2/docstrings/pyinotify._RawEvent-class.html
new file mode 100644
index 0000000..02f807e
--- /dev/null
+++ b/python2/docstrings/pyinotify._RawEvent-class.html
@@ -0,0 +1,299 @@
+<?xml version="1.0" encoding="ascii"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+ <title>pyinotify._RawEvent</title>
+ <link rel="stylesheet" href="epydoc.css" type="text/css" />
+ <script type="text/javascript" src="epydoc.js"></script>
+</head>
+
+<body bgcolor="white" text="black" link="blue" vlink="#204080"
+ alink="#204080">
+<!-- ==================== NAVIGATION BAR ==================== -->
+<table class="navbar" border="0" width="100%" cellpadding="0"
+ bgcolor="#a0c0ff" cellspacing="0">
+ <tr valign="middle">
+ <!-- Home link -->
+ <th>&nbsp;&nbsp;&nbsp;<a
+ href="pyinotify-module.html">Home</a>&nbsp;&nbsp;&nbsp;</th>
+
+ <!-- Tree link -->
+ <th>&nbsp;&nbsp;&nbsp;<a
+ href="module-tree.html">Trees</a>&nbsp;&nbsp;&nbsp;</th>
+
+ <!-- Index link -->
+ <th>&nbsp;&nbsp;&nbsp;<a
+ href="identifier-index.html">Indices</a>&nbsp;&nbsp;&nbsp;</th>
+
+ <!-- Help link -->
+ <th>&nbsp;&nbsp;&nbsp;<a
+ href="help.html">Help</a>&nbsp;&nbsp;&nbsp;</th>
+
+ <th class="navbar" width="100%"></th>
+ </tr>
+</table>
+<table width="100%" cellpadding="0" cellspacing="0">
+ <tr valign="top">
+ <td width="100%">
+ <span class="breadcrumbs">
+ <a href="pyinotify-module.html">Module&nbsp;pyinotify</a> ::
+ Class&nbsp;_RawEvent
+ </span>
+ </td>
+ <td>
+ <table cellpadding="0" cellspacing="0">
+ <!-- hide/show private -->
+ <tr><td align="right"><span class="options">[<a href="javascript:void(0);" class="privatelink"
+ onclick="toggle_private();">hide&nbsp;private</a>]</span></td></tr>
+ <tr><td align="right"><span class="options"
+ >[<a href="frames.html" target="_top">frames</a
+ >]&nbsp;|&nbsp;<a href="pyinotify._RawEvent-class.html"
+ target="_top">no&nbsp;frames</a>]</span></td></tr>
+ </table>
+ </td>
+ </tr>
+</table>
+<!-- ==================== CLASS DESCRIPTION ==================== -->
+<h1 class="epydoc">Class _RawEvent</h1><p class="nomargin-top"><span class="codelink"><a href="pyinotify-pysrc.html#_RawEvent">source&nbsp;code</a></span></p>
+<center>
+<center> <map id="uml_class_diagram_for_pyinotif_28" name="uml_class_diagram_for_pyinotif_28">
+<area shape="rect" href="pyinotify._RawEvent-class.html#__init__" title="Attach attributes (contained in dict_) to self." alt="" coords="17,111,247,129"/>
+<area shape="rect" href="pyinotify._RawEvent-class.html#__str__" title="str(x)" alt="" coords="17,129,247,148"/>
+<area shape="rect" href="pyinotify._RawEvent-class.html" title="Raw event, it contains only the informations provided by the system." alt="" coords="16,85,248,149"/>
+<area shape="rect" href="pyinotify._Event-class.html#__repr__" title="Returns: &#160;Generic event string representation." alt="" coords="89,36,175,55"/>
+<area shape="rect" href="pyinotify._Event-class.html" title="Event structure, represent events raised by the system." alt="" coords="88,11,176,56"/>
+</map>
+ <img src="uml_class_diagram_for_pyinotif_28.gif" alt='' usemap="#uml_class_diagram_for_pyinotif_28" ismap="ismap" class="graph-without-title" />
+</center>
+</center>
+<hr />
+<p>Raw event, it contains only the informations provided by the system.
+ It doesn't infer anything.</p>
+
+<!-- ==================== INSTANCE METHODS ==================== -->
+<a name="section-InstanceMethods"></a>
+<table class="summary" border="1" cellpadding="3"
+ cellspacing="0" width="100%" bgcolor="white">
+<tr bgcolor="#70b0f0" class="table-header">
+ <td colspan="2" class="table-header">
+ <table border="0" cellpadding="0" cellspacing="0" width="100%">
+ <tr valign="top">
+ <td align="left"><span class="table-header">Instance Methods</span></td>
+ <td align="right" valign="top"
+ ><span class="options">[<a href="#section-InstanceMethods"
+ class="privatelink" onclick="toggle_private();"
+ >hide private</a>]</span></td>
+ </tr>
+ </table>
+ </td>
+</tr>
+<tr>
+ <td width="15%" align="right" valign="top" class="summary">
+ <span class="summary-type">&nbsp;</span>
+ </td><td class="summary">
+ <table width="100%" cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td><span class="summary-sig"><a href="pyinotify._RawEvent-class.html#__init__" class="summary-sig-name">__init__</a>(<span class="summary-sig-arg">self</span>,
+ <span class="summary-sig-arg">wd</span>,
+ <span class="summary-sig-arg">mask</span>,
+ <span class="summary-sig-arg">cookie</span>,
+ <span class="summary-sig-arg">name</span>)</span><br />
+ Attach attributes (contained in dict_) to self.</td>
+ <td align="right" valign="top">
+ <span class="codelink"><a href="pyinotify-pysrc.html#_RawEvent.__init__">source&nbsp;code</a></span>
+
+ </td>
+ </tr>
+ </table>
+
+ </td>
+ </tr>
+<tr>
+ <td width="15%" align="right" valign="top" class="summary">
+ <span class="summary-type">&nbsp;</span>
+ </td><td class="summary">
+ <table width="100%" cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td><span class="summary-sig"><a href="pyinotify._RawEvent-class.html#__str__" class="summary-sig-name">__str__</a>(<span class="summary-sig-arg">self</span>)</span><br />
+ str(x)</td>
+ <td align="right" valign="top">
+ <span class="codelink"><a href="pyinotify-pysrc.html#_RawEvent.__str__">source&nbsp;code</a></span>
+
+ </td>
+ </tr>
+ </table>
+
+ </td>
+ </tr>
+ <tr>
+ <td colspan="2" class="summary">
+ <p class="indent-wrapped-lines"><b>Inherited from <code><a href="pyinotify._Event-class.html" onclick="show_private();">_Event</a></code></b>:
+ <code><a href="pyinotify._Event-class.html#__repr__">__repr__</a></code>
+ </p>
+ <p class="indent-wrapped-lines"><b>Inherited from <code>object</code></b>:
+ <code>__delattr__</code>,
+ <code>__format__</code>,
+ <code>__getattribute__</code>,
+ <code>__hash__</code>,
+ <code>__new__</code>,
+ <code>__reduce__</code>,
+ <code>__reduce_ex__</code>,
+ <code>__setattr__</code>,
+ <code>__sizeof__</code>,
+ <code>__subclasshook__</code>
+ </p>
+ </td>
+ </tr>
+</table>
+<!-- ==================== PROPERTIES ==================== -->
+<a name="section-Properties"></a>
+<table class="summary" border="1" cellpadding="3"
+ cellspacing="0" width="100%" bgcolor="white">
+<tr bgcolor="#70b0f0" class="table-header">
+ <td colspan="2" class="table-header">
+ <table border="0" cellpadding="0" cellspacing="0" width="100%">
+ <tr valign="top">
+ <td align="left"><span class="table-header">Properties</span></td>
+ <td align="right" valign="top"
+ ><span class="options">[<a href="#section-Properties"
+ class="privatelink" onclick="toggle_private();"
+ >hide private</a>]</span></td>
+ </tr>
+ </table>
+ </td>
+</tr>
+ <tr>
+ <td colspan="2" class="summary">
+ <p class="indent-wrapped-lines"><b>Inherited from <code>object</code></b>:
+ <code>__class__</code>
+ </p>
+ </td>
+ </tr>
+</table>
+<!-- ==================== METHOD DETAILS ==================== -->
+<a name="section-MethodDetails"></a>
+<table class="details" border="1" cellpadding="3"
+ cellspacing="0" width="100%" bgcolor="white">
+<tr bgcolor="#70b0f0" class="table-header">
+ <td colspan="2" class="table-header">
+ <table border="0" cellpadding="0" cellspacing="0" width="100%">
+ <tr valign="top">
+ <td align="left"><span class="table-header">Method Details</span></td>
+ <td align="right" valign="top"
+ ><span class="options">[<a href="#section-MethodDetails"
+ class="privatelink" onclick="toggle_private();"
+ >hide private</a>]</span></td>
+ </tr>
+ </table>
+ </td>
+</tr>
+</table>
+<a name="__init__"></a>
+<div>
+<table class="details" border="1" cellpadding="3"
+ cellspacing="0" width="100%" bgcolor="white">
+<tr><td>
+ <table width="100%" cellpadding="0" cellspacing="0" border="0">
+ <tr valign="top"><td>
+ <h3 class="epydoc"><span class="sig"><span class="sig-name">__init__</span>(<span class="sig-arg">self</span>,
+ <span class="sig-arg">wd</span>,
+ <span class="sig-arg">mask</span>,
+ <span class="sig-arg">cookie</span>,
+ <span class="sig-arg">name</span>)</span>
+ <br /><em class="fname">(Constructor)</em>
+ </h3>
+ </td><td align="right" valign="top"
+ ><span class="codelink"><a href="pyinotify-pysrc.html#_RawEvent.__init__">source&nbsp;code</a></span>&nbsp;
+ </td>
+ </tr></table>
+
+ <p>Attach attributes (contained in dict_) to self.</p>
+ <dl class="fields">
+ <dt>Parameters:</dt>
+ <dd><ul class="nomargin-top">
+ <li><strong class="pname"><code>wd</code></strong> (int) - Watch Descriptor.</li>
+ <li><strong class="pname"><code>mask</code></strong> (int) - Bitmask of events.</li>
+ <li><strong class="pname"><code>cookie</code></strong> (int) - Cookie.</li>
+ <li><strong class="pname"><code>name</code></strong> (string or None) - Basename of the file or directory against which the event was
+ raised in case where the watched directory is the parent
+ directory. None if the event was raised on the watched item
+ itself.</li>
+ </ul></dd>
+ <dt>Overrides:
+ object.__init__
+ </dt>
+ </dl>
+</td></tr></table>
+</div>
+<a name="__str__"></a>
+<div>
+<table class="details" border="1" cellpadding="3"
+ cellspacing="0" width="100%" bgcolor="white">
+<tr><td>
+ <table width="100%" cellpadding="0" cellspacing="0" border="0">
+ <tr valign="top"><td>
+ <h3 class="epydoc"><span class="sig"><span class="sig-name">__str__</span>(<span class="sig-arg">self</span>)</span>
+ <br /><em class="fname">(Informal representation operator)</em>
+ </h3>
+ </td><td align="right" valign="top"
+ ><span class="codelink"><a href="pyinotify-pysrc.html#_RawEvent.__str__">source&nbsp;code</a></span>&nbsp;
+ </td>
+ </tr></table>
+
+ <p>str(x)</p>
+ <dl class="fields">
+ <dt>Overrides:
+ object.__str__
+ <dd><em class="note">(inherited documentation)</em></dd>
+ </dt>
+ </dl>
+</td></tr></table>
+</div>
+<br />
+<!-- ==================== NAVIGATION BAR ==================== -->
+<table class="navbar" border="0" width="100%" cellpadding="0"
+ bgcolor="#a0c0ff" cellspacing="0">
+ <tr valign="middle">
+ <!-- Home link -->
+ <th>&nbsp;&nbsp;&nbsp;<a
+ href="pyinotify-module.html">Home</a>&nbsp;&nbsp;&nbsp;</th>
+
+ <!-- Tree link -->
+ <th>&nbsp;&nbsp;&nbsp;<a
+ href="module-tree.html">Trees</a>&nbsp;&nbsp;&nbsp;</th>
+
+ <!-- Index link -->
+ <th>&nbsp;&nbsp;&nbsp;<a
+ href="identifier-index.html">Indices</a>&nbsp;&nbsp;&nbsp;</th>
+
+ <!-- Help link -->
+ <th>&nbsp;&nbsp;&nbsp;<a
+ href="help.html">Help</a>&nbsp;&nbsp;&nbsp;</th>
+
+ <th class="navbar" width="100%"></th>
+ </tr>
+</table>
+<table border="0" cellpadding="0" cellspacing="0" width="100%%">
+ <tr>
+ <td align="left" class="footer">
+ Generated by Epydoc 3.0.1 on Wed Sep 15 21:46:51 2010
+ </td>
+ <td align="right" class="footer">
+ <a target="mainFrame" href="http://epydoc.sourceforge.net"
+ >http://epydoc.sourceforge.net</a>
+ </td>
+ </tr>
+</table>
+
+<script type="text/javascript">
+ <!--
+ // Private objects are initially displayed (because if
+ // javascript is turned off then we want them to be
+ // visible); but by default, we want to hide them. So hide
+ // them unless we have a cookie that says to show them.
+ checkCookie();
+ // -->
+</script>
+</body>
+</html>
diff --git a/python2/docstrings/pyinotify._SysProcessEvent-class.html b/python2/docstrings/pyinotify._SysProcessEvent-class.html
new file mode 100644
index 0000000..67054e9
--- /dev/null
+++ b/python2/docstrings/pyinotify._SysProcessEvent-class.html
@@ -0,0 +1,494 @@
+<?xml version="1.0" encoding="ascii"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+ <title>pyinotify._SysProcessEvent</title>
+ <link rel="stylesheet" href="epydoc.css" type="text/css" />
+ <script type="text/javascript" src="epydoc.js"></script>
+</head>
+
+<body bgcolor="white" text="black" link="blue" vlink="#204080"
+ alink="#204080">
+<!-- ==================== NAVIGATION BAR ==================== -->
+<table class="navbar" border="0" width="100%" cellpadding="0"
+ bgcolor="#a0c0ff" cellspacing="0">
+ <tr valign="middle">
+ <!-- Home link -->
+ <th>&nbsp;&nbsp;&nbsp;<a
+ href="pyinotify-module.html">Home</a>&nbsp;&nbsp;&nbsp;</th>
+
+ <!-- Tree link -->
+ <th>&nbsp;&nbsp;&nbsp;<a
+ href="module-tree.html">Trees</a>&nbsp;&nbsp;&nbsp;</th>
+
+ <!-- Index link -->
+ <th>&nbsp;&nbsp;&nbsp;<a
+ href="identifier-index.html">Indices</a>&nbsp;&nbsp;&nbsp;</th>
+
+ <!-- Help link -->
+ <th>&nbsp;&nbsp;&nbsp;<a
+ href="help.html">Help</a>&nbsp;&nbsp;&nbsp;</th>
+
+ <th class="navbar" width="100%"></th>
+ </tr>
+</table>
+<table width="100%" cellpadding="0" cellspacing="0">
+ <tr valign="top">
+ <td width="100%">
+ <span class="breadcrumbs">
+ <a href="pyinotify-module.html">Module&nbsp;pyinotify</a> ::
+ Class&nbsp;_SysProcessEvent
+ </span>
+ </td>
+ <td>
+ <table cellpadding="0" cellspacing="0">
+ <!-- hide/show private -->
+ <tr><td align="right"><span class="options">[<a href="javascript:void(0);" class="privatelink"
+ onclick="toggle_private();">hide&nbsp;private</a>]</span></td></tr>
+ <tr><td align="right"><span class="options"
+ >[<a href="frames.html" target="_top">frames</a
+ >]&nbsp;|&nbsp;<a href="pyinotify._SysProcessEvent-class.html"
+ target="_top">no&nbsp;frames</a>]</span></td></tr>
+ </table>
+ </td>
+ </tr>
+</table>
+<!-- ==================== CLASS DESCRIPTION ==================== -->
+<h1 class="epydoc">Class _SysProcessEvent</h1><p class="nomargin-top"><span class="codelink"><a href="pyinotify-pysrc.html#_SysProcessEvent">source&nbsp;code</a></span></p>
+<center>
+<center> <map id="uml_class_diagram_for_pyinotif_29" name="uml_class_diagram_for_pyinotif_29">
+<area shape="rect" href="pyinotify._SysProcessEvent-class.html#__init__" title="x.__init__(...) initializes x; see x.__class__.__doc__ for signature" alt="" coords="17,129,313,148"/>
+<area shape="rect" href="pyinotify._SysProcessEvent-class.html#cleanup" title="Cleanup (delete) old (&gt;1mn) records contained in self._mv_cookie and &#160;self._mv." alt="" coords="17,148,313,167"/>
+<area shape="rect" href="pyinotify._SysProcessEvent-class.html#process_IN_CREATE" title="If the event affects a directory and the auto_add flag of the targetted &#160;watch is set to True, a new watch is added on this new directory, with the &#160;same attribute values than those of this watch." alt="" coords="17,167,313,185"/>
+<area shape="rect" href="pyinotify._SysProcessEvent-class.html#process_IN_MOVED_FROM" title="Map the cookie with the source path (+ date for cleaning)." alt="" coords="17,185,313,204"/>
+<area shape="rect" href="pyinotify._SysProcessEvent-class.html#process_IN_MOVED_TO" title="Map the source path with the destination path (+ date for cleaning)." alt="" coords="17,204,313,223"/>
+<area shape="rect" href="pyinotify._SysProcessEvent-class.html#process_IN_MOVE_SELF" title="STATUS: the following bug has been fixed in recent kernels (FIXME: which &#160;version ?)." alt="" coords="17,223,313,241"/>
+<area shape="rect" href="pyinotify._SysProcessEvent-class.html#process_IN_Q_OVERFLOW" title="Only signal an overflow, most of the common flags are irrelevant for this &#160;event (path, wd, name)." alt="" coords="17,241,313,260"/>
+<area shape="rect" href="pyinotify._SysProcessEvent-class.html#process_IN_IGNORED" title="The watch descriptor raised by this event is now ignored (forever), it can &#160;be safely deleted from the watch manager dictionary." alt="" coords="17,260,313,279"/>
+<area shape="rect" href="pyinotify._SysProcessEvent-class.html#process_default" title="Commons handling for the followings events:" alt="" coords="17,279,313,297"/>
+<area shape="rect" href="pyinotify._SysProcessEvent-class.html" title="There is three kind of processing according to each event:" alt="" coords="16,104,315,299"/>
+<area shape="rect" href="pyinotify._ProcessEvent-class.html#__call__" title="To behave like a functor the object must be callable." alt="" coords="105,36,225,55"/>
+<area shape="rect" href="pyinotify._ProcessEvent-class.html#__repr__" title="repr(x)" alt="" coords="105,55,225,73"/>
+<area shape="rect" href="pyinotify._ProcessEvent-class.html" title="Abstract processing event class." alt="" coords="104,11,227,75"/>
+</map>
+ <img src="uml_class_diagram_for_pyinotif_29.gif" alt='' usemap="#uml_class_diagram_for_pyinotif_29" ismap="ismap" class="graph-without-title" />
+</center>
+</center>
+<hr />
+<p>There is three kind of processing according to each event:</p>
+ <ol start="1">
+ <li>
+ special handling (deletion from internal container, bug, ...).
+ </li>
+ <li>
+ default treatment: which is applied to the majority of events.
+ </li>
+ <li>
+ IN_ISDIR is never sent alone, he is piggybacked with a standard
+ event, he is not processed as the others events, instead, its value
+ is captured and appropriately aggregated to dst event.
+ </li>
+ </ol>
+
+<!-- ==================== INSTANCE METHODS ==================== -->
+<a name="section-InstanceMethods"></a>
+<table class="summary" border="1" cellpadding="3"
+ cellspacing="0" width="100%" bgcolor="white">
+<tr bgcolor="#70b0f0" class="table-header">
+ <td colspan="2" class="table-header">
+ <table border="0" cellpadding="0" cellspacing="0" width="100%">
+ <tr valign="top">
+ <td align="left"><span class="table-header">Instance Methods</span></td>
+ <td align="right" valign="top"
+ ><span class="options">[<a href="#section-InstanceMethods"
+ class="privatelink" onclick="toggle_private();"
+ >hide private</a>]</span></td>
+ </tr>
+ </table>
+ </td>
+</tr>
+<tr>
+ <td width="15%" align="right" valign="top" class="summary">
+ <span class="summary-type">&nbsp;</span>
+ </td><td class="summary">
+ <table width="100%" cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td><span class="summary-sig"><a href="pyinotify._SysProcessEvent-class.html#__init__" class="summary-sig-name">__init__</a>(<span class="summary-sig-arg">self</span>,
+ <span class="summary-sig-arg">wm</span>,
+ <span class="summary-sig-arg">notifier</span>)</span><br />
+ x.__init__(...) initializes x; see x.__class__.__doc__ for signature</td>
+ <td align="right" valign="top">
+ <span class="codelink"><a href="pyinotify-pysrc.html#_SysProcessEvent.__init__">source&nbsp;code</a></span>
+
+ </td>
+ </tr>
+ </table>
+
+ </td>
+ </tr>
+<tr>
+ <td width="15%" align="right" valign="top" class="summary">
+ <span class="summary-type">&nbsp;</span>
+ </td><td class="summary">
+ <table width="100%" cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td><span class="summary-sig"><a name="cleanup"></a><span class="summary-sig-name">cleanup</span>(<span class="summary-sig-arg">self</span>)</span><br />
+ Cleanup (delete) old (&gt;1mn) records contained in self._mv_cookie
+ and self._mv.</td>
+ <td align="right" valign="top">
+ <span class="codelink"><a href="pyinotify-pysrc.html#_SysProcessEvent.cleanup">source&nbsp;code</a></span>
+
+ </td>
+ </tr>
+ </table>
+
+ </td>
+ </tr>
+<tr>
+ <td width="15%" align="right" valign="top" class="summary">
+ <span class="summary-type">&nbsp;</span>
+ </td><td class="summary">
+ <table width="100%" cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td><span class="summary-sig"><a name="process_IN_CREATE"></a><span class="summary-sig-name">process_IN_CREATE</span>(<span class="summary-sig-arg">self</span>,
+ <span class="summary-sig-arg">raw_event</span>)</span><br />
+ If the event affects a directory and the auto_add flag of the
+ targetted watch is set to True, a new watch is added on this new
+ directory, with the same attribute values than those of this watch.</td>
+ <td align="right" valign="top">
+ <span class="codelink"><a href="pyinotify-pysrc.html#_SysProcessEvent.process_IN_CREATE">source&nbsp;code</a></span>
+
+ </td>
+ </tr>
+ </table>
+
+ </td>
+ </tr>
+<tr>
+ <td width="15%" align="right" valign="top" class="summary">
+ <span class="summary-type">&nbsp;</span>
+ </td><td class="summary">
+ <table width="100%" cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td><span class="summary-sig"><a name="process_IN_MOVED_FROM"></a><span class="summary-sig-name">process_IN_MOVED_FROM</span>(<span class="summary-sig-arg">self</span>,
+ <span class="summary-sig-arg">raw_event</span>)</span><br />
+ Map the cookie with the source path (+ date for cleaning).</td>
+ <td align="right" valign="top">
+ <span class="codelink"><a href="pyinotify-pysrc.html#_SysProcessEvent.process_IN_MOVED_FROM">source&nbsp;code</a></span>
+
+ </td>
+ </tr>
+ </table>
+
+ </td>
+ </tr>
+<tr>
+ <td width="15%" align="right" valign="top" class="summary">
+ <span class="summary-type">&nbsp;</span>
+ </td><td class="summary">
+ <table width="100%" cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td><span class="summary-sig"><a name="process_IN_MOVED_TO"></a><span class="summary-sig-name">process_IN_MOVED_TO</span>(<span class="summary-sig-arg">self</span>,
+ <span class="summary-sig-arg">raw_event</span>)</span><br />
+ Map the source path with the destination path (+ date for cleaning).</td>
+ <td align="right" valign="top">
+ <span class="codelink"><a href="pyinotify-pysrc.html#_SysProcessEvent.process_IN_MOVED_TO">source&nbsp;code</a></span>
+
+ </td>
+ </tr>
+ </table>
+
+ </td>
+ </tr>
+<tr>
+ <td width="15%" align="right" valign="top" class="summary">
+ <span class="summary-type">&nbsp;</span>
+ </td><td class="summary">
+ <table width="100%" cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td><span class="summary-sig"><a href="pyinotify._SysProcessEvent-class.html#process_IN_MOVE_SELF" class="summary-sig-name">process_IN_MOVE_SELF</a>(<span class="summary-sig-arg">self</span>,
+ <span class="summary-sig-arg">raw_event</span>)</span><br />
+ STATUS: the following bug has been fixed in recent kernels (FIXME:
+ which version ?).</td>
+ <td align="right" valign="top">
+ <span class="codelink"><a href="pyinotify-pysrc.html#_SysProcessEvent.process_IN_MOVE_SELF">source&nbsp;code</a></span>
+
+ </td>
+ </tr>
+ </table>
+
+ </td>
+ </tr>
+<tr>
+ <td width="15%" align="right" valign="top" class="summary">
+ <span class="summary-type">&nbsp;</span>
+ </td><td class="summary">
+ <table width="100%" cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td><span class="summary-sig"><a name="process_IN_Q_OVERFLOW"></a><span class="summary-sig-name">process_IN_Q_OVERFLOW</span>(<span class="summary-sig-arg">self</span>,
+ <span class="summary-sig-arg">raw_event</span>)</span><br />
+ Only signal an overflow, most of the common flags are irrelevant for
+ this event (path, wd, name).</td>
+ <td align="right" valign="top">
+ <span class="codelink"><a href="pyinotify-pysrc.html#_SysProcessEvent.process_IN_Q_OVERFLOW">source&nbsp;code</a></span>
+
+ </td>
+ </tr>
+ </table>
+
+ </td>
+ </tr>
+<tr>
+ <td width="15%" align="right" valign="top" class="summary">
+ <span class="summary-type">&nbsp;</span>
+ </td><td class="summary">
+ <table width="100%" cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td><span class="summary-sig"><a href="pyinotify._SysProcessEvent-class.html#process_IN_IGNORED" class="summary-sig-name">process_IN_IGNORED</a>(<span class="summary-sig-arg">self</span>,
+ <span class="summary-sig-arg">raw_event</span>)</span><br />
+ The watch descriptor raised by this event is now ignored (forever),
+ it can be safely deleted from the watch manager dictionary.</td>
+ <td align="right" valign="top">
+ <span class="codelink"><a href="pyinotify-pysrc.html#_SysProcessEvent.process_IN_IGNORED">source&nbsp;code</a></span>
+
+ </td>
+ </tr>
+ </table>
+
+ </td>
+ </tr>
+<tr>
+ <td width="15%" align="right" valign="top" class="summary">
+ <span class="summary-type">&nbsp;</span>
+ </td><td class="summary">
+ <table width="100%" cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td><span class="summary-sig"><a href="pyinotify._SysProcessEvent-class.html#process_default" class="summary-sig-name">process_default</a>(<span class="summary-sig-arg">self</span>,
+ <span class="summary-sig-arg">raw_event</span>,
+ <span class="summary-sig-arg">to_append</span>=<span class="summary-sig-default">None</span>)</span><br />
+ Commons handling for the followings events:</td>
+ <td align="right" valign="top">
+ <span class="codelink"><a href="pyinotify-pysrc.html#_SysProcessEvent.process_default">source&nbsp;code</a></span>
+
+ </td>
+ </tr>
+ </table>
+
+ </td>
+ </tr>
+ <tr>
+ <td colspan="2" class="summary">
+ <p class="indent-wrapped-lines"><b>Inherited from <code><a href="pyinotify._ProcessEvent-class.html" onclick="show_private();">_ProcessEvent</a></code></b>:
+ <code><a href="pyinotify._ProcessEvent-class.html#__call__">__call__</a></code>,
+ <code><a href="pyinotify._ProcessEvent-class.html#__repr__">__repr__</a></code>
+ </p>
+ <p class="indent-wrapped-lines"><b>Inherited from <code>object</code></b>:
+ <code>__delattr__</code>,
+ <code>__format__</code>,
+ <code>__getattribute__</code>,
+ <code>__hash__</code>,
+ <code>__new__</code>,
+ <code>__reduce__</code>,
+ <code>__reduce_ex__</code>,
+ <code>__setattr__</code>,
+ <code>__sizeof__</code>,
+ <code>__str__</code>,
+ <code>__subclasshook__</code>
+ </p>
+ </td>
+ </tr>
+</table>
+<!-- ==================== PROPERTIES ==================== -->
+<a name="section-Properties"></a>
+<table class="summary" border="1" cellpadding="3"
+ cellspacing="0" width="100%" bgcolor="white">
+<tr bgcolor="#70b0f0" class="table-header">
+ <td colspan="2" class="table-header">
+ <table border="0" cellpadding="0" cellspacing="0" width="100%">
+ <tr valign="top">
+ <td align="left"><span class="table-header">Properties</span></td>
+ <td align="right" valign="top"
+ ><span class="options">[<a href="#section-Properties"
+ class="privatelink" onclick="toggle_private();"
+ >hide private</a>]</span></td>
+ </tr>
+ </table>
+ </td>
+</tr>
+ <tr>
+ <td colspan="2" class="summary">
+ <p class="indent-wrapped-lines"><b>Inherited from <code>object</code></b>:
+ <code>__class__</code>
+ </p>
+ </td>
+ </tr>
+</table>
+<!-- ==================== METHOD DETAILS ==================== -->
+<a name="section-MethodDetails"></a>
+<table class="details" border="1" cellpadding="3"
+ cellspacing="0" width="100%" bgcolor="white">
+<tr bgcolor="#70b0f0" class="table-header">
+ <td colspan="2" class="table-header">
+ <table border="0" cellpadding="0" cellspacing="0" width="100%">
+ <tr valign="top">
+ <td align="left"><span class="table-header">Method Details</span></td>
+ <td align="right" valign="top"
+ ><span class="options">[<a href="#section-MethodDetails"
+ class="privatelink" onclick="toggle_private();"
+ >hide private</a>]</span></td>
+ </tr>
+ </table>
+ </td>
+</tr>
+</table>
+<a name="__init__"></a>
+<div>
+<table class="details" border="1" cellpadding="3"
+ cellspacing="0" width="100%" bgcolor="white">
+<tr><td>
+ <table width="100%" cellpadding="0" cellspacing="0" border="0">
+ <tr valign="top"><td>
+ <h3 class="epydoc"><span class="sig"><span class="sig-name">__init__</span>(<span class="sig-arg">self</span>,
+ <span class="sig-arg">wm</span>,
+ <span class="sig-arg">notifier</span>)</span>
+ <br /><em class="fname">(Constructor)</em>
+ </h3>
+ </td><td align="right" valign="top"
+ ><span class="codelink"><a href="pyinotify-pysrc.html#_SysProcessEvent.__init__">source&nbsp;code</a></span>&nbsp;
+ </td>
+ </tr></table>
+
+ <p>x.__init__(...) initializes x; see x.__class__.__doc__ for
+ signature</p>
+ <dl class="fields">
+ <dt>Parameters:</dt>
+ <dd><ul class="nomargin-top">
+ <li><strong class="pname"><code>wm</code></strong> (WatchManager instance) - Watch Manager.</li>
+ <li><strong class="pname"><code>notifier</code></strong> (Notifier instance) - Notifier.</li>
+ </ul></dd>
+ <dt>Overrides:
+ object.__init__
+ </dt>
+ </dl>
+</td></tr></table>
+</div>
+<a name="process_IN_MOVE_SELF"></a>
+<div>
+<table class="details" border="1" cellpadding="3"
+ cellspacing="0" width="100%" bgcolor="white">
+<tr><td>
+ <table width="100%" cellpadding="0" cellspacing="0" border="0">
+ <tr valign="top"><td>
+ <h3 class="epydoc"><span class="sig"><span class="sig-name">process_IN_MOVE_SELF</span>(<span class="sig-arg">self</span>,
+ <span class="sig-arg">raw_event</span>)</span>
+ </h3>
+ </td><td align="right" valign="top"
+ ><span class="codelink"><a href="pyinotify-pysrc.html#_SysProcessEvent.process_IN_MOVE_SELF">source&nbsp;code</a></span>&nbsp;
+ </td>
+ </tr></table>
+
+ <p>STATUS: the following bug has been fixed in recent kernels (FIXME:
+ which version ?). Now it raises IN_DELETE_SELF instead.</p>
+ <p>Old kernels were bugged, this event raised when the watched item were
+ moved, so we had to update its path, but under some circumstances it was
+ impossible: if its parent directory and its destination directory wasn't
+ watched. The kernel (see include/linux/fsnotify.h) doesn't bring us
+ enough informations like the destination path of moved items.</p>
+ <dl class="fields">
+ </dl>
+</td></tr></table>
+</div>
+<a name="process_IN_IGNORED"></a>
+<div>
+<table class="details" border="1" cellpadding="3"
+ cellspacing="0" width="100%" bgcolor="white">
+<tr><td>
+ <table width="100%" cellpadding="0" cellspacing="0" border="0">
+ <tr valign="top"><td>
+ <h3 class="epydoc"><span class="sig"><span class="sig-name">process_IN_IGNORED</span>(<span class="sig-arg">self</span>,
+ <span class="sig-arg">raw_event</span>)</span>
+ </h3>
+ </td><td align="right" valign="top"
+ ><span class="codelink"><a href="pyinotify-pysrc.html#_SysProcessEvent.process_IN_IGNORED">source&nbsp;code</a></span>&nbsp;
+ </td>
+ </tr></table>
+
+ <p>The watch descriptor raised by this event is now ignored (forever), it
+ can be safely deleted from the watch manager dictionary. After this event
+ we can be sure that neither the event queue nor the system will raise an
+ event associated to this wd again.</p>
+ <dl class="fields">
+ </dl>
+</td></tr></table>
+</div>
+<a name="process_default"></a>
+<div>
+<table class="details" border="1" cellpadding="3"
+ cellspacing="0" width="100%" bgcolor="white">
+<tr><td>
+ <table width="100%" cellpadding="0" cellspacing="0" border="0">
+ <tr valign="top"><td>
+ <h3 class="epydoc"><span class="sig"><span class="sig-name">process_default</span>(<span class="sig-arg">self</span>,
+ <span class="sig-arg">raw_event</span>,
+ <span class="sig-arg">to_append</span>=<span class="sig-default">None</span>)</span>
+ </h3>
+ </td><td align="right" valign="top"
+ ><span class="codelink"><a href="pyinotify-pysrc.html#_SysProcessEvent.process_default">source&nbsp;code</a></span>&nbsp;
+ </td>
+ </tr></table>
+
+ <p>Commons handling for the followings events:</p>
+ <p>IN_ACCESS, IN_MODIFY, IN_ATTRIB, IN_CLOSE_WRITE, IN_CLOSE_NOWRITE,
+ IN_OPEN, IN_DELETE, IN_DELETE_SELF, IN_UNMOUNT.</p>
+ <dl class="fields">
+ </dl>
+</td></tr></table>
+</div>
+<br />
+<!-- ==================== NAVIGATION BAR ==================== -->
+<table class="navbar" border="0" width="100%" cellpadding="0"
+ bgcolor="#a0c0ff" cellspacing="0">
+ <tr valign="middle">
+ <!-- Home link -->
+ <th>&nbsp;&nbsp;&nbsp;<a
+ href="pyinotify-module.html">Home</a>&nbsp;&nbsp;&nbsp;</th>
+
+ <!-- Tree link -->
+ <th>&nbsp;&nbsp;&nbsp;<a
+ href="module-tree.html">Trees</a>&nbsp;&nbsp;&nbsp;</th>
+
+ <!-- Index link -->
+ <th>&nbsp;&nbsp;&nbsp;<a
+ href="identifier-index.html">Indices</a>&nbsp;&nbsp;&nbsp;</th>
+
+ <!-- Help link -->
+ <th>&nbsp;&nbsp;&nbsp;<a
+ href="help.html">Help</a>&nbsp;&nbsp;&nbsp;</th>
+
+ <th class="navbar" width="100%"></th>
+ </tr>
+</table>
+<table border="0" cellpadding="0" cellspacing="0" width="100%%">
+ <tr>
+ <td align="left" class="footer">
+ Generated by Epydoc 3.0.1 on Wed Sep 15 21:46:51 2010
+ </td>
+ <td align="right" class="footer">
+ <a target="mainFrame" href="http://epydoc.sourceforge.net"
+ >http://epydoc.sourceforge.net</a>
+ </td>
+ </tr>
+</table>
+
+<script type="text/javascript">
+ <!--
+ // Private objects are initially displayed (because if
+ // javascript is turned off then we want them to be
+ // visible); but by default, we want to hide them. So hide
+ // them unless we have a cookie that says to show them.
+ checkCookie();
+ // -->
+</script>
+</body>
+</html>
diff --git a/python2/docstrings/redirect.html b/python2/docstrings/redirect.html
new file mode 100644
index 0000000..132834b
--- /dev/null
+++ b/python2/docstrings/redirect.html
@@ -0,0 +1,38 @@
+<html><head><title>Epydoc Redirect Page</title>
+<meta http-equiv="cache-control" content="no-cache" />
+<meta http-equiv="expires" content="0" />
+<meta http-equiv="pragma" content="no-cache" />
+ <script type="text/javascript" src="epydoc.js"></script>
+</head>
+<body>
+<script type="text/javascript">
+<!--
+var pages = ["pyinotify.UnsupportedPythonVersionError-c", "pyinotify.UnsupportedLibcVersionError-c", "pyinotify.ColoredOutputFormat-c", "pyinotify.ProcessEventError-c", "pyinotify.WatchManagerError-c", "pyinotify.ThreadedNotifier-c", "pyinotify.UnicodeLogRecord-c", "pyinotify._SysProcessEvent-c", "pyinotify.PyinotifyLogger-c", "pyinotify.RawOutputFormat-c", "pyinotify.PrintAllEvents-c", "pyinotify.PyinotifyError-c", "pyinotify.AsyncNotifier-c", "pyinotify.ExcludeFilter-c", "pyinotify.NotifierError-c", "pyinotify.SysCtlINotify-c", "pyinotify._ProcessEvent-c", "pyinotify.ProcessEvent-c", "pyinotify.WatchManager-c", "pyinotify.ChainIfTrue-c", "pyinotify.EventsCodes-c", "pyinotify._RawEvent-c", "pyinotify.Notifier-c", "pyinotify._Event-c", "pyinotify.Event-c", "pyinotify.Stats-c", "pyinotify.Watch-c", "pyinotify-m"];
+var dottedName = get_anchor();
+if (dottedName) {
+ var target = redirect_url(dottedName);
+ if (target) window.location.replace(target);
+}
+// -->
+</script>
+
+<h3>Epydoc Auto-redirect page</h3>
+
+<p>When javascript is enabled, this page will redirect URLs of
+the form <tt>redirect.html#<i>dotted.name</i></tt> to the
+documentation for the object with the given fully-qualified
+dotted name.</p>
+<p><a id="message"> &nbsp; </a></p>
+
+<script type="text/javascript">
+<!--
+if (dottedName) {
+ var msg = document.getElementById("message");
+ msg.innerHTML = "No documentation found for <tt>"+
+ dottedName+"</tt>";
+}
+// -->
+</script>
+
+</body>
+</html>
diff --git a/python2/docstrings/toc-everything.html b/python2/docstrings/toc-everything.html
new file mode 100644
index 0000000..9d5df29
--- /dev/null
+++ b/python2/docstrings/toc-everything.html
@@ -0,0 +1,107 @@
+<?xml version="1.0" encoding="ascii"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+ <title>Everything</title>
+ <link rel="stylesheet" href="epydoc.css" type="text/css" />
+ <script type="text/javascript" src="epydoc.js"></script>
+</head>
+
+<body bgcolor="white" text="black" link="blue" vlink="#204080"
+ alink="#204080">
+<h1 class="toc">Everything</h1>
+<hr />
+ <h2 class="toc">All Classes</h2>
+ <a target="mainFrame" href="pyinotify.AsyncNotifier-class.html"
+ >pyinotify.AsyncNotifier</a><br /> <a target="mainFrame" href="pyinotify.ChainIfTrue-class.html"
+ >pyinotify.ChainIfTrue</a><br /> <a target="mainFrame" href="pyinotify.ColoredOutputFormat-class.html"
+ >pyinotify.ColoredOutputFormat</a><br /> <a target="mainFrame" href="pyinotify.Event-class.html"
+ >pyinotify.Event</a><br /> <a target="mainFrame" href="pyinotify.EventsCodes-class.html"
+ >pyinotify.EventsCodes</a><br /> <a target="mainFrame" href="pyinotify.ExcludeFilter-class.html"
+ >pyinotify.ExcludeFilter</a><br /> <a target="mainFrame" href="pyinotify.Notifier-class.html"
+ >pyinotify.Notifier</a><br /> <a target="mainFrame" href="pyinotify.NotifierError-class.html"
+ >pyinotify.NotifierError</a><br /> <a target="mainFrame" href="pyinotify.PrintAllEvents-class.html"
+ >pyinotify.PrintAllEvents</a><br /> <a target="mainFrame" href="pyinotify.ProcessEvent-class.html"
+ >pyinotify.ProcessEvent</a><br /> <a target="mainFrame" href="pyinotify.ProcessEventError-class.html"
+ >pyinotify.ProcessEventError</a><br /> <a target="mainFrame" href="pyinotify.PyinotifyError-class.html"
+ >pyinotify.PyinotifyError</a><br /> <a target="mainFrame" href="pyinotify.PyinotifyLogger-class.html"
+ >pyinotify.PyinotifyLogger</a><br /> <a target="mainFrame" href="pyinotify.RawOutputFormat-class.html"
+ >pyinotify.RawOutputFormat</a><br /> <a target="mainFrame" href="pyinotify.Stats-class.html"
+ >pyinotify.Stats</a><br /> <a target="mainFrame" href="pyinotify.SysCtlINotify-class.html"
+ >pyinotify.SysCtlINotify</a><br /> <a target="mainFrame" href="pyinotify.ThreadedNotifier-class.html"
+ >pyinotify.ThreadedNotifier</a><br /> <a target="mainFrame" href="pyinotify.UnicodeLogRecord-class.html"
+ >pyinotify.UnicodeLogRecord</a><br /> <a target="mainFrame" href="pyinotify.UnsupportedLibcVersionError-class.html"
+ >pyinotify.UnsupportedLibcVersionError</a><br /> <a target="mainFrame" href="pyinotify.UnsupportedPythonVersionError-class.html"
+ >pyinotify.UnsupportedPythonVersionError</a><br /> <a target="mainFrame" href="pyinotify.Watch-class.html"
+ >pyinotify.Watch</a><br /> <a target="mainFrame" href="pyinotify.WatchManager-class.html"
+ >pyinotify.WatchManager</a><br /> <a target="mainFrame" href="pyinotify.WatchManagerError-class.html"
+ >pyinotify.WatchManagerError</a><br /> <div class="private">
+ <a target="mainFrame" href="pyinotify._Event-class.html"
+ >pyinotify._Event</a><br /> </div>
+ <div class="private">
+ <a target="mainFrame" href="pyinotify._ProcessEvent-class.html"
+ >pyinotify._ProcessEvent</a><br /> </div>
+ <div class="private">
+ <a target="mainFrame" href="pyinotify._RawEvent-class.html"
+ >pyinotify._RawEvent</a><br /> </div>
+ <div class="private">
+ <a target="mainFrame" href="pyinotify._SysProcessEvent-class.html"
+ >pyinotify._SysProcessEvent</a><br /> </div>
+ <h2 class="toc">All Functions</h2>
+ <a target="mainFrame" href="pyinotify-module.html#command_line"
+ >pyinotify.command_line</a><br /> <a target="mainFrame" href="pyinotify-module.html#compatibility_mode"
+ >pyinotify.compatibility_mode</a><br /> <a target="mainFrame" href="pyinotify-module.html#load_libc"
+ >pyinotify.load_libc</a><br /> <a target="mainFrame" href="pyinotify-module.html#logger_init"
+ >pyinotify.logger_init</a><br /> <a target="mainFrame" href="pyinotify-module.html#strerrno"
+ >pyinotify.strerrno</a><br /> <h2 class="toc">All Variables</h2>
+ <a target="mainFrame" href="pyinotify-module.html#ALL_EVENTS"
+ >pyinotify.ALL_EVENTS</a><br /> <a target="mainFrame" href="pyinotify-module.html#COMPATIBILITY_MODE"
+ >pyinotify.COMPATIBILITY_MODE</a><br /> <a target="mainFrame" href="pyinotify-module.html#IN_ACCESS"
+ >pyinotify.IN_ACCESS</a><br /> <a target="mainFrame" href="pyinotify-module.html#IN_ATTRIB"
+ >pyinotify.IN_ATTRIB</a><br /> <a target="mainFrame" href="pyinotify-module.html#IN_CLOSE_NOWRITE"
+ >pyinotify.IN_CLOSE_NOWRITE</a><br /> <a target="mainFrame" href="pyinotify-module.html#IN_CLOSE_WRITE"
+ >pyinotify.IN_CLOSE_WRITE</a><br /> <a target="mainFrame" href="pyinotify-module.html#IN_CREATE"
+ >pyinotify.IN_CREATE</a><br /> <a target="mainFrame" href="pyinotify-module.html#IN_DELETE"
+ >pyinotify.IN_DELETE</a><br /> <a target="mainFrame" href="pyinotify-module.html#IN_DELETE_SELF"
+ >pyinotify.IN_DELETE_SELF</a><br /> <a target="mainFrame" href="pyinotify-module.html#IN_DONT_FOLLOW"
+ >pyinotify.IN_DONT_FOLLOW</a><br /> <a target="mainFrame" href="pyinotify-module.html#IN_IGNORED"
+ >pyinotify.IN_IGNORED</a><br /> <a target="mainFrame" href="pyinotify-module.html#IN_ISDIR"
+ >pyinotify.IN_ISDIR</a><br /> <a target="mainFrame" href="pyinotify-module.html#IN_MASK_ADD"
+ >pyinotify.IN_MASK_ADD</a><br /> <a target="mainFrame" href="pyinotify-module.html#IN_MODIFY"
+ >pyinotify.IN_MODIFY</a><br /> <a target="mainFrame" href="pyinotify-module.html#IN_MOVED_FROM"
+ >pyinotify.IN_MOVED_FROM</a><br /> <a target="mainFrame" href="pyinotify-module.html#IN_MOVED_TO"
+ >pyinotify.IN_MOVED_TO</a><br /> <a target="mainFrame" href="pyinotify-module.html#IN_MOVE_SELF"
+ >pyinotify.IN_MOVE_SELF</a><br /> <a target="mainFrame" href="pyinotify-module.html#IN_ONESHOT"
+ >pyinotify.IN_ONESHOT</a><br /> <a target="mainFrame" href="pyinotify-module.html#IN_ONLYDIR"
+ >pyinotify.IN_ONLYDIR</a><br /> <a target="mainFrame" href="pyinotify-module.html#IN_OPEN"
+ >pyinotify.IN_OPEN</a><br /> <a target="mainFrame" href="pyinotify-module.html#IN_Q_OVERFLOW"
+ >pyinotify.IN_Q_OVERFLOW</a><br /> <a target="mainFrame" href="pyinotify-module.html#IN_UNMOUNT"
+ >pyinotify.IN_UNMOUNT</a><br /> <a target="mainFrame" href="pyinotify-module.html#LIBC"
+ >pyinotify.LIBC</a><br /> <a target="mainFrame" href="pyinotify-module.html#__author__"
+ >pyinotify.__author__</a><br /> <a target="mainFrame" href="pyinotify-module.html#__package__"
+ >pyinotify.__package__</a><br /> <a target="mainFrame" href="pyinotify-module.html#attrname"
+ >pyinotify.attrname</a><br /> <a target="mainFrame" href="pyinotify-module.html#flagc"
+ >pyinotify.flagc</a><br /> <a target="mainFrame" href="pyinotify-module.html#log"
+ >pyinotify.log</a><br /> <a target="mainFrame" href="pyinotify-module.html#max_queued_events"
+ >pyinotify.max_queued_events</a><br /> <a target="mainFrame" href="pyinotify-module.html#max_user_instances"
+ >pyinotify.max_user_instances</a><br /> <a target="mainFrame" href="pyinotify-module.html#max_user_watches"
+ >pyinotify.max_user_watches</a><br /> <a target="mainFrame" href="pyinotify-module.html#name"
+ >pyinotify.name</a><br /> <a target="mainFrame" href="pyinotify-module.html#output_format"
+ >pyinotify.output_format</a><br /> <a target="mainFrame" href="pyinotify-module.html#val"
+ >pyinotify.val</a><br /> <a target="mainFrame" href="pyinotify-module.html#valc"
+ >pyinotify.valc</a><br /><hr />
+<span class="options">[<a href="javascript:void(0);" class="privatelink"
+ onclick="toggle_private();">hide&nbsp;private</a>]</span>
+
+<script type="text/javascript">
+ <!--
+ // Private objects are initially displayed (because if
+ // javascript is turned off then we want them to be
+ // visible); but by default, we want to hide them. So hide
+ // them unless we have a cookie that says to show them.
+ checkCookie();
+ // -->
+</script>
+</body>
+</html>
diff --git a/python2/docstrings/toc-pyinotify-module.html b/python2/docstrings/toc-pyinotify-module.html
new file mode 100644
index 0000000..4575263
--- /dev/null
+++ b/python2/docstrings/toc-pyinotify-module.html
@@ -0,0 +1,107 @@
+<?xml version="1.0" encoding="ascii"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+ <title>pyinotify</title>
+ <link rel="stylesheet" href="epydoc.css" type="text/css" />
+ <script type="text/javascript" src="epydoc.js"></script>
+</head>
+
+<body bgcolor="white" text="black" link="blue" vlink="#204080"
+ alink="#204080">
+<h1 class="toc">Module pyinotify</h1>
+<hr />
+ <h2 class="toc">Classes</h2>
+ <a target="mainFrame" href="pyinotify.AsyncNotifier-class.html"
+ >AsyncNotifier</a><br /> <a target="mainFrame" href="pyinotify.ChainIfTrue-class.html"
+ >ChainIfTrue</a><br /> <a target="mainFrame" href="pyinotify.ColoredOutputFormat-class.html"
+ >ColoredOutputFormat</a><br /> <a target="mainFrame" href="pyinotify.Event-class.html"
+ >Event</a><br /> <a target="mainFrame" href="pyinotify.EventsCodes-class.html"
+ >EventsCodes</a><br /> <a target="mainFrame" href="pyinotify.ExcludeFilter-class.html"
+ >ExcludeFilter</a><br /> <a target="mainFrame" href="pyinotify.Notifier-class.html"
+ >Notifier</a><br /> <a target="mainFrame" href="pyinotify.NotifierError-class.html"
+ >NotifierError</a><br /> <a target="mainFrame" href="pyinotify.PrintAllEvents-class.html"
+ >PrintAllEvents</a><br /> <a target="mainFrame" href="pyinotify.ProcessEvent-class.html"
+ >ProcessEvent</a><br /> <a target="mainFrame" href="pyinotify.ProcessEventError-class.html"
+ >ProcessEventError</a><br /> <a target="mainFrame" href="pyinotify.PyinotifyError-class.html"
+ >PyinotifyError</a><br /> <a target="mainFrame" href="pyinotify.PyinotifyLogger-class.html"
+ >PyinotifyLogger</a><br /> <a target="mainFrame" href="pyinotify.RawOutputFormat-class.html"
+ >RawOutputFormat</a><br /> <a target="mainFrame" href="pyinotify.Stats-class.html"
+ >Stats</a><br /> <a target="mainFrame" href="pyinotify.SysCtlINotify-class.html"
+ >SysCtlINotify</a><br /> <a target="mainFrame" href="pyinotify.ThreadedNotifier-class.html"
+ >ThreadedNotifier</a><br /> <a target="mainFrame" href="pyinotify.UnicodeLogRecord-class.html"
+ >UnicodeLogRecord</a><br /> <a target="mainFrame" href="pyinotify.UnsupportedLibcVersionError-class.html"
+ >UnsupportedLibcVersionError</a><br /> <a target="mainFrame" href="pyinotify.UnsupportedPythonVersionError-class.html"
+ >UnsupportedPythonVersionError</a><br /> <a target="mainFrame" href="pyinotify.Watch-class.html"
+ >Watch</a><br /> <a target="mainFrame" href="pyinotify.WatchManager-class.html"
+ >WatchManager</a><br /> <a target="mainFrame" href="pyinotify.WatchManagerError-class.html"
+ >WatchManagerError</a><br /> <div class="private">
+ <a target="mainFrame" href="pyinotify._Event-class.html"
+ >_Event</a><br /> </div>
+ <div class="private">
+ <a target="mainFrame" href="pyinotify._ProcessEvent-class.html"
+ >_ProcessEvent</a><br /> </div>
+ <div class="private">
+ <a target="mainFrame" href="pyinotify._RawEvent-class.html"
+ >_RawEvent</a><br /> </div>
+ <div class="private">
+ <a target="mainFrame" href="pyinotify._SysProcessEvent-class.html"
+ >_SysProcessEvent</a><br /> </div>
+ <h2 class="toc">Functions</h2>
+ <a target="mainFrame" href="pyinotify-module.html#command_line"
+ >command_line</a><br /> <a target="mainFrame" href="pyinotify-module.html#compatibility_mode"
+ >compatibility_mode</a><br /> <a target="mainFrame" href="pyinotify-module.html#load_libc"
+ >load_libc</a><br /> <a target="mainFrame" href="pyinotify-module.html#logger_init"
+ >logger_init</a><br /> <a target="mainFrame" href="pyinotify-module.html#strerrno"
+ >strerrno</a><br /> <h2 class="toc">Variables</h2>
+ <a target="mainFrame" href="pyinotify-module.html#ALL_EVENTS"
+ >ALL_EVENTS</a><br /> <a target="mainFrame" href="pyinotify-module.html#COMPATIBILITY_MODE"
+ >COMPATIBILITY_MODE</a><br /> <a target="mainFrame" href="pyinotify-module.html#IN_ACCESS"
+ >IN_ACCESS</a><br /> <a target="mainFrame" href="pyinotify-module.html#IN_ATTRIB"
+ >IN_ATTRIB</a><br /> <a target="mainFrame" href="pyinotify-module.html#IN_CLOSE_NOWRITE"
+ >IN_CLOSE_NOWRITE</a><br /> <a target="mainFrame" href="pyinotify-module.html#IN_CLOSE_WRITE"
+ >IN_CLOSE_WRITE</a><br /> <a target="mainFrame" href="pyinotify-module.html#IN_CREATE"
+ >IN_CREATE</a><br /> <a target="mainFrame" href="pyinotify-module.html#IN_DELETE"
+ >IN_DELETE</a><br /> <a target="mainFrame" href="pyinotify-module.html#IN_DELETE_SELF"
+ >IN_DELETE_SELF</a><br /> <a target="mainFrame" href="pyinotify-module.html#IN_DONT_FOLLOW"
+ >IN_DONT_FOLLOW</a><br /> <a target="mainFrame" href="pyinotify-module.html#IN_IGNORED"
+ >IN_IGNORED</a><br /> <a target="mainFrame" href="pyinotify-module.html#IN_ISDIR"
+ >IN_ISDIR</a><br /> <a target="mainFrame" href="pyinotify-module.html#IN_MASK_ADD"
+ >IN_MASK_ADD</a><br /> <a target="mainFrame" href="pyinotify-module.html#IN_MODIFY"
+ >IN_MODIFY</a><br /> <a target="mainFrame" href="pyinotify-module.html#IN_MOVED_FROM"
+ >IN_MOVED_FROM</a><br /> <a target="mainFrame" href="pyinotify-module.html#IN_MOVED_TO"
+ >IN_MOVED_TO</a><br /> <a target="mainFrame" href="pyinotify-module.html#IN_MOVE_SELF"
+ >IN_MOVE_SELF</a><br /> <a target="mainFrame" href="pyinotify-module.html#IN_ONESHOT"
+ >IN_ONESHOT</a><br /> <a target="mainFrame" href="pyinotify-module.html#IN_ONLYDIR"
+ >IN_ONLYDIR</a><br /> <a target="mainFrame" href="pyinotify-module.html#IN_OPEN"
+ >IN_OPEN</a><br /> <a target="mainFrame" href="pyinotify-module.html#IN_Q_OVERFLOW"
+ >IN_Q_OVERFLOW</a><br /> <a target="mainFrame" href="pyinotify-module.html#IN_UNMOUNT"
+ >IN_UNMOUNT</a><br /> <a target="mainFrame" href="pyinotify-module.html#LIBC"
+ >LIBC</a><br /> <a target="mainFrame" href="pyinotify-module.html#__author__"
+ >__author__</a><br /> <a target="mainFrame" href="pyinotify-module.html#__package__"
+ >__package__</a><br /> <a target="mainFrame" href="pyinotify-module.html#attrname"
+ >attrname</a><br /> <a target="mainFrame" href="pyinotify-module.html#flagc"
+ >flagc</a><br /> <a target="mainFrame" href="pyinotify-module.html#log"
+ >log</a><br /> <a target="mainFrame" href="pyinotify-module.html#max_queued_events"
+ >max_queued_events</a><br /> <a target="mainFrame" href="pyinotify-module.html#max_user_instances"
+ >max_user_instances</a><br /> <a target="mainFrame" href="pyinotify-module.html#max_user_watches"
+ >max_user_watches</a><br /> <a target="mainFrame" href="pyinotify-module.html#name"
+ >name</a><br /> <a target="mainFrame" href="pyinotify-module.html#output_format"
+ >output_format</a><br /> <a target="mainFrame" href="pyinotify-module.html#val"
+ >val</a><br /> <a target="mainFrame" href="pyinotify-module.html#valc"
+ >valc</a><br /><hr />
+<span class="options">[<a href="javascript:void(0);" class="privatelink"
+ onclick="toggle_private();">hide&nbsp;private</a>]</span>
+
+<script type="text/javascript">
+ <!--
+ // Private objects are initially displayed (because if
+ // javascript is turned off then we want them to be
+ // visible); but by default, we want to hide them. So hide
+ // them unless we have a cookie that says to show them.
+ checkCookie();
+ // -->
+</script>
+</body>
+</html>
diff --git a/python2/docstrings/toc.html b/python2/docstrings/toc.html
new file mode 100644
index 0000000..a08ff58
--- /dev/null
+++ b/python2/docstrings/toc.html
@@ -0,0 +1,33 @@
+<?xml version="1.0" encoding="ascii"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+ <title>Table of Contents</title>
+ <link rel="stylesheet" href="epydoc.css" type="text/css" />
+ <script type="text/javascript" src="epydoc.js"></script>
+</head>
+
+<body bgcolor="white" text="black" link="blue" vlink="#204080"
+ alink="#204080">
+<h1 class="toc">Table&nbsp;of&nbsp;Contents</h1>
+<hr />
+ <a target="moduleFrame" href="toc-everything.html">Everything</a>
+ <br />
+ <h2 class="toc">Modules</h2>
+ <a target="moduleFrame" href="toc-pyinotify-module.html"
+ onclick="setFrame('toc-pyinotify-module.html','pyinotify-module.html');" >pyinotify</a><br /><hr />
+ <span class="options">[<a href="javascript:void(0);" class="privatelink"
+ onclick="toggle_private();">hide&nbsp;private</a>]</span>
+
+<script type="text/javascript">
+ <!--
+ // Private objects are initially displayed (because if
+ // javascript is turned off then we want them to be
+ // visible); but by default, we want to hide them. So hide
+ // them unless we have a cookie that says to show them.
+ checkCookie();
+ // -->
+</script>
+</body>
+</html>
diff --git a/python2/docstrings/uml_class_diagram_for_pyinotif.gif b/python2/docstrings/uml_class_diagram_for_pyinotif.gif
new file mode 100644
index 0000000..81c21fd
--- /dev/null
+++ b/python2/docstrings/uml_class_diagram_for_pyinotif.gif
Binary files differ
diff --git a/python2/docstrings/uml_class_diagram_for_pyinotif_10.gif b/python2/docstrings/uml_class_diagram_for_pyinotif_10.gif
new file mode 100644
index 0000000..7421354
--- /dev/null
+++ b/python2/docstrings/uml_class_diagram_for_pyinotif_10.gif
Binary files differ
diff --git a/python2/docstrings/uml_class_diagram_for_pyinotif_11.gif b/python2/docstrings/uml_class_diagram_for_pyinotif_11.gif
new file mode 100644
index 0000000..9abfa1d
--- /dev/null
+++ b/python2/docstrings/uml_class_diagram_for_pyinotif_11.gif
Binary files differ
diff --git a/python2/docstrings/uml_class_diagram_for_pyinotif_12.gif b/python2/docstrings/uml_class_diagram_for_pyinotif_12.gif
new file mode 100644
index 0000000..d27301b
--- /dev/null
+++ b/python2/docstrings/uml_class_diagram_for_pyinotif_12.gif
Binary files differ
diff --git a/python2/docstrings/uml_class_diagram_for_pyinotif_13.gif b/python2/docstrings/uml_class_diagram_for_pyinotif_13.gif
new file mode 100644
index 0000000..f3992ab
--- /dev/null
+++ b/python2/docstrings/uml_class_diagram_for_pyinotif_13.gif
Binary files differ
diff --git a/python2/docstrings/uml_class_diagram_for_pyinotif_14.gif b/python2/docstrings/uml_class_diagram_for_pyinotif_14.gif
new file mode 100644
index 0000000..bf6a062
--- /dev/null
+++ b/python2/docstrings/uml_class_diagram_for_pyinotif_14.gif
Binary files differ
diff --git a/python2/docstrings/uml_class_diagram_for_pyinotif_15.gif b/python2/docstrings/uml_class_diagram_for_pyinotif_15.gif
new file mode 100644
index 0000000..41cb487
--- /dev/null
+++ b/python2/docstrings/uml_class_diagram_for_pyinotif_15.gif
Binary files differ
diff --git a/python2/docstrings/uml_class_diagram_for_pyinotif_16.gif b/python2/docstrings/uml_class_diagram_for_pyinotif_16.gif
new file mode 100644
index 0000000..b7ae5bc
--- /dev/null
+++ b/python2/docstrings/uml_class_diagram_for_pyinotif_16.gif
Binary files differ
diff --git a/python2/docstrings/uml_class_diagram_for_pyinotif_17.gif b/python2/docstrings/uml_class_diagram_for_pyinotif_17.gif
new file mode 100644
index 0000000..a3a11d6
--- /dev/null
+++ b/python2/docstrings/uml_class_diagram_for_pyinotif_17.gif
Binary files differ
diff --git a/python2/docstrings/uml_class_diagram_for_pyinotif_18.gif b/python2/docstrings/uml_class_diagram_for_pyinotif_18.gif
new file mode 100644
index 0000000..29a62d1
--- /dev/null
+++ b/python2/docstrings/uml_class_diagram_for_pyinotif_18.gif
Binary files differ
diff --git a/python2/docstrings/uml_class_diagram_for_pyinotif_19.gif b/python2/docstrings/uml_class_diagram_for_pyinotif_19.gif
new file mode 100644
index 0000000..28dba93
--- /dev/null
+++ b/python2/docstrings/uml_class_diagram_for_pyinotif_19.gif
Binary files differ
diff --git a/python2/docstrings/uml_class_diagram_for_pyinotif_2.gif b/python2/docstrings/uml_class_diagram_for_pyinotif_2.gif
new file mode 100644
index 0000000..8a565ae
--- /dev/null
+++ b/python2/docstrings/uml_class_diagram_for_pyinotif_2.gif
Binary files differ
diff --git a/python2/docstrings/uml_class_diagram_for_pyinotif_20.gif b/python2/docstrings/uml_class_diagram_for_pyinotif_20.gif
new file mode 100644
index 0000000..b244c17
--- /dev/null
+++ b/python2/docstrings/uml_class_diagram_for_pyinotif_20.gif
Binary files differ
diff --git a/python2/docstrings/uml_class_diagram_for_pyinotif_21.gif b/python2/docstrings/uml_class_diagram_for_pyinotif_21.gif
new file mode 100644
index 0000000..01ee6ca
--- /dev/null
+++ b/python2/docstrings/uml_class_diagram_for_pyinotif_21.gif
Binary files differ
diff --git a/python2/docstrings/uml_class_diagram_for_pyinotif_22.gif b/python2/docstrings/uml_class_diagram_for_pyinotif_22.gif
new file mode 100644
index 0000000..f0611ff
--- /dev/null
+++ b/python2/docstrings/uml_class_diagram_for_pyinotif_22.gif
Binary files differ
diff --git a/python2/docstrings/uml_class_diagram_for_pyinotif_23.gif b/python2/docstrings/uml_class_diagram_for_pyinotif_23.gif
new file mode 100644
index 0000000..ead2832
--- /dev/null
+++ b/python2/docstrings/uml_class_diagram_for_pyinotif_23.gif
Binary files differ
diff --git a/python2/docstrings/uml_class_diagram_for_pyinotif_24.gif b/python2/docstrings/uml_class_diagram_for_pyinotif_24.gif
new file mode 100644
index 0000000..7b9da91
--- /dev/null
+++ b/python2/docstrings/uml_class_diagram_for_pyinotif_24.gif
Binary files differ
diff --git a/python2/docstrings/uml_class_diagram_for_pyinotif_25.gif b/python2/docstrings/uml_class_diagram_for_pyinotif_25.gif
new file mode 100644
index 0000000..2cb7fb6
--- /dev/null
+++ b/python2/docstrings/uml_class_diagram_for_pyinotif_25.gif
Binary files differ
diff --git a/python2/docstrings/uml_class_diagram_for_pyinotif_26.gif b/python2/docstrings/uml_class_diagram_for_pyinotif_26.gif
new file mode 100644
index 0000000..63410a2
--- /dev/null
+++ b/python2/docstrings/uml_class_diagram_for_pyinotif_26.gif
Binary files differ
diff --git a/python2/docstrings/uml_class_diagram_for_pyinotif_27.gif b/python2/docstrings/uml_class_diagram_for_pyinotif_27.gif
new file mode 100644
index 0000000..8f74334
--- /dev/null
+++ b/python2/docstrings/uml_class_diagram_for_pyinotif_27.gif
Binary files differ
diff --git a/python2/docstrings/uml_class_diagram_for_pyinotif_28.gif b/python2/docstrings/uml_class_diagram_for_pyinotif_28.gif
new file mode 100644
index 0000000..a061d1a
--- /dev/null
+++ b/python2/docstrings/uml_class_diagram_for_pyinotif_28.gif
Binary files differ
diff --git a/python2/docstrings/uml_class_diagram_for_pyinotif_29.gif b/python2/docstrings/uml_class_diagram_for_pyinotif_29.gif
new file mode 100644
index 0000000..93fed3a
--- /dev/null
+++ b/python2/docstrings/uml_class_diagram_for_pyinotif_29.gif
Binary files differ
diff --git a/python2/docstrings/uml_class_diagram_for_pyinotif_3.gif b/python2/docstrings/uml_class_diagram_for_pyinotif_3.gif
new file mode 100644
index 0000000..ac6e914
--- /dev/null
+++ b/python2/docstrings/uml_class_diagram_for_pyinotif_3.gif
Binary files differ
diff --git a/python2/docstrings/uml_class_diagram_for_pyinotif_4.gif b/python2/docstrings/uml_class_diagram_for_pyinotif_4.gif
new file mode 100644
index 0000000..c155eaa
--- /dev/null
+++ b/python2/docstrings/uml_class_diagram_for_pyinotif_4.gif
Binary files differ
diff --git a/python2/docstrings/uml_class_diagram_for_pyinotif_5.gif b/python2/docstrings/uml_class_diagram_for_pyinotif_5.gif
new file mode 100644
index 0000000..809845f
--- /dev/null
+++ b/python2/docstrings/uml_class_diagram_for_pyinotif_5.gif
Binary files differ
diff --git a/python2/docstrings/uml_class_diagram_for_pyinotif_6.gif b/python2/docstrings/uml_class_diagram_for_pyinotif_6.gif
new file mode 100644
index 0000000..7ed4b60
--- /dev/null
+++ b/python2/docstrings/uml_class_diagram_for_pyinotif_6.gif
Binary files differ
diff --git a/python2/docstrings/uml_class_diagram_for_pyinotif_7.gif b/python2/docstrings/uml_class_diagram_for_pyinotif_7.gif
new file mode 100644
index 0000000..682fad7
--- /dev/null
+++ b/python2/docstrings/uml_class_diagram_for_pyinotif_7.gif
Binary files differ
diff --git a/python2/docstrings/uml_class_diagram_for_pyinotif_8.gif b/python2/docstrings/uml_class_diagram_for_pyinotif_8.gif
new file mode 100644
index 0000000..c1598e1
--- /dev/null
+++ b/python2/docstrings/uml_class_diagram_for_pyinotif_8.gif
Binary files differ
diff --git a/python2/docstrings/uml_class_diagram_for_pyinotif_9.gif b/python2/docstrings/uml_class_diagram_for_pyinotif_9.gif
new file mode 100644
index 0000000..1c40eee
--- /dev/null
+++ b/python2/docstrings/uml_class_diagram_for_pyinotif_9.gif
Binary files differ