summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastien Martini <seb@dbzteam.org>2009-01-06 22:57:58 +0100
committerSebastien Martini <seb@dbzteam.org>2009-01-06 22:57:58 +0100
commita17385ae4cd3f952f689cfeee0d6e04841a4325e (patch)
treef77e75a44f78b5cc4dc66da015574306a7a3f6b7
parent46a3dbeab78c0a1848b219fe8d7ff23bfb565889 (diff)
downloadpyinotify-a17385ae4cd3f952f689cfeee0d6e04841a4325e.tar.gz
Updated docstrings generated documentation.
-rw-r--r--TODO1
-rw-r--r--docstrings/api-objects.txt53
-rw-r--r--docstrings/class-tree.html133
-rw-r--r--docstrings/epydoc.css12
-rw-r--r--docstrings/epydoc.js19
-rw-r--r--docstrings/help.html8
-rw-r--r--docstrings/identifier-index.html508
-rw-r--r--docstrings/module-tree.html8
-rw-r--r--docstrings/pyinotify-module.html81
-rw-r--r--docstrings/pyinotify-pysrc.html3797
-rw-r--r--docstrings/pyinotify.AnsiColorTheme-class.html57
-rw-r--r--docstrings/pyinotify.BlackAndWhite-class.html45
-rw-r--r--docstrings/pyinotify.ChainIf-class.html67
-rw-r--r--docstrings/pyinotify.Color-class.html37
-rw-r--r--docstrings/pyinotify.ColorTheme-class.html27
-rw-r--r--docstrings/pyinotify.DefaultTheme-class.html47
-rw-r--r--docstrings/pyinotify.Event-class.html33
-rw-r--r--docstrings/pyinotify.EventsCodes-class.html61
-rw-r--r--docstrings/pyinotify.ExcludeFilter-class.html40
-rw-r--r--docstrings/pyinotify.NoTheme-class.html19
-rw-r--r--docstrings/pyinotify.Notifier-class.html88
-rw-r--r--docstrings/pyinotify.NotifierError-class.html65
-rw-r--r--docstrings/pyinotify.ProcessEvent-class.html93
-rw-r--r--docstrings/pyinotify.ProcessEventError-class.html65
-rw-r--r--docstrings/pyinotify.Stats-class.html85
-rw-r--r--docstrings/pyinotify.SysCtlINotify-class.html80
-rw-r--r--docstrings/pyinotify.ThreadedNotifier-class.html105
-rw-r--r--docstrings/pyinotify.Watch-class.html35
-rw-r--r--docstrings/pyinotify.WatchManager-class.html158
-rw-r--r--docstrings/pyinotify.WatchManagerError-class.html60
-rw-r--r--docstrings/pyinotify._Event-class.html47
-rw-r--r--docstrings/pyinotify._ProcessEvent-class.html59
-rw-r--r--docstrings/pyinotify._RawEvent-class.html33
-rw-r--r--docstrings/pyinotify._SysProcessEvent-class.html88
-rw-r--r--docstrings/redirect.html2
-rw-r--r--docstrings/toc-everything.html14
-rw-r--r--docstrings/toc-pyinotify-module.html14
-rw-r--r--docstrings/toc.html3
-rw-r--r--docstrings/uml_class_diagram_for_pyinotif.gifbin10702 -> 11022 bytes
-rw-r--r--docstrings/uml_class_diagram_for_pyinotif_10.gifbin3060 -> 3067 bytes
-rw-r--r--docstrings/uml_class_diagram_for_pyinotif_11.gifbin7743 -> 7706 bytes
-rw-r--r--docstrings/uml_class_diagram_for_pyinotif_12.gifbin7322 -> 8088 bytes
-rw-r--r--docstrings/uml_class_diagram_for_pyinotif_13.gifbin7125 -> 7125 bytes
-rw-r--r--docstrings/uml_class_diagram_for_pyinotif_14.gifbin7463 -> 8243 bytes
-rw-r--r--docstrings/uml_class_diagram_for_pyinotif_15.gifbin7824 -> 13261 bytes
-rw-r--r--docstrings/uml_class_diagram_for_pyinotif_16.gifbin3615 -> 7839 bytes
-rw-r--r--docstrings/uml_class_diagram_for_pyinotif_17.gifbin13910 -> 3651 bytes
-rw-r--r--docstrings/uml_class_diagram_for_pyinotif_18.gifbin1864 -> 13937 bytes
-rw-r--r--docstrings/uml_class_diagram_for_pyinotif_19.gifbin9616 -> 8802 bytes
-rw-r--r--docstrings/uml_class_diagram_for_pyinotif_2.gifbin8980 -> 9299 bytes
-rw-r--r--docstrings/uml_class_diagram_for_pyinotif_20.gifbin7783 -> 8980 bytes
-rw-r--r--docstrings/uml_class_diagram_for_pyinotif_21.gifbin3528 -> 1862 bytes
-rw-r--r--docstrings/uml_class_diagram_for_pyinotif_22.gifbin5545 -> 9462 bytes
-rw-r--r--docstrings/uml_class_diagram_for_pyinotif_23.gifbin3624 -> 7767 bytes
-rw-r--r--docstrings/uml_class_diagram_for_pyinotif_24.gifbin11224 -> 3504 bytes
-rw-r--r--docstrings/uml_class_diagram_for_pyinotif_3.gifbin6704 -> 6717 bytes
-rw-r--r--docstrings/uml_class_diagram_for_pyinotif_4.gifbin2937 -> 2938 bytes
-rw-r--r--docstrings/uml_class_diagram_for_pyinotif_5.gifbin5835 -> 5847 bytes
-rw-r--r--docstrings/uml_class_diagram_for_pyinotif_6.gifbin9690 -> 9848 bytes
-rw-r--r--docstrings/uml_class_diagram_for_pyinotif_7.gifbin2825 -> 2808 bytes
-rw-r--r--docstrings/uml_class_diagram_for_pyinotif_8.gifbin6613 -> 6739 bytes
-rw-r--r--docstrings/uml_class_diagram_for_pyinotif_9.gifbin1952 -> 1949 bytes
62 files changed, 3193 insertions, 2954 deletions
diff --git a/TODO b/TODO
index 607507d..f884c85 100644
--- a/TODO
+++ b/TODO
@@ -1,3 +1,2 @@
- Optionally store watchs in a DB to reduce memory footprint
-- Removes sys.exit replace by appropriate exceptions
- Convert to Python 3
diff --git a/docstrings/api-objects.txt b/docstrings/api-objects.txt
index dfc1f24..aa806e3 100644
--- a/docstrings/api-objects.txt
+++ b/docstrings/api-objects.txt
@@ -1,43 +1,45 @@
pyinotify pyinotify-module.html
pyinotify.IN_CREATE pyinotify-module.html#IN_CREATE
-pyinotify.LIBC pyinotify-module.html#LIBC
-pyinotify.command_line pyinotify-module.html#command_line
-pyinotify.IN_MOVED_TO pyinotify-module.html#IN_MOVED_TO
-pyinotify.IN_MOVE_SELF pyinotify-module.html#IN_MOVE_SELF
-pyinotify.valc pyinotify-module.html#valc
-pyinotify.log pyinotify-module.html#log
pyinotify.IN_UNMOUNT pyinotify-module.html#IN_UNMOUNT
pyinotify.magic_check pyinotify-module.html#magic_check
-pyinotify.IN_MOVED_FROM pyinotify-module.html#IN_MOVED_FROM
pyinotify.color_theme pyinotify-module.html#color_theme
-pyinotify.glob1 pyinotify-module.html#glob1
-pyinotify.max_user_watches pyinotify-module.html#max_user_watches
+pyinotify.IN_ONESHOT pyinotify-module.html#IN_ONESHOT
+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.max_user_instances pyinotify-module.html#max_user_instances
+pyinotify.name pyinotify-module.html#name
+pyinotify.IN_MOVE_SELF pyinotify-module.html#IN_MOVE_SELF
pyinotify.console_handler pyinotify-module.html#console_handler
-pyinotify.IN_ONESHOT pyinotify-module.html#IN_ONESHOT
+pyinotify.LIBC_VERSION pyinotify-module.html#LIBC_VERSION
+pyinotify.valc pyinotify-module.html#valc
pyinotify.IN_ONLYDIR pyinotify-module.html#IN_ONLYDIR
-pyinotify.IN_Q_OVERFLOW pyinotify-module.html#IN_Q_OVERFLOW
+pyinotify.glob1 pyinotify-module.html#glob1
+pyinotify.glob0 pyinotify-module.html#glob0
+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.max_queued_events pyinotify-module.html#max_queued_events
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.i pyinotify-module.html#i
+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_MOVED_TO pyinotify-module.html#IN_MOVED_TO
+pyinotify.command_line pyinotify-module.html#command_line
+pyinotify.IN_Q_OVERFLOW pyinotify-module.html#IN_Q_OVERFLOW
pyinotify.has_magic pyinotify-module.html#has_magic
-pyinotify.IN_DELETE pyinotify-module.html#IN_DELETE
pyinotify.IN_ATTRIB pyinotify-module.html#IN_ATTRIB
-pyinotify.IN_CLOSE_WRITE pyinotify-module.html#IN_CLOSE_WRITE
-pyinotify.name pyinotify-module.html#name
pyinotify.IN_ACCESS pyinotify-module.html#IN_ACCESS
-pyinotify.val pyinotify-module.html#val
-pyinotify.IN_MODIFY pyinotify-module.html#IN_MODIFY
pyinotify.flagc pyinotify-module.html#flagc
pyinotify.IN_MASK_ADD pyinotify-module.html#IN_MASK_ADD
pyinotify.IN_CLOSE_NOWRITE pyinotify-module.html#IN_CLOSE_NOWRITE
-pyinotify.IN_ISDIR pyinotify-module.html#IN_ISDIR
-pyinotify.i pyinotify-module.html#i
pyinotify.iglob pyinotify-module.html#iglob
-pyinotify.max_queued_events pyinotify-module.html#max_queued_events
pyinotify.IN_DELETE_SELF pyinotify-module.html#IN_DELETE_SELF
-pyinotify.ALL_EVENTS pyinotify-module.html#ALL_EVENTS
-pyinotify.IN_OPEN pyinotify-module.html#IN_OPEN
-pyinotify.glob0 pyinotify-module.html#glob0
-pyinotify.IN_DONT_FOLLOW pyinotify-module.html#IN_DONT_FOLLOW
pyinotify.AnsiColorTheme pyinotify.AnsiColorTheme-class.html
pyinotify.AnsiColorTheme.style_watchlist_value pyinotify.AnsiColorTheme-class.html#style_watchlist_value
pyinotify.AnsiColorTheme.style_yellow pyinotify.AnsiColorTheme-class.html#style_yellow
@@ -200,6 +202,7 @@ 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.Stats pyinotify.Stats-class.html
pyinotify.Stats.my_init pyinotify.Stats-class.html#my_init
pyinotify.Stats.dump pyinotify.Stats-class.html#dump
@@ -229,6 +232,10 @@ pyinotify.ThreadedNotifier.__init__ pyinotify.ThreadedNotifier-class.html#__init
pyinotify.Notifier.process_events pyinotify.Notifier-class.html#process_events
pyinotify.ThreadedNotifier.stop pyinotify.ThreadedNotifier-class.html#stop
pyinotify.ThreadedNotifier.loop pyinotify.ThreadedNotifier-class.html#loop
+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__
diff --git a/docstrings/class-tree.html b/docstrings/class-tree.html
index 30f3d71..5707ad6 100644
--- a/docstrings/class-tree.html
+++ b/docstrings/class-tree.html
@@ -58,107 +58,118 @@
<li> <strong class="uidlink">object</strong>:
<em class="summary">The most base type</em>
<ul>
- <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">threading._Verbose</strong>
+ <li> <strong class="uidlink">exceptions.BaseException</strong>:
+ <em class="summary">Common base class for all exceptions</em>
<ul>
- <li> <strong class="uidlink">threading.Thread</strong>
+ <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.ThreadedNotifier-class.html">pyinotify.ThreadedNotifier</a></strong>:
- <em class="summary">This notifier inherits from threading.Thread for instantiating a
- separate thread, and also inherits from Notifier, because it is a
- threaded notifier.</em>
+ <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>
- </ul>
+ <li> <strong class="uidlink"><a href="pyinotify.ProcessEventError-class.html">pyinotify.ProcessEventError</a></strong>:
+ <em class="summary">ProcessEventError Exception.</em>
</li>
- </ul>
+ <li> <strong class="uidlink"><a href="pyinotify.UnsupportedLibcVersionError-class.html">pyinotify.UnsupportedLibcVersionError</a></strong>:
+ <em class="summary">Raised for unsupported libc version.</em>
</li>
- <li> <strong class="uidlink"><a href="pyinotify._ProcessEvent-class.html">pyinotify._ProcessEvent</a></strong>:
- <em class="summary">Abstract processing event class.</em>
- <ul>
- <li> <strong class="uidlink"><a href="pyinotify._SysProcessEvent-class.html">pyinotify._SysProcessEvent</a></strong>:
- <em class="summary">There is three kind of processing according to each event:</em>
+ <li> <strong class="uidlink"><a href="pyinotify.UnsupportedPythonVersionError-class.html">pyinotify.UnsupportedPythonVersionError</a></strong>:
+ <em class="summary">Raised for unsupported Python version.</em>
</li>
- <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.Stats-class.html">pyinotify.Stats</a></strong>
+ </ul>
</li>
- <li> <strong class="uidlink"><a href="pyinotify.ChainIf-class.html">pyinotify.ChainIf</a></strong>:
- <em class="summary">Makes conditional chaining depending on the result of the nested
- processing instance.</em>
+ <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._Event-class.html">pyinotify._Event</a></strong>:
- <em class="summary">Event structure, represent events raised by the system.</em>
+ <li> <strong class="uidlink"><a href="pyinotify.Color-class.html">pyinotify.Color</a></strong>
+ </li>
+ <li> <strong class="uidlink"><a href="pyinotify.ColorTheme-class.html">pyinotify.ColorTheme</a></strong>
<ul>
- <li> <strong class="uidlink"><a href="pyinotify._RawEvent-class.html">pyinotify._RawEvent</a></strong>:
- <em class="summary">Raw event, it contains only the informations provided by the
- system.</em>
+ <li> <strong class="uidlink"><a href="pyinotify.AnsiColorTheme-class.html">pyinotify.AnsiColorTheme</a></strong>
+ <ul>
+ <li> <strong class="uidlink"><a href="pyinotify.BlackAndWhite-class.html">pyinotify.BlackAndWhite</a></strong>
</li>
- <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> <strong class="uidlink"><a href="pyinotify.DefaultTheme-class.html">pyinotify.DefaultTheme</a></strong>
+ </li>
+ </ul>
+ </li>
+ <li> <strong class="uidlink"><a href="pyinotify.NoTheme-class.html">pyinotify.NoTheme</a></strong>
</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.ThreadedNotifier-class.html">pyinotify.ThreadedNotifier</a></strong>:
- <em class="summary">This notifier inherits from threading.Thread for instantiating a
+ <em class="summary">This notifier inherits from threading.Thread for instantiating 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.Color-class.html">pyinotify.Color</a></strong>
+ <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.ExcludeFilter-class.html">pyinotify.ExcludeFilter</a></strong>:
- <em class="summary">ExcludeFilter is an exclusion filter.</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.ColorTheme-class.html">pyinotify.ColorTheme</a></strong>
+ <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.NoTheme-class.html">pyinotify.NoTheme</a></strong>
+ <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.AnsiColorTheme-class.html">pyinotify.AnsiColorTheme</a></strong>
+ <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.DefaultTheme-class.html">pyinotify.DefaultTheme</a></strong>
+ <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.ChainIf-class.html">pyinotify.ChainIf</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.BlackAndWhite-class.html">pyinotify.BlackAndWhite</a></strong>
+ <li> <strong class="uidlink"><a href="pyinotify.Stats-class.html">pyinotify.Stats</a></strong>
</li>
</ul>
</li>
- </ul>
+ <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>
- <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>
+ </ul>
</li>
- <li> <strong class="uidlink">exceptions.BaseException</strong>:
- <em class="summary">Common base class for all exceptions</em>
+ <li> <strong class="uidlink">threading._Verbose</strong>
<ul>
- <li> <strong class="uidlink">exceptions.Exception</strong>:
- <em class="summary">Common base class for all non-exit exceptions.</em>
+ <li> <strong class="uidlink">threading.Thread</strong>
<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.WatchManagerError-class.html">pyinotify.WatchManagerError</a></strong>:
- <em class="summary">WatchManager Exception.</em>
+ <li> <strong class="uidlink"><a href="pyinotify.ThreadedNotifier-class.html">pyinotify.ThreadedNotifier</a></strong>:
+ <em class="summary">This notifier inherits from threading.Thread for instantiating a
+ separate thread, and also inherits from Notifier, because it is a
+ threaded notifier.</em>
</li>
</ul>
</li>
@@ -193,10 +204,11 @@
<table border="0" cellpadding="0" cellspacing="0" width="100%%">
<tr>
<td align="left" class="footer">
- Generated by Epydoc 3.0beta1 on Sun Aug 10 13:37:36 2008
+ Generated by Epydoc 3.0.1 on Tue Jan 6 22:57:23 2009
</td>
<td align="right" class="footer">
- <a href="http://epydoc.sourceforge.net">http://epydoc.sourceforge.net</a>
+ <a target="mainFrame" href="http://epydoc.sourceforge.net"
+ >http://epydoc.sourceforge.net</a>
</td>
</tr>
</table>
@@ -207,9 +219,8 @@
// 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()
+ checkCookie();
// -->
</script>
-
</body>
</html>
diff --git a/docstrings/epydoc.css b/docstrings/epydoc.css
index 01250e6..86d4170 100644
--- a/docstrings/epydoc.css
+++ b/docstrings/epydoc.css
@@ -17,6 +17,7 @@
* 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; }
@@ -27,6 +28,8 @@ h2 { font-size: +125%; font-style: italic;
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
@@ -41,7 +44,8 @@ code { font-size: 100%; }
*/
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; }
+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;
@@ -112,6 +116,7 @@ table.details a:visited { color: #204080; }
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; }
@@ -155,6 +160,11 @@ table.summary a.summary-sig-name:visited
.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; }
diff --git a/docstrings/epydoc.js b/docstrings/epydoc.js
index 08ffb9f..e787dbc 100644
--- a/docstrings/epydoc.js
+++ b/docstrings/epydoc.js
@@ -17,8 +17,11 @@ function toggle_private() {
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 rowss containing private objects. Note, we
+ // 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.
@@ -33,7 +36,7 @@ function toggle_private() {
for(var i=0; i<elts.length; i++) {
if (elts[i].className == "private") {
elts[i].style.display = ((cmd && cmd.substr(0,4)=="hide")?
- "none":"list-item");
+ "none":"");
}
}
// Update all list items containing private objects.
@@ -46,6 +49,16 @@ function toggle_private() {
// 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 + "=";
@@ -95,7 +108,7 @@ function collapse(id) {
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"; }
+ 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");
diff --git a/docstrings/help.html b/docstrings/help.html
index 18dde79..1fd6064 100644
--- a/docstrings/help.html
+++ b/docstrings/help.html
@@ -246,10 +246,11 @@ page was last updated. </p>
<table border="0" cellpadding="0" cellspacing="0" width="100%%">
<tr>
<td align="left" class="footer">
- Generated by Epydoc 3.0beta1 on Sun Aug 10 13:37:36 2008
+ Generated by Epydoc 3.0.1 on Tue Jan 6 22:57:23 2009
</td>
<td align="right" class="footer">
- <a href="http://epydoc.sourceforge.net">http://epydoc.sourceforge.net</a>
+ <a target="mainFrame" href="http://epydoc.sourceforge.net"
+ >http://epydoc.sourceforge.net</a>
</td>
</tr>
</table>
@@ -260,9 +261,8 @@ page was last updated. </p>
// 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()
+ checkCookie();
// -->
</script>
-
</body>
</html>
diff --git a/docstrings/identifier-index.html b/docstrings/identifier-index.html
index e922bc8..e486d85 100644
--- a/docstrings/identifier-index.html
+++ b/docstrings/identifier-index.html
@@ -83,706 +83,722 @@
<a href="#_">_</a>
]
</td></table>
-<table border="0" width="100%"><tr valign="top">
-<td valign="top" width="1%"><a name="A"><h2 class="epydoc">A</h2></a></td>
+<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>)</font></td>
+<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_FLAGS">ALL_FLAGS</a><br />
-<span class="index-where">(in&nbsp;<a href="pyinotify.EventsCodes-class.html">EventsCodes</a>)</font></td>
+<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.AnsiColorTheme-class.html">AnsiColorTheme</a><br />
-<span class="index-where">(in&nbsp;<a href="pyinotify-module.html">pyinotify</a>)</font></td>
+<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>)</font></td>
+<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#ALL_VALUES">ALL_VALUES</a><br />
-<span class="index-where">(in&nbsp;<a href="pyinotify.EventsCodes-class.html">EventsCodes</a>)</font></td>
+<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>
</table>
</td></tr>
-<td valign="top" width="1%"><a name="B"><h2 class="epydoc">B</h2></a></td>
+<tr valign="top"><td valign="top" width="1%"><h2 class="epydoc"><a name="B">B</a></h2></td>
<td valign="top">
<table class="link-index" width="100%" border="1">
<tr>
<td width="33%" class="link-index"><a href="pyinotify.Color-class.html#black">black</a><br />
-<span class="index-where">(in&nbsp;<a href="pyinotify.Color-class.html">Color</a>)</font></td>
+<span class="index-where">(in&nbsp;<a href="pyinotify.Color-class.html">Color</a>)</span></td>
<td width="33%" class="link-index"><a href="pyinotify.Color-class.html#blink">blink</a><br />
-<span class="index-where">(in&nbsp;<a href="pyinotify.Color-class.html">Color</a>)</font></td>
+<span class="index-where">(in&nbsp;<a href="pyinotify.Color-class.html">Color</a>)</span></td>
<td width="33%" class="link-index"><a href="pyinotify.Color-class.html#bold">bold</a><br />
-<span class="index-where">(in&nbsp;<a href="pyinotify.Color-class.html">Color</a>)</font></td>
+<span class="index-where">(in&nbsp;<a href="pyinotify.Color-class.html">Color</a>)</span></td>
</tr>
<tr>
<td width="33%" class="link-index"><a href="pyinotify.BlackAndWhite-class.html">BlackAndWhite</a><br />
-<span class="index-where">(in&nbsp;<a href="pyinotify-module.html">pyinotify</a>)</font></td>
+<span class="index-where">(in&nbsp;<a href="pyinotify-module.html">pyinotify</a>)</span></td>
<td width="33%" class="link-index"><a href="pyinotify.Color-class.html#blue">blue</a><br />
-<span class="index-where">(in&nbsp;<a href="pyinotify.Color-class.html">Color</a>)</font></td>
+<span class="index-where">(in&nbsp;<a href="pyinotify.Color-class.html">Color</a>)</span></td>
<td width="33%" class="link-index">&nbsp;</td>
</tr>
</table>
</td></tr>
-<td valign="top" width="1%"><a name="C"><h2 class="epydoc">C</h2></a></td>
+<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.ChainIf-class.html">ChainIf</a><br />
-<span class="index-where">(in&nbsp;<a href="pyinotify-module.html">pyinotify</a>)</font></td>
+<span class="index-where">(in&nbsp;<a href="pyinotify-module.html">pyinotify</a>)</span></td>
<td width="33%" class="link-index"><a href="pyinotify.Color-class.html">Color</a><br />
-<span class="index-where">(in&nbsp;<a href="pyinotify-module.html">pyinotify</a>)</font></td>
+<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#command_line">command_line()</a><br />
-<span class="index-where">(in&nbsp;<a href="pyinotify-module.html">pyinotify</a>)</font></td>
+<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>)</font></td>
+<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#color_theme">color_theme</a><br />
-<span class="index-where">(in&nbsp;<a href="pyinotify-module.html">pyinotify</a>)</font></td>
+<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#console_handler">console_handler</a><br />
-<span class="index-where">(in&nbsp;<a href="pyinotify-module.html">pyinotify</a>)</font></td>
+<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._SysProcessEvent-class.html#cleanup">cleanup()</a><br />
-<span class="index-where">(in&nbsp;<a href="pyinotify._SysProcessEvent-class.html">_SysProcessEvent</a>)</font></td>
+<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.ColorTheme-class.html">ColorTheme</a><br />
-<span class="index-where">(in&nbsp;<a href="pyinotify-module.html">pyinotify</a>)</font></td>
+<span class="index-where">(in&nbsp;<a href="pyinotify-module.html">pyinotify</a>)</span></td>
<td width="33%" class="link-index"><a href="pyinotify.Color-class.html#cyan">cyan</a><br />
-<span class="index-where">(in&nbsp;<a href="pyinotify.Color-class.html">Color</a>)</font></td>
+<span class="index-where">(in&nbsp;<a href="pyinotify.Color-class.html">Color</a>)</span></td>
</tr>
</table>
</td></tr>
-<td valign="top" width="1%"><a name="D"><h2 class="epydoc">D</h2></a></td>
+<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.DefaultTheme-class.html">DefaultTheme</a><br />
-<span class="index-where">(in&nbsp;<a href="pyinotify-module.html">pyinotify</a>)</font></td>
+<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#dump">dump()</a><br />
-<span class="index-where">(in&nbsp;<a href="pyinotify.Stats-class.html">Stats</a>)</font></td>
+<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>
-<td valign="top" width="1%"><a name="E"><h2 class="epydoc">E</h2></a></td>
+<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>)</font></td>
+<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>)</font></td>
+<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>)</font></td>
+<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>)</font></td>
+<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>
-<td valign="top" width="1%"><a name="F"><h2 class="epydoc">F</h2></a></td>
+<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.EventsCodes-class.html#FLAG_COLLECTIONS">FLAG_COLLECTIONS</a><br />
-<span class="index-where">(in&nbsp;<a href="pyinotify.EventsCodes-class.html">EventsCodes</a>)</font></td>
+<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#flagc">flagc</a><br />
-<span class="index-where">(in&nbsp;<a href="pyinotify-module.html">pyinotify</a>)</font></td>
+<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>
-<td valign="top" width="1%"><a name="G"><h2 class="epydoc">G</h2></a></td>
+<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_path">get_path()</a><br />
-<span class="index-where">(in&nbsp;<a href="pyinotify.WatchManager-class.html">WatchManager</a>)</font></td>
+<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#glob0">glob0()</a><br />
-<span class="index-where">(in&nbsp;<a href="pyinotify-module.html">pyinotify</a>)</font></td>
+<span class="index-where">(in&nbsp;<a href="pyinotify-module.html">pyinotify</a>)</span></td>
<td width="33%" class="link-index"><a href="pyinotify.Color-class.html#grey">grey</a><br />
-<span class="index-where">(in&nbsp;<a href="pyinotify.Color-class.html">Color</a>)</font></td>
+<span class="index-where">(in&nbsp;<a href="pyinotify.Color-class.html">Color</a>)</span></td>
</tr>
<tr>
<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>)</font></td>
+<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-module.html#glob1">glob1()</a><br />
-<span class="index-where">(in&nbsp;<a href="pyinotify-module.html">pyinotify</a>)</font></td>
+<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.WatchManager-class.html#get_wd">get_wd()</a><br />
-<span class="index-where">(in&nbsp;<a href="pyinotify.WatchManager-class.html">WatchManager</a>)</font></td>
+<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.Color-class.html#green">green</a><br />
-<span class="index-where">(in&nbsp;<a href="pyinotify.Color-class.html">Color</a>)</font></td>
+<span class="index-where">(in&nbsp;<a href="pyinotify.Color-class.html">Color</a>)</span></td>
<td width="33%" class="link-index">&nbsp;</td>
</tr>
</table>
</td></tr>
-<td valign="top" width="1%"><a name="H"><h2 class="epydoc">H</h2></a></td>
+<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-module.html#has_magic">has_magic()</a><br />
-<span class="index-where">(in&nbsp;<a href="pyinotify-module.html">pyinotify</a>)</font></td>
+<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>
-<td valign="top" width="1%"><a name="I"><h2 class="epydoc">I</h2></a></td>
+<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#i">i</a><br />
-<span class="index-where">(in&nbsp;<a href="pyinotify-module.html">pyinotify</a>)</font></td>
+<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_DELETE_SELF">IN_DELETE_SELF</a><br />
-<span class="index-where">(in&nbsp;<a href="pyinotify-module.html">pyinotify</a>)</font></td>
+<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>)</font></td>
+<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#iglob">iglob()</a><br />
-<span class="index-where">(in&nbsp;<a href="pyinotify-module.html">pyinotify</a>)</font></td>
+<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>)</font></td>
+<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>)</font></td>
+<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_ACCESS">IN_ACCESS</a><br />
-<span class="index-where">(in&nbsp;<a href="pyinotify-module.html">pyinotify</a>)</font></td>
+<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>)</font></td>
+<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>)</font></td>
+<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>)</font></td>
+<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>)</font></td>
+<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>)</font></td>
+<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>)</font></td>
+<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>)</font></td>
+<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>)</font></td>
+<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>)</font></td>
+<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>)</font></td>
+<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>)</font></td>
+<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>)</font></td>
+<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>)</font></td>
+<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>)</font></td>
+<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#IN_DELETE">IN_DELETE</a><br />
-<span class="index-where">(in&nbsp;<a href="pyinotify-module.html">pyinotify</a>)</font></td>
+<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>)</font></td>
+<span class="index-where">(in&nbsp;<a href="pyinotify-module.html">pyinotify</a>)</span></td>
<td width="33%" class="link-index"><a href="pyinotify.Color-class.html#invert">invert</a><br />
-<span class="index-where">(in&nbsp;<a href="pyinotify.Color-class.html">Color</a>)</font></td>
+<span class="index-where">(in&nbsp;<a href="pyinotify.Color-class.html">Color</a>)</span></td>
</tr>
</table>
</td></tr>
-<td valign="top" width="1%"><a name="L"><h2 class="epydoc">L</h2></a></td>
+<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>)</font></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>)</font></td>
-<td width="33%" class="link-index">&nbsp;</td>
-</tr>
-<tr>
+<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>)</font></td>
+<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>)</font></td>
+<span class="index-where">(in&nbsp;<a href="pyinotify.ThreadedNotifier-class.html">ThreadedNotifier</a>)</span></td>
+</tr>
+<tr>
+<td width="33%" class="link-index"><a href="pyinotify-module.html#LIBC_VERSION">LIBC_VERSION</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>
<td width="33%" class="link-index">&nbsp;</td>
</tr>
</table>
</td></tr>
-<td valign="top" width="1%"><a name="M"><h2 class="epydoc">M</h2></a></td>
+<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-module.html#magic_check">magic_check</a><br />
-<span class="index-where">(in&nbsp;<a href="pyinotify-module.html">pyinotify</a>)</font></td>
+<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#max_user_instances">max_user_instances</a><br />
-<span class="index-where">(in&nbsp;<a href="pyinotify-module.html">pyinotify</a>)</font></td>
+<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>)</font></td>
+<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.EventsCodes-class.html#maskname">maskname()</a><br />
-<span class="index-where">(in&nbsp;<a href="pyinotify.EventsCodes-class.html">EventsCodes</a>)</font></td>
+<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>)</font></td>
+<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#my_init">my_init()</a><br />
-<span class="index-where">(in&nbsp;<a href="pyinotify.Stats-class.html">Stats</a>)</font></td>
+<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-module.html#max_queued_events">max_queued_events</a><br />
-<span class="index-where">(in&nbsp;<a href="pyinotify-module.html">pyinotify</a>)</font></td>
+<span class="index-where">(in&nbsp;<a href="pyinotify-module.html">pyinotify</a>)</span></td>
<td width="33%" class="link-index"><a href="pyinotify.ChainIf-class.html#my_init">my_init()</a><br />
-<span class="index-where">(in&nbsp;<a href="pyinotify.ChainIf-class.html">ChainIf</a>)</font></td>
+<span class="index-where">(in&nbsp;<a href="pyinotify.ChainIf-class.html">ChainIf</a>)</span></td>
<td width="33%" class="link-index">&nbsp;</td>
</tr>
</table>
</td></tr>
-<td valign="top" width="1%"><a name="N"><h2 class="epydoc">N</h2></a></td>
+<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>)</font></td>
+<span class="index-where">(in&nbsp;<a href="pyinotify-module.html">pyinotify</a>)</span></td>
<td width="33%" class="link-index"><a href="pyinotify.Color-class.html#normal">normal</a><br />
-<span class="index-where">(in&nbsp;<a href="pyinotify.Color-class.html">Color</a>)</font></td>
+<span class="index-where">(in&nbsp;<a href="pyinotify.Color-class.html">Color</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>)</font></td>
+<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#nested_pevent">nested_pevent()</a><br />
-<span class="index-where">(in&nbsp;<a href="pyinotify.ProcessEvent-class.html">ProcessEvent</a>)</font></td>
+<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.NoTheme-class.html">NoTheme</a><br />
-<span class="index-where">(in&nbsp;<a href="pyinotify-module.html">pyinotify</a>)</font></td>
+<span class="index-where">(in&nbsp;<a href="pyinotify-module.html">pyinotify</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>)</font></td>
+<span class="index-where">(in&nbsp;<a href="pyinotify-module.html">pyinotify</a>)</span></td>
</tr>
</table>
</td></tr>
-<td valign="top" width="1%"><a name="O"><h2 class="epydoc">O</h2></a></td>
+<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>)</font></td>
+<span class="index-where">(in&nbsp;<a href="pyinotify.EventsCodes-class.html">EventsCodes</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>
-<td valign="top" width="1%"><a name="P"><h2 class="epydoc">P</h2></a></td>
+<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>)</font></td>
+<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>)</font></td>
+<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_Q_OVERFLOW">process_IN_Q_OVERFLOW()</a><br />
-<span class="index-where">(in&nbsp;<a href="pyinotify._SysProcessEvent-class.html">_SysProcessEvent</a>)</font></td>
+<span class="index-where">(in&nbsp;<a href="pyinotify._SysProcessEvent-class.html" onclick="show_private();">_SysProcessEvent</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>)</font></td>
+<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_CREATE">process_IN_CREATE()</a><br />
-<span class="index-where">(in&nbsp;<a href="pyinotify._SysProcessEvent-class.html">_SysProcessEvent</a>)</font></td>
+<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.ProcessEvent-class.html">ProcessEvent</a><br />
-<span class="index-where">(in&nbsp;<a href="pyinotify-module.html">pyinotify</a>)</font></td>
+<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.ChainIf-class.html#process_default">process_default()</a><br />
-<span class="index-where">(in&nbsp;<a href="pyinotify.ChainIf-class.html">ChainIf</a>)</font></td>
+<span class="index-where">(in&nbsp;<a href="pyinotify.ChainIf-class.html">ChainIf</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">_SysProcessEvent</a>)</font></td>
+<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>)</font></td>
+<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>)</font></td>
+<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_MOVE_SELF">process_IN_MOVE_SELF()</a><br />
-<span class="index-where">(in&nbsp;<a href="pyinotify._SysProcessEvent-class.html">_SysProcessEvent</a>)</font></td>
+<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.Color-class.html#purple">purple</a><br />
-<span class="index-where">(in&nbsp;<a href="pyinotify.Color-class.html">Color</a>)</font></td>
+<span class="index-where">(in&nbsp;<a href="pyinotify.Color-class.html">Color</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>)</font></td>
+<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#process_IN_MOVED_FROM">process_IN_MOVED_FROM()</a><br />
-<span class="index-where">(in&nbsp;<a href="pyinotify._SysProcessEvent-class.html">_SysProcessEvent</a>)</font></td>
+<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._SysProcessEvent-class.html#process_default">process_default()</a><br />
-<span class="index-where">(in&nbsp;<a href="pyinotify._SysProcessEvent-class.html">_SysProcessEvent</a>)</font></td>
+<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_MOVED_TO">process_IN_MOVED_TO()</a><br />
-<span class="index-where">(in&nbsp;<a href="pyinotify._SysProcessEvent-class.html">_SysProcessEvent</a>)</font></td>
-<td width="33%" class="link-index">&nbsp;</td>
+<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>
</table>
</td></tr>
-<td valign="top" width="1%"><a name="R"><h2 class="epydoc">R</h2></a></td>
+<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.Notifier-class.html#read_events">read_events()</a><br />
-<span class="index-where">(in&nbsp;<a href="pyinotify.Notifier-class.html">Notifier</a>)</font></td>
+<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.WatchManager-class.html#rm_watch">rm_watch()</a><br />
-<span class="index-where">(in&nbsp;<a href="pyinotify.WatchManager-class.html">WatchManager</a>)</font></td>
+<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.Color-class.html#red">red</a><br />
-<span class="index-where">(in&nbsp;<a href="pyinotify.Color-class.html">Color</a>)</font></td>
+<span class="index-where">(in&nbsp;<a href="pyinotify.Color-class.html">Color</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>)</font></td>
+<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>
-<td valign="top" width="1%"><a name="S"><h2 class="epydoc">S</h2></a></td>
+<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>)</font></td>
+<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.AnsiColorTheme-class.html#style_fail">style_fail</a><br />
-<span class="index-where">(in&nbsp;<a href="pyinotify.AnsiColorTheme-class.html">AnsiColorTheme</a>)</font></td>
+<span class="index-where">(in&nbsp;<a href="pyinotify.AnsiColorTheme-class.html">AnsiColorTheme</a>)</span></td>
<td width="33%" class="link-index"><a href="pyinotify.DefaultTheme-class.html#style_prompt">style_prompt</a><br />
-<span class="index-where">(in&nbsp;<a href="pyinotify.DefaultTheme-class.html">DefaultTheme</a>)</font></td>
+<span class="index-where">(in&nbsp;<a href="pyinotify.DefaultTheme-class.html">DefaultTheme</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>)</font></td>
+<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.DefaultTheme-class.html#style_fail">style_fail</a><br />
-<span class="index-where">(in&nbsp;<a href="pyinotify.DefaultTheme-class.html">DefaultTheme</a>)</font></td>
+<span class="index-where">(in&nbsp;<a href="pyinotify.DefaultTheme-class.html">DefaultTheme</a>)</span></td>
<td width="33%" class="link-index"><a href="pyinotify.AnsiColorTheme-class.html#style_punct">style_punct</a><br />
-<span class="index-where">(in&nbsp;<a href="pyinotify.AnsiColorTheme-class.html">AnsiColorTheme</a>)</font></td>
+<span class="index-where">(in&nbsp;<a href="pyinotify.AnsiColorTheme-class.html">AnsiColorTheme</a>)</span></td>
</tr>
<tr>
<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>)</font></td>
+<span class="index-where">(in&nbsp;<a href="pyinotify-module.html">pyinotify</a>)</span></td>
<td width="33%" class="link-index"><a href="pyinotify.AnsiColorTheme-class.html#style_field_name">style_field_name</a><br />
-<span class="index-where">(in&nbsp;<a href="pyinotify.AnsiColorTheme-class.html">AnsiColorTheme</a>)</font></td>
+<span class="index-where">(in&nbsp;<a href="pyinotify.AnsiColorTheme-class.html">AnsiColorTheme</a>)</span></td>
<td width="33%" class="link-index"><a href="pyinotify.DefaultTheme-class.html#style_punct">style_punct</a><br />
-<span class="index-where">(in&nbsp;<a href="pyinotify.DefaultTheme-class.html">DefaultTheme</a>)</font></td>
+<span class="index-where">(in&nbsp;<a href="pyinotify.DefaultTheme-class.html">DefaultTheme</a>)</span></td>
</tr>
<tr>
<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>)</font></td>
+<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.DefaultTheme-class.html#style_field_name">style_field_name</a><br />
-<span class="index-where">(in&nbsp;<a href="pyinotify.DefaultTheme-class.html">DefaultTheme</a>)</font></td>
+<span class="index-where">(in&nbsp;<a href="pyinotify.DefaultTheme-class.html">DefaultTheme</a>)</span></td>
<td width="33%" class="link-index"><a href="pyinotify.AnsiColorTheme-class.html#style_right">style_right</a><br />
-<span class="index-where">(in&nbsp;<a href="pyinotify.AnsiColorTheme-class.html">AnsiColorTheme</a>)</font></td>
+<span class="index-where">(in&nbsp;<a href="pyinotify.AnsiColorTheme-class.html">AnsiColorTheme</a>)</span></td>
</tr>
<tr>
<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>)</font></td>
+<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.AnsiColorTheme-class.html#style_field_value">style_field_value</a><br />
-<span class="index-where">(in&nbsp;<a href="pyinotify.AnsiColorTheme-class.html">AnsiColorTheme</a>)</font></td>
+<span class="index-where">(in&nbsp;<a href="pyinotify.AnsiColorTheme-class.html">AnsiColorTheme</a>)</span></td>
<td width="33%" class="link-index"><a href="pyinotify.DefaultTheme-class.html#style_right">style_right</a><br />
-<span class="index-where">(in&nbsp;<a href="pyinotify.DefaultTheme-class.html">DefaultTheme</a>)</font></td>
+<span class="index-where">(in&nbsp;<a href="pyinotify.DefaultTheme-class.html">DefaultTheme</a>)</span></td>
</tr>
<tr>
<td width="33%" class="link-index"><a href="pyinotify.AnsiColorTheme-class.html#style_active">style_active</a><br />
-<span class="index-where">(in&nbsp;<a href="pyinotify.AnsiColorTheme-class.html">AnsiColorTheme</a>)</font></td>
+<span class="index-where">(in&nbsp;<a href="pyinotify.AnsiColorTheme-class.html">AnsiColorTheme</a>)</span></td>
<td width="33%" class="link-index"><a href="pyinotify.DefaultTheme-class.html#style_field_value">style_field_value</a><br />
-<span class="index-where">(in&nbsp;<a href="pyinotify.DefaultTheme-class.html">DefaultTheme</a>)</font></td>
+<span class="index-where">(in&nbsp;<a href="pyinotify.DefaultTheme-class.html">DefaultTheme</a>)</span></td>
<td width="33%" class="link-index"><a href="pyinotify.AnsiColorTheme-class.html#style_success">style_success</a><br />
-<span class="index-where">(in&nbsp;<a href="pyinotify.AnsiColorTheme-class.html">AnsiColorTheme</a>)</font></td>
+<span class="index-where">(in&nbsp;<a href="pyinotify.AnsiColorTheme-class.html">AnsiColorTheme</a>)</span></td>
</tr>
<tr>
<td width="33%" class="link-index"><a href="pyinotify.DefaultTheme-class.html#style_active">style_active</a><br />
-<span class="index-where">(in&nbsp;<a href="pyinotify.DefaultTheme-class.html">DefaultTheme</a>)</font></td>
+<span class="index-where">(in&nbsp;<a href="pyinotify.DefaultTheme-class.html">DefaultTheme</a>)</span></td>
<td width="33%" class="link-index"><a href="pyinotify.AnsiColorTheme-class.html#style_id">style_id</a><br />
-<span class="index-where">(in&nbsp;<a href="pyinotify.AnsiColorTheme-class.html">AnsiColorTheme</a>)</font></td>
+<span class="index-where">(in&nbsp;<a href="pyinotify.AnsiColorTheme-class.html">AnsiColorTheme</a>)</span></td>
<td width="33%" class="link-index"><a href="pyinotify.DefaultTheme-class.html#style_success">style_success</a><br />
-<span class="index-where">(in&nbsp;<a href="pyinotify.DefaultTheme-class.html">DefaultTheme</a>)</font></td>
+<span class="index-where">(in&nbsp;<a href="pyinotify.DefaultTheme-class.html">DefaultTheme</a>)</span></td>
</tr>
<tr>
<td width="33%" class="link-index"><a href="pyinotify.AnsiColorTheme-class.html#style_class_name">style_class_name</a><br />
-<span class="index-where">(in&nbsp;<a href="pyinotify.AnsiColorTheme-class.html">AnsiColorTheme</a>)</font></td>
+<span class="index-where">(in&nbsp;<a href="pyinotify.AnsiColorTheme-class.html">AnsiColorTheme</a>)</span></td>
<td width="33%" class="link-index"><a href="pyinotify.DefaultTheme-class.html#style_id">style_id</a><br />
-<span class="index-where">(in&nbsp;<a href="pyinotify.DefaultTheme-class.html">DefaultTheme</a>)</font></td>
+<span class="index-where">(in&nbsp;<a href="pyinotify.DefaultTheme-class.html">DefaultTheme</a>)</span></td>
<td width="33%" class="link-index"><a href="pyinotify.AnsiColorTheme-class.html#style_watchlist_name">style_watchlist_name</a><br />
-<span class="index-where">(in&nbsp;<a href="pyinotify.AnsiColorTheme-class.html">AnsiColorTheme</a>)</font></td>
+<span class="index-where">(in&nbsp;<a href="pyinotify.AnsiColorTheme-class.html">AnsiColorTheme</a>)</span></td>
</tr>
<tr>
<td width="33%" class="link-index"><a href="pyinotify.DefaultTheme-class.html#style_class_name">style_class_name</a><br />
-<span class="index-where">(in&nbsp;<a href="pyinotify.DefaultTheme-class.html">DefaultTheme</a>)</font></td>
+<span class="index-where">(in&nbsp;<a href="pyinotify.DefaultTheme-class.html">DefaultTheme</a>)</span></td>
<td width="33%" class="link-index"><a href="pyinotify.AnsiColorTheme-class.html#style_left">style_left</a><br />
-<span class="index-where">(in&nbsp;<a href="pyinotify.AnsiColorTheme-class.html">AnsiColorTheme</a>)</font></td>
+<span class="index-where">(in&nbsp;<a href="pyinotify.AnsiColorTheme-class.html">AnsiColorTheme</a>)</span></td>
<td width="33%" class="link-index"><a href="pyinotify.AnsiColorTheme-class.html#style_watchlist_type">style_watchlist_type</a><br />
-<span class="index-where">(in&nbsp;<a href="pyinotify.AnsiColorTheme-class.html">AnsiColorTheme</a>)</font></td>
+<span class="index-where">(in&nbsp;<a href="pyinotify.AnsiColorTheme-class.html">AnsiColorTheme</a>)</span></td>
</tr>
<tr>
<td width="33%" class="link-index"><a href="pyinotify.AnsiColorTheme-class.html#style_closed">style_closed</a><br />
-<span class="index-where">(in&nbsp;<a href="pyinotify.AnsiColorTheme-class.html">AnsiColorTheme</a>)</font></td>
+<span class="index-where">(in&nbsp;<a href="pyinotify.AnsiColorTheme-class.html">AnsiColorTheme</a>)</span></td>
<td width="33%" class="link-index"><a href="pyinotify.DefaultTheme-class.html#style_left">style_left</a><br />
-<span class="index-where">(in&nbsp;<a href="pyinotify.DefaultTheme-class.html">DefaultTheme</a>)</font></td>
+<span class="index-where">(in&nbsp;<a href="pyinotify.DefaultTheme-class.html">DefaultTheme</a>)</span></td>
<td width="33%" class="link-index"><a href="pyinotify.DefaultTheme-class.html#style_watchlist_type">style_watchlist_type</a><br />
-<span class="index-where">(in&nbsp;<a href="pyinotify.DefaultTheme-class.html">DefaultTheme</a>)</font></td>
+<span class="index-where">(in&nbsp;<a href="pyinotify.DefaultTheme-class.html">DefaultTheme</a>)</span></td>
</tr>
<tr>
<td width="33%" class="link-index"><a href="pyinotify.DefaultTheme-class.html#style_closed">style_closed</a><br />
-<span class="index-where">(in&nbsp;<a href="pyinotify.DefaultTheme-class.html">DefaultTheme</a>)</font></td>
+<span class="index-where">(in&nbsp;<a href="pyinotify.DefaultTheme-class.html">DefaultTheme</a>)</span></td>
<td width="33%" class="link-index"><a href="pyinotify.AnsiColorTheme-class.html#style_normal">style_normal</a><br />
-<span class="index-where">(in&nbsp;<a href="pyinotify.AnsiColorTheme-class.html">AnsiColorTheme</a>)</font></td>
+<span class="index-where">(in&nbsp;<a href="pyinotify.AnsiColorTheme-class.html">AnsiColorTheme</a>)</span></td>
<td width="33%" class="link-index"><a href="pyinotify.AnsiColorTheme-class.html#style_watchlist_value">style_watchlist_value</a><br />
-<span class="index-where">(in&nbsp;<a href="pyinotify.AnsiColorTheme-class.html">AnsiColorTheme</a>)</font></td>
+<span class="index-where">(in&nbsp;<a href="pyinotify.AnsiColorTheme-class.html">AnsiColorTheme</a>)</span></td>
</tr>
<tr>
<td width="33%" class="link-index"><a href="pyinotify.AnsiColorTheme-class.html#style_emph_field_name">style_emph_field_name</a><br />
-<span class="index-where">(in&nbsp;<a href="pyinotify.AnsiColorTheme-class.html">AnsiColorTheme</a>)</font></td>
+<span class="index-where">(in&nbsp;<a href="pyinotify.AnsiColorTheme-class.html">AnsiColorTheme</a>)</span></td>
<td width="33%" class="link-index"><a href="pyinotify.DefaultTheme-class.html#style_normal">style_normal</a><br />
-<span class="index-where">(in&nbsp;<a href="pyinotify.DefaultTheme-class.html">DefaultTheme</a>)</font></td>
+<span class="index-where">(in&nbsp;<a href="pyinotify.DefaultTheme-class.html">DefaultTheme</a>)</span></td>
<td width="33%" class="link-index"><a href="pyinotify.DefaultTheme-class.html#style_watchlist_value">style_watchlist_value</a><br />
-<span class="index-where">(in&nbsp;<a href="pyinotify.DefaultTheme-class.html">DefaultTheme</a>)</font></td>
+<span class="index-where">(in&nbsp;<a href="pyinotify.DefaultTheme-class.html">DefaultTheme</a>)</span></td>
</tr>
<tr>
<td width="33%" class="link-index"><a href="pyinotify.DefaultTheme-class.html#style_emph_field_name">style_emph_field_name</a><br />
-<span class="index-where">(in&nbsp;<a href="pyinotify.DefaultTheme-class.html">DefaultTheme</a>)</font></td>
+<span class="index-where">(in&nbsp;<a href="pyinotify.DefaultTheme-class.html">DefaultTheme</a>)</span></td>
<td width="33%" class="link-index"><a href="pyinotify.AnsiColorTheme-class.html#style_not_printable">style_not_printable</a><br />
-<span class="index-where">(in&nbsp;<a href="pyinotify.AnsiColorTheme-class.html">AnsiColorTheme</a>)</font></td>
+<span class="index-where">(in&nbsp;<a href="pyinotify.AnsiColorTheme-class.html">AnsiColorTheme</a>)</span></td>
<td width="33%" class="link-index"><a href="pyinotify.AnsiColorTheme-class.html#style_yellow">style_yellow</a><br />
-<span class="index-where">(in&nbsp;<a href="pyinotify.AnsiColorTheme-class.html">AnsiColorTheme</a>)</font></td>
+<span class="index-where">(in&nbsp;<a href="pyinotify.AnsiColorTheme-class.html">AnsiColorTheme</a>)</span></td>
</tr>
<tr>
<td width="33%" class="link-index"><a href="pyinotify.AnsiColorTheme-class.html#style_emph_field_value">style_emph_field_value</a><br />
-<span class="index-where">(in&nbsp;<a href="pyinotify.AnsiColorTheme-class.html">AnsiColorTheme</a>)</font></td>
+<span class="index-where">(in&nbsp;<a href="pyinotify.AnsiColorTheme-class.html">AnsiColorTheme</a>)</span></td>
<td width="33%" class="link-index"><a href="pyinotify.DefaultTheme-class.html#style_not_printable">style_not_printable</a><br />
-<span class="index-where">(in&nbsp;<a href="pyinotify.DefaultTheme-class.html">DefaultTheme</a>)</font></td>
+<span class="index-where">(in&nbsp;<a href="pyinotify.DefaultTheme-class.html">DefaultTheme</a>)</span></td>
<td width="33%" class="link-index"><a href="pyinotify.DefaultTheme-class.html#style_yellow">style_yellow</a><br />
-<span class="index-where">(in&nbsp;<a href="pyinotify.DefaultTheme-class.html">DefaultTheme</a>)</font></td>
+<span class="index-where">(in&nbsp;<a href="pyinotify.DefaultTheme-class.html">DefaultTheme</a>)</span></td>
</tr>
<tr>
<td width="33%" class="link-index"><a href="pyinotify.DefaultTheme-class.html#style_emph_field_value">style_emph_field_value</a><br />
-<span class="index-where">(in&nbsp;<a href="pyinotify.DefaultTheme-class.html">DefaultTheme</a>)</font></td>
+<span class="index-where">(in&nbsp;<a href="pyinotify.DefaultTheme-class.html">DefaultTheme</a>)</span></td>
<td width="33%" class="link-index"><a href="pyinotify.AnsiColorTheme-class.html#style_odd">style_odd</a><br />
-<span class="index-where">(in&nbsp;<a href="pyinotify.AnsiColorTheme-class.html">AnsiColorTheme</a>)</font></td>
+<span class="index-where">(in&nbsp;<a href="pyinotify.AnsiColorTheme-class.html">AnsiColorTheme</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>)</font></td>
+<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.AnsiColorTheme-class.html#style_even">style_even</a><br />
-<span class="index-where">(in&nbsp;<a href="pyinotify.AnsiColorTheme-class.html">AnsiColorTheme</a>)</font></td>
+<span class="index-where">(in&nbsp;<a href="pyinotify.AnsiColorTheme-class.html">AnsiColorTheme</a>)</span></td>
<td width="33%" class="link-index"><a href="pyinotify.DefaultTheme-class.html#style_odd">style_odd</a><br />
-<span class="index-where">(in&nbsp;<a href="pyinotify.DefaultTheme-class.html">DefaultTheme</a>)</font></td>
+<span class="index-where">(in&nbsp;<a href="pyinotify.DefaultTheme-class.html">DefaultTheme</a>)</span></td>
<td width="33%" class="link-index">&nbsp;</td>
</tr>
<tr>
<td width="33%" class="link-index"><a href="pyinotify.DefaultTheme-class.html#style_even">style_even</a><br />
-<span class="index-where">(in&nbsp;<a href="pyinotify.DefaultTheme-class.html">DefaultTheme</a>)</font></td>
+<span class="index-where">(in&nbsp;<a href="pyinotify.DefaultTheme-class.html">DefaultTheme</a>)</span></td>
<td width="33%" class="link-index"><a href="pyinotify.AnsiColorTheme-class.html#style_prompt">style_prompt</a><br />
-<span class="index-where">(in&nbsp;<a href="pyinotify.AnsiColorTheme-class.html">AnsiColorTheme</a>)</font></td>
+<span class="index-where">(in&nbsp;<a href="pyinotify.AnsiColorTheme-class.html">AnsiColorTheme</a>)</span></td>
<td width="33%" class="link-index">&nbsp;</td>
</tr>
</table>
</td></tr>
-<td valign="top" width="1%"><a name="T"><h2 class="epydoc">T</h2></a></td>
+<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>)</font></td>
+<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>
-<td valign="top" width="1%"><a name="U"><h2 class="epydoc">U</h2></a></td>
+<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.Color-class.html#uline">uline</a><br />
-<span class="index-where">(in&nbsp;<a href="pyinotify.Color-class.html">Color</a>)</font></td>
+<span class="index-where">(in&nbsp;<a href="pyinotify.Color-class.html">Color</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>)</font></td>
+<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 class="link-index">&nbsp;</td><td class="link-index">&nbsp;</td><td class="link-index">&nbsp;</td></tr>
</table>
</td></tr>
-<td valign="top" width="1%"><a name="V"><h2 class="epydoc">V</h2></a></td>
+<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>)</font></td>
+<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>)</font></td>
+<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>)</font></td>
+<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>
-<td valign="top" width="1%"><a name="W"><h2 class="epydoc">W</h2></a></td>
+<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>)</font></td>
+<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">WatchManager</a><br />
-<span class="index-where">(in&nbsp;<a href="pyinotify-module.html">pyinotify</a>)</font></td>
+<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.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>)</font></td>
+<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>)</font></td>
+<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>
-<td valign="top" width="1%"><a name="Y"><h2 class="epydoc">Y</h2></a></td>
+<tr valign="top"><td valign="top" width="1%"><h2 class="epydoc"><a name="Y">Y</a></h2></td>
<td valign="top">
<table class="link-index" width="100%" border="1">
<tr>
<td width="33%" class="link-index"><a href="pyinotify.Color-class.html#yellow">yellow</a><br />
-<span class="index-where">(in&nbsp;<a href="pyinotify.Color-class.html">Color</a>)</font></td>
+<span class="index-where">(in&nbsp;<a href="pyinotify.Color-class.html">Color</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>
-<td valign="top" width="1%"><a name="_"><h2 class="epydoc">_</h2></a></td>
+<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>)</font></td>
+<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>)</font></td>
+<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>)</font></td>
+<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>)</font></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>)</font></td>
+<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.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._Event-class.html#__repr__">__repr__()</a><br />
-<span class="index-where">(in&nbsp;<a href="pyinotify._Event-class.html">_Event</a>)</font></td>
+<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>)</font></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>)</font></td>
+<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.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._ProcessEvent-class.html#__repr__">__repr__()</a><br />
-<span class="index-where">(in&nbsp;<a href="pyinotify._ProcessEvent-class.html">_ProcessEvent</a>)</font></td>
+<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">_ProcessEvent</a>)</font></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>)</font></td>
+<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.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.Stats-class.html#__str__">__str__()</a><br />
-<span class="index-where">(in&nbsp;<a href="pyinotify.Stats-class.html">Stats</a>)</font></td>
+<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>)</font></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>)</font></td>
+<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.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>)</font></td>
+<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#__format_param">__format_param()</a><br />
-<span class="index-where">(in&nbsp;<a href="pyinotify.WatchManager-class.html">WatchManager</a>)</font></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>)</font></td>
+<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>)</font></td>
+<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#__get_sub_rec">__get_sub_rec()</a><br />
-<span class="index-where">(in&nbsp;<a href="pyinotify.WatchManager-class.html">WatchManager</a>)</font></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>)</font></td>
+<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">_load_patterns()</a><br />
-<span class="index-where">(in&nbsp;<a href="pyinotify.ExcludeFilter-class.html">ExcludeFilter</a>)</font></td>
+<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.AnsiColorTheme-class.html#__getattr__">__getattr__()</a><br />
-<span class="index-where">(in&nbsp;<a href="pyinotify.AnsiColorTheme-class.html">AnsiColorTheme</a>)</font></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">_Event</a>)</font></td>
+<span class="index-where">(in&nbsp;<a href="pyinotify.AnsiColorTheme-class.html">AnsiColorTheme</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>)</font></td>
+<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.ColorTheme-class.html#__getattr__">__getattr__()</a><br />
-<span class="index-where">(in&nbsp;<a href="pyinotify.ColorTheme-class.html">ColorTheme</a>)</font></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">_RawEvent</a>)</font></td>
+<span class="index-where">(in&nbsp;<a href="pyinotify.ColorTheme-class.html">ColorTheme</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>)</font></td>
+<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>)</font></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">_SysProcessEvent</a>)</font></td>
+<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._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>)</font></td>
+<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>)</font></td>
-<td width="33%" class="link-index"><a href="pyinotify.SysCtlINotify-class.html#__new__">__new__()</a><br />
-<span class="index-where">(in&nbsp;<a href="pyinotify.SysCtlINotify-class.html">SysCtlINotify</a>)</font></td>
+<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._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>)</font></td>
+<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.ExcludeFilter-class.html#__init__">__init__()</a><br />
-<span class="index-where">(in&nbsp;<a href="pyinotify.ExcludeFilter-class.html">ExcludeFilter</a>)</font></td>
-<td width="33%" class="link-index"><a href="pyinotify.ColorTheme-class.html#__repr__">__repr__()</a><br />
-<span class="index-where">(in&nbsp;<a href="pyinotify.ColorTheme-class.html">ColorTheme</a>)</font></td>
+<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.SysCtlINotify-class.html#__new__">__new__()</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_copy">_stats_copy()</a><br />
-<span class="index-where">(in&nbsp;<a href="pyinotify.Stats-class.html">Stats</a>)</font></td>
+<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#__init__">__init__()</a><br />
-<span class="index-where">(in&nbsp;<a href="pyinotify.Notifier-class.html">Notifier</a>)</font></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>)</font></td>
+<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.ColorTheme-class.html#__repr__">__repr__()</a><br />
+<span class="index-where">(in&nbsp;<a href="pyinotify.ColorTheme-class.html">ColorTheme</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>)</font></td>
+<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.NotifierError-class.html#__init__">__init__()</a><br />
-<span class="index-where">(in&nbsp;<a href="pyinotify.NotifierError-class.html">NotifierError</a>)</font></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>)</font></td>
+<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">&nbsp;</td>
</tr>
</table>
</td></tr>
</table>
-</br /><br /><!-- ==================== NAVIGATION BAR ==================== -->
+<br /><br /><!-- ==================== NAVIGATION BAR ==================== -->
<table class="navbar" border="0" width="100%" cellpadding="0"
bgcolor="#a0c0ff" cellspacing="0">
<tr valign="middle">
@@ -808,10 +824,11 @@
<table border="0" cellpadding="0" cellspacing="0" width="100%%">
<tr>
<td align="left" class="footer">
- Generated by Epydoc 3.0beta1 on Sun Aug 10 13:37:36 2008
+ Generated by Epydoc 3.0.1 on Tue Jan 6 22:57:23 2009
</td>
<td align="right" class="footer">
- <a href="http://epydoc.sourceforge.net">http://epydoc.sourceforge.net</a>
+ <a target="mainFrame" href="http://epydoc.sourceforge.net"
+ >http://epydoc.sourceforge.net</a>
</td>
</tr>
</table>
@@ -822,9 +839,8 @@
// 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()
+ checkCookie();
// -->
</script>
-
</body>
</html>
diff --git a/docstrings/module-tree.html b/docstrings/module-tree.html
index 68bd8f6..bb35809 100644
--- a/docstrings/module-tree.html
+++ b/docstrings/module-tree.html
@@ -83,10 +83,11 @@
<table border="0" cellpadding="0" cellspacing="0" width="100%%">
<tr>
<td align="left" class="footer">
- Generated by Epydoc 3.0beta1 on Sun Aug 10 13:37:36 2008
+ Generated by Epydoc 3.0.1 on Tue Jan 6 22:57:23 2009
</td>
<td align="right" class="footer">
- <a href="http://epydoc.sourceforge.net">http://epydoc.sourceforge.net</a>
+ <a target="mainFrame" href="http://epydoc.sourceforge.net"
+ >http://epydoc.sourceforge.net</a>
</td>
</tr>
</table>
@@ -97,9 +98,8 @@
// 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()
+ checkCookie();
// -->
</script>
-
</body>
</html>
diff --git a/docstrings/pyinotify-module.html b/docstrings/pyinotify-module.html
index ee7688a..d98aa23 100644
--- a/docstrings/pyinotify-module.html
+++ b/docstrings/pyinotify-module.html
@@ -54,16 +54,13 @@
</tr>
</table>
<!-- ==================== MODULE DESCRIPTION ==================== -->
-<h1 class="epydoc">Module pyinotify</h1><span class="codelink"><a href="pyinotify-pysrc.html">source&nbsp;code</a></span><br /><br />
-pyinotify<br /><br />
+<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"> <dl><dt>Authors:</dt>
- <dd>
- Sebastien Martini,
- seb@dbzteam.org (Sebastien Martini)
- </dd>
- </dl>
+<div class="fields"> <p><strong>Author:</strong>
+ Sebastien Martini
+ </p>
<p><strong>License:</strong>
GPL 2
</p>
@@ -71,7 +68,7 @@ pyinotify<br /><br />
seb@dbzteam.org
</p>
<p><strong>Version:</strong>
- 0.8.0t
+ 0.8.2
</p>
</div><!-- ==================== CLASSES ==================== -->
<a name="section-Classes"></a>
@@ -94,6 +91,30 @@ pyinotify<br /><br />
<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 for unsupported Python version.
+ </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 for unsupported libc version.
+ </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>
@@ -110,7 +131,7 @@ pyinotify<br /><br />
<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 />
+ <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>
@@ -118,7 +139,7 @@ pyinotify<br /><br />
<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">_RawEvent</a><br />
+ <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>
@@ -128,8 +149,8 @@ pyinotify<br /><br />
<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.
+ This class contains all the useful informations about the observed
+ event.
</td>
</tr>
<tr>
@@ -144,7 +165,7 @@ pyinotify<br /><br />
<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 />
+ <a href="pyinotify._ProcessEvent-class.html" class="summary-name" onclick="show_private();">_ProcessEvent</a><br />
Abstract processing event class.
</td>
</tr>
@@ -152,7 +173,7 @@ pyinotify<br /><br />
<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">_SysProcessEvent</a><br />
+ <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>
@@ -161,7 +182,7 @@ pyinotify<br /><br />
<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
+ Process events objects, can be specialized via subclassing, thus
its behavior can be overriden:
</td>
</tr>
@@ -170,7 +191,7 @@ pyinotify<br /><br />
<span class="summary-type">&nbsp;</span>
</td><td class="summary">
<a href="pyinotify.ChainIf-class.html" class="summary-name">ChainIf</a><br />
- Makes conditional chaining depending on the result of the nested
+ Makes conditional chaining depending on the result of the nested
processing instance.
</td>
</tr>
@@ -202,7 +223,7 @@ pyinotify<br /><br />
<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 instantiating a
+ This notifier inherits from threading.Thread for instantiating a
separate thread, and also inherits from Notifier, because it is a
threaded notifier.
</td>
@@ -403,7 +424,21 @@ pyinotify<br /><br />
<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 'None', handle 4001b668 at 84703ac&gt;">&lt;CDLL 'None', handle 4001b668 at 84703ac&gt;</code>
+ <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="LIBC"></a><span class="summary-name">LIBC</span> = <code title="&lt;CDLL 'libc.so.6', handle 2aed351844a8 at ea0850&gt;">&lt;CDLL 'libc.so.6', handle 2aed351844a8 at ea0850&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="LIBC_VERSION"></a><span class="summary-name">LIBC_VERSION</span> = <code title="'2.8.90'"><code class="variable-quote">'</code><code class="variable-string">2.8.90</code><code class="variable-quote">'</code></code>
</td>
</tr>
<tr>
@@ -701,10 +736,11 @@ pyinotify<br /><br />
<table border="0" cellpadding="0" cellspacing="0" width="100%%">
<tr>
<td align="left" class="footer">
- Generated by Epydoc 3.0beta1 on Sun Aug 10 13:37:37 2008
+ Generated by Epydoc 3.0.1 on Tue Jan 6 22:57:23 2009
</td>
<td align="right" class="footer">
- <a href="http://epydoc.sourceforge.net">http://epydoc.sourceforge.net</a>
+ <a target="mainFrame" href="http://epydoc.sourceforge.net"
+ >http://epydoc.sourceforge.net</a>
</td>
</tr>
</table>
@@ -715,9 +751,8 @@ pyinotify<br /><br />
// 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()
+ checkCookie();
// -->
</script>
-
</body>
</html>
diff --git a/docstrings/pyinotify-pysrc.html b/docstrings/pyinotify-pysrc.html
index d19f687..0ca5763 100644
--- a/docstrings/pyinotify-pysrc.html
+++ b/docstrings/pyinotify-pysrc.html
@@ -83,404 +83,471 @@
<a name="L26"></a><tt class="py-lineno"> 26</tt> <tt class="py-line"><tt class="py-docstring">@contact: seb@dbzteam.org</tt> </tt>
<a name="L27"></a><tt class="py-lineno"> 27</tt> <tt class="py-line"><tt class="py-docstring">"""</tt> </tt>
<a name="L28"></a><tt class="py-lineno"> 28</tt> <tt class="py-line"> </tt>
-<a name="L29"></a><tt class="py-lineno"> 29</tt> <tt class="py-line"><tt class="py-comment"># Check version</tt> </tt>
-<a name="L30"></a><tt class="py-lineno"> 30</tt> <tt class="py-line"><tt class="py-comment"></tt><tt class="py-keyword">import</tt> <tt class="py-name">sys</tt> </tt>
-<a name="L31"></a><tt class="py-lineno"> 31</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="L32"></a><tt class="py-lineno"> 32</tt> <tt class="py-line"> <tt class="py-name">sys</tt><tt class="py-op">.</tt><tt class="py-name">stderr</tt><tt class="py-op">.</tt><tt class="py-name">write</tt><tt class="py-op">(</tt><tt class="py-string">'This module requires at least Python 2.4\n'</tt><tt class="py-op">)</tt> </tt>
-<a name="L33"></a><tt class="py-lineno"> 33</tt> <tt class="py-line"> <tt class="py-name">sys</tt><tt class="py-op">.</tt><tt class="py-name">exit</tt><tt class="py-op">(</tt><tt class="py-number">1</tt><tt class="py-op">)</tt> </tt>
-<a name="L34"></a><tt class="py-lineno"> 34</tt> <tt class="py-line"> </tt>
-<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> <tt class="py-line"><tt class="py-comment"># Import directives</tt> </tt>
-<a name="L37"></a><tt class="py-lineno"> 37</tt> <tt class="py-line"><tt class="py-comment"></tt><tt class="py-keyword">import</tt> <tt class="py-name">threading</tt> </tt>
-<a name="L38"></a><tt class="py-lineno"> 38</tt> <tt class="py-line"><tt class="py-keyword">import</tt> <tt class="py-name">os</tt> </tt>
-<a name="L39"></a><tt class="py-lineno"> 39</tt> <tt class="py-line"><tt class="py-keyword">import</tt> <tt class="py-name">select</tt> </tt>
-<a name="L40"></a><tt class="py-lineno"> 40</tt> <tt class="py-line"><tt class="py-keyword">import</tt> <tt class="py-name">struct</tt> </tt>
-<a name="L41"></a><tt class="py-lineno"> 41</tt> <tt class="py-line"><tt class="py-keyword">import</tt> <tt class="py-name">fcntl</tt> </tt>
-<a name="L42"></a><tt class="py-lineno"> 42</tt> <tt class="py-line"><tt class="py-keyword">import</tt> <tt class="py-name">errno</tt> </tt>
-<a name="L43"></a><tt class="py-lineno"> 43</tt> <tt class="py-line"><tt class="py-keyword">import</tt> <tt class="py-name">termios</tt> </tt>
-<a name="L44"></a><tt class="py-lineno"> 44</tt> <tt class="py-line"><tt class="py-keyword">import</tt> <tt class="py-name">array</tt> </tt>
-<a name="L45"></a><tt class="py-lineno"> 45</tt> <tt class="py-line"><tt class="py-keyword">import</tt> <tt class="py-name">logging</tt> </tt>
-<a name="L46"></a><tt class="py-lineno"> 46</tt> <tt class="py-line"><tt class="py-keyword">import</tt> <tt class="py-name">atexit</tt> </tt>
-<a name="L47"></a><tt class="py-lineno"> 47</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="L48"></a><tt class="py-lineno"> 48</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="L49"></a><tt class="py-lineno"> 49</tt> <tt class="py-line"><tt class="py-keyword">import</tt> <tt class="py-name">time</tt> </tt>
-<a name="L50"></a><tt class="py-lineno"> 50</tt> <tt class="py-line"><tt class="py-keyword">import</tt> <tt class="py-name">fnmatch</tt> </tt>
-<a name="L51"></a><tt class="py-lineno"> 51</tt> <tt class="py-line"><tt class="py-keyword">import</tt> <tt class="py-name">re</tt> </tt>
-<a name="L52"></a><tt class="py-lineno"> 52</tt> <tt class="py-line"><tt class="py-keyword">import</tt> <tt class="py-name">ctypes</tt> </tt>
-<a name="L53"></a><tt class="py-lineno"> 53</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="L54"></a><tt class="py-lineno"> 54</tt> <tt class="py-line"> </tt>
-<a name="L55"></a><tt class="py-lineno"> 55</tt> <tt class="py-line"> </tt>
-<a name="L56"></a><tt class="py-lineno"> 56</tt> <tt class="py-line"><tt class="py-name">__author__</tt> <tt class="py-op">=</tt> <tt class="py-string">"seb@dbzteam.org (Sebastien Martini)"</tt> </tt>
-<a name="L57"></a><tt class="py-lineno"> 57</tt> <tt class="py-line"> </tt>
-<a name="L58"></a><tt class="py-lineno"> 58</tt> <tt class="py-line"><tt class="py-name">__version__</tt> <tt class="py-op">=</tt> <tt class="py-string">"0.8.0t"</tt> </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-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="L61"></a><tt class="py-lineno"> 61</tt> <tt class="py-line"> </tt>
-<a name="L62"></a><tt class="py-lineno"> 62</tt> <tt class="py-line"> </tt>
-<a name="L63"></a><tt class="py-lineno"> 63</tt> <tt class="py-line"><tt class="py-comment"># load libc</tt> </tt>
-<a name="L64"></a><tt class="py-lineno"> 64</tt> <tt class="py-line"><tt class="py-comment"></tt><tt class="py-comment"># ctypes.CDLL("libc.so.6")</tt> </tt>
-<a name="L65"></a><tt class="py-lineno"> 65</tt> <tt class="py-line"><tt class="py-comment"></tt><tt id="link-0" class="py-name" targets="Variable pyinotify.LIBC=pyinotify-module.html#LIBC"><a title="pyinotify.LIBC" class="py-name" href="#" onclick="return doclink('link-0', 'LIBC', 'link-0');">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">LoadLibrary</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">'libc'</tt><tt class="py-op">)</tt><tt class="py-op">)</tt> </tt>
+<a name="PyinotifyError"></a><div id="PyinotifyError-def"><a name="L29"></a><tt class="py-lineno"> 29</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="L30"></a><tt class="py-lineno"> 30</tt> <tt class="py-line"> <tt class="py-docstring">"""Indicates exceptions raised by a Pyinotify class."""</tt> </tt>
+</div><a name="L31"></a><tt class="py-lineno"> 31</tt> <tt class="py-line"> </tt>
+<a name="L32"></a><tt class="py-lineno"> 32</tt> <tt class="py-line"> </tt>
+<a name="UnsupportedPythonVersionError"></a><div id="UnsupportedPythonVersionError-def"><a name="L33"></a><tt class="py-lineno"> 33</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="L34"></a><tt class="py-lineno"> 34</tt> <tt class="py-line"> <tt class="py-docstring">"""</tt> </tt>
+<a name="L35"></a><tt class="py-lineno"> 35</tt> <tt class="py-line"><tt class="py-docstring"> Raised for unsupported Python version.</tt> </tt>
+<a name="L36"></a><tt class="py-lineno"> 36</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt>
+<a name="UnsupportedPythonVersionError.__init__"></a><div id="UnsupportedPythonVersionError.__init__-def"><a name="L37"></a><tt class="py-lineno"> 37</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="L38"></a><tt class="py-lineno"> 38</tt> <tt class="py-line"> <tt class="py-docstring">"""</tt> </tt>
+<a name="L39"></a><tt class="py-lineno"> 39</tt> <tt class="py-line"><tt class="py-docstring"> @param version: Current Python version</tt> </tt>
+<a name="L40"></a><tt class="py-lineno"> 40</tt> <tt class="py-line"><tt class="py-docstring"> @type version: string</tt> </tt>
+<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 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.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.SysCtlINotify.__init__()=pyinotify.SysCtlINotify-class.html#__init__,Method pyinotify.ThreadedNotifier.__init__()=pyinotify.ThreadedNotifier-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.Event.__init__
+pyinotify.ExcludeFilter.__init__
+pyinotify.Notifier.__init__
+pyinotify.NotifierError.__init__
+pyinotify.ProcessEvent.__init__
+pyinotify.ProcessEventError.__init__
+pyinotify.SysCtlINotify.__init__
+pyinotify.ThreadedNotifier.__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="L43"></a><tt class="py-lineno"> 43</tt> <tt class="py-line"> <tt class="py-op">(</tt><tt class="py-string">'Python %s is unsupported, requires '</tt> </tt>
+<a name="L44"></a><tt class="py-lineno"> 44</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="L45"></a><tt class="py-lineno"> 45</tt> <tt class="py-line"> </tt>
+<a name="L46"></a><tt class="py-lineno"> 46</tt> <tt class="py-line"> </tt>
+<a name="UnsupportedLibcVersionError"></a><div id="UnsupportedLibcVersionError-def"><a name="L47"></a><tt class="py-lineno"> 47</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="L48"></a><tt class="py-lineno"> 48</tt> <tt class="py-line"> <tt class="py-docstring">"""</tt> </tt>
+<a name="L49"></a><tt class="py-lineno"> 49</tt> <tt class="py-line"><tt class="py-docstring"> Raised for unsupported libc version.</tt> </tt>
+<a name="L50"></a><tt class="py-lineno"> 50</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt>
+<a name="UnsupportedLibcVersionError.__init__"></a><div id="UnsupportedLibcVersionError.__init__-def"><a name="L51"></a><tt class="py-lineno"> 51</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-param">version</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="L52"></a><tt class="py-lineno"> 52</tt> <tt class="py-line"> <tt class="py-docstring">"""</tt> </tt>
+<a name="L53"></a><tt class="py-lineno"> 53</tt> <tt class="py-line"><tt class="py-docstring"> @param version: Current Libc version</tt> </tt>
+<a name="L54"></a><tt class="py-lineno"> 54</tt> <tt class="py-line"><tt class="py-docstring"> @type version: string</tt> </tt>
+<a name="L55"></a><tt class="py-lineno"> 55</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt>
+<a name="L56"></a><tt class="py-lineno"> 56</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.Event.__init__
+pyinotify.ExcludeFilter.__init__
+pyinotify.Notifier.__init__
+pyinotify.NotifierError.__init__
+pyinotify.ProcessEvent.__init__
+pyinotify.ProcessEventError.__init__
+pyinotify.SysCtlINotify.__init__
+pyinotify.ThreadedNotifier.__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>
+<a name="L57"></a><tt class="py-lineno"> 57</tt> <tt class="py-line"> <tt class="py-op">(</tt><tt class="py-string">'Libc %s is unsupported, requires '</tt> </tt>
+<a name="L58"></a><tt class="py-lineno"> 58</tt> <tt class="py-line"> <tt class="py-string">'at least Libc 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="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>
+<a name="L61"></a><tt class="py-lineno"> 61</tt> <tt class="py-line"><tt class="py-comment"># Check version</tt> </tt>
+<a name="L62"></a><tt class="py-lineno"> 62</tt> <tt class="py-line"><tt class="py-comment"></tt><tt class="py-keyword">import</tt> <tt class="py-name">sys</tt> </tt>
+<a name="L63"></a><tt class="py-lineno"> 63</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="L64"></a><tt class="py-lineno"> 64</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="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>
-<a name="L67"></a><tt class="py-lineno"> 67</tt> <tt class="py-line"> </tt>
-<a name="L68"></a><tt class="py-lineno"> 68</tt> <tt class="py-line"><tt class="py-comment"># logging</tt> </tt>
-<a name="L69"></a><tt class="py-lineno"> 69</tt> <tt class="py-line"><tt class="py-comment"></tt><tt id="link-1" class="py-name" targets="Variable pyinotify.log=pyinotify-module.html#log"><a title="pyinotify.log" class="py-name" href="#" onclick="return doclink('link-1', 'log', 'link-1');">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="L70"></a><tt class="py-lineno"> 70</tt> <tt class="py-line"><tt id="link-2" class="py-name" targets="Variable pyinotify.console_handler=pyinotify-module.html#console_handler"><a title="pyinotify.console_handler" class="py-name" href="#" onclick="return doclink('link-2', 'console_handler', 'link-2');">console_handler</a></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="L71"></a><tt class="py-lineno"> 71</tt> <tt class="py-line"><tt id="link-3" class="py-name"><a title="pyinotify.console_handler" class="py-name" href="#" onclick="return doclink('link-3', 'console_handler', 'link-2');">console_handler</a></tt><tt class="py-op">.</tt><tt class="py-name">setFormatter</tt><tt class="py-op">(</tt><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">"%(levelname)s: %(message)s"</tt><tt class="py-op">)</tt><tt class="py-op">)</tt> </tt>
-<a name="L72"></a><tt class="py-lineno"> 72</tt> <tt class="py-line"><tt id="link-4" class="py-name"><a title="pyinotify.log" class="py-name" href="#" onclick="return doclink('link-4', 'log', 'link-1');">log</a></tt><tt class="py-op">.</tt><tt class="py-name">addHandler</tt><tt class="py-op">(</tt><tt id="link-5" class="py-name"><a title="pyinotify.console_handler" class="py-name" href="#" onclick="return doclink('link-5', 'console_handler', 'link-2');">console_handler</a></tt><tt class="py-op">)</tt> </tt>
-<a name="L73"></a><tt class="py-lineno"> 73</tt> <tt class="py-line"><tt id="link-6" class="py-name"><a title="pyinotify.log" class="py-name" href="#" onclick="return doclink('link-6', 'log', 'link-1');">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="L74"></a><tt class="py-lineno"> 74</tt> <tt class="py-line"> </tt>
-<a name="L75"></a><tt class="py-lineno"> 75</tt> <tt class="py-line"> </tt>
-<a name="L76"></a><tt class="py-lineno"> 76</tt> <tt class="py-line"><tt class="py-comment"># Try to speed-up execution with psyco</tt> </tt>
-<a name="L77"></a><tt class="py-lineno"> 77</tt> <tt class="py-line"><tt class="py-comment"></tt><tt class="py-keyword">try</tt><tt class="py-op">:</tt> </tt>
-<a name="L78"></a><tt class="py-lineno"> 78</tt> <tt class="py-line"> <tt class="py-keyword">import</tt> <tt class="py-name">psyco</tt> </tt>
-<a name="L79"></a><tt class="py-lineno"> 79</tt> <tt class="py-line"> <tt class="py-name">psyco</tt><tt class="py-op">.</tt><tt class="py-name">full</tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt>
-<a name="L80"></a><tt class="py-lineno"> 80</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="L81"></a><tt class="py-lineno"> 81</tt> <tt class="py-line"> <tt id="link-7" class="py-name"><a title="pyinotify.log" class="py-name" href="#" onclick="return doclink('link-7', 'log', 'link-1');">log</a></tt><tt class="py-op">.</tt><tt class="py-name">info</tt><tt class="py-op">(</tt><tt class="py-string">'Maybe it could speed-up a little bit'</tt> </tt>
-<a name="L82"></a><tt class="py-lineno"> 82</tt> <tt class="py-line"> <tt class="py-string">' if you had psyco installed (not required).'</tt><tt class="py-op">)</tt> </tt>
-<a name="L83"></a><tt class="py-lineno"> 83</tt> <tt class="py-line"> </tt>
-<a name="L84"></a><tt class="py-lineno"> 84</tt> <tt class="py-line"> </tt>
+<a name="L67"></a><tt class="py-lineno"> 67</tt> <tt class="py-line"><tt class="py-comment"># Import directives</tt> </tt>
+<a name="L68"></a><tt class="py-lineno"> 68</tt> <tt class="py-line"><tt class="py-comment"></tt><tt class="py-keyword">import</tt> <tt class="py-name">threading</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">os</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">select</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">struct</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">fcntl</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">errno</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">termios</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">array</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">logging</tt> </tt>
+<a name="L77"></a><tt class="py-lineno"> 77</tt> <tt class="py-line"><tt class="py-keyword">import</tt> <tt class="py-name">atexit</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">collections</tt> <tt class="py-keyword">import</tt> <tt class="py-name">deque</tt> </tt>
+<a name="L79"></a><tt class="py-lineno"> 79</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="L80"></a><tt class="py-lineno"> 80</tt> <tt class="py-line"><tt class="py-keyword">import</tt> <tt class="py-name">time</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">fnmatch</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">re</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>
+<a name="L84"></a><tt class="py-lineno"> 84</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="L85"></a><tt class="py-lineno"> 85</tt> <tt class="py-line"> </tt>
-<a name="L86"></a><tt class="py-lineno"> 86</tt> <tt class="py-line"><tt class="py-comment">### inotify's variables ###</tt> </tt>
-<a name="L87"></a><tt class="py-lineno"> 87</tt> <tt class="py-line"><tt class="py-comment"></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 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="L88"></a><tt class="py-lineno"> 88</tt> <tt class="py-line"> </tt>
-<a name="SysCtlINotify"></a><div id="SysCtlINotify-def"><a name="L89"></a><tt class="py-lineno"> 89</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="L90"></a><tt class="py-lineno"> 90</tt> <tt class="py-line"> <tt class="py-docstring">"""</tt> </tt>
-<a name="L91"></a><tt class="py-lineno"> 91</tt> <tt class="py-line"><tt class="py-docstring"> Access (read, write) inotify's variables through sysctl.</tt> </tt>
-<a name="L92"></a><tt class="py-lineno"> 92</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
-<a name="L93"></a><tt class="py-lineno"> 93</tt> <tt class="py-line"><tt class="py-docstring"> Examples:</tt> </tt>
-<a name="L94"></a><tt class="py-lineno"> 94</tt> <tt class="py-line"><tt class="py-docstring"> - Read variable: myvar = max_queued_events.value</tt> </tt>
-<a name="L95"></a><tt class="py-lineno"> 95</tt> <tt class="py-line"><tt class="py-docstring"> - Update variable: max_queued_events.value = 42</tt> </tt>
-<a name="L96"></a><tt class="py-lineno"> 96</tt> <tt class="py-line"><tt class="py-docstring"> """</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 id="link-8" 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-8', 'inotify_attrs', 'link-8');">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="L99"></a><tt class="py-lineno"> 99</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="L100"></a><tt class="py-lineno"> 100</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="L101"></a><tt class="py-lineno"> 101</tt> <tt class="py-line"> </tt>
-<a name="SysCtlINotify.__new__"></a><div id="SysCtlINotify.__new__-def"><a name="L102"></a><tt class="py-lineno"> 102</tt> <a class="py-toggle" href="#" id="SysCtlINotify.__new__-toggle" onclick="return toggle('SysCtlINotify.__new__');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="pyinotify.SysCtlINotify-class.html#__new__">__new__</a><tt class="py-op">(</tt><tt class="py-param">cls</tt><tt class="py-op">,</tt> <tt class="py-op">*</tt><tt class="py-param">p</tt><tt class="py-op">,</tt> <tt class="py-op">**</tt><tt class="py-param">k</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
-</div><div id="SysCtlINotify.__new__-collapsed" style="display:none;" pad="++++" indent="++++++++"></div><div id="SysCtlINotify.__new__-expanded"><a name="L103"></a><tt class="py-lineno"> 103</tt> <tt class="py-line"> <tt class="py-name">attrname</tt> <tt class="py-op">=</tt> <tt class="py-name">p</tt><tt class="py-op">[</tt><tt class="py-number">0</tt><tt class="py-op">]</tt> </tt>
-<a name="L104"></a><tt class="py-lineno"> 104</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-keyword">not</tt> <tt class="py-name">attrname</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="L105"></a><tt class="py-lineno"> 105</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 class="py-name">attrname</tt><tt class="py-op">]</tt> <tt class="py-op">=</tt> <tt class="py-name">super</tt><tt class="py-op">(</tt><tt id="link-9" class="py-name" targets="Class pyinotify.SysCtlINotify=pyinotify.SysCtlINotify-class.html"><a title="pyinotify.SysCtlINotify" class="py-name" href="#" onclick="return doclink('link-9', 'SysCtlINotify', 'link-9');">SysCtlINotify</a></tt><tt class="py-op">,</tt> <tt class="py-name">cls</tt><tt class="py-op">)</tt><tt class="py-op">.</tt><tt id="link-10" class="py-name" targets="Static Method pyinotify.SysCtlINotify.__new__()=pyinotify.SysCtlINotify-class.html#__new__"><a title="pyinotify.SysCtlINotify.__new__" class="py-name" href="#" onclick="return doclink('link-10', '__new__', 'link-10');">__new__</a></tt><tt class="py-op">(</tt><tt class="py-name">cls</tt><tt class="py-op">,</tt> <tt class="py-op">*</tt><tt class="py-name">p</tt><tt class="py-op">,</tt> </tt>
-<a name="L106"></a><tt class="py-lineno"> 106</tt> <tt class="py-line"> <tt class="py-op">**</tt><tt class="py-name">k</tt><tt class="py-op">)</tt> </tt>
-<a name="L107"></a><tt class="py-lineno"> 107</tt> <tt class="py-line"> <tt class="py-keyword">return</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">attrname</tt><tt class="py-op">]</tt> </tt>
-</div><a name="L108"></a><tt class="py-lineno"> 108</tt> <tt class="py-line"> </tt>
-<a name="SysCtlINotify.__init__"></a><div id="SysCtlINotify.__init__-def"><a name="L109"></a><tt class="py-lineno"> 109</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="L110"></a><tt class="py-lineno"> 110</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="L111"></a><tt class="py-lineno"> 111</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 class="py-name">attrname</tt> </tt>
-<a name="L112"></a><tt class="py-lineno"> 112</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-11" class="py-name"><a title="pyinotify.SysCtlINotify" class="py-name" href="#" onclick="return doclink('link-11', 'SysCtlINotify', 'link-9');">SysCtlINotify</a></tt><tt class="py-op">.</tt><tt id="link-12" class="py-name"><a title="pyinotify.SysCtlINotify.inotify_attrs" class="py-name" href="#" onclick="return doclink('link-12', 'inotify_attrs', 'link-8');">inotify_attrs</a></tt><tt class="py-op">[</tt><tt class="py-name">attrname</tt><tt class="py-op">]</tt><tt class="py-op">)</tt> </tt>
-</div><a name="L113"></a><tt class="py-lineno"> 113</tt> <tt class="py-line"> </tt>
-<a name="SysCtlINotify.get_val"></a><div id="SysCtlINotify.get_val-def"><a name="L114"></a><tt class="py-lineno"> 114</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="L115"></a><tt class="py-lineno"> 115</tt> <tt class="py-line"> <tt class="py-docstring">"""</tt> </tt>
-<a name="L116"></a><tt class="py-lineno"> 116</tt> <tt class="py-line"><tt class="py-docstring"> @return: stored value.</tt> </tt>
-<a name="L117"></a><tt class="py-lineno"> 117</tt> <tt class="py-line"><tt class="py-docstring"> @rtype: int</tt> </tt>
-<a name="L118"></a><tt class="py-lineno"> 118</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt>
-<a name="L119"></a><tt class="py-lineno"> 119</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="L120"></a><tt class="py-lineno"> 120</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="L121"></a><tt class="py-lineno"> 121</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-0');">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="L122"></a><tt class="py-lineno"> 122</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="L123"></a><tt class="py-lineno"> 123</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="L124"></a><tt class="py-lineno"> 124</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="L125"></a><tt class="py-lineno"> 125</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-14" 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-14', 'value', 'link-14');">value</a></tt> </tt>
-</div><a name="L126"></a><tt class="py-lineno"> 126</tt> <tt class="py-line"> </tt>
-<a name="SysCtlINotify.set_val"></a><div id="SysCtlINotify.set_val-def"><a name="L127"></a><tt class="py-lineno"> 127</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="L128"></a><tt class="py-lineno"> 128</tt> <tt class="py-line"> <tt class="py-docstring">"""</tt> </tt>
-<a name="L129"></a><tt class="py-lineno"> 129</tt> <tt class="py-line"><tt class="py-docstring"> @param nval: set to nval.</tt> </tt>
-<a name="L130"></a><tt class="py-lineno"> 130</tt> <tt class="py-line"><tt class="py-docstring"> @type nval: int</tt> </tt>
-<a name="L131"></a><tt class="py-lineno"> 131</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt>
-<a name="L132"></a><tt class="py-lineno"> 132</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="L133"></a><tt class="py-lineno"> 133</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="L134"></a><tt class="py-lineno"> 134</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="L135"></a><tt class="py-lineno"> 135</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="L136"></a><tt class="py-lineno"> 136</tt> <tt class="py-line"> <tt id="link-15" class="py-name"><a title="pyinotify.LIBC" class="py-name" href="#" onclick="return doclink('link-15', 'LIBC', 'link-0');">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="L137"></a><tt class="py-lineno"> 137</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="L138"></a><tt class="py-lineno"> 138</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="L139"></a><tt class="py-lineno"> 139</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="L140"></a><tt class="py-lineno"> 140</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="L141"></a><tt class="py-lineno"> 141</tt> <tt class="py-line"> </tt>
-<a name="L142"></a><tt class="py-lineno"> 142</tt> <tt class="py-line"> <tt id="link-16" class="py-name"><a title="pyinotify.SysCtlINotify.value" class="py-name" href="#" onclick="return doclink('link-16', 'value', 'link-14');">value</a></tt> <tt class="py-op">=</tt> <tt class="py-name">property</tt><tt class="py-op">(</tt><tt id="link-17" 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-17', 'get_val', 'link-17');">get_val</a></tt><tt class="py-op">,</tt> <tt id="link-18" 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-18', 'set_val', 'link-18');">set_val</a></tt><tt class="py-op">)</tt> </tt>
-<a name="L143"></a><tt class="py-lineno"> 143</tt> <tt class="py-line"> </tt>
-<a name="SysCtlINotify.__repr__"></a><div id="SysCtlINotify.__repr__-def"><a name="L144"></a><tt class="py-lineno"> 144</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="L145"></a><tt class="py-lineno"> 145</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-19" class="py-name"><a title="pyinotify.SysCtlINotify.get_val" class="py-name" href="#" onclick="return doclink('link-19', 'get_val', 'link-17');">get_val</a></tt><tt class="py-op">(</tt><tt class="py-op">)</tt><tt class="py-op">)</tt> </tt>
-</div></div><a name="L146"></a><tt class="py-lineno"> 146</tt> <tt class="py-line"> </tt>
-<a name="L147"></a><tt class="py-lineno"> 147</tt> <tt class="py-line"> </tt>
-<a name="L148"></a><tt class="py-lineno"> 148</tt> <tt class="py-line"><tt class="py-comment"># singleton instances</tt> </tt>
-<a name="L149"></a><tt class="py-lineno"> 149</tt> <tt class="py-line"><tt class="py-comment"></tt><tt class="py-comment">#</tt> </tt>
-<a name="L150"></a><tt class="py-lineno"> 150</tt> <tt class="py-line"><tt class="py-comment"></tt><tt class="py-comment"># read int: myvar = max_queued_events.value</tt> </tt>
-<a name="L151"></a><tt class="py-lineno"> 151</tt> <tt class="py-line"><tt class="py-comment"></tt><tt class="py-comment"># update: max_queued_events.value = 42</tt> </tt>
-<a name="L152"></a><tt class="py-lineno"> 152</tt> <tt class="py-line"><tt class="py-comment"></tt><tt class="py-comment">#</tt> </tt>
-<a name="L153"></a><tt class="py-lineno"> 153</tt> <tt class="py-line"><tt class="py-comment"></tt><tt class="py-keyword">for</tt> <tt id="link-20" class="py-name" targets="Variable pyinotify.i=pyinotify-module.html#i"><a title="pyinotify.i" class="py-name" href="#" onclick="return doclink('link-20', 'i', 'link-20');">i</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="L154"></a><tt class="py-lineno"> 154</tt> <tt class="py-line"> <tt id="link-21" class="py-name"><a title="pyinotify.SysCtlINotify" class="py-name" href="#" onclick="return doclink('link-21', 'SysCtlINotify', 'link-9');">SysCtlINotify</a></tt><tt class="py-op">(</tt><tt id="link-22" class="py-name"><a title="pyinotify.i" class="py-name" href="#" onclick="return doclink('link-22', 'i', 'link-20');">i</a></tt><tt class="py-op">)</tt> </tt>
-<a name="L155"></a><tt class="py-lineno"> 155</tt> <tt class="py-line"> </tt>
-<a name="L156"></a><tt class="py-lineno"> 156</tt> <tt class="py-line"> </tt>
-<a name="L157"></a><tt class="py-lineno"> 157</tt> <tt class="py-line"><tt class="py-comment"># fixme: put those tests elsewhere</tt> </tt>
-<a name="L158"></a><tt class="py-lineno"> 158</tt> <tt class="py-line"><tt class="py-comment"></tt><tt class="py-comment">#</tt> </tt>
-<a name="L159"></a><tt class="py-lineno"> 159</tt> <tt class="py-line"><tt class="py-comment"></tt><tt class="py-comment"># print max_queued_events</tt> </tt>
-<a name="L160"></a><tt class="py-lineno"> 160</tt> <tt class="py-line"><tt class="py-comment"></tt><tt class="py-comment"># print max_queued_events.value</tt> </tt>
-<a name="L161"></a><tt class="py-lineno"> 161</tt> <tt class="py-line"><tt class="py-comment"></tt><tt class="py-comment"># save = max_queued_events.value</tt> </tt>
-<a name="L162"></a><tt class="py-lineno"> 162</tt> <tt class="py-line"><tt class="py-comment"></tt><tt class="py-comment"># print save</tt> </tt>
-<a name="L163"></a><tt class="py-lineno"> 163</tt> <tt class="py-line"><tt class="py-comment"></tt><tt class="py-comment"># max_queued_events.value += 42</tt> </tt>
-<a name="L164"></a><tt class="py-lineno"> 164</tt> <tt class="py-line"><tt class="py-comment"></tt><tt class="py-comment"># print max_queued_events</tt> </tt>
-<a name="L165"></a><tt class="py-lineno"> 165</tt> <tt class="py-line"><tt class="py-comment"></tt><tt class="py-comment"># max_queued_events.value = save</tt> </tt>
-<a name="L166"></a><tt class="py-lineno"> 166</tt> <tt class="py-line"><tt class="py-comment"></tt><tt class="py-comment"># print max_queued_events</tt> </tt>
-<a name="L167"></a><tt class="py-lineno"> 167</tt> <tt class="py-line"><tt class="py-comment"></tt> </tt>
-<a name="L168"></a><tt class="py-lineno"> 168</tt> <tt class="py-line"> </tt>
-<a name="L169"></a><tt class="py-lineno"> 169</tt> <tt class="py-line"><tt class="py-comment">### iglob ###</tt> </tt>
-<a name="L170"></a><tt class="py-lineno"> 170</tt> <tt class="py-line"><tt class="py-comment"></tt> </tt>
-<a name="L171"></a><tt class="py-lineno"> 171</tt> <tt class="py-line"> </tt>
-<a name="L172"></a><tt class="py-lineno"> 172</tt> <tt class="py-line"><tt class="py-comment"># Code taken from standart Python Lib, slightly modified in order to work</tt> </tt>
-<a name="L173"></a><tt class="py-lineno"> 173</tt> <tt class="py-line"><tt class="py-comment"></tt><tt class="py-comment"># with pyinotify (don't exclude dotted files/dirs like .foo).</tt> </tt>
-<a name="L174"></a><tt class="py-lineno"> 174</tt> <tt class="py-line"><tt class="py-comment"></tt><tt class="py-comment"># Original version:</tt> </tt>
-<a name="L175"></a><tt class="py-lineno"> 175</tt> <tt class="py-line"><tt class="py-comment"></tt><tt class="py-comment"># http://svn.python.org/projects/python/trunk/Lib/glob.py</tt> </tt>
-<a name="L176"></a><tt class="py-lineno"> 176</tt> <tt class="py-line"><tt class="py-comment"></tt> </tt>
-<a name="iglob"></a><div id="iglob-def"><a name="L177"></a><tt class="py-lineno"> 177</tt> <a class="py-toggle" href="#" id="iglob-toggle" onclick="return toggle('iglob');">-</a><tt class="py-line"><tt class="py-keyword">def</tt> <a class="py-def-name" href="pyinotify-module.html#iglob">iglob</a><tt class="py-op">(</tt><tt class="py-param">pathname</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
-</div><div id="iglob-collapsed" style="display:none;" pad="++++" indent="++++"></div><div id="iglob-expanded"><a name="L178"></a><tt class="py-lineno"> 178</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-keyword">not</tt> <tt id="link-23" class="py-name" targets="Function pyinotify.has_magic()=pyinotify-module.html#has_magic"><a title="pyinotify.has_magic" class="py-name" href="#" onclick="return doclink('link-23', 'has_magic', 'link-23');">has_magic</a></tt><tt class="py-op">(</tt><tt class="py-name">pathname</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
-<a name="L179"></a><tt class="py-lineno"> 179</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">hasattr</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-string">'lexists'</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">if</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">pathname</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
-<a name="L181"></a><tt class="py-lineno"> 181</tt> <tt class="py-line"> <tt class="py-keyword">yield</tt> <tt class="py-name">pathname</tt> </tt>
-<a name="L182"></a><tt class="py-lineno"> 182</tt> <tt class="py-line"> <tt class="py-keyword">else</tt><tt class="py-op">:</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-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">pathname</tt><tt class="py-op">)</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">exists</tt><tt class="py-op">(</tt><tt class="py-name">pathname</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-keyword">yield</tt> <tt class="py-name">pathname</tt> </tt>
-<a name="L185"></a><tt class="py-lineno"> 185</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> </tt>
-<a name="L186"></a><tt class="py-lineno"> 186</tt> <tt class="py-line"> <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-name">os</tt><tt class="py-op">.</tt><tt class="py-name">path</tt><tt class="py-op">.</tt><tt class="py-name">split</tt><tt class="py-op">(</tt><tt class="py-name">pathname</tt><tt class="py-op">)</tt> </tt>
-<a name="L187"></a><tt class="py-lineno"> 187</tt> <tt class="py-line"> <tt class="py-comment"># relative pathname</tt> </tt>
-<a name="L188"></a><tt class="py-lineno"> 188</tt> <tt class="py-line"><tt class="py-comment"></tt> <tt class="py-keyword">if</tt> <tt class="py-keyword">not</tt> <tt class="py-name">dirname</tt><tt class="py-op">:</tt> </tt>
-<a name="L189"></a><tt class="py-lineno"> 189</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> </tt>
-<a name="L190"></a><tt class="py-lineno"> 190</tt> <tt class="py-line"> <tt class="py-comment"># absolute pathname</tt> </tt>
-<a name="L191"></a><tt class="py-lineno"> 191</tt> <tt class="py-line"><tt class="py-comment"></tt> <tt class="py-keyword">if</tt> <tt id="link-24" class="py-name"><a title="pyinotify.has_magic" class="py-name" href="#" onclick="return doclink('link-24', 'has_magic', 'link-23');">has_magic</a></tt><tt class="py-op">(</tt><tt class="py-name">dirname</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
-<a name="L192"></a><tt class="py-lineno"> 192</tt> <tt class="py-line"> <tt class="py-name">dirs</tt> <tt class="py-op">=</tt> <tt id="link-25" class="py-name" targets="Function pyinotify.iglob()=pyinotify-module.html#iglob"><a title="pyinotify.iglob" class="py-name" href="#" onclick="return doclink('link-25', 'iglob', 'link-25');">iglob</a></tt><tt class="py-op">(</tt><tt class="py-name">dirname</tt><tt class="py-op">)</tt> </tt>
-<a name="L193"></a><tt class="py-lineno"> 193</tt> <tt class="py-line"> <tt class="py-keyword">else</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">dirs</tt> <tt class="py-op">=</tt> <tt class="py-op">[</tt><tt class="py-name">dirname</tt><tt class="py-op">]</tt> </tt>
-<a name="L195"></a><tt class="py-lineno"> 195</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt id="link-26" class="py-name"><a title="pyinotify.has_magic" class="py-name" href="#" onclick="return doclink('link-26', 'has_magic', 'link-23');">has_magic</a></tt><tt class="py-op">(</tt><tt class="py-name">basename</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 class="py-name">glob_in_dir</tt> <tt class="py-op">=</tt> <tt id="link-27" class="py-name" targets="Function pyinotify.glob1()=pyinotify-module.html#glob1"><a title="pyinotify.glob1" class="py-name" href="#" onclick="return doclink('link-27', 'glob1', 'link-27');">glob1</a></tt> </tt>
-<a name="L197"></a><tt class="py-lineno"> 197</tt> <tt class="py-line"> <tt class="py-keyword">else</tt><tt class="py-op">:</tt> </tt>
-<a name="L198"></a><tt class="py-lineno"> 198</tt> <tt class="py-line"> <tt class="py-name">glob_in_dir</tt> <tt class="py-op">=</tt> <tt id="link-28" class="py-name" targets="Function pyinotify.glob0()=pyinotify-module.html#glob0"><a title="pyinotify.glob0" class="py-name" href="#" onclick="return doclink('link-28', 'glob0', 'link-28');">glob0</a></tt> </tt>
-<a name="L199"></a><tt class="py-lineno"> 199</tt> <tt class="py-line"> <tt class="py-keyword">for</tt> <tt class="py-name">dirname</tt> <tt class="py-keyword">in</tt> <tt class="py-name">dirs</tt><tt class="py-op">:</tt> </tt>
-<a name="L200"></a><tt class="py-lineno"> 200</tt> <tt class="py-line"> <tt class="py-keyword">for</tt> <tt id="link-29" class="py-name" targets="Variable pyinotify.name=pyinotify-module.html#name"><a title="pyinotify.name" class="py-name" href="#" onclick="return doclink('link-29', 'name', 'link-29');">name</a></tt> <tt class="py-keyword">in</tt> <tt class="py-name">glob_in_dir</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-op">:</tt> </tt>
-<a name="L201"></a><tt class="py-lineno"> 201</tt> <tt class="py-line"> <tt class="py-keyword">yield</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 id="link-30" class="py-name"><a title="pyinotify.name" class="py-name" href="#" onclick="return doclink('link-30', 'name', 'link-29');">name</a></tt><tt class="py-op">)</tt> </tt>
-</div><a name="L202"></a><tt class="py-lineno"> 202</tt> <tt class="py-line"> </tt>
-<a name="glob1"></a><div id="glob1-def"><a name="L203"></a><tt class="py-lineno"> 203</tt> <a class="py-toggle" href="#" id="glob1-toggle" onclick="return toggle('glob1');">-</a><tt class="py-line"><tt class="py-keyword">def</tt> <a class="py-def-name" href="pyinotify-module.html#glob1">glob1</a><tt class="py-op">(</tt><tt class="py-param">dirname</tt><tt class="py-op">,</tt> <tt class="py-param">pattern</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
-</div><div id="glob1-collapsed" style="display:none;" pad="++++" indent="++++"></div><div id="glob1-expanded"><a name="L204"></a><tt class="py-lineno"> 204</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-keyword">not</tt> <tt class="py-name">dirname</tt><tt class="py-op">:</tt> </tt>
-<a name="L205"></a><tt class="py-lineno"> 205</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">curdir</tt> </tt>
-<a name="L206"></a><tt class="py-lineno"> 206</tt> <tt class="py-line"> <tt class="py-keyword">try</tt><tt class="py-op">:</tt> </tt>
-<a name="L207"></a><tt class="py-lineno"> 207</tt> <tt class="py-line"> <tt class="py-name">names</tt> <tt class="py-op">=</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">dirname</tt><tt class="py-op">)</tt> </tt>
-<a name="L208"></a><tt class="py-lineno"> 208</tt> <tt class="py-line"> <tt class="py-keyword">except</tt> <tt class="py-name">os</tt><tt class="py-op">.</tt><tt class="py-name">error</tt><tt class="py-op">:</tt> </tt>
-<a name="L209"></a><tt class="py-lineno"> 209</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-op">[</tt><tt class="py-op">]</tt> </tt>
-<a name="L210"></a><tt class="py-lineno"> 210</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-name">fnmatch</tt><tt class="py-op">.</tt><tt class="py-name">filter</tt><tt class="py-op">(</tt><tt class="py-name">names</tt><tt class="py-op">,</tt> <tt class="py-name">pattern</tt><tt class="py-op">)</tt> </tt>
-</div><a name="L211"></a><tt class="py-lineno"> 211</tt> <tt class="py-line"> </tt>
-<a name="glob0"></a><div id="glob0-def"><a name="L212"></a><tt class="py-lineno"> 212</tt> <a class="py-toggle" href="#" id="glob0-toggle" onclick="return toggle('glob0');">-</a><tt class="py-line"><tt class="py-keyword">def</tt> <a class="py-def-name" href="pyinotify-module.html#glob0">glob0</a><tt class="py-op">(</tt><tt class="py-param">dirname</tt><tt class="py-op">,</tt> <tt class="py-param">basename</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
-</div><div id="glob0-collapsed" style="display:none;" pad="++++" indent="++++"></div><div id="glob0-expanded"><a name="L213"></a><tt class="py-lineno"> 213</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">basename</tt> <tt class="py-op">==</tt> <tt class="py-string">''</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">isdir</tt><tt class="py-op">(</tt><tt class="py-name">dirname</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
-<a name="L214"></a><tt class="py-lineno"> 214</tt> <tt class="py-line"> <tt class="py-comment"># `os.path.split()` returns an empty basename for paths ending with a</tt> </tt>
-<a name="L215"></a><tt class="py-lineno"> 215</tt> <tt class="py-line"><tt class="py-comment"></tt> <tt class="py-comment"># directory separator. 'q*x/' should match only directories.</tt> </tt>
-<a name="L216"></a><tt class="py-lineno"> 216</tt> <tt class="py-line"><tt class="py-comment"></tt> <tt class="py-keyword">return</tt> <tt class="py-op">[</tt><tt class="py-name">basename</tt><tt class="py-op">]</tt> </tt>
-<a name="L217"></a><tt class="py-lineno"> 217</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">hasattr</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-string">'lexists'</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
-<a name="L218"></a><tt class="py-lineno"> 218</tt> <tt class="py-line"> <tt class="py-keyword">if</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">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-op">)</tt><tt class="py-op">:</tt> </tt>
-<a name="L219"></a><tt class="py-lineno"> 219</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-op">[</tt><tt class="py-name">basename</tt><tt class="py-op">]</tt> </tt>
-<a name="L220"></a><tt class="py-lineno"> 220</tt> <tt class="py-line"> <tt class="py-keyword">else</tt><tt class="py-op">:</tt> </tt>
-<a name="L221"></a><tt class="py-lineno"> 221</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">islink</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-op">)</tt> <tt class="py-keyword">or</tt> </tt>
-<a name="L222"></a><tt class="py-lineno"> 222</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">exists</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-op">)</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
-<a name="L223"></a><tt class="py-lineno"> 223</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-op">[</tt><tt class="py-name">basename</tt><tt class="py-op">]</tt> </tt>
-<a name="L224"></a><tt class="py-lineno"> 224</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-op">[</tt><tt class="py-op">]</tt> </tt>
-</div><a name="L225"></a><tt class="py-lineno"> 225</tt> <tt class="py-line"> </tt>
-<a name="L226"></a><tt class="py-lineno"> 226</tt> <tt class="py-line"><tt id="link-31" class="py-name" targets="Variable pyinotify.magic_check=pyinotify-module.html#magic_check"><a title="pyinotify.magic_check" class="py-name" href="#" onclick="return doclink('link-31', 'magic_check', 'link-31');">magic_check</a></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-string">'[*?[]'</tt><tt class="py-op">)</tt> </tt>
-<a name="L227"></a><tt class="py-lineno"> 227</tt> <tt class="py-line"> </tt>
-<a name="has_magic"></a><div id="has_magic-def"><a name="L228"></a><tt class="py-lineno"> 228</tt> <a class="py-toggle" href="#" id="has_magic-toggle" onclick="return toggle('has_magic');">-</a><tt class="py-line"><tt class="py-keyword">def</tt> <a class="py-def-name" href="pyinotify-module.html#has_magic">has_magic</a><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="has_magic-collapsed" style="display:none;" pad="++++" indent="++++"></div><div id="has_magic-expanded"><a name="L229"></a><tt class="py-lineno"> 229</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt id="link-32" class="py-name"><a title="pyinotify.magic_check" class="py-name" href="#" onclick="return doclink('link-32', 'magic_check', 'link-31');">magic_check</a></tt><tt class="py-op">.</tt><tt class="py-name">search</tt><tt class="py-op">(</tt><tt class="py-name">s</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="L230"></a><tt class="py-lineno"> 230</tt> <tt class="py-line"> </tt>
-<a name="L231"></a><tt class="py-lineno"> 231</tt> <tt class="py-line"> </tt>
-<a name="L232"></a><tt class="py-lineno"> 232</tt> <tt class="py-line"> </tt>
-<a name="L233"></a><tt class="py-lineno"> 233</tt> <tt class="py-line"><tt class="py-comment">### Core ###</tt> </tt>
-<a name="L234"></a><tt class="py-lineno"> 234</tt> <tt class="py-line"><tt class="py-comment"></tt> </tt>
-<a name="L235"></a><tt class="py-lineno"> 235</tt> <tt class="py-line"> </tt>
-<a name="EventsCodes"></a><div id="EventsCodes-def"><a name="L236"></a><tt class="py-lineno"> 236</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="L237"></a><tt class="py-lineno"> 237</tt> <tt class="py-line"> <tt class="py-docstring">"""</tt> </tt>
-<a name="L238"></a><tt class="py-lineno"> 238</tt> <tt class="py-line"><tt class="py-docstring"> Set of codes corresponding to each kind of events.</tt> </tt>
-<a name="L239"></a><tt class="py-lineno"> 239</tt> <tt class="py-line"><tt class="py-docstring"> Some of these flags are used to communicate with inotify, whereas</tt> </tt>
-<a name="L240"></a><tt class="py-lineno"> 240</tt> <tt class="py-line"><tt class="py-docstring"> the others are sent to userspace by inotify notifying some events.</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"> @cvar IN_ACCESS: File was accessed.</tt> </tt>
-<a name="L243"></a><tt class="py-lineno"> 243</tt> <tt class="py-line"><tt class="py-docstring"> @type IN_ACCESS: int</tt> </tt>
-<a name="L244"></a><tt class="py-lineno"> 244</tt> <tt class="py-line"><tt class="py-docstring"> @cvar IN_MODIFY: File was modified.</tt> </tt>
-<a name="L245"></a><tt class="py-lineno"> 245</tt> <tt class="py-line"><tt class="py-docstring"> @type IN_MODIFY: int</tt> </tt>
-<a name="L246"></a><tt class="py-lineno"> 246</tt> <tt class="py-line"><tt class="py-docstring"> @cvar IN_ATTRIB: Metadata changed.</tt> </tt>
-<a name="L247"></a><tt class="py-lineno"> 247</tt> <tt class="py-line"><tt class="py-docstring"> @type IN_ATTRIB: int</tt> </tt>
-<a name="L248"></a><tt class="py-lineno"> 248</tt> <tt class="py-line"><tt class="py-docstring"> @cvar IN_CLOSE_WRITE: Writtable file was closed.</tt> </tt>
-<a name="L249"></a><tt class="py-lineno"> 249</tt> <tt class="py-line"><tt class="py-docstring"> @type IN_CLOSE_WRITE: int</tt> </tt>
-<a name="L250"></a><tt class="py-lineno"> 250</tt> <tt class="py-line"><tt class="py-docstring"> @cvar IN_CLOSE_NOWRITE: Unwrittable file closed.</tt> </tt>
-<a name="L251"></a><tt class="py-lineno"> 251</tt> <tt class="py-line"><tt class="py-docstring"> @type IN_CLOSE_NOWRITE: int</tt> </tt>
-<a name="L252"></a><tt class="py-lineno"> 252</tt> <tt class="py-line"><tt class="py-docstring"> @cvar IN_OPEN: File was opened.</tt> </tt>
-<a name="L253"></a><tt class="py-lineno"> 253</tt> <tt class="py-line"><tt class="py-docstring"> @type IN_OPEN: int</tt> </tt>
-<a name="L254"></a><tt class="py-lineno"> 254</tt> <tt class="py-line"><tt class="py-docstring"> @cvar IN_MOVED_FROM: File was moved from X.</tt> </tt>
-<a name="L255"></a><tt class="py-lineno"> 255</tt> <tt class="py-line"><tt class="py-docstring"> @type IN_MOVED_FROM: int</tt> </tt>
-<a name="L256"></a><tt class="py-lineno"> 256</tt> <tt class="py-line"><tt class="py-docstring"> @cvar IN_MOVED_TO: File was moved to Y.</tt> </tt>
-<a name="L257"></a><tt class="py-lineno"> 257</tt> <tt class="py-line"><tt class="py-docstring"> @type IN_MOVED_TO: int</tt> </tt>
-<a name="L258"></a><tt class="py-lineno"> 258</tt> <tt class="py-line"><tt class="py-docstring"> @cvar IN_CREATE: Subfile was created.</tt> </tt>
-<a name="L259"></a><tt class="py-lineno"> 259</tt> <tt class="py-line"><tt class="py-docstring"> @type IN_CREATE: int</tt> </tt>
-<a name="L260"></a><tt class="py-lineno"> 260</tt> <tt class="py-line"><tt class="py-docstring"> @cvar IN_DELETE: Subfile was deleted.</tt> </tt>
-<a name="L261"></a><tt class="py-lineno"> 261</tt> <tt class="py-line"><tt class="py-docstring"> @type IN_DELETE: int</tt> </tt>
-<a name="L262"></a><tt class="py-lineno"> 262</tt> <tt class="py-line"><tt class="py-docstring"> @cvar IN_DELETE_SELF: Self (watched item itself) was deleted.</tt> </tt>
-<a name="L263"></a><tt class="py-lineno"> 263</tt> <tt class="py-line"><tt class="py-docstring"> @type IN_DELETE_SELF: int</tt> </tt>
-<a name="L264"></a><tt class="py-lineno"> 264</tt> <tt class="py-line"><tt class="py-docstring"> @cvar IN_MOVE_SELF: Self (watched item itself) was moved.</tt> </tt>
-<a name="L265"></a><tt class="py-lineno"> 265</tt> <tt class="py-line"><tt class="py-docstring"> @type IN_MOVE_SELF: int</tt> </tt>
-<a name="L266"></a><tt class="py-lineno"> 266</tt> <tt class="py-line"><tt class="py-docstring"> @cvar IN_UNMOUNT: Backing fs was unmounted.</tt> </tt>
-<a name="L267"></a><tt class="py-lineno"> 267</tt> <tt class="py-line"><tt class="py-docstring"> @type IN_UNMOUNT: int</tt> </tt>
-<a name="L268"></a><tt class="py-lineno"> 268</tt> <tt class="py-line"><tt class="py-docstring"> @cvar IN_Q_OVERFLOW: Event queued overflowed.</tt> </tt>
-<a name="L269"></a><tt class="py-lineno"> 269</tt> <tt class="py-line"><tt class="py-docstring"> @type IN_Q_OVERFLOW: int</tt> </tt>
-<a name="L270"></a><tt class="py-lineno"> 270</tt> <tt class="py-line"><tt class="py-docstring"> @cvar IN_IGNORED: File was ignored.</tt> </tt>
-<a name="L271"></a><tt class="py-lineno"> 271</tt> <tt class="py-line"><tt class="py-docstring"> @type IN_IGNORED: int</tt> </tt>
-<a name="L272"></a><tt class="py-lineno"> 272</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="L273"></a><tt class="py-lineno"> 273</tt> <tt class="py-line"><tt class="py-docstring"> in kernel 2.6.15).</tt> </tt>
-<a name="L274"></a><tt class="py-lineno"> 274</tt> <tt class="py-line"><tt class="py-docstring"> @type IN_ONLYDIR: int</tt> </tt>
-<a name="L275"></a><tt class="py-lineno"> 275</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="L276"></a><tt class="py-lineno"> 276</tt> <tt class="py-line"><tt class="py-docstring"> IN_ONLYDIR we can make sure that we don't watch</tt> </tt>
-<a name="L277"></a><tt class="py-lineno"> 277</tt> <tt class="py-line"><tt class="py-docstring"> the target of symlinks.</tt> </tt>
-<a name="L278"></a><tt class="py-lineno"> 278</tt> <tt class="py-line"><tt class="py-docstring"> @type IN_DONT_FOLLOW: int</tt> </tt>
-<a name="L279"></a><tt class="py-lineno"> 279</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="L280"></a><tt class="py-lineno"> 280</tt> <tt class="py-line"><tt class="py-docstring"> in kernel 2.6.14).</tt> </tt>
-<a name="L281"></a><tt class="py-lineno"> 281</tt> <tt class="py-line"><tt class="py-docstring"> @type IN_MASK_ADD: int</tt> </tt>
-<a name="L282"></a><tt class="py-lineno"> 282</tt> <tt class="py-line"><tt class="py-docstring"> @cvar IN_ISDIR: Event occurred against dir.</tt> </tt>
-<a name="L283"></a><tt class="py-lineno"> 283</tt> <tt class="py-line"><tt class="py-docstring"> @type IN_ISDIR: int</tt> </tt>
-<a name="L284"></a><tt class="py-lineno"> 284</tt> <tt class="py-line"><tt class="py-docstring"> @cvar IN_ONESHOT: Only send event once.</tt> </tt>
-<a name="L285"></a><tt class="py-lineno"> 285</tt> <tt class="py-line"><tt class="py-docstring"> @type IN_ONESHOT: int</tt> </tt>
-<a name="L286"></a><tt class="py-lineno"> 286</tt> <tt class="py-line"><tt class="py-docstring"> @cvar ALL_EVENTS: Alias for considering all of the events.</tt> </tt>
-<a name="L287"></a><tt class="py-lineno"> 287</tt> <tt class="py-line"><tt class="py-docstring"> @type ALL_EVENTS: int</tt> </tt>
-<a name="L288"></a><tt class="py-lineno"> 288</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt>
-<a name="L289"></a><tt class="py-lineno"> 289</tt> <tt class="py-line"> </tt>
-<a name="L290"></a><tt class="py-lineno"> 290</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="L291"></a><tt class="py-lineno"> 291</tt> <tt class="py-line"><tt class="py-comment"></tt> <tt class="py-comment"># constants, but we also get nice human-friendly text mappings to do lookups</tt> </tt>
-<a name="L292"></a><tt class="py-lineno"> 292</tt> <tt class="py-line"><tt class="py-comment"></tt> <tt class="py-comment"># against as well, for free:</tt> </tt>
-<a name="L293"></a><tt class="py-lineno"> 293</tt> <tt class="py-line"><tt class="py-comment"></tt> <tt id="link-33" 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-33', 'FLAG_COLLECTIONS', 'link-33');">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="L294"></a><tt class="py-lineno"> 294</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="L295"></a><tt class="py-lineno"> 295</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="L296"></a><tt class="py-lineno"> 296</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="L297"></a><tt class="py-lineno"> 297</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="L298"></a><tt class="py-lineno"> 298</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="L299"></a><tt class="py-lineno"> 299</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="L300"></a><tt class="py-lineno"> 300</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="L301"></a><tt class="py-lineno"> 301</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="L302"></a><tt class="py-lineno"> 302</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="L303"></a><tt class="py-lineno"> 303</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="L304"></a><tt class="py-lineno"> 304</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="L305"></a><tt class="py-lineno"> 305</tt> <tt class="py-line"> <tt class="py-comment"># was deleted</tt> </tt>
-<a name="L306"></a><tt class="py-lineno"> 306</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="L307"></a><tt class="py-lineno"> 307</tt> <tt class="py-line"> <tt class="py-op">}</tt><tt class="py-op">,</tt> </tt>
-<a name="L308"></a><tt class="py-lineno"> 308</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="L309"></a><tt class="py-lineno"> 309</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="L310"></a><tt class="py-lineno"> 310</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="L311"></a><tt class="py-lineno"> 311</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="L312"></a><tt class="py-lineno"> 312</tt> <tt class="py-line"> <tt class="py-op">}</tt><tt class="py-op">,</tt> </tt>
-<a name="L313"></a><tt class="py-lineno"> 313</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="L314"></a><tt class="py-lineno"> 314</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="L315"></a><tt class="py-lineno"> 315</tt> <tt class="py-line"> <tt class="py-comment"># directory</tt> </tt>
-<a name="L316"></a><tt class="py-lineno"> 316</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="L317"></a><tt class="py-lineno"> 317</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="L318"></a><tt class="py-lineno"> 318</tt> <tt class="py-line"> <tt class="py-comment"># existing watch</tt> </tt>
-<a name="L319"></a><tt class="py-lineno"> 319</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="L320"></a><tt class="py-lineno"> 320</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="L321"></a><tt class="py-lineno"> 321</tt> <tt class="py-line"> <tt class="py-op">}</tt><tt class="py-op">,</tt> </tt>
-<a name="L322"></a><tt class="py-lineno"> 322</tt> <tt class="py-line"> <tt class="py-op">}</tt> </tt>
-<a name="L323"></a><tt class="py-lineno"> 323</tt> <tt class="py-line"> </tt>
-<a name="EventsCodes.maskname"></a><div id="EventsCodes.maskname-def"><a name="L324"></a><tt class="py-lineno"> 324</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="L325"></a><tt class="py-lineno"> 325</tt> <tt class="py-line"> <tt class="py-docstring">"""</tt> </tt>
-<a name="L326"></a><tt class="py-lineno"> 326</tt> <tt class="py-line"><tt class="py-docstring"> Return the event name associated to mask. IN_ISDIR is appended when</tt> </tt>
-<a name="L327"></a><tt class="py-lineno"> 327</tt> <tt class="py-line"><tt class="py-docstring"> appropriate. Note: only one event is returned, because only one is</tt> </tt>
-<a name="L328"></a><tt class="py-lineno"> 328</tt> <tt class="py-line"><tt class="py-docstring"> raised once at a time.</tt> </tt>
-<a name="L329"></a><tt class="py-lineno"> 329</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
-<a name="L330"></a><tt class="py-lineno"> 330</tt> <tt class="py-line"><tt class="py-docstring"> @param mask: mask.</tt> </tt>
-<a name="L331"></a><tt class="py-lineno"> 331</tt> <tt class="py-line"><tt class="py-docstring"> @type mask: int</tt> </tt>
-<a name="L332"></a><tt class="py-lineno"> 332</tt> <tt class="py-line"><tt class="py-docstring"> @return: event name.</tt> </tt>
-<a name="L333"></a><tt class="py-lineno"> 333</tt> <tt class="py-line"><tt class="py-docstring"> @rtype: str</tt> </tt>
-<a name="L334"></a><tt class="py-lineno"> 334</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt>
-<a name="L335"></a><tt class="py-lineno"> 335</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="L336"></a><tt class="py-lineno"> 336</tt> <tt class="py-line"> <tt id="link-34" class="py-name"><a title="pyinotify.name" class="py-name" href="#" onclick="return doclink('link-34', 'name', 'link-29');">name</a></tt> <tt class="py-op">=</tt> <tt class="py-string">'%s'</tt> </tt>
-<a name="L337"></a><tt class="py-lineno"> 337</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-35" 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-35', 'IN_ISDIR', 'link-35');">IN_ISDIR</a></tt><tt class="py-op">:</tt> </tt>
-<a name="L338"></a><tt class="py-lineno"> 338</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-36" class="py-name"><a title="pyinotify.IN_ISDIR" class="py-name" href="#" onclick="return doclink('link-36', 'IN_ISDIR', 'link-35');">IN_ISDIR</a></tt> </tt>
-<a name="L339"></a><tt class="py-lineno"> 339</tt> <tt class="py-line"> <tt id="link-37" class="py-name"><a title="pyinotify.name" class="py-name" href="#" onclick="return doclink('link-37', 'name', 'link-29');">name</a></tt> <tt class="py-op">=</tt> <tt class="py-string">'%s|IN_ISDIR'</tt> </tt>
-<a name="L340"></a><tt class="py-lineno"> 340</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt id="link-38" class="py-name"><a title="pyinotify.name" class="py-name" href="#" onclick="return doclink('link-38', 'name', 'link-29');">name</a></tt> <tt class="py-op">%</tt> <tt id="link-39" class="py-name" targets="Class pyinotify.EventsCodes=pyinotify.EventsCodes-class.html"><a title="pyinotify.EventsCodes" class="py-name" href="#" onclick="return doclink('link-39', 'EventsCodes', 'link-39');">EventsCodes</a></tt><tt class="py-op">.</tt><tt id="link-40" 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-40', 'ALL_VALUES', 'link-40');">ALL_VALUES</a></tt><tt class="py-op">[</tt><tt class="py-name">ms</tt><tt class="py-op">]</tt> </tt>
-</div><a name="L341"></a><tt class="py-lineno"> 341</tt> <tt class="py-line"> </tt>
-<a name="L342"></a><tt class="py-lineno"> 342</tt> <tt class="py-line"> <tt id="link-41" 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-41', 'maskname', 'link-41');">maskname</a></tt> <tt class="py-op">=</tt> <tt class="py-name">staticmethod</tt><tt class="py-op">(</tt><tt id="link-42" class="py-name"><a title="pyinotify.EventsCodes.maskname" class="py-name" href="#" onclick="return doclink('link-42', 'maskname', 'link-41');">maskname</a></tt><tt class="py-op">)</tt> </tt>
-</div><a name="L343"></a><tt class="py-lineno"> 343</tt> <tt class="py-line"> </tt>
-<a name="L344"></a><tt class="py-lineno"> 344</tt> <tt class="py-line"> </tt>
-<a name="L345"></a><tt class="py-lineno"> 345</tt> <tt class="py-line"><tt class="py-comment"># So let's now turn the configuration into code</tt> </tt>
-<a name="L346"></a><tt class="py-lineno"> 346</tt> <tt class="py-line"><tt class="py-comment"></tt><tt id="link-43" class="py-name"><a title="pyinotify.EventsCodes" class="py-name" href="#" onclick="return doclink('link-43', 'EventsCodes', 'link-39');">EventsCodes</a></tt><tt class="py-op">.</tt><tt id="link-44" 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-44', 'ALL_FLAGS', 'link-44');">ALL_FLAGS</a></tt> <tt class="py-op">=</tt> <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 id="link-45" class="py-name"><a title="pyinotify.EventsCodes" class="py-name" href="#" onclick="return doclink('link-45', 'EventsCodes', 'link-39');">EventsCodes</a></tt><tt class="py-op">.</tt><tt id="link-46" class="py-name"><a title="pyinotify.EventsCodes.ALL_VALUES" class="py-name" href="#" onclick="return doclink('link-46', 'ALL_VALUES', 'link-40');">ALL_VALUES</a></tt> <tt class="py-op">=</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-keyword">for</tt> <tt id="link-47" class="py-name" targets="Variable pyinotify.flagc=pyinotify-module.html#flagc"><a title="pyinotify.flagc" class="py-name" href="#" onclick="return doclink('link-47', 'flagc', 'link-47');">flagc</a></tt><tt class="py-op">,</tt> <tt id="link-48" class="py-name" targets="Variable pyinotify.valc=pyinotify-module.html#valc"><a title="pyinotify.valc" class="py-name" href="#" onclick="return doclink('link-48', 'valc', 'link-48');">valc</a></tt> <tt class="py-keyword">in</tt> <tt id="link-49" class="py-name"><a title="pyinotify.EventsCodes" class="py-name" href="#" onclick="return doclink('link-49', 'EventsCodes', 'link-39');">EventsCodes</a></tt><tt class="py-op">.</tt><tt id="link-50" class="py-name"><a title="pyinotify.EventsCodes.FLAG_COLLECTIONS" class="py-name" href="#" onclick="return doclink('link-50', 'FLAG_COLLECTIONS', 'link-33');">FLAG_COLLECTIONS</a></tt><tt class="py-op">.</tt><tt class="py-name">iteritems</tt><tt class="py-op">(</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
-<a name="L349"></a><tt class="py-lineno"> 349</tt> <tt class="py-line"> <tt class="py-comment"># Make the collections' members directly accessible through the</tt> </tt>
-<a name="L350"></a><tt class="py-lineno"> 350</tt> <tt class="py-line"><tt class="py-comment"></tt> <tt class="py-comment"># class dictionary</tt> </tt>
-<a name="L351"></a><tt class="py-lineno"> 351</tt> <tt class="py-line"><tt class="py-comment"></tt> <tt class="py-name">setattr</tt><tt class="py-op">(</tt><tt id="link-51" class="py-name"><a title="pyinotify.EventsCodes" class="py-name" href="#" onclick="return doclink('link-51', 'EventsCodes', 'link-39');">EventsCodes</a></tt><tt class="py-op">,</tt> <tt id="link-52" class="py-name"><a title="pyinotify.flagc" class="py-name" href="#" onclick="return doclink('link-52', 'flagc', 'link-47');">flagc</a></tt><tt class="py-op">,</tt> <tt id="link-53" class="py-name"><a title="pyinotify.valc" class="py-name" href="#" onclick="return doclink('link-53', 'valc', 'link-48');">valc</a></tt><tt class="py-op">)</tt> </tt>
-<a name="L352"></a><tt class="py-lineno"> 352</tt> <tt class="py-line"> </tt>
-<a name="L353"></a><tt class="py-lineno"> 353</tt> <tt class="py-line"> <tt class="py-comment"># Collect all the flags under a common umbrella</tt> </tt>
-<a name="L354"></a><tt class="py-lineno"> 354</tt> <tt class="py-line"><tt class="py-comment"></tt> <tt id="link-54" class="py-name"><a title="pyinotify.EventsCodes" class="py-name" href="#" onclick="return doclink('link-54', 'EventsCodes', 'link-39');">EventsCodes</a></tt><tt class="py-op">.</tt><tt id="link-55" class="py-name"><a title="pyinotify.EventsCodes.ALL_FLAGS" class="py-name" href="#" onclick="return doclink('link-55', 'ALL_FLAGS', 'link-44');">ALL_FLAGS</a></tt><tt class="py-op">.</tt><tt class="py-name">update</tt><tt class="py-op">(</tt><tt id="link-56" class="py-name"><a title="pyinotify.valc" class="py-name" href="#" onclick="return doclink('link-56', 'valc', 'link-48');">valc</a></tt><tt class="py-op">)</tt> </tt>
-<a name="L355"></a><tt class="py-lineno"> 355</tt> <tt class="py-line"> </tt>
-<a name="L356"></a><tt class="py-lineno"> 356</tt> <tt class="py-line"> <tt class="py-comment"># Make the individual masks accessible as 'constants' at globals() scope</tt> </tt>
-<a name="L357"></a><tt class="py-lineno"> 357</tt> <tt class="py-line"><tt class="py-comment"></tt> <tt class="py-comment"># and masknames accessible by values.</tt> </tt>
-<a name="L358"></a><tt class="py-lineno"> 358</tt> <tt class="py-line"><tt class="py-comment"></tt> <tt class="py-keyword">for</tt> <tt id="link-57" class="py-name"><a title="pyinotify.name" class="py-name" href="#" onclick="return doclink('link-57', 'name', 'link-29');">name</a></tt><tt class="py-op">,</tt> <tt id="link-58" class="py-name" targets="Variable pyinotify.val=pyinotify-module.html#val"><a title="pyinotify.val" class="py-name" href="#" onclick="return doclink('link-58', 'val', 'link-58');">val</a></tt> <tt class="py-keyword">in</tt> <tt id="link-59" class="py-name"><a title="pyinotify.valc" class="py-name" href="#" onclick="return doclink('link-59', 'valc', 'link-48');">valc</a></tt><tt class="py-op">.</tt><tt class="py-name">iteritems</tt><tt class="py-op">(</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
-<a name="L359"></a><tt class="py-lineno"> 359</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-60" class="py-name"><a title="pyinotify.name" class="py-name" href="#" onclick="return doclink('link-60', 'name', 'link-29');">name</a></tt><tt class="py-op">]</tt> <tt class="py-op">=</tt> <tt id="link-61" class="py-name"><a title="pyinotify.val" class="py-name" href="#" onclick="return doclink('link-61', 'val', 'link-58');">val</a></tt> </tt>
-<a name="L360"></a><tt class="py-lineno"> 360</tt> <tt class="py-line"> <tt id="link-62" class="py-name"><a title="pyinotify.EventsCodes" class="py-name" href="#" onclick="return doclink('link-62', 'EventsCodes', 'link-39');">EventsCodes</a></tt><tt class="py-op">.</tt><tt id="link-63" class="py-name"><a title="pyinotify.EventsCodes.ALL_VALUES" class="py-name" href="#" onclick="return doclink('link-63', 'ALL_VALUES', 'link-40');">ALL_VALUES</a></tt><tt class="py-op">[</tt><tt id="link-64" class="py-name"><a title="pyinotify.val" class="py-name" href="#" onclick="return doclink('link-64', 'val', 'link-58');">val</a></tt><tt class="py-op">]</tt> <tt class="py-op">=</tt> <tt id="link-65" class="py-name"><a title="pyinotify.name" class="py-name" href="#" onclick="return doclink('link-65', 'name', 'link-29');">name</a></tt> </tt>
-<a name="L361"></a><tt class="py-lineno"> 361</tt> <tt class="py-line"> </tt>
-<a name="L362"></a><tt class="py-lineno"> 362</tt> <tt class="py-line"> </tt>
-<a name="L363"></a><tt class="py-lineno"> 363</tt> <tt class="py-line"><tt class="py-comment"># all 'normal' events</tt> </tt>
-<a name="L364"></a><tt class="py-lineno"> 364</tt> <tt class="py-line"><tt class="py-comment"></tt><tt id="link-66" 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-66', 'ALL_EVENTS', 'link-66');">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-67" class="py-name"><a title="pyinotify.EventsCodes" class="py-name" href="#" onclick="return doclink('link-67', 'EventsCodes', 'link-39');">EventsCodes</a></tt><tt class="py-op">.</tt><tt id="link-68" 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-68', 'OP_FLAGS', 'link-68');">OP_FLAGS</a></tt><tt class="py-op">.</tt><tt class="py-name">itervalues</tt><tt class="py-op">(</tt><tt class="py-op">)</tt><tt class="py-op">)</tt> </tt>
-<a name="L365"></a><tt class="py-lineno"> 365</tt> <tt class="py-line"><tt id="link-69" class="py-name"><a title="pyinotify.EventsCodes" class="py-name" href="#" onclick="return doclink('link-69', 'EventsCodes', 'link-39');">EventsCodes</a></tt><tt class="py-op">.</tt><tt id="link-70" class="py-name"><a title="pyinotify.EventsCodes.ALL_FLAGS" class="py-name" href="#" onclick="return doclink('link-70', 'ALL_FLAGS', 'link-44');">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-71" class="py-name"><a title="pyinotify.ALL_EVENTS" class="py-name" href="#" onclick="return doclink('link-71', 'ALL_EVENTS', 'link-66');">ALL_EVENTS</a></tt> </tt>
-<a name="L366"></a><tt class="py-lineno"> 366</tt> <tt class="py-line"><tt id="link-72" class="py-name"><a title="pyinotify.EventsCodes" class="py-name" href="#" onclick="return doclink('link-72', 'EventsCodes', 'link-39');">EventsCodes</a></tt><tt class="py-op">.</tt><tt id="link-73" class="py-name"><a title="pyinotify.EventsCodes.ALL_VALUES" class="py-name" href="#" onclick="return doclink('link-73', 'ALL_VALUES', 'link-40');">ALL_VALUES</a></tt><tt class="py-op">[</tt><tt id="link-74" class="py-name"><a title="pyinotify.ALL_EVENTS" class="py-name" href="#" onclick="return doclink('link-74', 'ALL_EVENTS', 'link-66');">ALL_EVENTS</a></tt><tt class="py-op">]</tt> <tt class="py-op">=</tt> <tt class="py-string">'ALL_EVENTS'</tt> </tt>
-<a name="L367"></a><tt class="py-lineno"> 367</tt> <tt class="py-line"> </tt>
-<a name="L368"></a><tt class="py-lineno"> 368</tt> <tt class="py-line"> </tt>
-<a name="_Event"></a><div id="_Event-def"><a name="L369"></a><tt class="py-lineno"> 369</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="L370"></a><tt class="py-lineno"> 370</tt> <tt class="py-line"> <tt class="py-docstring">"""</tt> </tt>
-<a name="L371"></a><tt class="py-lineno"> 371</tt> <tt class="py-line"><tt class="py-docstring"> Event structure, represent events raised by the system. This</tt> </tt>
-<a name="L372"></a><tt class="py-lineno"> 372</tt> <tt class="py-line"><tt class="py-docstring"> is the base class and should be subclassed.</tt> </tt>
-<a name="L373"></a><tt class="py-lineno"> 373</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
-<a name="L374"></a><tt class="py-lineno"> 374</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt>
-<a name="_Event.__init__"></a><div id="_Event.__init__-def"><a name="L375"></a><tt class="py-lineno"> 375</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="L376"></a><tt class="py-lineno"> 376</tt> <tt class="py-line"> <tt class="py-docstring">"""</tt> </tt>
-<a name="L377"></a><tt class="py-lineno"> 377</tt> <tt class="py-line"><tt class="py-docstring"> Attach attributes (contained in dict_) to self.</tt> </tt>
-<a name="L378"></a><tt class="py-lineno"> 378</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt>
-<a name="L379"></a><tt class="py-lineno"> 379</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">iteritems</tt><tt class="py-op">(</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
-<a name="L380"></a><tt class="py-lineno"> 380</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="L381"></a><tt class="py-lineno"> 381</tt> <tt class="py-line"> </tt>
-<a name="_Event.__repr__"></a><div id="_Event.__repr__-def"><a name="L382"></a><tt class="py-lineno"> 382</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="L383"></a><tt class="py-lineno"> 383</tt> <tt class="py-line"> <tt class="py-docstring">"""</tt> </tt>
-<a name="L384"></a><tt class="py-lineno"> 384</tt> <tt class="py-line"><tt class="py-docstring"> @return: String representation.</tt> </tt>
-<a name="L385"></a><tt class="py-lineno"> 385</tt> <tt class="py-line"><tt class="py-docstring"> @rtype: str</tt> </tt>
-<a name="L386"></a><tt class="py-lineno"> 386</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt>
-<a name="L387"></a><tt class="py-lineno"> 387</tt> <tt class="py-line"> <tt class="py-name">s</tt> <tt class="py-op">=</tt> <tt class="py-string">''</tt> </tt>
-<a name="L388"></a><tt class="py-lineno"> 388</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-75" class="py-name"><a title="pyinotify.SysCtlINotify.value" class="py-name" href="#" onclick="return doclink('link-75', 'value', 'link-14');">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="L389"></a><tt class="py-lineno"> 389</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="L390"></a><tt class="py-lineno"> 390</tt> <tt class="py-line"> <tt class="py-keyword">continue</tt> </tt>
-<a name="L391"></a><tt class="py-lineno"> 391</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="L392"></a><tt class="py-lineno"> 392</tt> <tt class="py-line"> <tt id="link-76" class="py-name"><a title="pyinotify.SysCtlINotify.value" class="py-name" href="#" onclick="return doclink('link-76', 'value', 'link-14');">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="L393"></a><tt class="py-lineno"> 393</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-77" class="py-name"><a title="pyinotify.SysCtlINotify.value" class="py-name" href="#" onclick="return doclink('link-77', 'value', 'link-14');">value</a></tt><tt class="py-op">,</tt> <tt class="py-name">str</tt><tt class="py-op">)</tt> <tt class="py-keyword">and</tt> <tt class="py-keyword">not</tt> <tt id="link-78" class="py-name"><a title="pyinotify.SysCtlINotify.value" class="py-name" href="#" onclick="return doclink('link-78', 'value', 'link-14');">value</a></tt><tt class="py-op">:</tt> </tt>
-<a name="L394"></a><tt class="py-lineno"> 394</tt> <tt class="py-line"> <tt id="link-79" class="py-name"><a title="pyinotify.SysCtlINotify.value" class="py-name" href="#" onclick="return doclink('link-79', 'value', 'link-14');">value</a></tt> <tt class="py-op">=</tt><tt class="py-string">"''"</tt> </tt>
-<a name="L395"></a><tt class="py-lineno"> 395</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-80" class="py-name" targets="Variable pyinotify.color_theme=pyinotify-module.html#color_theme"><a title="pyinotify.color_theme" class="py-name" href="#" onclick="return doclink('link-80', 'color_theme', 'link-80');">color_theme</a></tt><tt class="py-op">.</tt><tt class="py-name">field_name</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="L396"></a><tt class="py-lineno"> 396</tt> <tt class="py-line"> <tt id="link-81" class="py-name"><a title="pyinotify.color_theme" class="py-name" href="#" onclick="return doclink('link-81', 'color_theme', 'link-80');">color_theme</a></tt><tt class="py-op">.</tt><tt class="py-name">punct</tt><tt class="py-op">(</tt><tt class="py-string">'='</tt><tt class="py-op">)</tt><tt class="py-op">,</tt> </tt>
-<a name="L397"></a><tt class="py-lineno"> 397</tt> <tt class="py-line"> <tt id="link-82" class="py-name"><a title="pyinotify.color_theme" class="py-name" href="#" onclick="return doclink('link-82', 'color_theme', 'link-80');">color_theme</a></tt><tt class="py-op">.</tt><tt class="py-name">field_value</tt><tt class="py-op">(</tt><tt id="link-83" class="py-name"><a title="pyinotify.SysCtlINotify.value" class="py-name" href="#" onclick="return doclink('link-83', 'value', 'link-14');">value</a></tt><tt class="py-op">)</tt><tt class="py-op">)</tt> </tt>
+<a name="L89"></a><tt class="py-lineno"> 89</tt> <tt class="py-line"><tt class="py-name">__version__</tt> <tt class="py-op">=</tt> <tt class="py-string">"0.8.2"</tt> </tt>
+<a name="L90"></a><tt class="py-lineno"> 90</tt> <tt class="py-line"> </tt>
+<a name="L91"></a><tt class="py-lineno"> 91</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="L92"></a><tt class="py-lineno"> 92</tt> <tt class="py-line"> </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-comment"># load libc</tt> </tt>
+<a name="L95"></a><tt class="py-lineno"> 95</tt> <tt class="py-line"><tt class="py-comment"></tt><tt id="link-6" class="py-name" targets="Variable pyinotify.LIBC=pyinotify-module.html#LIBC"><a title="pyinotify.LIBC" class="py-name" href="#" onclick="return doclink('link-6', 'LIBC', 'link-6');">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">LoadLibrary</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 class="py-op">)</tt> </tt>
+<a name="L96"></a><tt class="py-lineno"> 96</tt> <tt class="py-line"> </tt>
+<a name="L97"></a><tt class="py-lineno"> 97</tt> <tt class="py-line"><tt class="py-comment"># the libc version check.</tt> </tt>
+<a name="L98"></a><tt class="py-lineno"> 98</tt> <tt class="py-line"><tt class="py-comment"></tt><tt class="py-comment"># XXX: Maybe it is better to check if the libc has the needed functions inside?</tt> </tt>
+<a name="L99"></a><tt class="py-lineno"> 99</tt> <tt class="py-line"><tt class="py-comment"></tt><tt class="py-comment"># Because there are inotify patches for libc 2.3.6.</tt> </tt>
+<a name="L100"></a><tt class="py-lineno"> 100</tt> <tt class="py-line"><tt class="py-comment"></tt><tt id="link-7" class="py-name"><a title="pyinotify.LIBC" class="py-name" href="#" onclick="return doclink('link-7', 'LIBC', 'link-6');">LIBC</a></tt><tt class="py-op">.</tt><tt class="py-name">gnu_get_libc_version</tt><tt class="py-op">.</tt><tt class="py-name">restype</tt> <tt class="py-op">=</tt> <tt class="py-name">ctypes</tt><tt class="py-op">.</tt><tt class="py-name">c_char_p</tt> </tt>
+<a name="L101"></a><tt class="py-lineno"> 101</tt> <tt class="py-line"><tt id="link-8" class="py-name" targets="Variable pyinotify.LIBC_VERSION=pyinotify-module.html#LIBC_VERSION"><a title="pyinotify.LIBC_VERSION" class="py-name" href="#" onclick="return doclink('link-8', 'LIBC_VERSION', 'link-8');">LIBC_VERSION</a></tt> <tt class="py-op">=</tt> <tt id="link-9" class="py-name"><a title="pyinotify.LIBC" class="py-name" href="#" onclick="return doclink('link-9', 'LIBC', 'link-6');">LIBC</a></tt><tt class="py-op">.</tt><tt class="py-name">gnu_get_libc_version</tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt>
+<a name="L102"></a><tt class="py-lineno"> 102</tt> <tt class="py-line"><tt class="py-keyword">if</tt> <tt id="link-10" class="py-name"><a title="pyinotify.LIBC_VERSION" class="py-name" href="#" onclick="return doclink('link-10', 'LIBC_VERSION', 'link-8');">LIBC_VERSION</a></tt> <tt class="py-op">&lt;</tt> <tt class="py-string">'2.4'</tt><tt class="py-op">:</tt> </tt>
+<a name="L103"></a><tt class="py-lineno"> 103</tt> <tt class="py-line"> <tt class="py-keyword">raise</tt> <tt id="link-11" class="py-name" targets="Class pyinotify.UnsupportedLibcVersionError=pyinotify.UnsupportedLibcVersionError-class.html"><a title="pyinotify.UnsupportedLibcVersionError" class="py-name" href="#" onclick="return doclink('link-11', 'UnsupportedLibcVersionError', 'link-11');">UnsupportedLibcVersionError</a></tt><tt class="py-op">(</tt><tt id="link-12" class="py-name"><a title="pyinotify.LIBC_VERSION" class="py-name" href="#" onclick="return doclink('link-12', 'LIBC_VERSION', 'link-8');">LIBC_VERSION</a></tt><tt class="py-op">)</tt> </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>
+<a name="L106"></a><tt class="py-lineno"> 106</tt> <tt class="py-line"><tt class="py-comment"># logging</tt> </tt>
+<a name="L107"></a><tt class="py-lineno"> 107</tt> <tt class="py-line"><tt class="py-comment"></tt><tt id="link-13" class="py-name" targets="Variable pyinotify.log=pyinotify-module.html#log"><a title="pyinotify.log" class="py-name" href="#" onclick="return doclink('link-13', 'log', 'link-13');">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="L108"></a><tt class="py-lineno"> 108</tt> <tt class="py-line"><tt id="link-14" class="py-name" targets="Variable pyinotify.console_handler=pyinotify-module.html#console_handler"><a title="pyinotify.console_handler" class="py-name" href="#" onclick="return doclink('link-14', 'console_handler', 'link-14');">console_handler</a></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="L109"></a><tt class="py-lineno"> 109</tt> <tt class="py-line"><tt id="link-15" class="py-name"><a title="pyinotify.console_handler" class="py-name" href="#" onclick="return doclink('link-15', 'console_handler', 'link-14');">console_handler</a></tt><tt class="py-op">.</tt><tt class="py-name">setFormatter</tt><tt class="py-op">(</tt><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">"%(levelname)s: %(message)s"</tt><tt class="py-op">)</tt><tt class="py-op">)</tt> </tt>
+<a name="L110"></a><tt class="py-lineno"> 110</tt> <tt class="py-line"><tt id="link-16" class="py-name"><a title="pyinotify.log" class="py-name" href="#" onclick="return doclink('link-16', 'log', 'link-13');">log</a></tt><tt class="py-op">.</tt><tt class="py-name">addHandler</tt><tt class="py-op">(</tt><tt id="link-17" class="py-name"><a title="pyinotify.console_handler" class="py-name" href="#" onclick="return doclink('link-17', 'console_handler', 'link-14');">console_handler</a></tt><tt class="py-op">)</tt> </tt>
+<a name="L111"></a><tt class="py-lineno"> 111</tt> <tt class="py-line"><tt id="link-18" class="py-name"><a title="pyinotify.log" class="py-name" href="#" onclick="return doclink('link-18', 'log', 'link-13');">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="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>
+<a name="L114"></a><tt class="py-lineno"> 114</tt> <tt class="py-line"><tt class="py-comment"># Try to speed-up execution with psyco</tt> </tt>
+<a name="L115"></a><tt class="py-lineno"> 115</tt> <tt class="py-line"><tt class="py-comment"></tt><tt class="py-keyword">try</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">import</tt> <tt class="py-name">psyco</tt> </tt>
+<a name="L117"></a><tt class="py-lineno"> 117</tt> <tt class="py-line"> <tt class="py-name">psyco</tt><tt class="py-op">.</tt><tt class="py-name">full</tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt>
+<a name="L118"></a><tt class="py-lineno"> 118</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="L119"></a><tt class="py-lineno"> 119</tt> <tt class="py-line"> <tt class="py-comment"># Cannot import psyco</tt> </tt>
+<a name="L120"></a><tt class="py-lineno"> 120</tt> <tt class="py-line"><tt class="py-comment"></tt> <tt class="py-keyword">pass</tt> </tt>
+<a name="L121"></a><tt class="py-lineno"> 121</tt> <tt class="py-line"> </tt>
+<a name="L122"></a><tt class="py-lineno"> 122</tt> <tt class="py-line"> </tt>
+<a name="L123"></a><tt class="py-lineno"> 123</tt> <tt class="py-line"><tt class="py-comment">### inotify's variables ###</tt> </tt>
+<a name="L124"></a><tt class="py-lineno"> 124</tt> <tt class="py-line"><tt class="py-comment"></tt> </tt>
+<a name="L125"></a><tt class="py-lineno"> 125</tt> <tt class="py-line"> </tt>
+<a name="SysCtlINotify"></a><div id="SysCtlINotify-def"><a name="L126"></a><tt class="py-lineno"> 126</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="L127"></a><tt class="py-lineno"> 127</tt> <tt class="py-line"> <tt class="py-docstring">"""</tt> </tt>
+<a name="L128"></a><tt class="py-lineno"> 128</tt> <tt class="py-line"><tt class="py-docstring"> Access (read, write) inotify's variables through sysctl.</tt> </tt>
+<a name="L129"></a><tt class="py-lineno"> 129</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
+<a name="L130"></a><tt class="py-lineno"> 130</tt> <tt class="py-line"><tt class="py-docstring"> Examples:</tt> </tt>
+<a name="L131"></a><tt class="py-lineno"> 131</tt> <tt class="py-line"><tt class="py-docstring"> - Read variable: myvar = max_queued_events.value</tt> </tt>
+<a name="L132"></a><tt class="py-lineno"> 132</tt> <tt class="py-line"><tt class="py-docstring"> - Update variable: max_queued_events.value = 42</tt> </tt>
+<a name="L133"></a><tt class="py-lineno"> 133</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt>
+<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="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-19', 'inotify_attrs', 'link-19');">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="L136"></a><tt class="py-lineno"> 136</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="L137"></a><tt class="py-lineno"> 137</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="L138"></a><tt class="py-lineno"> 138</tt> <tt class="py-line"> </tt>
+<a name="SysCtlINotify.__new__"></a><div id="SysCtlINotify.__new__-def"><a name="L139"></a><tt class="py-lineno"> 139</tt> <a class="py-toggle" href="#" id="SysCtlINotify.__new__-toggle" onclick="return toggle('SysCtlINotify.__new__');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="pyinotify.SysCtlINotify-class.html#__new__">__new__</a><tt class="py-op">(</tt><tt class="py-param">cls</tt><tt class="py-op">,</tt> <tt class="py-op">*</tt><tt class="py-param">p</tt><tt class="py-op">,</tt> <tt class="py-op">**</tt><tt class="py-param">k</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
+</div><div id="SysCtlINotify.__new__-collapsed" style="display:none;" pad="++++" indent="++++++++"></div><div id="SysCtlINotify.__new__-expanded"><a name="L140"></a><tt class="py-lineno"> 140</tt> <tt class="py-line"> <tt class="py-name">attrname</tt> <tt class="py-op">=</tt> <tt class="py-name">p</tt><tt class="py-op">[</tt><tt class="py-number">0</tt><tt class="py-op">]</tt> </tt>
+<a name="L141"></a><tt class="py-lineno"> 141</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-keyword">not</tt> <tt class="py-name">attrname</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="L142"></a><tt class="py-lineno"> 142</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 class="py-name">attrname</tt><tt class="py-op">]</tt> <tt class="py-op">=</tt> <tt class="py-name">super</tt><tt class="py-op">(</tt><tt id="link-20" class="py-name" targets="Class pyinotify.SysCtlINotify=pyinotify.SysCtlINotify-class.html"><a title="pyinotify.SysCtlINotify" class="py-name" href="#" onclick="return doclink('link-20', 'SysCtlINotify', 'link-20');">SysCtlINotify</a></tt><tt class="py-op">,</tt> <tt class="py-name">cls</tt><tt class="py-op">)</tt><tt class="py-op">.</tt><tt id="link-21" class="py-name" targets="Static Method pyinotify.SysCtlINotify.__new__()=pyinotify.SysCtlINotify-class.html#__new__"><a title="pyinotify.SysCtlINotify.__new__" class="py-name" href="#" onclick="return doclink('link-21', '__new__', 'link-21');">__new__</a></tt><tt class="py-op">(</tt><tt class="py-name">cls</tt><tt class="py-op">,</tt> <tt class="py-op">*</tt><tt class="py-name">p</tt><tt class="py-op">,</tt> </tt>
+<a name="L143"></a><tt class="py-lineno"> 143</tt> <tt class="py-line"> <tt class="py-op">**</tt><tt class="py-name">k</tt><tt class="py-op">)</tt> </tt>
+<a name="L144"></a><tt class="py-lineno"> 144</tt> <tt class="py-line"> <tt class="py-keyword">return</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">attrname</tt><tt class="py-op">]</tt> </tt>
+</div><a name="L145"></a><tt class="py-lineno"> 145</tt> <tt class="py-line"> </tt>
+<a name="SysCtlINotify.__init__"></a><div id="SysCtlINotify.__init__-def"><a name="L146"></a><tt class="py-lineno"> 146</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="L147"></a><tt class="py-lineno"> 147</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="L148"></a><tt class="py-lineno"> 148</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 class="py-name">attrname</tt> </tt>
+<a name="L149"></a><tt class="py-lineno"> 149</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-22" class="py-name"><a title="pyinotify.SysCtlINotify" class="py-name" href="#" onclick="return doclink('link-22', 'SysCtlINotify', 'link-20');">SysCtlINotify</a></tt><tt class="py-op">.</tt><tt id="link-23" class="py-name"><a title="pyinotify.SysCtlINotify.inotify_attrs" class="py-name" href="#" onclick="return doclink('link-23', 'inotify_attrs', 'link-19');">inotify_attrs</a></tt><tt class="py-op">[</tt><tt class="py-name">attrname</tt><tt class="py-op">]</tt><tt class="py-op">)</tt> </tt>
+</div><a name="L150"></a><tt class="py-lineno"> 150</tt> <tt class="py-line"> </tt>
+<a name="SysCtlINotify.get_val"></a><div id="SysCtlINotify.get_val-def"><a name="L151"></a><tt class="py-lineno"> 151</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="L152"></a><tt class="py-lineno"> 152</tt> <tt class="py-line"> <tt class="py-docstring">"""</tt> </tt>
+<a name="L153"></a><tt class="py-lineno"> 153</tt> <tt class="py-line"><tt class="py-docstring"> @return: stored value.</tt> </tt>
+<a name="L154"></a><tt class="py-lineno"> 154</tt> <tt class="py-line"><tt class="py-docstring"> @rtype: int</tt> </tt>
+<a name="L155"></a><tt class="py-lineno"> 155</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt>
+<a name="L156"></a><tt class="py-lineno"> 156</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="L157"></a><tt class="py-lineno"> 157</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="L158"></a><tt class="py-lineno"> 158</tt> <tt class="py-line"> <tt id="link-24" class="py-name"><a title="pyinotify.LIBC" class="py-name" href="#" onclick="return doclink('link-24', 'LIBC', 'link-6');">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="L159"></a><tt class="py-lineno"> 159</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="L160"></a><tt class="py-lineno"> 160</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="L161"></a><tt class="py-lineno"> 161</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="L162"></a><tt class="py-lineno"> 162</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-25" 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-25', 'value', 'link-25');">value</a></tt> </tt>
+</div><a name="L163"></a><tt class="py-lineno"> 163</tt> <tt class="py-line"> </tt>
+<a name="SysCtlINotify.set_val"></a><div id="SysCtlINotify.set_val-def"><a name="L164"></a><tt class="py-lineno"> 164</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="L165"></a><tt class="py-lineno"> 165</tt> <tt class="py-line"> <tt class="py-docstring">"""</tt> </tt>
+<a name="L166"></a><tt class="py-lineno"> 166</tt> <tt class="py-line"><tt class="py-docstring"> @param nval: set to nval.</tt> </tt>
+<a name="L167"></a><tt class="py-lineno"> 167</tt> <tt class="py-line"><tt class="py-docstring"> @type nval: int</tt> </tt>
+<a name="L168"></a><tt class="py-lineno"> 168</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt>
+<a name="L169"></a><tt class="py-lineno"> 169</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="L170"></a><tt class="py-lineno"> 170</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="L171"></a><tt class="py-lineno"> 171</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="L172"></a><tt class="py-lineno"> 172</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="L173"></a><tt class="py-lineno"> 173</tt> <tt class="py-line"> <tt id="link-26" class="py-name"><a title="pyinotify.LIBC" class="py-name" href="#" onclick="return doclink('link-26', 'LIBC', 'link-6');">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="L174"></a><tt class="py-lineno"> 174</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="L175"></a><tt class="py-lineno"> 175</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="L176"></a><tt class="py-lineno"> 176</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="L177"></a><tt class="py-lineno"> 177</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="L178"></a><tt class="py-lineno"> 178</tt> <tt class="py-line"> </tt>
+<a name="L179"></a><tt class="py-lineno"> 179</tt> <tt class="py-line"> <tt id="link-27" class="py-name"><a title="pyinotify.SysCtlINotify.value" class="py-name" href="#" onclick="return doclink('link-27', 'value', 'link-25');">value</a></tt> <tt class="py-op">=</tt> <tt class="py-name">property</tt><tt class="py-op">(</tt><tt id="link-28" 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-28', 'get_val', 'link-28');">get_val</a></tt><tt class="py-op">,</tt> <tt id="link-29" 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-29', 'set_val', 'link-29');">set_val</a></tt><tt class="py-op">)</tt> </tt>
+<a name="L180"></a><tt class="py-lineno"> 180</tt> <tt class="py-line"> </tt>
+<a name="SysCtlINotify.__repr__"></a><div id="SysCtlINotify.__repr__-def"><a name="L181"></a><tt class="py-lineno"> 181</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="L182"></a><tt class="py-lineno"> 182</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-30" class="py-name"><a title="pyinotify.SysCtlINotify.get_val" class="py-name" href="#" onclick="return doclink('link-30', 'get_val', 'link-28');">get_val</a></tt><tt class="py-op">(</tt><tt class="py-op">)</tt><tt class="py-op">)</tt> </tt>
+</div></div><a name="L183"></a><tt class="py-lineno"> 183</tt> <tt class="py-line"> </tt>
+<a name="L184"></a><tt class="py-lineno"> 184</tt> <tt class="py-line"> </tt>
+<a name="L185"></a><tt class="py-lineno"> 185</tt> <tt class="py-line"><tt class="py-comment"># singleton instances</tt> </tt>
+<a name="L186"></a><tt class="py-lineno"> 186</tt> <tt class="py-line"><tt class="py-comment"></tt><tt class="py-comment">#</tt> </tt>
+<a name="L187"></a><tt class="py-lineno"> 187</tt> <tt class="py-line"><tt class="py-comment"></tt><tt class="py-comment"># read int: myvar = max_queued_events.value</tt> </tt>
+<a name="L188"></a><tt class="py-lineno"> 188</tt> <tt class="py-line"><tt class="py-comment"></tt><tt class="py-comment"># update: max_queued_events.value = 42</tt> </tt>
+<a name="L189"></a><tt class="py-lineno"> 189</tt> <tt class="py-line"><tt class="py-comment"></tt><tt class="py-comment">#</tt> </tt>
+<a name="L190"></a><tt class="py-lineno"> 190</tt> <tt class="py-line"><tt class="py-comment"></tt><tt class="py-keyword">for</tt> <tt id="link-31" class="py-name" targets="Variable pyinotify.i=pyinotify-module.html#i"><a title="pyinotify.i" class="py-name" href="#" onclick="return doclink('link-31', 'i', 'link-31');">i</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="L191"></a><tt class="py-lineno"> 191</tt> <tt class="py-line"> <tt id="link-32" class="py-name"><a title="pyinotify.SysCtlINotify" class="py-name" href="#" onclick="return doclink('link-32', 'SysCtlINotify', 'link-20');">SysCtlINotify</a></tt><tt class="py-op">(</tt><tt id="link-33" class="py-name"><a title="pyinotify.i" class="py-name" href="#" onclick="return doclink('link-33', 'i', 'link-31');">i</a></tt><tt class="py-op">)</tt> </tt>
+<a name="L192"></a><tt class="py-lineno"> 192</tt> <tt class="py-line"> </tt>
+<a name="L193"></a><tt class="py-lineno"> 193</tt> <tt class="py-line"> </tt>
+<a name="L194"></a><tt class="py-lineno"> 194</tt> <tt class="py-line"><tt class="py-comment"># fixme: put those tests elsewhere</tt> </tt>
+<a name="L195"></a><tt class="py-lineno"> 195</tt> <tt class="py-line"><tt class="py-comment"></tt><tt class="py-comment">#</tt> </tt>
+<a name="L196"></a><tt class="py-lineno"> 196</tt> <tt class="py-line"><tt class="py-comment"></tt><tt class="py-comment"># print max_queued_events</tt> </tt>
+<a name="L197"></a><tt class="py-lineno"> 197</tt> <tt class="py-line"><tt class="py-comment"></tt><tt class="py-comment"># print max_queued_events.value</tt> </tt>
+<a name="L198"></a><tt class="py-lineno"> 198</tt> <tt class="py-line"><tt class="py-comment"></tt><tt class="py-comment"># save = max_queued_events.value</tt> </tt>
+<a name="L199"></a><tt class="py-lineno"> 199</tt> <tt class="py-line"><tt class="py-comment"></tt><tt class="py-comment"># print save</tt> </tt>
+<a name="L200"></a><tt class="py-lineno"> 200</tt> <tt class="py-line"><tt class="py-comment"></tt><tt class="py-comment"># max_queued_events.value += 42</tt> </tt>
+<a name="L201"></a><tt class="py-lineno"> 201</tt> <tt class="py-line"><tt class="py-comment"></tt><tt class="py-comment"># print max_queued_events</tt> </tt>
+<a name="L202"></a><tt class="py-lineno"> 202</tt> <tt class="py-line"><tt class="py-comment"></tt><tt class="py-comment"># max_queued_events.value = save</tt> </tt>
+<a name="L203"></a><tt class="py-lineno"> 203</tt> <tt class="py-line"><tt class="py-comment"></tt><tt class="py-comment"># print max_queued_events</tt> </tt>
+<a name="L204"></a><tt class="py-lineno"> 204</tt> <tt class="py-line"><tt class="py-comment"></tt> </tt>
+<a name="L205"></a><tt class="py-lineno"> 205</tt> <tt class="py-line"> </tt>
+<a name="L206"></a><tt class="py-lineno"> 206</tt> <tt class="py-line"><tt class="py-comment">### iglob ###</tt> </tt>
+<a name="L207"></a><tt class="py-lineno"> 207</tt> <tt class="py-line"><tt class="py-comment"></tt> </tt>
+<a name="L208"></a><tt class="py-lineno"> 208</tt> <tt class="py-line"> </tt>
+<a name="L209"></a><tt class="py-lineno"> 209</tt> <tt class="py-line"><tt class="py-comment"># Code taken from standart Python Lib, slightly modified in order to work</tt> </tt>
+<a name="L210"></a><tt class="py-lineno"> 210</tt> <tt class="py-line"><tt class="py-comment"></tt><tt class="py-comment"># with pyinotify (don't exclude dotted files/dirs like .foo).</tt> </tt>
+<a name="L211"></a><tt class="py-lineno"> 211</tt> <tt class="py-line"><tt class="py-comment"></tt><tt class="py-comment"># Original version:</tt> </tt>
+<a name="L212"></a><tt class="py-lineno"> 212</tt> <tt class="py-line"><tt class="py-comment"></tt><tt class="py-comment"># http://svn.python.org/projects/python/trunk/Lib/glob.py</tt> </tt>
+<a name="L213"></a><tt class="py-lineno"> 213</tt> <tt class="py-line"><tt class="py-comment"></tt> </tt>
+<a name="iglob"></a><div id="iglob-def"><a name="L214"></a><tt class="py-lineno"> 214</tt> <a class="py-toggle" href="#" id="iglob-toggle" onclick="return toggle('iglob');">-</a><tt class="py-line"><tt class="py-keyword">def</tt> <a class="py-def-name" href="pyinotify-module.html#iglob">iglob</a><tt class="py-op">(</tt><tt class="py-param">pathname</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
+</div><div id="iglob-collapsed" style="display:none;" pad="++++" indent="++++"></div><div id="iglob-expanded"><a name="L215"></a><tt class="py-lineno"> 215</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-keyword">not</tt> <tt id="link-34" class="py-name" targets="Function pyinotify.has_magic()=pyinotify-module.html#has_magic"><a title="pyinotify.has_magic" class="py-name" href="#" onclick="return doclink('link-34', 'has_magic', 'link-34');">has_magic</a></tt><tt class="py-op">(</tt><tt class="py-name">pathname</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
+<a name="L216"></a><tt class="py-lineno"> 216</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">hasattr</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-string">'lexists'</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
+<a name="L217"></a><tt class="py-lineno"> 217</tt> <tt class="py-line"> <tt class="py-keyword">if</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">pathname</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
+<a name="L218"></a><tt class="py-lineno"> 218</tt> <tt class="py-line"> <tt class="py-keyword">yield</tt> <tt class="py-name">pathname</tt> </tt>
+<a name="L219"></a><tt class="py-lineno"> 219</tt> <tt class="py-line"> <tt class="py-keyword">else</tt><tt class="py-op">:</tt> </tt>
+<a name="L220"></a><tt class="py-lineno"> 220</tt> <tt class="py-line"> <tt class="py-keyword">if</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">pathname</tt><tt class="py-op">)</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">exists</tt><tt class="py-op">(</tt><tt class="py-name">pathname</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
+<a name="L221"></a><tt class="py-lineno"> 221</tt> <tt class="py-line"> <tt class="py-keyword">yield</tt> <tt class="py-name">pathname</tt> </tt>
+<a name="L222"></a><tt class="py-lineno"> 222</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> </tt>
+<a name="L223"></a><tt class="py-lineno"> 223</tt> <tt class="py-line"> <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-name">os</tt><tt class="py-op">.</tt><tt class="py-name">path</tt><tt class="py-op">.</tt><tt class="py-name">split</tt><tt class="py-op">(</tt><tt class="py-name">pathname</tt><tt class="py-op">)</tt> </tt>
+<a name="L224"></a><tt class="py-lineno"> 224</tt> <tt class="py-line"> <tt class="py-comment"># relative pathname</tt> </tt>
+<a name="L225"></a><tt class="py-lineno"> 225</tt> <tt class="py-line"><tt class="py-comment"></tt> <tt class="py-keyword">if</tt> <tt class="py-keyword">not</tt> <tt class="py-name">dirname</tt><tt class="py-op">:</tt> </tt>
+<a name="L226"></a><tt class="py-lineno"> 226</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> </tt>
+<a name="L227"></a><tt class="py-lineno"> 227</tt> <tt class="py-line"> <tt class="py-comment"># absolute pathname</tt> </tt>
+<a name="L228"></a><tt class="py-lineno"> 228</tt> <tt class="py-line"><tt class="py-comment"></tt> <tt class="py-keyword">if</tt> <tt id="link-35" class="py-name"><a title="pyinotify.has_magic" class="py-name" href="#" onclick="return doclink('link-35', 'has_magic', 'link-34');">has_magic</a></tt><tt class="py-op">(</tt><tt class="py-name">dirname</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
+<a name="L229"></a><tt class="py-lineno"> 229</tt> <tt class="py-line"> <tt class="py-name">dirs</tt> <tt class="py-op">=</tt> <tt id="link-36" class="py-name" targets="Function pyinotify.iglob()=pyinotify-module.html#iglob"><a title="pyinotify.iglob" class="py-name" href="#" onclick="return doclink('link-36', 'iglob', 'link-36');">iglob</a></tt><tt class="py-op">(</tt><tt class="py-name">dirname</tt><tt class="py-op">)</tt> </tt>
+<a name="L230"></a><tt class="py-lineno"> 230</tt> <tt class="py-line"> <tt class="py-keyword">else</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">dirs</tt> <tt class="py-op">=</tt> <tt class="py-op">[</tt><tt class="py-name">dirname</tt><tt class="py-op">]</tt> </tt>
+<a name="L232"></a><tt class="py-lineno"> 232</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt id="link-37" class="py-name"><a title="pyinotify.has_magic" class="py-name" href="#" onclick="return doclink('link-37', 'has_magic', 'link-34');">has_magic</a></tt><tt class="py-op">(</tt><tt class="py-name">basename</tt><tt class="py-op">)</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">glob_in_dir</tt> <tt class="py-op">=</tt> <tt id="link-38" class="py-name" targets="Function pyinotify.glob1()=pyinotify-module.html#glob1"><a title="pyinotify.glob1" class="py-name" href="#" onclick="return doclink('link-38', 'glob1', 'link-38');">glob1</a></tt> </tt>
+<a name="L234"></a><tt class="py-lineno"> 234</tt> <tt class="py-line"> <tt class="py-keyword">else</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">glob_in_dir</tt> <tt class="py-op">=</tt> <tt id="link-39" class="py-name" targets="Function pyinotify.glob0()=pyinotify-module.html#glob0"><a title="pyinotify.glob0" class="py-name" href="#" onclick="return doclink('link-39', 'glob0', 'link-39');">glob0</a></tt> </tt>
+<a name="L236"></a><tt class="py-lineno"> 236</tt> <tt class="py-line"> <tt class="py-keyword">for</tt> <tt class="py-name">dirname</tt> <tt class="py-keyword">in</tt> <tt class="py-name">dirs</tt><tt class="py-op">:</tt> </tt>
+<a name="L237"></a><tt class="py-lineno"> 237</tt> <tt class="py-line"> <tt class="py-keyword">for</tt> <tt id="link-40" class="py-name" targets="Variable pyinotify.name=pyinotify-module.html#name"><a title="pyinotify.name" class="py-name" href="#" onclick="return doclink('link-40', 'name', 'link-40');">name</a></tt> <tt class="py-keyword">in</tt> <tt class="py-name">glob_in_dir</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-op">:</tt> </tt>
+<a name="L238"></a><tt class="py-lineno"> 238</tt> <tt class="py-line"> <tt class="py-keyword">yield</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 id="link-41" class="py-name"><a title="pyinotify.name" class="py-name" href="#" onclick="return doclink('link-41', 'name', 'link-40');">name</a></tt><tt class="py-op">)</tt> </tt>
+</div><a name="L239"></a><tt class="py-lineno"> 239</tt> <tt class="py-line"> </tt>
+<a name="glob1"></a><div id="glob1-def"><a name="L240"></a><tt class="py-lineno"> 240</tt> <a class="py-toggle" href="#" id="glob1-toggle" onclick="return toggle('glob1');">-</a><tt class="py-line"><tt class="py-keyword">def</tt> <a class="py-def-name" href="pyinotify-module.html#glob1">glob1</a><tt class="py-op">(</tt><tt class="py-param">dirname</tt><tt class="py-op">,</tt> <tt class="py-param">pattern</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
+</div><div id="glob1-collapsed" style="display:none;" pad="++++" indent="++++"></div><div id="glob1-expanded"><a name="L241"></a><tt class="py-lineno"> 241</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-keyword">not</tt> <tt class="py-name">dirname</tt><tt class="py-op">:</tt> </tt>
+<a name="L242"></a><tt class="py-lineno"> 242</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">curdir</tt> </tt>
+<a name="L243"></a><tt class="py-lineno"> 243</tt> <tt class="py-line"> <tt class="py-keyword">try</tt><tt class="py-op">:</tt> </tt>
+<a name="L244"></a><tt class="py-lineno"> 244</tt> <tt class="py-line"> <tt class="py-name">names</tt> <tt class="py-op">=</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">dirname</tt><tt class="py-op">)</tt> </tt>
+<a name="L245"></a><tt class="py-lineno"> 245</tt> <tt class="py-line"> <tt class="py-keyword">except</tt> <tt class="py-name">os</tt><tt class="py-op">.</tt><tt class="py-name">error</tt><tt class="py-op">:</tt> </tt>
+<a name="L246"></a><tt class="py-lineno"> 246</tt> <tt class="py-line"> <tt class="py-keyword">return</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-keyword">return</tt> <tt class="py-name">fnmatch</tt><tt class="py-op">.</tt><tt class="py-name">filter</tt><tt class="py-op">(</tt><tt class="py-name">names</tt><tt class="py-op">,</tt> <tt class="py-name">pattern</tt><tt class="py-op">)</tt> </tt>
+</div><a name="L248"></a><tt class="py-lineno"> 248</tt> <tt class="py-line"> </tt>
+<a name="glob0"></a><div id="glob0-def"><a name="L249"></a><tt class="py-lineno"> 249</tt> <a class="py-toggle" href="#" id="glob0-toggle" onclick="return toggle('glob0');">-</a><tt class="py-line"><tt class="py-keyword">def</tt> <a class="py-def-name" href="pyinotify-module.html#glob0">glob0</a><tt class="py-op">(</tt><tt class="py-param">dirname</tt><tt class="py-op">,</tt> <tt class="py-param">basename</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
+</div><div id="glob0-collapsed" style="display:none;" pad="++++" indent="++++"></div><div id="glob0-expanded"><a name="L250"></a><tt class="py-lineno"> 250</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">basename</tt> <tt class="py-op">==</tt> <tt class="py-string">''</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">isdir</tt><tt class="py-op">(</tt><tt class="py-name">dirname</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-comment"># `os.path.split()` returns an empty basename for paths ending with a</tt> </tt>
+<a name="L252"></a><tt class="py-lineno"> 252</tt> <tt class="py-line"><tt class="py-comment"></tt> <tt class="py-comment"># directory separator. 'q*x/' should match only directories.</tt> </tt>
+<a name="L253"></a><tt class="py-lineno"> 253</tt> <tt class="py-line"><tt class="py-comment"></tt> <tt class="py-keyword">return</tt> <tt class="py-op">[</tt><tt class="py-name">basename</tt><tt class="py-op">]</tt> </tt>
+<a name="L254"></a><tt class="py-lineno"> 254</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">hasattr</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-string">'lexists'</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
+<a name="L255"></a><tt class="py-lineno"> 255</tt> <tt class="py-line"> <tt class="py-keyword">if</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">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-op">)</tt><tt class="py-op">:</tt> </tt>
+<a name="L256"></a><tt class="py-lineno"> 256</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-op">[</tt><tt class="py-name">basename</tt><tt class="py-op">]</tt> </tt>
+<a name="L257"></a><tt class="py-lineno"> 257</tt> <tt class="py-line"> <tt class="py-keyword">else</tt><tt class="py-op">:</tt> </tt>
+<a name="L258"></a><tt class="py-lineno"> 258</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">islink</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-op">)</tt> <tt class="py-keyword">or</tt> </tt>
+<a name="L259"></a><tt class="py-lineno"> 259</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">exists</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-op">)</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
+<a name="L260"></a><tt class="py-lineno"> 260</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-op">[</tt><tt class="py-name">basename</tt><tt class="py-op">]</tt> </tt>
+<a name="L261"></a><tt class="py-lineno"> 261</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-op">[</tt><tt class="py-op">]</tt> </tt>
+</div><a name="L262"></a><tt class="py-lineno"> 262</tt> <tt class="py-line"> </tt>
+<a name="L263"></a><tt class="py-lineno"> 263</tt> <tt class="py-line"><tt id="link-42" class="py-name" targets="Variable pyinotify.magic_check=pyinotify-module.html#magic_check"><a title="pyinotify.magic_check" class="py-name" href="#" onclick="return doclink('link-42', 'magic_check', 'link-42');">magic_check</a></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-string">'[*?[]'</tt><tt class="py-op">)</tt> </tt>
+<a name="L264"></a><tt class="py-lineno"> 264</tt> <tt class="py-line"> </tt>
+<a name="has_magic"></a><div id="has_magic-def"><a name="L265"></a><tt class="py-lineno"> 265</tt> <a class="py-toggle" href="#" id="has_magic-toggle" onclick="return toggle('has_magic');">-</a><tt class="py-line"><tt class="py-keyword">def</tt> <a class="py-def-name" href="pyinotify-module.html#has_magic">has_magic</a><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="has_magic-collapsed" style="display:none;" pad="++++" indent="++++"></div><div id="has_magic-expanded"><a name="L266"></a><tt class="py-lineno"> 266</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt id="link-43" class="py-name"><a title="pyinotify.magic_check" class="py-name" href="#" onclick="return doclink('link-43', 'magic_check', 'link-42');">magic_check</a></tt><tt class="py-op">.</tt><tt class="py-name">search</tt><tt class="py-op">(</tt><tt class="py-name">s</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="L267"></a><tt class="py-lineno"> 267</tt> <tt class="py-line"> </tt>
+<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> <tt class="py-line"><tt class="py-comment">### Core ###</tt> </tt>
+<a name="L271"></a><tt class="py-lineno"> 271</tt> <tt class="py-line"><tt class="py-comment"></tt> </tt>
+<a name="L272"></a><tt class="py-lineno"> 272</tt> <tt class="py-line"> </tt>
+<a name="EventsCodes"></a><div id="EventsCodes-def"><a name="L273"></a><tt class="py-lineno"> 273</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="L274"></a><tt class="py-lineno"> 274</tt> <tt class="py-line"> <tt class="py-docstring">"""</tt> </tt>
+<a name="L275"></a><tt class="py-lineno"> 275</tt> <tt class="py-line"><tt class="py-docstring"> Set of codes corresponding to each kind of events.</tt> </tt>
+<a name="L276"></a><tt class="py-lineno"> 276</tt> <tt class="py-line"><tt class="py-docstring"> Some of these flags are used to communicate with inotify, whereas</tt> </tt>
+<a name="L277"></a><tt class="py-lineno"> 277</tt> <tt class="py-line"><tt class="py-docstring"> the others are sent to userspace by inotify notifying some events.</tt> </tt>
+<a name="L278"></a><tt class="py-lineno"> 278</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
+<a name="L279"></a><tt class="py-lineno"> 279</tt> <tt class="py-line"><tt class="py-docstring"> @cvar IN_ACCESS: File was accessed.</tt> </tt>
+<a name="L280"></a><tt class="py-lineno"> 280</tt> <tt class="py-line"><tt class="py-docstring"> @type IN_ACCESS: int</tt> </tt>
+<a name="L281"></a><tt class="py-lineno"> 281</tt> <tt class="py-line"><tt class="py-docstring"> @cvar IN_MODIFY: File was modified.</tt> </tt>
+<a name="L282"></a><tt class="py-lineno"> 282</tt> <tt class="py-line"><tt class="py-docstring"> @type IN_MODIFY: int</tt> </tt>
+<a name="L283"></a><tt class="py-lineno"> 283</tt> <tt class="py-line"><tt class="py-docstring"> @cvar IN_ATTRIB: Metadata changed.</tt> </tt>
+<a name="L284"></a><tt class="py-lineno"> 284</tt> <tt class="py-line"><tt class="py-docstring"> @type IN_ATTRIB: int</tt> </tt>
+<a name="L285"></a><tt class="py-lineno"> 285</tt> <tt class="py-line"><tt class="py-docstring"> @cvar IN_CLOSE_WRITE: Writtable file was closed.</tt> </tt>
+<a name="L286"></a><tt class="py-lineno"> 286</tt> <tt class="py-line"><tt class="py-docstring"> @type IN_CLOSE_WRITE: int</tt> </tt>
+<a name="L287"></a><tt class="py-lineno"> 287</tt> <tt class="py-line"><tt class="py-docstring"> @cvar IN_CLOSE_NOWRITE: Unwrittable file closed.</tt> </tt>
+<a name="L288"></a><tt class="py-lineno"> 288</tt> <tt class="py-line"><tt class="py-docstring"> @type IN_CLOSE_NOWRITE: int</tt> </tt>
+<a name="L289"></a><tt class="py-lineno"> 289</tt> <tt class="py-line"><tt class="py-docstring"> @cvar IN_OPEN: File was opened.</tt> </tt>
+<a name="L290"></a><tt class="py-lineno"> 290</tt> <tt class="py-line"><tt class="py-docstring"> @type IN_OPEN: int</tt> </tt>
+<a name="L291"></a><tt class="py-lineno"> 291</tt> <tt class="py-line"><tt class="py-docstring"> @cvar IN_MOVED_FROM: File was moved from X.</tt> </tt>
+<a name="L292"></a><tt class="py-lineno"> 292</tt> <tt class="py-line"><tt class="py-docstring"> @type IN_MOVED_FROM: int</tt> </tt>
+<a name="L293"></a><tt class="py-lineno"> 293</tt> <tt class="py-line"><tt class="py-docstring"> @cvar IN_MOVED_TO: File was moved to Y.</tt> </tt>
+<a name="L294"></a><tt class="py-lineno"> 294</tt> <tt class="py-line"><tt class="py-docstring"> @type IN_MOVED_TO: int</tt> </tt>
+<a name="L295"></a><tt class="py-lineno"> 295</tt> <tt class="py-line"><tt class="py-docstring"> @cvar IN_CREATE: Subfile was created.</tt> </tt>
+<a name="L296"></a><tt class="py-lineno"> 296</tt> <tt class="py-line"><tt class="py-docstring"> @type IN_CREATE: int</tt> </tt>
+<a name="L297"></a><tt class="py-lineno"> 297</tt> <tt class="py-line"><tt class="py-docstring"> @cvar IN_DELETE: Subfile was deleted.</tt> </tt>
+<a name="L298"></a><tt class="py-lineno"> 298</tt> <tt class="py-line"><tt class="py-docstring"> @type IN_DELETE: int</tt> </tt>
+<a name="L299"></a><tt class="py-lineno"> 299</tt> <tt class="py-line"><tt class="py-docstring"> @cvar IN_DELETE_SELF: Self (watched item itself) was deleted.</tt> </tt>
+<a name="L300"></a><tt class="py-lineno"> 300</tt> <tt class="py-line"><tt class="py-docstring"> @type IN_DELETE_SELF: int</tt> </tt>
+<a name="L301"></a><tt class="py-lineno"> 301</tt> <tt class="py-line"><tt class="py-docstring"> @cvar IN_MOVE_SELF: Self (watched item itself) was moved.</tt> </tt>
+<a name="L302"></a><tt class="py-lineno"> 302</tt> <tt class="py-line"><tt class="py-docstring"> @type IN_MOVE_SELF: int</tt> </tt>
+<a name="L303"></a><tt class="py-lineno"> 303</tt> <tt class="py-line"><tt class="py-docstring"> @cvar IN_UNMOUNT: Backing fs was unmounted.</tt> </tt>
+<a name="L304"></a><tt class="py-lineno"> 304</tt> <tt class="py-line"><tt class="py-docstring"> @type IN_UNMOUNT: int</tt> </tt>
+<a name="L305"></a><tt class="py-lineno"> 305</tt> <tt class="py-line"><tt class="py-docstring"> @cvar IN_Q_OVERFLOW: Event queued overflowed.</tt> </tt>
+<a name="L306"></a><tt class="py-lineno"> 306</tt> <tt class="py-line"><tt class="py-docstring"> @type IN_Q_OVERFLOW: int</tt> </tt>
+<a name="L307"></a><tt class="py-lineno"> 307</tt> <tt class="py-line"><tt class="py-docstring"> @cvar IN_IGNORED: File was ignored.</tt> </tt>
+<a name="L308"></a><tt class="py-lineno"> 308</tt> <tt class="py-line"><tt class="py-docstring"> @type IN_IGNORED: int</tt> </tt>
+<a name="L309"></a><tt class="py-lineno"> 309</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="L310"></a><tt class="py-lineno"> 310</tt> <tt class="py-line"><tt class="py-docstring"> in kernel 2.6.15).</tt> </tt>
+<a name="L311"></a><tt class="py-lineno"> 311</tt> <tt class="py-line"><tt class="py-docstring"> @type IN_ONLYDIR: int</tt> </tt>
+<a name="L312"></a><tt class="py-lineno"> 312</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="L313"></a><tt class="py-lineno"> 313</tt> <tt class="py-line"><tt class="py-docstring"> IN_ONLYDIR we can make sure that we don't watch</tt> </tt>
+<a name="L314"></a><tt class="py-lineno"> 314</tt> <tt class="py-line"><tt class="py-docstring"> the target of symlinks.</tt> </tt>
+<a name="L315"></a><tt class="py-lineno"> 315</tt> <tt class="py-line"><tt class="py-docstring"> @type IN_DONT_FOLLOW: int</tt> </tt>
+<a name="L316"></a><tt class="py-lineno"> 316</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="L317"></a><tt class="py-lineno"> 317</tt> <tt class="py-line"><tt class="py-docstring"> in kernel 2.6.14).</tt> </tt>
+<a name="L318"></a><tt class="py-lineno"> 318</tt> <tt class="py-line"><tt class="py-docstring"> @type IN_MASK_ADD: int</tt> </tt>
+<a name="L319"></a><tt class="py-lineno"> 319</tt> <tt class="py-line"><tt class="py-docstring"> @cvar IN_ISDIR: Event occurred against dir.</tt> </tt>
+<a name="L320"></a><tt class="py-lineno"> 320</tt> <tt class="py-line"><tt class="py-docstring"> @type IN_ISDIR: int</tt> </tt>
+<a name="L321"></a><tt class="py-lineno"> 321</tt> <tt class="py-line"><tt class="py-docstring"> @cvar IN_ONESHOT: Only send event once.</tt> </tt>
+<a name="L322"></a><tt class="py-lineno"> 322</tt> <tt class="py-line"><tt class="py-docstring"> @type IN_ONESHOT: int</tt> </tt>
+<a name="L323"></a><tt class="py-lineno"> 323</tt> <tt class="py-line"><tt class="py-docstring"> @cvar ALL_EVENTS: Alias for considering all of the events.</tt> </tt>
+<a name="L324"></a><tt class="py-lineno"> 324</tt> <tt class="py-line"><tt class="py-docstring"> @type ALL_EVENTS: int</tt> </tt>
+<a name="L325"></a><tt class="py-lineno"> 325</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt>
+<a name="L326"></a><tt class="py-lineno"> 326</tt> <tt class="py-line"> </tt>
+<a name="L327"></a><tt class="py-lineno"> 327</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="L328"></a><tt class="py-lineno"> 328</tt> <tt class="py-line"><tt class="py-comment"></tt> <tt class="py-comment"># constants, but we also get nice human-friendly text mappings to do lookups</tt> </tt>
+<a name="L329"></a><tt class="py-lineno"> 329</tt> <tt class="py-line"><tt class="py-comment"></tt> <tt class="py-comment"># against as well, for free:</tt> </tt>
+<a name="L330"></a><tt class="py-lineno"> 330</tt> <tt class="py-line"><tt class="py-comment"></tt> <tt id="link-44" 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-44', 'FLAG_COLLECTIONS', 'link-44');">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="L331"></a><tt class="py-lineno"> 331</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="L332"></a><tt class="py-lineno"> 332</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="L333"></a><tt class="py-lineno"> 333</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="L334"></a><tt class="py-lineno"> 334</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="L335"></a><tt class="py-lineno"> 335</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="L336"></a><tt class="py-lineno"> 336</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="L337"></a><tt class="py-lineno"> 337</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="L338"></a><tt class="py-lineno"> 338</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="L339"></a><tt class="py-lineno"> 339</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="L340"></a><tt class="py-lineno"> 340</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="L341"></a><tt class="py-lineno"> 341</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="L342"></a><tt class="py-lineno"> 342</tt> <tt class="py-line"> <tt class="py-comment"># was deleted</tt> </tt>
+<a name="L343"></a><tt class="py-lineno"> 343</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="L344"></a><tt class="py-lineno"> 344</tt> <tt class="py-line"> <tt class="py-op">}</tt><tt class="py-op">,</tt> </tt>
+<a name="L345"></a><tt class="py-lineno"> 345</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="L346"></a><tt class="py-lineno"> 346</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="L347"></a><tt class="py-lineno"> 347</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="L348"></a><tt class="py-lineno"> 348</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="L349"></a><tt class="py-lineno"> 349</tt> <tt class="py-line"> <tt class="py-op">}</tt><tt class="py-op">,</tt> </tt>
+<a name="L350"></a><tt class="py-lineno"> 350</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="L351"></a><tt class="py-lineno"> 351</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="L352"></a><tt class="py-lineno"> 352</tt> <tt class="py-line"> <tt class="py-comment"># directory</tt> </tt>
+<a name="L353"></a><tt class="py-lineno"> 353</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="L354"></a><tt class="py-lineno"> 354</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="L355"></a><tt class="py-lineno"> 355</tt> <tt class="py-line"> <tt class="py-comment"># existing watch</tt> </tt>
+<a name="L356"></a><tt class="py-lineno"> 356</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="L357"></a><tt class="py-lineno"> 357</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="L358"></a><tt class="py-lineno"> 358</tt> <tt class="py-line"> <tt class="py-op">}</tt><tt class="py-op">,</tt> </tt>
+<a name="L359"></a><tt class="py-lineno"> 359</tt> <tt class="py-line"> <tt class="py-op">}</tt> </tt>
+<a name="L360"></a><tt class="py-lineno"> 360</tt> <tt class="py-line"> </tt>
+<a name="EventsCodes.maskname"></a><div id="EventsCodes.maskname-def"><a name="L361"></a><tt class="py-lineno"> 361</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="L362"></a><tt class="py-lineno"> 362</tt> <tt class="py-line"> <tt class="py-docstring">"""</tt> </tt>
+<a name="L363"></a><tt class="py-lineno"> 363</tt> <tt class="py-line"><tt class="py-docstring"> Return the event name associated to mask. IN_ISDIR is appended when</tt> </tt>
+<a name="L364"></a><tt class="py-lineno"> 364</tt> <tt class="py-line"><tt class="py-docstring"> appropriate. Note: only one event is returned, because only one is</tt> </tt>
+<a name="L365"></a><tt class="py-lineno"> 365</tt> <tt class="py-line"><tt class="py-docstring"> raised once at a time.</tt> </tt>
+<a name="L366"></a><tt class="py-lineno"> 366</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
+<a name="L367"></a><tt class="py-lineno"> 367</tt> <tt class="py-line"><tt class="py-docstring"> @param mask: mask.</tt> </tt>
+<a name="L368"></a><tt class="py-lineno"> 368</tt> <tt class="py-line"><tt class="py-docstring"> @type mask: int</tt> </tt>
+<a name="L369"></a><tt class="py-lineno"> 369</tt> <tt class="py-line"><tt class="py-docstring"> @return: event name.</tt> </tt>
+<a name="L370"></a><tt class="py-lineno"> 370</tt> <tt class="py-line"><tt class="py-docstring"> @rtype: str</tt> </tt>
+<a name="L371"></a><tt class="py-lineno"> 371</tt> <tt class="py-line"><tt class="py-docstring"> """</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>
+<a name="L373"></a><tt class="py-lineno"> 373</tt> <tt class="py-line"> <tt id="link-45" class="py-name"><a title="pyinotify.name" class="py-name" href="#" onclick="return doclink('link-45', 'name', 'link-40');">name</a></tt> <tt class="py-op">=</tt> <tt class="py-string">'%s'</tt> </tt>
+<a name="L374"></a><tt class="py-lineno"> 374</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-46" 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-46', 'IN_ISDIR', 'link-46');">IN_ISDIR</a></tt><tt class="py-op">:</tt> </tt>
+<a name="L375"></a><tt class="py-lineno"> 375</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-47" class="py-name"><a title="pyinotify.IN_ISDIR" class="py-name" href="#" onclick="return doclink('link-47', 'IN_ISDIR', 'link-46');">IN_ISDIR</a></tt> </tt>
+<a name="L376"></a><tt class="py-lineno"> 376</tt> <tt class="py-line"> <tt id="link-48" class="py-name"><a title="pyinotify.name" class="py-name" href="#" onclick="return doclink('link-48', 'name', 'link-40');">name</a></tt> <tt class="py-op">=</tt> <tt class="py-string">'%s|IN_ISDIR'</tt> </tt>
+<a name="L377"></a><tt class="py-lineno"> 377</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt id="link-49" class="py-name"><a title="pyinotify.name" class="py-name" href="#" onclick="return doclink('link-49', 'name', 'link-40');">name</a></tt> <tt class="py-op">%</tt> <tt id="link-50" class="py-name" targets="Class pyinotify.EventsCodes=pyinotify.EventsCodes-class.html"><a title="pyinotify.EventsCodes" class="py-name" href="#" onclick="return doclink('link-50', 'EventsCodes', 'link-50');">EventsCodes</a></tt><tt class="py-op">.</tt><tt id="link-51" 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-51', 'ALL_VALUES', 'link-51');">ALL_VALUES</a></tt><tt class="py-op">[</tt><tt class="py-name">ms</tt><tt class="py-op">]</tt> </tt>
+</div><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 id="link-52" 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-52', 'maskname', 'link-52');">maskname</a></tt> <tt class="py-op">=</tt> <tt class="py-name">staticmethod</tt><tt class="py-op">(</tt><tt id="link-53" class="py-name"><a title="pyinotify.EventsCodes.maskname" class="py-name" href="#" onclick="return doclink('link-53', 'maskname', 'link-52');">maskname</a></tt><tt class="py-op">)</tt> </tt>
+</div><a name="L380"></a><tt class="py-lineno"> 380</tt> <tt class="py-line"> </tt>
+<a name="L381"></a><tt class="py-lineno"> 381</tt> <tt class="py-line"> </tt>
+<a name="L382"></a><tt class="py-lineno"> 382</tt> <tt class="py-line"><tt class="py-comment"># So let's now turn the configuration into code</tt> </tt>
+<a name="L383"></a><tt class="py-lineno"> 383</tt> <tt class="py-line"><tt class="py-comment"></tt><tt id="link-54" class="py-name"><a title="pyinotify.EventsCodes" class="py-name" href="#" onclick="return doclink('link-54', 'EventsCodes', 'link-50');">EventsCodes</a></tt><tt class="py-op">.</tt><tt id="link-55" 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-55', 'ALL_FLAGS', 'link-55');">ALL_FLAGS</a></tt> <tt class="py-op">=</tt> <tt class="py-op">{</tt><tt class="py-op">}</tt> </tt>
+<a name="L384"></a><tt class="py-lineno"> 384</tt> <tt class="py-line"><tt id="link-56" class="py-name"><a title="pyinotify.EventsCodes" class="py-name" href="#" onclick="return doclink('link-56', 'EventsCodes', 'link-50');">EventsCodes</a></tt><tt class="py-op">.</tt><tt id="link-57" class="py-name"><a title="pyinotify.EventsCodes.ALL_VALUES" class="py-name" href="#" onclick="return doclink('link-57', 'ALL_VALUES', 'link-51');">ALL_VALUES</a></tt> <tt class="py-op">=</tt> <tt class="py-op">{</tt><tt class="py-op">}</tt> </tt>
+<a name="L385"></a><tt class="py-lineno"> 385</tt> <tt class="py-line"><tt class="py-keyword">for</tt> <tt id="link-58" class="py-name" targets="Variable pyinotify.flagc=pyinotify-module.html#flagc"><a title="pyinotify.flagc" class="py-name" href="#" onclick="return doclink('link-58', 'flagc', 'link-58');">flagc</a></tt><tt class="py-op">,</tt> <tt id="link-59" class="py-name" targets="Variable pyinotify.valc=pyinotify-module.html#valc"><a title="pyinotify.valc" class="py-name" href="#" onclick="return doclink('link-59', 'valc', 'link-59');">valc</a></tt> <tt class="py-keyword">in</tt> <tt id="link-60" class="py-name"><a title="pyinotify.EventsCodes" class="py-name" href="#" onclick="return doclink('link-60', 'EventsCodes', 'link-50');">EventsCodes</a></tt><tt class="py-op">.</tt><tt id="link-61" class="py-name"><a title="pyinotify.EventsCodes.FLAG_COLLECTIONS" class="py-name" href="#" onclick="return doclink('link-61', 'FLAG_COLLECTIONS', 'link-44');">FLAG_COLLECTIONS</a></tt><tt class="py-op">.</tt><tt class="py-name">iteritems</tt><tt class="py-op">(</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
+<a name="L386"></a><tt class="py-lineno"> 386</tt> <tt class="py-line"> <tt class="py-comment"># Make the collections' members directly accessible through the</tt> </tt>
+<a name="L387"></a><tt class="py-lineno"> 387</tt> <tt class="py-line"><tt class="py-comment"></tt> <tt class="py-comment"># class dictionary</tt> </tt>
+<a name="L388"></a><tt class="py-lineno"> 388</tt> <tt class="py-line"><tt class="py-comment"></tt> <tt class="py-name">setattr</tt><tt class="py-op">(</tt><tt id="link-62" class="py-name"><a title="pyinotify.EventsCodes" class="py-name" href="#" onclick="return doclink('link-62', 'EventsCodes', 'link-50');">EventsCodes</a></tt><tt class="py-op">,</tt> <tt id="link-63" class="py-name"><a title="pyinotify.flagc" class="py-name" href="#" onclick="return doclink('link-63', 'flagc', 'link-58');">flagc</a></tt><tt class="py-op">,</tt> <tt id="link-64" class="py-name"><a title="pyinotify.valc" class="py-name" href="#" onclick="return doclink('link-64', 'valc', 'link-59');">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"># Collect all the flags under a common umbrella</tt> </tt>
+<a name="L391"></a><tt class="py-lineno"> 391</tt> <tt class="py-line"><tt class="py-comment"></tt> <tt id="link-65" class="py-name"><a title="pyinotify.EventsCodes" class="py-name" href="#" onclick="return doclink('link-65', 'EventsCodes', 'link-50');">EventsCodes</a></tt><tt class="py-op">.</tt><tt id="link-66" class="py-name"><a title="pyinotify.EventsCodes.ALL_FLAGS" class="py-name" href="#" onclick="return doclink('link-66', 'ALL_FLAGS', 'link-55');">ALL_FLAGS</a></tt><tt class="py-op">.</tt><tt class="py-name">update</tt><tt class="py-op">(</tt><tt id="link-67" class="py-name"><a title="pyinotify.valc" class="py-name" href="#" onclick="return doclink('link-67', 'valc', 'link-59');">valc</a></tt><tt class="py-op">)</tt> </tt>
+<a name="L392"></a><tt class="py-lineno"> 392</tt> <tt class="py-line"> </tt>
+<a name="L393"></a><tt class="py-lineno"> 393</tt> <tt class="py-line"> <tt class="py-comment"># Make the individual masks accessible as 'constants' at globals() scope</tt> </tt>
+<a name="L394"></a><tt class="py-lineno"> 394</tt> <tt class="py-line"><tt class="py-comment"></tt> <tt class="py-comment"># and masknames accessible by values.</tt> </tt>
+<a name="L395"></a><tt class="py-lineno"> 395</tt> <tt class="py-line"><tt class="py-comment"></tt> <tt class="py-keyword">for</tt> <tt id="link-68" class="py-name"><a title="pyinotify.name" class="py-name" href="#" onclick="return doclink('link-68', 'name', 'link-40');">name</a></tt><tt class="py-op">,</tt> <tt id="link-69" class="py-name" targets="Variable pyinotify.val=pyinotify-module.html#val"><a title="pyinotify.val" class="py-name" href="#" onclick="return doclink('link-69', 'val', 'link-69');">val</a></tt> <tt class="py-keyword">in</tt> <tt id="link-70" class="py-name"><a title="pyinotify.valc" class="py-name" href="#" onclick="return doclink('link-70', 'valc', 'link-59');">valc</a></tt><tt class="py-op">.</tt><tt class="py-name">iteritems</tt><tt class="py-op">(</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
+<a name="L396"></a><tt class="py-lineno"> 396</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-71" class="py-name"><a title="pyinotify.name" class="py-name" href="#" onclick="return doclink('link-71', 'name', 'link-40');">name</a></tt><tt class="py-op">]</tt> <tt class="py-op">=</tt> <tt id="link-72" class="py-name"><a title="pyinotify.val" class="py-name" href="#" onclick="return doclink('link-72', 'val', 'link-69');">val</a></tt> </tt>
+<a name="L397"></a><tt class="py-lineno"> 397</tt> <tt class="py-line"> <tt id="link-73" class="py-name"><a title="pyinotify.EventsCodes" class="py-name" href="#" onclick="return doclink('link-73', 'EventsCodes', 'link-50');">EventsCodes</a></tt><tt class="py-op">.</tt><tt id="link-74" class="py-name"><a title="pyinotify.EventsCodes.ALL_VALUES" class="py-name" href="#" onclick="return doclink('link-74', 'ALL_VALUES', 'link-51');">ALL_VALUES</a></tt><tt class="py-op">[</tt><tt id="link-75" class="py-name"><a title="pyinotify.val" class="py-name" href="#" onclick="return doclink('link-75', 'val', 'link-69');">val</a></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-40');">name</a></tt> </tt>
<a name="L398"></a><tt class="py-lineno"> 398</tt> <tt class="py-line"> </tt>
-<a name="L399"></a><tt class="py-lineno"> 399</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-84" class="py-name"><a title="pyinotify.color_theme" class="py-name" href="#" onclick="return doclink('link-84', 'color_theme', 'link-80');">color_theme</a></tt><tt class="py-op">.</tt><tt class="py-name">punct</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="L400"></a><tt class="py-lineno"> 400</tt> <tt class="py-line"> <tt id="link-85" class="py-name"><a title="pyinotify.color_theme" class="py-name" href="#" onclick="return doclink('link-85', 'color_theme', 'link-80');">color_theme</a></tt><tt class="py-op">.</tt><tt class="py-name">class_name</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="L401"></a><tt class="py-lineno"> 401</tt> <tt class="py-line"> <tt class="py-name">s</tt><tt class="py-op">,</tt> </tt>
-<a name="L402"></a><tt class="py-lineno"> 402</tt> <tt class="py-line"> <tt id="link-86" class="py-name"><a title="pyinotify.color_theme" class="py-name" href="#" onclick="return doclink('link-86', 'color_theme', 'link-80');">color_theme</a></tt><tt class="py-op">.</tt><tt class="py-name">punct</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="L403"></a><tt class="py-lineno"> 403</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-name">s</tt> </tt>
-</div></div><a name="L404"></a><tt class="py-lineno"> 404</tt> <tt class="py-line"> </tt>
+<a name="L399"></a><tt class="py-lineno"> 399</tt> <tt class="py-line"> </tt>
+<a name="L400"></a><tt class="py-lineno"> 400</tt> <tt class="py-line"><tt class="py-comment"># all 'normal' events</tt> </tt>
+<a name="L401"></a><tt class="py-lineno"> 401</tt> <tt class="py-line"><tt class="py-comment"></tt><tt id="link-77" 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-77', 'ALL_EVENTS', 'link-77');">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-78" class="py-name"><a title="pyinotify.EventsCodes" class="py-name" href="#" onclick="return doclink('link-78', 'EventsCodes', 'link-50');">EventsCodes</a></tt><tt class="py-op">.</tt><tt id="link-79" 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-79', 'OP_FLAGS', 'link-79');">OP_FLAGS</a></tt><tt class="py-op">.</tt><tt class="py-name">itervalues</tt><tt class="py-op">(</tt><tt class="py-op">)</tt><tt class="py-op">)</tt> </tt>
+<a name="L402"></a><tt class="py-lineno"> 402</tt> <tt class="py-line"><tt id="link-80" class="py-name"><a title="pyinotify.EventsCodes" class="py-name" href="#" onclick="return doclink('link-80', 'EventsCodes', 'link-50');">EventsCodes</a></tt><tt class="py-op">.</tt><tt id="link-81" class="py-name"><a title="pyinotify.EventsCodes.ALL_FLAGS" class="py-name" href="#" onclick="return doclink('link-81', 'ALL_FLAGS', 'link-55');">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-82" class="py-name"><a title="pyinotify.ALL_EVENTS" class="py-name" href="#" onclick="return doclink('link-82', 'ALL_EVENTS', 'link-77');">ALL_EVENTS</a></tt> </tt>
+<a name="L403"></a><tt class="py-lineno"> 403</tt> <tt class="py-line"><tt id="link-83" class="py-name"><a title="pyinotify.EventsCodes" class="py-name" href="#" onclick="return doclink('link-83', 'EventsCodes', 'link-50');">EventsCodes</a></tt><tt class="py-op">.</tt><tt id="link-84" class="py-name"><a title="pyinotify.EventsCodes.ALL_VALUES" class="py-name" href="#" onclick="return doclink('link-84', 'ALL_VALUES', 'link-51');">ALL_VALUES</a></tt><tt class="py-op">[</tt><tt id="link-85" class="py-name"><a title="pyinotify.ALL_EVENTS" class="py-name" href="#" onclick="return doclink('link-85', 'ALL_EVENTS', 'link-77');">ALL_EVENTS</a></tt><tt class="py-op">]</tt> <tt class="py-op">=</tt> <tt class="py-string">'ALL_EVENTS'</tt> </tt>
+<a name="L404"></a><tt class="py-lineno"> 404</tt> <tt class="py-line"> </tt>
<a name="L405"></a><tt class="py-lineno"> 405</tt> <tt class="py-line"> </tt>
-<a name="_RawEvent"></a><div id="_RawEvent-def"><a name="L406"></a><tt class="py-lineno"> 406</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="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"> Raw event, it contains only the informations provided by the system.</tt> </tt>
-<a name="L409"></a><tt class="py-lineno"> 409</tt> <tt class="py-line"><tt class="py-docstring"> It doesn't infer anything.</tt> </tt>
-<a name="L410"></a><tt class="py-lineno"> 410</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt>
-<a name="_RawEvent.__init__"></a><div id="_RawEvent.__init__-def"><a name="L411"></a><tt class="py-lineno"> 411</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="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 wd: Watch Descriptor.</tt> </tt>
-<a name="L414"></a><tt class="py-lineno"> 414</tt> <tt class="py-line"><tt class="py-docstring"> @type wd: int</tt> </tt>
-<a name="L415"></a><tt class="py-lineno"> 415</tt> <tt class="py-line"><tt class="py-docstring"> @param mask: Bitmask of events.</tt> </tt>
-<a name="L416"></a><tt class="py-lineno"> 416</tt> <tt class="py-line"><tt class="py-docstring"> @type mask: int</tt> </tt>
-<a name="L417"></a><tt class="py-lineno"> 417</tt> <tt class="py-line"><tt class="py-docstring"> @param cookie: Cookie.</tt> </tt>
-<a name="L418"></a><tt class="py-lineno"> 418</tt> <tt class="py-line"><tt class="py-docstring"> @type cookie: int</tt> </tt>
-<a name="L419"></a><tt class="py-lineno"> 419</tt> <tt class="py-line"><tt class="py-docstring"> @param name: Basename of the file or directory against which the</tt> </tt>
-<a name="L420"></a><tt class="py-lineno"> 420</tt> <tt class="py-line"><tt class="py-docstring"> event was raised, in case where the watched directory</tt> </tt>
-<a name="L421"></a><tt class="py-lineno"> 421</tt> <tt class="py-line"><tt class="py-docstring"> is the parent directory. None if the event was raised</tt> </tt>
-<a name="L422"></a><tt class="py-lineno"> 422</tt> <tt class="py-line"><tt class="py-docstring"> on the watched item itself.</tt> </tt>
-<a name="L423"></a><tt class="py-lineno"> 423</tt> <tt class="py-line"><tt class="py-docstring"> @type name: string or None</tt> </tt>
-<a name="L424"></a><tt class="py-lineno"> 424</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt>
-<a name="L425"></a><tt class="py-lineno"> 425</tt> <tt class="py-line"> <tt class="py-comment"># name: remove trailing '\0'</tt> </tt>
-<a name="L426"></a><tt class="py-lineno"> 426</tt> <tt class="py-line"><tt class="py-comment"></tt> <tt class="py-name">super</tt><tt class="py-op">(</tt><tt id="link-87" class="py-name" targets="Class pyinotify._RawEvent=pyinotify._RawEvent-class.html"><a title="pyinotify._RawEvent" class="py-name" href="#" onclick="return doclink('link-87', '_RawEvent', 'link-87');">_RawEvent</a></tt><tt class="py-op">,</tt> <tt class="py-name">self</tt><tt class="py-op">)</tt><tt class="py-op">.</tt><tt id="link-88" class="py-name" targets="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.SysCtlINotify.__init__()=pyinotify.SysCtlINotify-class.html#__init__,Method pyinotify.ThreadedNotifier.__init__()=pyinotify.ThreadedNotifier-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.Event.__init__
+<a name="_Event"></a><div id="_Event-def"><a name="L406"></a><tt class="py-lineno"> 406</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="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"> Event structure, represent events raised by the system. This</tt> </tt>
+<a name="L409"></a><tt class="py-lineno"> 409</tt> <tt class="py-line"><tt class="py-docstring"> is the base class and should be subclassed.</tt> </tt>
+<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"> """</tt> </tt>
+<a name="_Event.__init__"></a><div id="_Event.__init__-def"><a name="L412"></a><tt class="py-lineno"> 412</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="L413"></a><tt class="py-lineno"> 413</tt> <tt class="py-line"> <tt class="py-docstring">"""</tt> </tt>
+<a name="L414"></a><tt class="py-lineno"> 414</tt> <tt class="py-line"><tt class="py-docstring"> Attach attributes (contained in dict_) to self.</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">iteritems</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: 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-86" class="py-name"><a title="pyinotify.SysCtlINotify.value" class="py-name" href="#" onclick="return doclink('link-86', 'value', 'link-25');">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-87" class="py-name"><a title="pyinotify.SysCtlINotify.value" class="py-name" href="#" onclick="return doclink('link-87', 'value', 'link-25');">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-88" class="py-name"><a title="pyinotify.SysCtlINotify.value" class="py-name" href="#" onclick="return doclink('link-88', 'value', 'link-25');">value</a></tt><tt class="py-op">,</tt> <tt class="py-name">str</tt><tt class="py-op">)</tt> <tt class="py-keyword">and</tt> <tt class="py-keyword">not</tt> <tt id="link-89" class="py-name"><a title="pyinotify.SysCtlINotify.value" class="py-name" href="#" onclick="return doclink('link-89', 'value', 'link-25');">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-90" class="py-name"><a title="pyinotify.SysCtlINotify.value" class="py-name" href="#" onclick="return doclink('link-90', 'value', 'link-25');">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-91" class="py-name" targets="Variable pyinotify.color_theme=pyinotify-module.html#color_theme"><a title="pyinotify.color_theme" class="py-name" href="#" onclick="return doclink('link-91', 'color_theme', 'link-91');">color_theme</a></tt><tt class="py-op">.</tt><tt class="py-name">field_name</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-92" class="py-name"><a title="pyinotify.color_theme" class="py-name" href="#" onclick="return doclink('link-92', 'color_theme', 'link-91');">color_theme</a></tt><tt class="py-op">.</tt><tt class="py-name">punct</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-93" class="py-name"><a title="pyinotify.color_theme" class="py-name" href="#" onclick="return doclink('link-93', 'color_theme', 'link-91');">color_theme</a></tt><tt class="py-op">.</tt><tt class="py-name">field_value</tt><tt class="py-op">(</tt><tt id="link-94" class="py-name"><a title="pyinotify.SysCtlINotify.value" class="py-name" href="#" onclick="return doclink('link-94', 'value', 'link-25');">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-95" class="py-name"><a title="pyinotify.color_theme" class="py-name" href="#" onclick="return doclink('link-95', 'color_theme', 'link-91');">color_theme</a></tt><tt class="py-op">.</tt><tt class="py-name">punct</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-96" class="py-name"><a title="pyinotify.color_theme" class="py-name" href="#" onclick="return doclink('link-96', 'color_theme', 'link-91');">color_theme</a></tt><tt class="py-op">.</tt><tt class="py-name">class_name</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-97" class="py-name"><a title="pyinotify.color_theme" class="py-name" href="#" onclick="return doclink('link-97', 'color_theme', 'link-91');">color_theme</a></tt><tt class="py-op">.</tt><tt class="py-name">punct</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></div><a name="L441"></a><tt class="py-lineno"> 441</tt> <tt class="py-line"> </tt>
+<a name="L442"></a><tt class="py-lineno"> 442</tt> <tt class="py-line"> </tt>
+<a name="_RawEvent"></a><div id="_RawEvent-def"><a name="L443"></a><tt class="py-lineno"> 443</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="L444"></a><tt class="py-lineno"> 444</tt> <tt class="py-line"> <tt class="py-docstring">"""</tt> </tt>
+<a name="L445"></a><tt class="py-lineno"> 445</tt> <tt class="py-line"><tt class="py-docstring"> Raw event, it contains only the informations provided by the system.</tt> </tt>
+<a name="L446"></a><tt class="py-lineno"> 446</tt> <tt class="py-line"><tt class="py-docstring"> It doesn't infer anything.</tt> </tt>
+<a name="L447"></a><tt class="py-lineno"> 447</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt>
+<a name="_RawEvent.__init__"></a><div id="_RawEvent.__init__-def"><a name="L448"></a><tt class="py-lineno"> 448</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="L449"></a><tt class="py-lineno"> 449</tt> <tt class="py-line"> <tt class="py-docstring">"""</tt> </tt>
+<a name="L450"></a><tt class="py-lineno"> 450</tt> <tt class="py-line"><tt class="py-docstring"> @param wd: Watch Descriptor.</tt> </tt>
+<a name="L451"></a><tt class="py-lineno"> 451</tt> <tt class="py-line"><tt class="py-docstring"> @type wd: int</tt> </tt>
+<a name="L452"></a><tt class="py-lineno"> 452</tt> <tt class="py-line"><tt class="py-docstring"> @param mask: Bitmask of events.</tt> </tt>
+<a name="L453"></a><tt class="py-lineno"> 453</tt> <tt class="py-line"><tt class="py-docstring"> @type mask: int</tt> </tt>
+<a name="L454"></a><tt class="py-lineno"> 454</tt> <tt class="py-line"><tt class="py-docstring"> @param cookie: Cookie.</tt> </tt>
+<a name="L455"></a><tt class="py-lineno"> 455</tt> <tt class="py-line"><tt class="py-docstring"> @type cookie: int</tt> </tt>
+<a name="L456"></a><tt class="py-lineno"> 456</tt> <tt class="py-line"><tt class="py-docstring"> @param name: Basename of the file or directory against which the</tt> </tt>
+<a name="L457"></a><tt class="py-lineno"> 457</tt> <tt class="py-line"><tt class="py-docstring"> event was raised, in case where the watched directory</tt> </tt>
+<a name="L458"></a><tt class="py-lineno"> 458</tt> <tt class="py-line"><tt class="py-docstring"> is the parent directory. None if the event was raised</tt> </tt>
+<a name="L459"></a><tt class="py-lineno"> 459</tt> <tt class="py-line"><tt class="py-docstring"> on the watched item itself.</tt> </tt>
+<a name="L460"></a><tt class="py-lineno"> 460</tt> <tt class="py-line"><tt class="py-docstring"> @type name: string or None</tt> </tt>
+<a name="L461"></a><tt class="py-lineno"> 461</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt>
+<a name="L462"></a><tt class="py-lineno"> 462</tt> <tt class="py-line"> <tt class="py-comment"># name: remove trailing '\0'</tt> </tt>
+<a name="L463"></a><tt class="py-lineno"> 463</tt> <tt class="py-line"><tt class="py-comment"></tt> <tt class="py-name">super</tt><tt class="py-op">(</tt><tt id="link-98" class="py-name" targets="Class pyinotify._RawEvent=pyinotify._RawEvent-class.html"><a title="pyinotify._RawEvent" class="py-name" href="#" onclick="return doclink('link-98', '_RawEvent', 'link-98');">_RawEvent</a></tt><tt class="py-op">,</tt> <tt class="py-name">self</tt><tt class="py-op">)</tt><tt class="py-op">.</tt><tt id="link-99" class="py-name"><a title="pyinotify.Event.__init__
pyinotify.ExcludeFilter.__init__
pyinotify.Notifier.__init__
pyinotify.NotifierError.__init__
@@ -488,46 +555,48 @@ pyinotify.ProcessEvent.__init__
pyinotify.ProcessEventError.__init__
pyinotify.SysCtlINotify.__init__
pyinotify.ThreadedNotifier.__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-88', '__init__', 'link-88');">__init__</a></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="L427"></a><tt class="py-lineno"> 427</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="L428"></a><tt class="py-lineno"> 428</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="L429"></a><tt class="py-lineno"> 429</tt> <tt class="py-line"> <tt class="py-string">'name'</tt><tt class="py-op">:</tt> <tt id="link-89" class="py-name"><a title="pyinotify.name" class="py-name" href="#" onclick="return doclink('link-89', 'name', 'link-29');">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 class="py-op">)</tt> </tt>
-<a name="L430"></a><tt class="py-lineno"> 430</tt> <tt class="py-line"> <tt id="link-90" class="py-name"><a title="pyinotify.log" class="py-name" href="#" onclick="return doclink('link-90', 'log', 'link-1');">log</a></tt><tt class="py-op">.</tt><tt class="py-name">debug</tt><tt class="py-op">(</tt><tt class="py-name">repr</tt><tt class="py-op">(</tt><tt class="py-name">self</tt><tt class="py-op">)</tt><tt class="py-op">)</tt> </tt>
-</div></div><a name="L431"></a><tt class="py-lineno"> 431</tt> <tt class="py-line"> </tt>
-<a name="L432"></a><tt class="py-lineno"> 432</tt> <tt class="py-line"> </tt>
-<a name="Event"></a><div id="Event-def"><a name="L433"></a><tt class="py-lineno"> 433</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="L434"></a><tt class="py-lineno"> 434</tt> <tt class="py-line"> <tt class="py-docstring">"""</tt> </tt>
-<a name="L435"></a><tt class="py-lineno"> 435</tt> <tt class="py-line"><tt class="py-docstring"> This class contains all the useful informations about the observed</tt> </tt>
-<a name="L436"></a><tt class="py-lineno"> 436</tt> <tt class="py-line"><tt class="py-docstring"> event. However, the incorporation of each field is not guaranteed and</tt> </tt>
-<a name="L437"></a><tt class="py-lineno"> 437</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="L438"></a><tt class="py-lineno"> 438</tt> <tt class="py-line"><tt class="py-docstring"> for some kind of event (for example 'cookie' is meaningless for</tt> </tt>
-<a name="L439"></a><tt class="py-lineno"> 439</tt> <tt class="py-line"><tt class="py-docstring"> IN_CREATE whereas it is useful for IN_MOVE_TO).</tt> </tt>
-<a name="L440"></a><tt class="py-lineno"> 440</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
-<a name="L441"></a><tt class="py-lineno"> 441</tt> <tt class="py-line"><tt class="py-docstring"> The possible fields are:</tt> </tt>
-<a name="L442"></a><tt class="py-lineno"> 442</tt> <tt class="py-line"><tt class="py-docstring"> - wd (int): Watch Descriptor.</tt> </tt>
-<a name="L443"></a><tt class="py-lineno"> 443</tt> <tt class="py-line"><tt class="py-docstring"> - mask (int): Mask.</tt> </tt>
-<a name="L444"></a><tt class="py-lineno"> 444</tt> <tt class="py-line"><tt class="py-docstring"> - maskname (str): Readable event name.</tt> </tt>
-<a name="L445"></a><tt class="py-lineno"> 445</tt> <tt class="py-line"><tt class="py-docstring"> - path (str): path of the file or directory being watched.</tt> </tt>
-<a name="L446"></a><tt class="py-lineno"> 446</tt> <tt class="py-line"><tt class="py-docstring"> - name (str): Basename of the file or directory against which the</tt> </tt>
-<a name="L447"></a><tt class="py-lineno"> 447</tt> <tt class="py-line"><tt class="py-docstring"> event was raised, in case where the watched directory</tt> </tt>
-<a name="L448"></a><tt class="py-lineno"> 448</tt> <tt class="py-line"><tt class="py-docstring"> is the parent directory. None if the event was raised</tt> </tt>
-<a name="L449"></a><tt class="py-lineno"> 449</tt> <tt class="py-line"><tt class="py-docstring"> on the watched item itself. This field is always provided</tt> </tt>
-<a name="L450"></a><tt class="py-lineno"> 450</tt> <tt class="py-line"><tt class="py-docstring"> even if the string is ''.</tt> </tt>
-<a name="L451"></a><tt class="py-lineno"> 451</tt> <tt class="py-line"><tt class="py-docstring"> - pathname (str): absolute path of: path + name</tt> </tt>
-<a name="L452"></a><tt class="py-lineno"> 452</tt> <tt class="py-line"><tt class="py-docstring"> - cookie (int): Cookie.</tt> </tt>
-<a name="L453"></a><tt class="py-lineno"> 453</tt> <tt class="py-line"><tt class="py-docstring"> - dir (bool): is the event raised against directory.</tt> </tt>
-<a name="L454"></a><tt class="py-lineno"> 454</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
-<a name="L455"></a><tt class="py-lineno"> 455</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt>
-<a name="Event.__init__"></a><div id="Event.__init__-def"><a name="L456"></a><tt class="py-lineno"> 456</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="L457"></a><tt class="py-lineno"> 457</tt> <tt class="py-line"> <tt class="py-docstring">"""</tt> </tt>
-<a name="L458"></a><tt class="py-lineno"> 458</tt> <tt class="py-line"><tt class="py-docstring"> Concretely, this is the raw event plus inferred infos.</tt> </tt>
-<a name="L459"></a><tt class="py-lineno"> 459</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt>
-<a name="L460"></a><tt class="py-lineno"> 460</tt> <tt class="py-line"> <tt id="link-91" class="py-name" targets="Class pyinotify._Event=pyinotify._Event-class.html"><a title="pyinotify._Event" class="py-name" href="#" onclick="return doclink('link-91', '_Event', 'link-91');">_Event</a></tt><tt class="py-op">.</tt><tt id="link-92" class="py-name"><a title="pyinotify.Event.__init__
+pyinotify._SysProcessEvent.__init__" class="py-name" href="#" onclick="return doclink('link-99', '__init__', 'link-1');">__init__</a></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="L464"></a><tt class="py-lineno"> 464</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="L465"></a><tt class="py-lineno"> 465</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="L466"></a><tt class="py-lineno"> 466</tt> <tt class="py-line"> <tt class="py-string">'name'</tt><tt class="py-op">:</tt> <tt id="link-100" class="py-name"><a title="pyinotify.name" class="py-name" href="#" onclick="return doclink('link-100', 'name', 'link-40');">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 class="py-op">)</tt> </tt>
+<a name="L467"></a><tt class="py-lineno"> 467</tt> <tt class="py-line"> <tt id="link-101" class="py-name"><a title="pyinotify.log" class="py-name" href="#" onclick="return doclink('link-101', 'log', 'link-13');">log</a></tt><tt class="py-op">.</tt><tt class="py-name">debug</tt><tt class="py-op">(</tt><tt class="py-name">repr</tt><tt class="py-op">(</tt><tt class="py-name">self</tt><tt class="py-op">)</tt><tt class="py-op">)</tt> </tt>
+</div></div><a name="L468"></a><tt class="py-lineno"> 468</tt> <tt class="py-line"> </tt>
+<a name="L469"></a><tt class="py-lineno"> 469</tt> <tt class="py-line"> </tt>
+<a name="Event"></a><div id="Event-def"><a name="L470"></a><tt class="py-lineno"> 470</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="L471"></a><tt class="py-lineno"> 471</tt> <tt class="py-line"> <tt class="py-docstring">"""</tt> </tt>
+<a name="L472"></a><tt class="py-lineno"> 472</tt> <tt class="py-line"><tt class="py-docstring"> This class contains all the useful informations about the observed</tt> </tt>
+<a name="L473"></a><tt class="py-lineno"> 473</tt> <tt class="py-line"><tt class="py-docstring"> event. However, the incorporation of each field is not guaranteed and</tt> </tt>
+<a name="L474"></a><tt class="py-lineno"> 474</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="L475"></a><tt class="py-lineno"> 475</tt> <tt class="py-line"><tt class="py-docstring"> for some kind of event (for example 'cookie' is meaningless for</tt> </tt>
+<a name="L476"></a><tt class="py-lineno"> 476</tt> <tt class="py-line"><tt class="py-docstring"> IN_CREATE whereas it is useful for IN_MOVE_TO).</tt> </tt>
+<a name="L477"></a><tt class="py-lineno"> 477</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
+<a name="L478"></a><tt class="py-lineno"> 478</tt> <tt class="py-line"><tt class="py-docstring"> The possible fields are:</tt> </tt>
+<a name="L479"></a><tt class="py-lineno"> 479</tt> <tt class="py-line"><tt class="py-docstring"> - wd (int): Watch Descriptor.</tt> </tt>
+<a name="L480"></a><tt class="py-lineno"> 480</tt> <tt class="py-line"><tt class="py-docstring"> - mask (int): Mask.</tt> </tt>
+<a name="L481"></a><tt class="py-lineno"> 481</tt> <tt class="py-line"><tt class="py-docstring"> - maskname (str): Readable event name.</tt> </tt>
+<a name="L482"></a><tt class="py-lineno"> 482</tt> <tt class="py-line"><tt class="py-docstring"> - path (str): path of the file or directory being watched.</tt> </tt>
+<a name="L483"></a><tt class="py-lineno"> 483</tt> <tt class="py-line"><tt class="py-docstring"> - name (str): Basename of the file or directory against which the</tt> </tt>
+<a name="L484"></a><tt class="py-lineno"> 484</tt> <tt class="py-line"><tt class="py-docstring"> event was raised, in case where the watched directory</tt> </tt>
+<a name="L485"></a><tt class="py-lineno"> 485</tt> <tt class="py-line"><tt class="py-docstring"> is the parent directory. None if the event was raised</tt> </tt>
+<a name="L486"></a><tt class="py-lineno"> 486</tt> <tt class="py-line"><tt class="py-docstring"> on the watched item itself. This field is always provided</tt> </tt>
+<a name="L487"></a><tt class="py-lineno"> 487</tt> <tt class="py-line"><tt class="py-docstring"> even if the string is ''.</tt> </tt>
+<a name="L488"></a><tt class="py-lineno"> 488</tt> <tt class="py-line"><tt class="py-docstring"> - pathname (str): absolute path of: path + name</tt> </tt>
+<a name="L489"></a><tt class="py-lineno"> 489</tt> <tt class="py-line"><tt class="py-docstring"> - cookie (int): Cookie.</tt> </tt>
+<a name="L490"></a><tt class="py-lineno"> 490</tt> <tt class="py-line"><tt class="py-docstring"> - dir (bool): is the event raised against directory.</tt> </tt>
+<a name="L491"></a><tt class="py-lineno"> 491</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
+<a name="L492"></a><tt class="py-lineno"> 492</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt>
+<a name="Event.__init__"></a><div id="Event.__init__-def"><a name="L493"></a><tt class="py-lineno"> 493</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="L494"></a><tt class="py-lineno"> 494</tt> <tt class="py-line"> <tt class="py-docstring">"""</tt> </tt>
+<a name="L495"></a><tt class="py-lineno"> 495</tt> <tt class="py-line"><tt class="py-docstring"> Concretely, this is the raw event plus inferred infos.</tt> </tt>
+<a name="L496"></a><tt class="py-lineno"> 496</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt>
+<a name="L497"></a><tt class="py-lineno"> 497</tt> <tt class="py-line"> <tt id="link-102" class="py-name" targets="Class pyinotify._Event=pyinotify._Event-class.html"><a title="pyinotify._Event" class="py-name" href="#" onclick="return doclink('link-102', '_Event', 'link-102');">_Event</a></tt><tt class="py-op">.</tt><tt id="link-103" class="py-name"><a title="pyinotify.Event.__init__
pyinotify.ExcludeFilter.__init__
pyinotify.Notifier.__init__
pyinotify.NotifierError.__init__
@@ -535,33 +604,35 @@ pyinotify.ProcessEvent.__init__
pyinotify.ProcessEventError.__init__
pyinotify.SysCtlINotify.__init__
pyinotify.ThreadedNotifier.__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-92', '__init__', 'link-88');">__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="L461"></a><tt class="py-lineno"> 461</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-93" class="py-name"><a title="pyinotify.EventsCodes.maskname" class="py-name" href="#" onclick="return doclink('link-93', 'maskname', 'link-41');">maskname</a></tt> <tt class="py-op">=</tt> <tt id="link-94" class="py-name"><a title="pyinotify.EventsCodes" class="py-name" href="#" onclick="return doclink('link-94', 'EventsCodes', 'link-39');">EventsCodes</a></tt><tt class="py-op">.</tt><tt id="link-95" class="py-name"><a title="pyinotify.EventsCodes.maskname" class="py-name" href="#" onclick="return doclink('link-95', 'maskname', 'link-41');">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="L462"></a><tt class="py-lineno"> 462</tt> <tt class="py-line"> <tt class="py-keyword">try</tt><tt class="py-op">:</tt> </tt>
-<a name="L463"></a><tt class="py-lineno"> 463</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-96" class="py-name"><a title="pyinotify.name" class="py-name" href="#" onclick="return doclink('link-96', 'name', 'link-29');">name</a></tt><tt class="py-op">:</tt> </tt>
-<a name="L464"></a><tt class="py-lineno"> 464</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="L465"></a><tt class="py-lineno"> 465</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-97" class="py-name"><a title="pyinotify.name" class="py-name" href="#" onclick="return doclink('link-97', 'name', 'link-29');">name</a></tt><tt class="py-op">)</tt><tt class="py-op">)</tt> </tt>
-<a name="L466"></a><tt class="py-lineno"> 466</tt> <tt class="py-line"> <tt class="py-keyword">else</tt><tt class="py-op">:</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">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="L468"></a><tt class="py-lineno"> 468</tt> <tt class="py-line"> <tt class="py-keyword">except</tt> <tt class="py-name">AttributeError</tt><tt class="py-op">:</tt> </tt>
-<a name="L469"></a><tt class="py-lineno"> 469</tt> <tt class="py-line"> <tt class="py-keyword">pass</tt> </tt>
-</div></div><a name="L470"></a><tt class="py-lineno"> 470</tt> <tt class="py-line"> </tt>
-<a name="L471"></a><tt class="py-lineno"> 471</tt> <tt class="py-line"> </tt>
-<a name="ProcessEventError"></a><div id="ProcessEventError-def"><a name="L472"></a><tt class="py-lineno"> 472</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">Exception</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="L473"></a><tt class="py-lineno"> 473</tt> <tt class="py-line"> <tt class="py-docstring">"""</tt> </tt>
-<a name="L474"></a><tt class="py-lineno"> 474</tt> <tt class="py-line"><tt class="py-docstring"> ProcessEventError Exception. Raised on ProcessEvent error.</tt> </tt>
-<a name="L475"></a><tt class="py-lineno"> 475</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt>
-<a name="ProcessEventError.__init__"></a><div id="ProcessEventError.__init__-def"><a name="L476"></a><tt class="py-lineno"> 476</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">msg</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="L477"></a><tt class="py-lineno"> 477</tt> <tt class="py-line"> <tt class="py-docstring">"""</tt> </tt>
-<a name="L478"></a><tt class="py-lineno"> 478</tt> <tt class="py-line"><tt class="py-docstring"> @param msg: Exception string's description.</tt> </tt>
-<a name="L479"></a><tt class="py-lineno"> 479</tt> <tt class="py-line"><tt class="py-docstring"> @type msg: string</tt> </tt>
-<a name="L480"></a><tt class="py-lineno"> 480</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt>
-<a name="L481"></a><tt class="py-lineno"> 481</tt> <tt class="py-line"> <tt class="py-name">Exception</tt><tt class="py-op">.</tt><tt id="link-98" class="py-name"><a title="pyinotify.Event.__init__
+pyinotify._SysProcessEvent.__init__" class="py-name" href="#" onclick="return doclink('link-103', '__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="L498"></a><tt class="py-lineno"> 498</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-104" class="py-name"><a title="pyinotify.EventsCodes.maskname" class="py-name" href="#" onclick="return doclink('link-104', 'maskname', 'link-52');">maskname</a></tt> <tt class="py-op">=</tt> <tt id="link-105" class="py-name"><a title="pyinotify.EventsCodes" class="py-name" href="#" onclick="return doclink('link-105', 'EventsCodes', 'link-50');">EventsCodes</a></tt><tt class="py-op">.</tt><tt id="link-106" class="py-name"><a title="pyinotify.EventsCodes.maskname" class="py-name" href="#" onclick="return doclink('link-106', 'maskname', 'link-52');">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="L499"></a><tt class="py-lineno"> 499</tt> <tt class="py-line"> <tt class="py-keyword">try</tt><tt class="py-op">:</tt> </tt>
+<a name="L500"></a><tt class="py-lineno"> 500</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-107" class="py-name"><a title="pyinotify.name" class="py-name" href="#" onclick="return doclink('link-107', 'name', 'link-40');">name</a></tt><tt class="py-op">:</tt> </tt>
+<a name="L501"></a><tt class="py-lineno"> 501</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="L502"></a><tt class="py-lineno"> 502</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-108" class="py-name"><a title="pyinotify.name" class="py-name" href="#" onclick="return doclink('link-108', 'name', 'link-40');">name</a></tt><tt class="py-op">)</tt><tt class="py-op">)</tt> </tt>
+<a name="L503"></a><tt class="py-lineno"> 503</tt> <tt class="py-line"> <tt class="py-keyword">else</tt><tt class="py-op">:</tt> </tt>
+<a name="L504"></a><tt class="py-lineno"> 504</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="L505"></a><tt class="py-lineno"> 505</tt> <tt class="py-line"> <tt class="py-keyword">except</tt> <tt class="py-name">AttributeError</tt><tt class="py-op">:</tt> </tt>
+<a name="L506"></a><tt class="py-lineno"> 506</tt> <tt class="py-line"> <tt class="py-keyword">pass</tt> </tt>
+</div></div><a name="L507"></a><tt class="py-lineno"> 507</tt> <tt class="py-line"> </tt>
+<a name="L508"></a><tt class="py-lineno"> 508</tt> <tt class="py-line"> </tt>
+<a name="ProcessEventError"></a><div id="ProcessEventError-def"><a name="L509"></a><tt class="py-lineno"> 509</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="L510"></a><tt class="py-lineno"> 510</tt> <tt class="py-line"> <tt class="py-docstring">"""</tt> </tt>
+<a name="L511"></a><tt class="py-lineno"> 511</tt> <tt class="py-line"><tt class="py-docstring"> ProcessEventError Exception. Raised on ProcessEvent error.</tt> </tt>
+<a name="L512"></a><tt class="py-lineno"> 512</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt>
+<a name="ProcessEventError.__init__"></a><div id="ProcessEventError.__init__-def"><a name="L513"></a><tt class="py-lineno"> 513</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="L514"></a><tt class="py-lineno"> 514</tt> <tt class="py-line"> <tt class="py-docstring">"""</tt> </tt>
+<a name="L515"></a><tt class="py-lineno"> 515</tt> <tt class="py-line"><tt class="py-docstring"> @param err: Exception error description.</tt> </tt>
+<a name="L516"></a><tt class="py-lineno"> 516</tt> <tt class="py-line"><tt class="py-docstring"> @type err: string</tt> </tt>
+<a name="L517"></a><tt class="py-lineno"> 517</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt>
+<a name="L518"></a><tt class="py-lineno"> 518</tt> <tt class="py-line"> <tt id="link-109" class="py-name"><a title="pyinotify.PyinotifyError" class="py-name" href="#" onclick="return doclink('link-109', 'PyinotifyError', 'link-0');">PyinotifyError</a></tt><tt class="py-op">.</tt><tt id="link-110" class="py-name"><a title="pyinotify.Event.__init__
pyinotify.ExcludeFilter.__init__
pyinotify.Notifier.__init__
pyinotify.NotifierError.__init__
@@ -569,396 +640,398 @@ pyinotify.ProcessEvent.__init__
pyinotify.ProcessEventError.__init__
pyinotify.SysCtlINotify.__init__
pyinotify.ThreadedNotifier.__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-98', '__init__', 'link-88');">__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="L482"></a><tt class="py-lineno"> 482</tt> <tt class="py-line"> </tt>
-<a name="L483"></a><tt class="py-lineno"> 483</tt> <tt class="py-line"> </tt>
-<a name="_ProcessEvent"></a><div id="_ProcessEvent-def"><a name="L484"></a><tt class="py-lineno"> 484</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="L485"></a><tt class="py-lineno"> 485</tt> <tt class="py-line"> <tt class="py-docstring">"""</tt> </tt>
-<a name="L486"></a><tt class="py-lineno"> 486</tt> <tt class="py-line"><tt class="py-docstring"> Abstract processing event class.</tt> </tt>
-<a name="L487"></a><tt class="py-lineno"> 487</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt>
-<a name="_ProcessEvent.__call__"></a><div id="_ProcessEvent.__call__-def"><a name="L488"></a><tt class="py-lineno"> 488</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="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"> To behave like a functor the object must be callable.</tt> </tt>
-<a name="L491"></a><tt class="py-lineno"> 491</tt> <tt class="py-line"><tt class="py-docstring"> This method is a dispatch method. Lookup order:</tt> </tt>
-<a name="L492"></a><tt class="py-lineno"> 492</tt> <tt class="py-line"><tt class="py-docstring"> 1. process_MASKNAME method</tt> </tt>
-<a name="L493"></a><tt class="py-lineno"> 493</tt> <tt class="py-line"><tt class="py-docstring"> 2. process_FAMILY_NAME method</tt> </tt>
-<a name="L494"></a><tt class="py-lineno"> 494</tt> <tt class="py-line"><tt class="py-docstring"> 3. otherwise call process_default</tt> </tt>
-<a name="L495"></a><tt class="py-lineno"> 495</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
-<a name="L496"></a><tt class="py-lineno"> 496</tt> <tt class="py-line"><tt class="py-docstring"> @param event: Event to be processed.</tt> </tt>
-<a name="L497"></a><tt class="py-lineno"> 497</tt> <tt class="py-line"><tt class="py-docstring"> @type event: Event object</tt> </tt>
-<a name="L498"></a><tt class="py-lineno"> 498</tt> <tt class="py-line"><tt class="py-docstring"> @return: By convention when used from the ProcessEvent class:</tt> </tt>
-<a name="L499"></a><tt class="py-lineno"> 499</tt> <tt class="py-line"><tt class="py-docstring"> - Returning False or None (default value) means keep on</tt> </tt>
-<a name="L500"></a><tt class="py-lineno"> 500</tt> <tt class="py-line"><tt class="py-docstring"> executing next chained functors (see chain.py example).</tt> </tt>
-<a name="L501"></a><tt class="py-lineno"> 501</tt> <tt class="py-line"><tt class="py-docstring"> - Returning True instead means do not execute next</tt> </tt>
-<a name="L502"></a><tt class="py-lineno"> 502</tt> <tt class="py-line"><tt class="py-docstring"> processing functions.</tt> </tt>
-<a name="L503"></a><tt class="py-lineno"> 503</tt> <tt class="py-line"><tt class="py-docstring"> @rtype: bool</tt> </tt>
-<a name="L504"></a><tt class="py-lineno"> 504</tt> <tt class="py-line"><tt class="py-docstring"> @raise ProcessEventError: Event object undispatchable,</tt> </tt>
-<a name="L505"></a><tt class="py-lineno"> 505</tt> <tt class="py-line"><tt class="py-docstring"> unknown event.</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-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-99" class="py-name"><a title="pyinotify.IN_ISDIR" class="py-name" href="#" onclick="return doclink('link-99', 'IN_ISDIR', 'link-35');">IN_ISDIR</a></tt><tt class="py-op">)</tt> </tt>
-<a name="L508"></a><tt class="py-lineno"> 508</tt> <tt class="py-line"> <tt id="link-100" class="py-name"><a title="pyinotify.EventsCodes.maskname" class="py-name" href="#" onclick="return doclink('link-100', 'maskname', 'link-41');">maskname</a></tt> <tt class="py-op">=</tt> <tt id="link-101" class="py-name"><a title="pyinotify.EventsCodes" class="py-name" href="#" onclick="return doclink('link-101', 'EventsCodes', 'link-39');">EventsCodes</a></tt><tt class="py-op">.</tt><tt id="link-102" class="py-name"><a title="pyinotify.EventsCodes.ALL_VALUES" class="py-name" href="#" onclick="return doclink('link-102', 'ALL_VALUES', 'link-40');">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="L509"></a><tt class="py-lineno"> 509</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt id="link-103" class="py-name"><a title="pyinotify.EventsCodes.maskname" class="py-name" href="#" onclick="return doclink('link-103', 'maskname', 'link-41');">maskname</a></tt> <tt class="py-keyword">is</tt> <tt class="py-name">None</tt><tt class="py-op">:</tt> </tt>
-<a name="L510"></a><tt class="py-lineno"> 510</tt> <tt class="py-line"> <tt class="py-keyword">raise</tt> <tt id="link-104" class="py-name" targets="Class pyinotify.ProcessEventError=pyinotify.ProcessEventError-class.html"><a title="pyinotify.ProcessEventError" class="py-name" href="#" onclick="return doclink('link-104', 'ProcessEventError', 'link-104');">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="L511"></a><tt class="py-lineno"> 511</tt> <tt class="py-line"> </tt>
-<a name="L512"></a><tt class="py-lineno"> 512</tt> <tt class="py-line"> <tt class="py-comment"># 1- look for process_MASKNAME</tt> </tt>
-<a name="L513"></a><tt class="py-lineno"> 513</tt> <tt class="py-line"><tt class="py-comment"></tt> <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-105" class="py-name"><a title="pyinotify.EventsCodes.maskname" class="py-name" href="#" onclick="return doclink('link-105', 'maskname', 'link-41');">maskname</a></tt><tt class="py-op">,</tt> <tt class="py-name">None</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 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="L515"></a><tt class="py-lineno"> 515</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="L516"></a><tt class="py-lineno"> 516</tt> <tt class="py-line"> <tt class="py-comment"># 2- look for process_FAMILY_NAME</tt> </tt>
-<a name="L517"></a><tt class="py-lineno"> 517</tt> <tt class="py-line"><tt class="py-comment"></tt> <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-106" class="py-name"><a title="pyinotify.EventsCodes.maskname" class="py-name" href="#" onclick="return doclink('link-106', 'maskname', 'link-41');">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="L518"></a><tt class="py-lineno"> 518</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="L519"></a><tt class="py-lineno"> 519</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="L520"></a><tt class="py-lineno"> 520</tt> <tt class="py-line"> <tt class="py-comment"># 3- default call method process_default</tt> </tt>
-<a name="L521"></a><tt class="py-lineno"> 521</tt> <tt class="py-line"><tt class="py-comment"></tt> <tt class="py-keyword">return</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-107" class="py-name" targets="Method pyinotify.ChainIf.process_default()=pyinotify.ChainIf-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.ChainIf.process_default
+pyinotify._SysProcessEvent.__init__" class="py-name" href="#" onclick="return doclink('link-110', '__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="L519"></a><tt class="py-lineno"> 519</tt> <tt class="py-line"> </tt>
+<a name="L520"></a><tt class="py-lineno"> 520</tt> <tt class="py-line"> </tt>
+<a name="_ProcessEvent"></a><div id="_ProcessEvent-def"><a name="L521"></a><tt class="py-lineno"> 521</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="L522"></a><tt class="py-lineno"> 522</tt> <tt class="py-line"> <tt class="py-docstring">"""</tt> </tt>
+<a name="L523"></a><tt class="py-lineno"> 523</tt> <tt class="py-line"><tt class="py-docstring"> Abstract processing event class.</tt> </tt>
+<a name="L524"></a><tt class="py-lineno"> 524</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt>
+<a name="_ProcessEvent.__call__"></a><div id="_ProcessEvent.__call__-def"><a name="L525"></a><tt class="py-lineno"> 525</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="L526"></a><tt class="py-lineno"> 526</tt> <tt class="py-line"> <tt class="py-docstring">"""</tt> </tt>
+<a name="L527"></a><tt class="py-lineno"> 527</tt> <tt class="py-line"><tt class="py-docstring"> To behave like a functor the object must be callable.</tt> </tt>
+<a name="L528"></a><tt class="py-lineno"> 528</tt> <tt class="py-line"><tt class="py-docstring"> This method is a dispatch method. Lookup order:</tt> </tt>
+<a name="L529"></a><tt class="py-lineno"> 529</tt> <tt class="py-line"><tt class="py-docstring"> 1. process_MASKNAME method</tt> </tt>
+<a name="L530"></a><tt class="py-lineno"> 530</tt> <tt class="py-line"><tt class="py-docstring"> 2. process_FAMILY_NAME method</tt> </tt>
+<a name="L531"></a><tt class="py-lineno"> 531</tt> <tt class="py-line"><tt class="py-docstring"> 3. otherwise call process_default</tt> </tt>
+<a name="L532"></a><tt class="py-lineno"> 532</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
+<a name="L533"></a><tt class="py-lineno"> 533</tt> <tt class="py-line"><tt class="py-docstring"> @param event: Event to be processed.</tt> </tt>
+<a name="L534"></a><tt class="py-lineno"> 534</tt> <tt class="py-line"><tt class="py-docstring"> @type event: Event object</tt> </tt>
+<a name="L535"></a><tt class="py-lineno"> 535</tt> <tt class="py-line"><tt class="py-docstring"> @return: By convention when used from the ProcessEvent class:</tt> </tt>
+<a name="L536"></a><tt class="py-lineno"> 536</tt> <tt class="py-line"><tt class="py-docstring"> - Returning False or None (default value) means keep on</tt> </tt>
+<a name="L537"></a><tt class="py-lineno"> 537</tt> <tt class="py-line"><tt class="py-docstring"> executing next chained functors (see chain.py example).</tt> </tt>
+<a name="L538"></a><tt class="py-lineno"> 538</tt> <tt class="py-line"><tt class="py-docstring"> - Returning True instead means do not execute next</tt> </tt>
+<a name="L539"></a><tt class="py-lineno"> 539</tt> <tt class="py-line"><tt class="py-docstring"> processing functions.</tt> </tt>
+<a name="L540"></a><tt class="py-lineno"> 540</tt> <tt class="py-line"><tt class="py-docstring"> @rtype: bool</tt> </tt>
+<a name="L541"></a><tt class="py-lineno"> 541</tt> <tt class="py-line"><tt class="py-docstring"> @raise ProcessEventError: Event object undispatchable,</tt> </tt>
+<a name="L542"></a><tt class="py-lineno"> 542</tt> <tt class="py-line"><tt class="py-docstring"> unknown event.</tt> </tt>
+<a name="L543"></a><tt class="py-lineno"> 543</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt>
+<a name="L544"></a><tt class="py-lineno"> 544</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-111" class="py-name"><a title="pyinotify.IN_ISDIR" class="py-name" href="#" onclick="return doclink('link-111', 'IN_ISDIR', 'link-46');">IN_ISDIR</a></tt><tt class="py-op">)</tt> </tt>
+<a name="L545"></a><tt class="py-lineno"> 545</tt> <tt class="py-line"> <tt id="link-112" class="py-name"><a title="pyinotify.EventsCodes.maskname" class="py-name" href="#" onclick="return doclink('link-112', 'maskname', 'link-52');">maskname</a></tt> <tt class="py-op">=</tt> <tt id="link-113" class="py-name"><a title="pyinotify.EventsCodes" class="py-name" href="#" onclick="return doclink('link-113', 'EventsCodes', 'link-50');">EventsCodes</a></tt><tt class="py-op">.</tt><tt id="link-114" class="py-name"><a title="pyinotify.EventsCodes.ALL_VALUES" class="py-name" href="#" onclick="return doclink('link-114', 'ALL_VALUES', 'link-51');">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="L546"></a><tt class="py-lineno"> 546</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt id="link-115" class="py-name"><a title="pyinotify.EventsCodes.maskname" class="py-name" href="#" onclick="return doclink('link-115', 'maskname', 'link-52');">maskname</a></tt> <tt class="py-keyword">is</tt> <tt class="py-name">None</tt><tt class="py-op">:</tt> </tt>
+<a name="L547"></a><tt class="py-lineno"> 547</tt> <tt class="py-line"> <tt class="py-keyword">raise</tt> <tt id="link-116" class="py-name" targets="Class pyinotify.ProcessEventError=pyinotify.ProcessEventError-class.html"><a title="pyinotify.ProcessEventError" class="py-name" href="#" onclick="return doclink('link-116', 'ProcessEventError', 'link-116');">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="L548"></a><tt class="py-lineno"> 548</tt> <tt class="py-line"> </tt>
+<a name="L549"></a><tt class="py-lineno"> 549</tt> <tt class="py-line"> <tt class="py-comment"># 1- look for process_MASKNAME</tt> </tt>
+<a name="L550"></a><tt class="py-lineno"> 550</tt> <tt class="py-line"><tt class="py-comment"></tt> <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-117" class="py-name"><a title="pyinotify.EventsCodes.maskname" class="py-name" href="#" onclick="return doclink('link-117', 'maskname', 'link-52');">maskname</a></tt><tt class="py-op">,</tt> <tt class="py-name">None</tt><tt class="py-op">)</tt> </tt>
+<a name="L551"></a><tt class="py-lineno"> 551</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="L552"></a><tt class="py-lineno"> 552</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="L553"></a><tt class="py-lineno"> 553</tt> <tt class="py-line"> <tt class="py-comment"># 2- look for process_FAMILY_NAME</tt> </tt>
+<a name="L554"></a><tt class="py-lineno"> 554</tt> <tt class="py-line"><tt class="py-comment"></tt> <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-118" class="py-name"><a title="pyinotify.EventsCodes.maskname" class="py-name" href="#" onclick="return doclink('link-118', 'maskname', 'link-52');">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="L555"></a><tt class="py-lineno"> 555</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="L556"></a><tt class="py-lineno"> 556</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="L557"></a><tt class="py-lineno"> 557</tt> <tt class="py-line"> <tt class="py-comment"># 3- default call method process_default</tt> </tt>
+<a name="L558"></a><tt class="py-lineno"> 558</tt> <tt class="py-line"><tt class="py-comment"></tt> <tt class="py-keyword">return</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-119" class="py-name" targets="Method pyinotify.ChainIf.process_default()=pyinotify.ChainIf-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.ChainIf.process_default
pyinotify.ProcessEvent.process_default
pyinotify.Stats.process_default
-pyinotify._SysProcessEvent.process_default" class="py-name" href="#" onclick="return doclink('link-107', 'process_default', 'link-107');">process_default</a></tt><tt class="py-op">(</tt><tt class="py-name">event</tt><tt class="py-op">)</tt> </tt>
-</div><a name="L522"></a><tt class="py-lineno"> 522</tt> <tt class="py-line"> </tt>
-<a name="_ProcessEvent.__repr__"></a><div id="_ProcessEvent.__repr__-def"><a name="L523"></a><tt class="py-lineno"> 523</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="L524"></a><tt class="py-lineno"> 524</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="L525"></a><tt class="py-lineno"> 525</tt> <tt class="py-line"> </tt>
-<a name="L526"></a><tt class="py-lineno"> 526</tt> <tt class="py-line"> </tt>
-<a name="_SysProcessEvent"></a><div id="_SysProcessEvent-def"><a name="L527"></a><tt class="py-lineno"> 527</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="L528"></a><tt class="py-lineno"> 528</tt> <tt class="py-line"> <tt class="py-docstring">"""</tt> </tt>
-<a name="L529"></a><tt class="py-lineno"> 529</tt> <tt class="py-line"><tt class="py-docstring"> There is three kind of processing according to each event:</tt> </tt>
-<a name="L530"></a><tt class="py-lineno"> 530</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
-<a name="L531"></a><tt class="py-lineno"> 531</tt> <tt class="py-line"><tt class="py-docstring"> 1. special handling (deletion from internal container, bug, ...).</tt> </tt>
-<a name="L532"></a><tt class="py-lineno"> 532</tt> <tt class="py-line"><tt class="py-docstring"> 2. default treatment: which is applied to most of events.</tt> </tt>
-<a name="L533"></a><tt class="py-lineno"> 533</tt> <tt class="py-line"><tt class="py-docstring"> 4. IN_ISDIR is never sent alone, he is piggybacked with a standart</tt> </tt>
-<a name="L534"></a><tt class="py-lineno"> 534</tt> <tt class="py-line"><tt class="py-docstring"> event, he is not processed as the others events, instead, its</tt> </tt>
-<a name="L535"></a><tt class="py-lineno"> 535</tt> <tt class="py-line"><tt class="py-docstring"> value is captured and appropriately aggregated to dst event.</tt> </tt>
-<a name="L536"></a><tt class="py-lineno"> 536</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt>
-<a name="_SysProcessEvent.__init__"></a><div id="_SysProcessEvent.__init__-def"><a name="L537"></a><tt class="py-lineno"> 537</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="L538"></a><tt class="py-lineno"> 538</tt> <tt class="py-line"> <tt class="py-docstring">"""</tt> </tt>
-<a name="L539"></a><tt class="py-lineno"> 539</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
-<a name="L540"></a><tt class="py-lineno"> 540</tt> <tt class="py-line"><tt class="py-docstring"> @param wm: Watch Manager.</tt> </tt>
-<a name="L541"></a><tt class="py-lineno"> 541</tt> <tt class="py-line"><tt class="py-docstring"> @type wm: WatchManager instance</tt> </tt>
-<a name="L542"></a><tt class="py-lineno"> 542</tt> <tt class="py-line"><tt class="py-docstring"> @param notifier: notifier.</tt> </tt>
-<a name="L543"></a><tt class="py-lineno"> 543</tt> <tt class="py-line"><tt class="py-docstring"> @type notifier: Instance of Notifier.</tt> </tt>
-<a name="L544"></a><tt class="py-lineno"> 544</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt>
-<a name="L545"></a><tt class="py-lineno"> 545</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="L546"></a><tt class="py-lineno"> 546</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="L547"></a><tt class="py-lineno"> 547</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="L548"></a><tt class="py-lineno"> 548</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="L549"></a><tt class="py-lineno"> 549</tt> <tt class="py-line"> </tt>
-<a name="_SysProcessEvent.cleanup"></a><div id="_SysProcessEvent.cleanup-def"><a name="L550"></a><tt class="py-lineno"> 550</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="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"> Cleanup (delete) old (&gt;1mn) records contained in self._mv_cookie</tt> </tt>
-<a name="L553"></a><tt class="py-lineno"> 553</tt> <tt class="py-line"><tt class="py-docstring"> and self._mv.</tt> </tt>
-<a name="L554"></a><tt class="py-lineno"> 554</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt>
-<a name="L555"></a><tt class="py-lineno"> 555</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="L556"></a><tt class="py-lineno"> 556</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="L557"></a><tt class="py-lineno"> 557</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="L558"></a><tt class="py-lineno"> 558</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="L559"></a><tt class="py-lineno"> 559</tt> <tt class="py-line"> <tt id="link-108" class="py-name"><a title="pyinotify.log" class="py-name" href="#" onclick="return doclink('link-108', 'log', 'link-1');">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="L560"></a><tt class="py-lineno"> 560</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="L561"></a><tt class="py-lineno"> 561</tt> <tt class="py-line"> </tt>
-<a name="_SysProcessEvent.process_IN_CREATE"></a><div id="_SysProcessEvent.process_IN_CREATE-def"><a name="L562"></a><tt class="py-lineno"> 562</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="L563"></a><tt class="py-lineno"> 563</tt> <tt class="py-line"> <tt class="py-docstring">"""</tt> </tt>
-<a name="L564"></a><tt class="py-lineno"> 564</tt> <tt class="py-line"><tt class="py-docstring"> If the event concerns a directory and the auto_add flag of the</tt> </tt>
-<a name="L565"></a><tt class="py-lineno"> 565</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="L566"></a><tt class="py-lineno"> 566</tt> <tt class="py-line"><tt class="py-docstring"> new directory, with the same attributes's values than those of</tt> </tt>
-<a name="L567"></a><tt class="py-lineno"> 567</tt> <tt class="py-line"><tt class="py-docstring"> this watch.</tt> </tt>
-<a name="L568"></a><tt class="py-lineno"> 568</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt>
-<a name="L569"></a><tt class="py-lineno"> 569</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-109" class="py-name"><a title="pyinotify.IN_ISDIR" class="py-name" href="#" onclick="return doclink('link-109', 'IN_ISDIR', 'link-35');">IN_ISDIR</a></tt><tt class="py-op">:</tt> </tt>
-<a name="L570"></a><tt class="py-lineno"> 570</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 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">raw_event</tt><tt class="py-op">.</tt><tt class="py-name">wd</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">if</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="L572"></a><tt class="py-lineno"> 572</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-110" 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-110', 'add_watch', 'link-110');">add_watch</a></tt> </tt>
-<a name="L573"></a><tt class="py-lineno"> 573</tt> <tt class="py-line"> <tt class="py-name">newwd</tt> <tt class="py-op">=</tt> <tt class="py-name">addw</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-111" class="py-name"><a title="pyinotify.name" class="py-name" href="#" onclick="return doclink('link-111', 'name', 'link-29');">name</a></tt><tt class="py-op">)</tt><tt class="py-op">,</tt> </tt>
-<a name="L574"></a><tt class="py-lineno"> 574</tt> <tt class="py-line"> <tt class="py-name">watch_</tt><tt class="py-op">.</tt><tt class="py-name">mask</tt><tt class="py-op">,</tt> <tt id="link-112" 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-112', 'proc_fun', 'link-112');">proc_fun</a></tt><tt class="py-op">=</tt><tt class="py-name">watch_</tt><tt class="py-op">.</tt><tt id="link-113" class="py-name"><a title="pyinotify.Notifier.proc_fun" class="py-name" href="#" onclick="return doclink('link-113', 'proc_fun', 'link-112');">proc_fun</a></tt><tt class="py-op">,</tt> </tt>
-<a name="L575"></a><tt class="py-lineno"> 575</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="L576"></a><tt class="py-lineno"> 576</tt> <tt class="py-line"> </tt>
-<a name="L577"></a><tt class="py-lineno"> 577</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="L578"></a><tt class="py-lineno"> 578</tt> <tt class="py-line"><tt class="py-comment"></tt> <tt class="py-comment"># t2 and t3 are created.</tt> </tt>
-<a name="L579"></a><tt class="py-lineno"> 579</tt> <tt class="py-line"><tt class="py-comment"></tt> <tt class="py-comment"># Since the directory is new, then everything inside it</tt> </tt>
-<a name="L580"></a><tt class="py-lineno"> 580</tt> <tt class="py-line"><tt class="py-comment"></tt> <tt class="py-comment"># must also be new.</tt> </tt>
-<a name="L581"></a><tt class="py-lineno"> 581</tt> <tt class="py-line"><tt class="py-comment"></tt> <tt class="py-name">base</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-114" class="py-name"><a title="pyinotify.name" class="py-name" href="#" onclick="return doclink('link-114', 'name', 'link-29');">name</a></tt><tt class="py-op">)</tt> </tt>
-<a name="L582"></a><tt class="py-lineno"> 582</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">newwd</tt><tt class="py-op">[</tt><tt class="py-name">base</tt><tt class="py-op">]</tt> <tt class="py-op">&gt;</tt> <tt class="py-number">0</tt><tt class="py-op">:</tt> </tt>
-<a name="L583"></a><tt class="py-lineno"> 583</tt> <tt class="py-line"> <tt class="py-keyword">for</tt> <tt id="link-115" class="py-name"><a title="pyinotify.name" class="py-name" href="#" onclick="return doclink('link-115', 'name', 'link-29');">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">base</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
-<a name="L584"></a><tt class="py-lineno"> 584</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">base</tt><tt class="py-op">,</tt> <tt id="link-116" class="py-name"><a title="pyinotify.name" class="py-name" href="#" onclick="return doclink('link-116', 'name', 'link-29');">name</a></tt><tt class="py-op">)</tt> </tt>
-<a name="L585"></a><tt class="py-lineno"> 585</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="L586"></a><tt class="py-lineno"> 586</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-117" 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-117', 'get_wd', 'link-117');">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="L587"></a><tt class="py-lineno"> 587</tt> <tt class="py-line"> <tt class="py-comment"># Generate (simulate) creation event for sub</tt> </tt>
-<a name="L588"></a><tt class="py-lineno"> 588</tt> <tt class="py-line"><tt class="py-comment"></tt> <tt class="py-comment"># directories.</tt> </tt>
-<a name="L589"></a><tt class="py-lineno"> 589</tt> <tt class="py-line"><tt class="py-comment"></tt> <tt class="py-name">rawevent</tt> <tt class="py-op">=</tt> <tt id="link-118" class="py-name"><a title="pyinotify._RawEvent" class="py-name" href="#" onclick="return doclink('link-118', '_RawEvent', 'link-87');">_RawEvent</a></tt><tt class="py-op">(</tt><tt class="py-name">newwd</tt><tt class="py-op">[</tt><tt class="py-name">base</tt><tt class="py-op">]</tt><tt class="py-op">,</tt> </tt>
-<a name="L590"></a><tt class="py-lineno"> 590</tt> <tt class="py-line"> <tt id="link-119" 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-119', 'IN_CREATE', 'link-119');">IN_CREATE</a></tt> <tt class="py-op">|</tt> <tt id="link-120" class="py-name"><a title="pyinotify.IN_ISDIR" class="py-name" href="#" onclick="return doclink('link-120', 'IN_ISDIR', 'link-35');">IN_ISDIR</a></tt><tt class="py-op">,</tt> </tt>
-<a name="L591"></a><tt class="py-lineno"> 591</tt> <tt class="py-line"> <tt class="py-number">0</tt><tt class="py-op">,</tt> <tt id="link-121" class="py-name"><a title="pyinotify.name" class="py-name" href="#" onclick="return doclink('link-121', 'name', 'link-29');">name</a></tt><tt class="py-op">)</tt> </tt>
-<a name="L592"></a><tt class="py-lineno"> 592</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">_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="L593"></a><tt class="py-lineno"> 593</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-122" class="py-name"><a title="pyinotify.ChainIf.process_default
+pyinotify._SysProcessEvent.process_default" class="py-name" href="#" onclick="return doclink('link-119', 'process_default', 'link-119');">process_default</a></tt><tt class="py-op">(</tt><tt class="py-name">event</tt><tt class="py-op">)</tt> </tt>
+</div><a name="L559"></a><tt class="py-lineno"> 559</tt> <tt class="py-line"> </tt>
+<a name="_ProcessEvent.__repr__"></a><div id="_ProcessEvent.__repr__-def"><a name="L560"></a><tt class="py-lineno"> 560</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="L561"></a><tt class="py-lineno"> 561</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="L562"></a><tt class="py-lineno"> 562</tt> <tt class="py-line"> </tt>
+<a name="L563"></a><tt class="py-lineno"> 563</tt> <tt class="py-line"> </tt>
+<a name="_SysProcessEvent"></a><div id="_SysProcessEvent-def"><a name="L564"></a><tt class="py-lineno"> 564</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="L565"></a><tt class="py-lineno"> 565</tt> <tt class="py-line"> <tt class="py-docstring">"""</tt> </tt>
+<a name="L566"></a><tt class="py-lineno"> 566</tt> <tt class="py-line"><tt class="py-docstring"> There is three kind of processing according to each event:</tt> </tt>
+<a name="L567"></a><tt class="py-lineno"> 567</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
+<a name="L568"></a><tt class="py-lineno"> 568</tt> <tt class="py-line"><tt class="py-docstring"> 1. special handling (deletion from internal container, bug, ...).</tt> </tt>
+<a name="L569"></a><tt class="py-lineno"> 569</tt> <tt class="py-line"><tt class="py-docstring"> 2. default treatment: which is applied to most of events.</tt> </tt>
+<a name="L570"></a><tt class="py-lineno"> 570</tt> <tt class="py-line"><tt class="py-docstring"> 4. IN_ISDIR is never sent alone, he is piggybacked with a standart</tt> </tt>
+<a name="L571"></a><tt class="py-lineno"> 571</tt> <tt class="py-line"><tt class="py-docstring"> event, he is not processed as the others events, instead, its</tt> </tt>
+<a name="L572"></a><tt class="py-lineno"> 572</tt> <tt class="py-line"><tt class="py-docstring"> value is captured and appropriately aggregated to dst event.</tt> </tt>
+<a name="L573"></a><tt class="py-lineno"> 573</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt>
+<a name="_SysProcessEvent.__init__"></a><div id="_SysProcessEvent.__init__-def"><a name="L574"></a><tt class="py-lineno"> 574</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="L575"></a><tt class="py-lineno"> 575</tt> <tt class="py-line"> <tt class="py-docstring">"""</tt> </tt>
+<a name="L576"></a><tt class="py-lineno"> 576</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
+<a name="L577"></a><tt class="py-lineno"> 577</tt> <tt class="py-line"><tt class="py-docstring"> @param wm: Watch Manager.</tt> </tt>
+<a name="L578"></a><tt class="py-lineno"> 578</tt> <tt class="py-line"><tt class="py-docstring"> @type wm: WatchManager instance</tt> </tt>
+<a name="L579"></a><tt class="py-lineno"> 579</tt> <tt class="py-line"><tt class="py-docstring"> @param notifier: notifier.</tt> </tt>
+<a name="L580"></a><tt class="py-lineno"> 580</tt> <tt class="py-line"><tt class="py-docstring"> @type notifier: Instance of Notifier.</tt> </tt>
+<a name="L581"></a><tt class="py-lineno"> 581</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt>
+<a name="L582"></a><tt class="py-lineno"> 582</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="L583"></a><tt class="py-lineno"> 583</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="L584"></a><tt class="py-lineno"> 584</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="L585"></a><tt class="py-lineno"> 585</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="L586"></a><tt class="py-lineno"> 586</tt> <tt class="py-line"> </tt>
+<a name="_SysProcessEvent.cleanup"></a><div id="_SysProcessEvent.cleanup-def"><a name="L587"></a><tt class="py-lineno"> 587</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="L588"></a><tt class="py-lineno"> 588</tt> <tt class="py-line"> <tt class="py-docstring">"""</tt> </tt>
+<a name="L589"></a><tt class="py-lineno"> 589</tt> <tt class="py-line"><tt class="py-docstring"> Cleanup (delete) old (&gt;1mn) records contained in self._mv_cookie</tt> </tt>
+<a name="L590"></a><tt class="py-lineno"> 590</tt> <tt class="py-line"><tt class="py-docstring"> and self._mv.</tt> </tt>
+<a name="L591"></a><tt class="py-lineno"> 591</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt>
+<a name="L592"></a><tt class="py-lineno"> 592</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="L593"></a><tt class="py-lineno"> 593</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="L594"></a><tt class="py-lineno"> 594</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="L595"></a><tt class="py-lineno"> 595</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="L596"></a><tt class="py-lineno"> 596</tt> <tt class="py-line"> <tt id="link-120" class="py-name"><a title="pyinotify.log" class="py-name" href="#" onclick="return doclink('link-120', 'log', 'link-13');">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="L597"></a><tt class="py-lineno"> 597</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="L598"></a><tt class="py-lineno"> 598</tt> <tt class="py-line"> </tt>
+<a name="_SysProcessEvent.process_IN_CREATE"></a><div id="_SysProcessEvent.process_IN_CREATE-def"><a name="L599"></a><tt class="py-lineno"> 599</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="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-docstring"> If the event concerns a directory and the auto_add flag of the</tt> </tt>
+<a name="L602"></a><tt class="py-lineno"> 602</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="L603"></a><tt class="py-lineno"> 603</tt> <tt class="py-line"><tt class="py-docstring"> new directory, with the same attributes's values than those of</tt> </tt>
+<a name="L604"></a><tt class="py-lineno"> 604</tt> <tt class="py-line"><tt class="py-docstring"> this watch.</tt> </tt>
+<a name="L605"></a><tt class="py-lineno"> 605</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt>
+<a name="L606"></a><tt class="py-lineno"> 606</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-121" class="py-name"><a title="pyinotify.IN_ISDIR" class="py-name" href="#" onclick="return doclink('link-121', 'IN_ISDIR', 'link-46');">IN_ISDIR</a></tt><tt class="py-op">:</tt> </tt>
+<a name="L607"></a><tt class="py-lineno"> 607</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 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">raw_event</tt><tt class="py-op">.</tt><tt class="py-name">wd</tt><tt class="py-op">)</tt> </tt>
+<a name="L608"></a><tt class="py-lineno"> 608</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-op">:</tt> </tt>
+<a name="L609"></a><tt class="py-lineno"> 609</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-122" 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-122', 'add_watch', 'link-122');">add_watch</a></tt> </tt>
+<a name="L610"></a><tt class="py-lineno"> 610</tt> <tt class="py-line"> <tt class="py-name">newwd</tt> <tt class="py-op">=</tt> <tt class="py-name">addw</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-123" class="py-name"><a title="pyinotify.name" class="py-name" href="#" onclick="return doclink('link-123', 'name', 'link-40');">name</a></tt><tt class="py-op">)</tt><tt class="py-op">,</tt> </tt>
+<a name="L611"></a><tt class="py-lineno"> 611</tt> <tt class="py-line"> <tt class="py-name">watch_</tt><tt class="py-op">.</tt><tt class="py-name">mask</tt><tt class="py-op">,</tt> <tt id="link-124" 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-124', 'proc_fun', 'link-124');">proc_fun</a></tt><tt class="py-op">=</tt><tt class="py-name">watch_</tt><tt class="py-op">.</tt><tt id="link-125" class="py-name"><a title="pyinotify.Notifier.proc_fun" class="py-name" href="#" onclick="return doclink('link-125', 'proc_fun', 'link-124');">proc_fun</a></tt><tt class="py-op">,</tt> </tt>
+<a name="L612"></a><tt class="py-lineno"> 612</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="L613"></a><tt class="py-lineno"> 613</tt> <tt class="py-line"> </tt>
+<a name="L614"></a><tt class="py-lineno"> 614</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="L615"></a><tt class="py-lineno"> 615</tt> <tt class="py-line"><tt class="py-comment"></tt> <tt class="py-comment"># t2 and t3 are created.</tt> </tt>
+<a name="L616"></a><tt class="py-lineno"> 616</tt> <tt class="py-line"><tt class="py-comment"></tt> <tt class="py-comment"># Since the directory is new, then everything inside it</tt> </tt>
+<a name="L617"></a><tt class="py-lineno"> 617</tt> <tt class="py-line"><tt class="py-comment"></tt> <tt class="py-comment"># must also be new.</tt> </tt>
+<a name="L618"></a><tt class="py-lineno"> 618</tt> <tt class="py-line"><tt class="py-comment"></tt> <tt class="py-name">base</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-126" class="py-name"><a title="pyinotify.name" class="py-name" href="#" onclick="return doclink('link-126', 'name', 'link-40');">name</a></tt><tt class="py-op">)</tt> </tt>
+<a name="L619"></a><tt class="py-lineno"> 619</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">newwd</tt><tt class="py-op">[</tt><tt class="py-name">base</tt><tt class="py-op">]</tt> <tt class="py-op">&gt;</tt> <tt class="py-number">0</tt><tt class="py-op">:</tt> </tt>
+<a name="L620"></a><tt class="py-lineno"> 620</tt> <tt class="py-line"> <tt class="py-keyword">for</tt> <tt id="link-127" class="py-name"><a title="pyinotify.name" class="py-name" href="#" onclick="return doclink('link-127', 'name', 'link-40');">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">base</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
+<a name="L621"></a><tt class="py-lineno"> 621</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">base</tt><tt class="py-op">,</tt> <tt id="link-128" class="py-name"><a title="pyinotify.name" class="py-name" href="#" onclick="return doclink('link-128', 'name', 'link-40');">name</a></tt><tt class="py-op">)</tt> </tt>
+<a name="L622"></a><tt class="py-lineno"> 622</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="L623"></a><tt class="py-lineno"> 623</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-129" 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-129', 'get_wd', 'link-129');">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="L624"></a><tt class="py-lineno"> 624</tt> <tt class="py-line"> <tt class="py-comment"># Generate (simulate) creation event for sub</tt> </tt>
+<a name="L625"></a><tt class="py-lineno"> 625</tt> <tt class="py-line"><tt class="py-comment"></tt> <tt class="py-comment"># directories.</tt> </tt>
+<a name="L626"></a><tt class="py-lineno"> 626</tt> <tt class="py-line"><tt class="py-comment"></tt> <tt class="py-name">rawevent</tt> <tt class="py-op">=</tt> <tt id="link-130" class="py-name"><a title="pyinotify._RawEvent" class="py-name" href="#" onclick="return doclink('link-130', '_RawEvent', 'link-98');">_RawEvent</a></tt><tt class="py-op">(</tt><tt class="py-name">newwd</tt><tt class="py-op">[</tt><tt class="py-name">base</tt><tt class="py-op">]</tt><tt class="py-op">,</tt> </tt>
+<a name="L627"></a><tt class="py-lineno"> 627</tt> <tt class="py-line"> <tt id="link-131" 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-131', 'IN_CREATE', 'link-131');">IN_CREATE</a></tt> <tt class="py-op">|</tt> <tt id="link-132" class="py-name"><a title="pyinotify.IN_ISDIR" class="py-name" href="#" onclick="return doclink('link-132', 'IN_ISDIR', 'link-46');">IN_ISDIR</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-number">0</tt><tt class="py-op">,</tt> <tt id="link-133" class="py-name"><a title="pyinotify.name" class="py-name" href="#" onclick="return doclink('link-133', 'name', 'link-40');">name</a></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">self</tt><tt class="py-op">.</tt><tt class="py-name">_notifier</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="L630"></a><tt class="py-lineno"> 630</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-134" class="py-name"><a title="pyinotify.ChainIf.process_default
pyinotify.ProcessEvent.process_default
pyinotify.Stats.process_default
-pyinotify._SysProcessEvent.process_default" class="py-name" href="#" onclick="return doclink('link-122', 'process_default', 'link-107');">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="L594"></a><tt class="py-lineno"> 594</tt> <tt class="py-line"> </tt>
-<a name="_SysProcessEvent.process_IN_MOVED_FROM"></a><div id="_SysProcessEvent.process_IN_MOVED_FROM-def"><a name="L595"></a><tt class="py-lineno"> 595</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="L596"></a><tt class="py-lineno"> 596</tt> <tt class="py-line"> <tt class="py-docstring">"""</tt> </tt>
-<a name="L597"></a><tt class="py-lineno"> 597</tt> <tt class="py-line"><tt class="py-docstring"> Map the cookie with the source path (+ date for cleaning).</tt> </tt>
-<a name="L598"></a><tt class="py-lineno"> 598</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt>
-<a name="L599"></a><tt class="py-lineno"> 599</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 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">raw_event</tt><tt class="py-op">.</tt><tt class="py-name">wd</tt><tt class="py-op">)</tt> </tt>
-<a name="L600"></a><tt class="py-lineno"> 600</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="L601"></a><tt class="py-lineno"> 601</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-123" class="py-name"><a title="pyinotify.name" class="py-name" href="#" onclick="return doclink('link-123', 'name', 'link-29');">name</a></tt><tt class="py-op">)</tt><tt class="py-op">)</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">_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="L603"></a><tt class="py-lineno"> 603</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-124" class="py-name"><a title="pyinotify.ChainIf.process_default
+pyinotify._SysProcessEvent.process_default" class="py-name" href="#" onclick="return doclink('link-134', 'process_default', 'link-119');">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="L631"></a><tt class="py-lineno"> 631</tt> <tt class="py-line"> </tt>
+<a name="_SysProcessEvent.process_IN_MOVED_FROM"></a><div id="_SysProcessEvent.process_IN_MOVED_FROM-def"><a name="L632"></a><tt class="py-lineno"> 632</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="L633"></a><tt class="py-lineno"> 633</tt> <tt class="py-line"> <tt class="py-docstring">"""</tt> </tt>
+<a name="L634"></a><tt class="py-lineno"> 634</tt> <tt class="py-line"><tt class="py-docstring"> Map the cookie with the source path (+ date for cleaning).</tt> </tt>
+<a name="L635"></a><tt class="py-lineno"> 635</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt>
+<a name="L636"></a><tt class="py-lineno"> 636</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 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">raw_event</tt><tt class="py-op">.</tt><tt class="py-name">wd</tt><tt class="py-op">)</tt> </tt>
+<a name="L637"></a><tt class="py-lineno"> 637</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="L638"></a><tt class="py-lineno"> 638</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-135" class="py-name"><a title="pyinotify.name" class="py-name" href="#" onclick="return doclink('link-135', 'name', 'link-40');">name</a></tt><tt class="py-op">)</tt><tt class="py-op">)</tt> </tt>
+<a name="L639"></a><tt class="py-lineno"> 639</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="L640"></a><tt class="py-lineno"> 640</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-136" class="py-name"><a title="pyinotify.ChainIf.process_default
pyinotify.ProcessEvent.process_default
pyinotify.Stats.process_default
-pyinotify._SysProcessEvent.process_default" class="py-name" href="#" onclick="return doclink('link-124', 'process_default', 'link-107');">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="L604"></a><tt class="py-lineno"> 604</tt> <tt class="py-line"> </tt>
-<a name="_SysProcessEvent.process_IN_MOVED_TO"></a><div id="_SysProcessEvent.process_IN_MOVED_TO-def"><a name="L605"></a><tt class="py-lineno"> 605</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="L606"></a><tt class="py-lineno"> 606</tt> <tt class="py-line"> <tt class="py-docstring">"""</tt> </tt>
-<a name="L607"></a><tt class="py-lineno"> 607</tt> <tt class="py-line"><tt class="py-docstring"> Map the source path with the destination path (+ date for</tt> </tt>
-<a name="L608"></a><tt class="py-lineno"> 608</tt> <tt class="py-line"><tt class="py-docstring"> cleaning).</tt> </tt>
-<a name="L609"></a><tt class="py-lineno"> 609</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt>
-<a name="L610"></a><tt class="py-lineno"> 610</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 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">raw_event</tt><tt class="py-op">.</tt><tt class="py-name">wd</tt><tt class="py-op">)</tt> </tt>
-<a name="L611"></a><tt class="py-lineno"> 611</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="L612"></a><tt class="py-lineno"> 612</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-125" class="py-name"><a title="pyinotify.name" class="py-name" href="#" onclick="return doclink('link-125', 'name', 'link-29');">name</a></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-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="L614"></a><tt class="py-lineno"> 614</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="L615"></a><tt class="py-lineno"> 615</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="L616"></a><tt class="py-lineno"> 616</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-126" class="py-name"><a title="pyinotify.ChainIf.process_default
+pyinotify._SysProcessEvent.process_default" class="py-name" href="#" onclick="return doclink('link-136', 'process_default', 'link-119');">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="L641"></a><tt class="py-lineno"> 641</tt> <tt class="py-line"> </tt>
+<a name="_SysProcessEvent.process_IN_MOVED_TO"></a><div id="_SysProcessEvent.process_IN_MOVED_TO-def"><a name="L642"></a><tt class="py-lineno"> 642</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="L643"></a><tt class="py-lineno"> 643</tt> <tt class="py-line"> <tt class="py-docstring">"""</tt> </tt>
+<a name="L644"></a><tt class="py-lineno"> 644</tt> <tt class="py-line"><tt class="py-docstring"> Map the source path with the destination path (+ date for</tt> </tt>
+<a name="L645"></a><tt class="py-lineno"> 645</tt> <tt class="py-line"><tt class="py-docstring"> cleaning).</tt> </tt>
+<a name="L646"></a><tt class="py-lineno"> 646</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt>
+<a name="L647"></a><tt class="py-lineno"> 647</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 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">raw_event</tt><tt class="py-op">.</tt><tt class="py-name">wd</tt><tt class="py-op">)</tt> </tt>
+<a name="L648"></a><tt class="py-lineno"> 648</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="L649"></a><tt class="py-lineno"> 649</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-137" class="py-name"><a title="pyinotify.name" class="py-name" href="#" onclick="return doclink('link-137', 'name', 'link-40');">name</a></tt><tt class="py-op">)</tt><tt class="py-op">)</tt> </tt>
+<a name="L650"></a><tt class="py-lineno"> 650</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="L651"></a><tt class="py-lineno"> 651</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="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">_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="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-138" class="py-name"><a title="pyinotify.ChainIf.process_default
pyinotify.ProcessEvent.process_default
pyinotify.Stats.process_default
-pyinotify._SysProcessEvent.process_default" class="py-name" href="#" onclick="return doclink('link-126', 'process_default', 'link-107');">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="L617"></a><tt class="py-lineno"> 617</tt> <tt class="py-line"> </tt>
-<a name="_SysProcessEvent.process_IN_MOVE_SELF"></a><div id="_SysProcessEvent.process_IN_MOVE_SELF-def"><a name="L618"></a><tt class="py-lineno"> 618</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="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"> STATUS: the following bug has been fixed in the recent kernels (fixme:</tt> </tt>
-<a name="L621"></a><tt class="py-lineno"> 621</tt> <tt class="py-line"><tt class="py-docstring"> which version ?). Now it raises IN_DELETE_SELF instead.</tt> </tt>
-<a name="L622"></a><tt class="py-lineno"> 622</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
-<a name="L623"></a><tt class="py-lineno"> 623</tt> <tt class="py-line"><tt class="py-docstring"> Old kernels are bugged, this event is raised when the watched item</tt> </tt>
-<a name="L624"></a><tt class="py-lineno"> 624</tt> <tt class="py-line"><tt class="py-docstring"> was moved, so we must update its path, but under some circumstances it</tt> </tt>
-<a name="L625"></a><tt class="py-lineno"> 625</tt> <tt class="py-line"><tt class="py-docstring"> can be impossible: if its parent directory and its destination</tt> </tt>
-<a name="L626"></a><tt class="py-lineno"> 626</tt> <tt class="py-line"><tt class="py-docstring"> directory aren't watched. The kernel (see include/linux/fsnotify.h)</tt> </tt>
-<a name="L627"></a><tt class="py-lineno"> 627</tt> <tt class="py-line"><tt class="py-docstring"> doesn't bring us enough informations like the destination path of</tt> </tt>
-<a name="L628"></a><tt class="py-lineno"> 628</tt> <tt class="py-line"><tt class="py-docstring"> moved items.</tt> </tt>
-<a name="L629"></a><tt class="py-lineno"> 629</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt>
-<a name="L630"></a><tt class="py-lineno"> 630</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 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">raw_event</tt><tt class="py-op">.</tt><tt class="py-name">wd</tt><tt class="py-op">)</tt> </tt>
-<a name="L631"></a><tt class="py-lineno"> 631</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="L632"></a><tt class="py-lineno"> 632</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="L633"></a><tt class="py-lineno"> 633</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="L634"></a><tt class="py-lineno"> 634</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">mv_</tt><tt class="py-op">[</tt><tt class="py-number">0</tt><tt class="py-op">]</tt> </tt>
-<a name="L635"></a><tt class="py-lineno"> 635</tt> <tt class="py-line"> <tt class="py-keyword">else</tt><tt class="py-op">:</tt> </tt>
-<a name="L636"></a><tt class="py-lineno"> 636</tt> <tt class="py-line"> <tt id="link-127" class="py-name"><a title="pyinotify.log" class="py-name" href="#" onclick="return doclink('link-127', 'log', 'link-1');">log</a></tt><tt class="py-op">.</tt><tt class="py-name">error</tt><tt class="py-op">(</tt><tt class="py-string">"The path %s of this watch %s must not "</tt> </tt>
-<a name="L637"></a><tt class="py-lineno"> 637</tt> <tt class="py-line"> <tt class="py-string">"be trusted anymore"</tt> <tt class="py-op">%</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">watch_</tt><tt class="py-op">)</tt><tt class="py-op">)</tt> </tt>
-<a name="L638"></a><tt class="py-lineno"> 638</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">'-wrong-path'</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
-<a name="L639"></a><tt class="py-lineno"> 639</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">'-wrong-path'</tt> </tt>
-<a name="L640"></a><tt class="py-lineno"> 640</tt> <tt class="py-line"> <tt class="py-comment"># FIXME: should we pass the cookie even if this is not standart?</tt> </tt>
-<a name="L641"></a><tt class="py-lineno"> 641</tt> <tt class="py-line"><tt class="py-comment"></tt> <tt class="py-keyword">return</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-128" class="py-name"><a title="pyinotify.ChainIf.process_default
+pyinotify._SysProcessEvent.process_default" class="py-name" href="#" onclick="return doclink('link-138', 'process_default', 'link-119');">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="L654"></a><tt class="py-lineno"> 654</tt> <tt class="py-line"> </tt>
+<a name="_SysProcessEvent.process_IN_MOVE_SELF"></a><div id="_SysProcessEvent.process_IN_MOVE_SELF-def"><a name="L655"></a><tt class="py-lineno"> 655</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="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"> STATUS: the following bug has been fixed in the recent kernels (fixme:</tt> </tt>
+<a name="L658"></a><tt class="py-lineno"> 658</tt> <tt class="py-line"><tt class="py-docstring"> which version ?). Now it raises IN_DELETE_SELF instead.</tt> </tt>
+<a name="L659"></a><tt class="py-lineno"> 659</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
+<a name="L660"></a><tt class="py-lineno"> 660</tt> <tt class="py-line"><tt class="py-docstring"> Old kernels are bugged, this event is raised when the watched item</tt> </tt>
+<a name="L661"></a><tt class="py-lineno"> 661</tt> <tt class="py-line"><tt class="py-docstring"> was moved, so we must update its path, but under some circumstances it</tt> </tt>
+<a name="L662"></a><tt class="py-lineno"> 662</tt> <tt class="py-line"><tt class="py-docstring"> can be impossible: if its parent directory and its destination</tt> </tt>
+<a name="L663"></a><tt class="py-lineno"> 663</tt> <tt class="py-line"><tt class="py-docstring"> directory aren't watched. The kernel (see include/linux/fsnotify.h)</tt> </tt>
+<a name="L664"></a><tt class="py-lineno"> 664</tt> <tt class="py-line"><tt class="py-docstring"> doesn't bring us enough informations like the destination path of</tt> </tt>
+<a name="L665"></a><tt class="py-lineno"> 665</tt> <tt class="py-line"><tt class="py-docstring"> moved items.</tt> </tt>
+<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-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 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">raw_event</tt><tt class="py-op">.</tt><tt class="py-name">wd</tt><tt class="py-op">)</tt> </tt>
+<a name="L668"></a><tt class="py-lineno"> 668</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="L669"></a><tt class="py-lineno"> 669</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="L670"></a><tt class="py-lineno"> 670</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="L671"></a><tt class="py-lineno"> 671</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">mv_</tt><tt class="py-op">[</tt><tt class="py-number">0</tt><tt class="py-op">]</tt> </tt>
+<a name="L672"></a><tt class="py-lineno"> 672</tt> <tt class="py-line"> <tt class="py-keyword">else</tt><tt class="py-op">:</tt> </tt>
+<a name="L673"></a><tt class="py-lineno"> 673</tt> <tt class="py-line"> <tt id="link-139" class="py-name"><a title="pyinotify.log" class="py-name" href="#" onclick="return doclink('link-139', 'log', 'link-13');">log</a></tt><tt class="py-op">.</tt><tt class="py-name">error</tt><tt class="py-op">(</tt><tt class="py-string">"The path %s of this watch %s must not "</tt> </tt>
+<a name="L674"></a><tt class="py-lineno"> 674</tt> <tt class="py-line"> <tt class="py-string">"be trusted anymore"</tt> <tt class="py-op">%</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">watch_</tt><tt class="py-op">)</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-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">'-wrong-path'</tt><tt class="py-op">)</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">watch_</tt><tt class="py-op">.</tt><tt class="py-name">path</tt> <tt class="py-op">+=</tt> <tt class="py-string">'-wrong-path'</tt> </tt>
+<a name="L677"></a><tt class="py-lineno"> 677</tt> <tt class="py-line"> <tt class="py-comment"># FIXME: should we pass the cookie even if this is not standart?</tt> </tt>
+<a name="L678"></a><tt class="py-lineno"> 678</tt> <tt class="py-line"><tt class="py-comment"></tt> <tt class="py-keyword">return</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-140" class="py-name"><a title="pyinotify.ChainIf.process_default
pyinotify.ProcessEvent.process_default
pyinotify.Stats.process_default
-pyinotify._SysProcessEvent.process_default" class="py-name" href="#" onclick="return doclink('link-128', 'process_default', 'link-107');">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="L642"></a><tt class="py-lineno"> 642</tt> <tt class="py-line"> </tt>
-<a name="_SysProcessEvent.process_IN_Q_OVERFLOW"></a><div id="_SysProcessEvent.process_IN_Q_OVERFLOW-def"><a name="L643"></a><tt class="py-lineno"> 643</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="L644"></a><tt class="py-lineno"> 644</tt> <tt class="py-line"> <tt class="py-docstring">"""</tt> </tt>
-<a name="L645"></a><tt class="py-lineno"> 645</tt> <tt class="py-line"><tt class="py-docstring"> Only signal overflow, most of the common flags are irrelevant</tt> </tt>
-<a name="L646"></a><tt class="py-lineno"> 646</tt> <tt class="py-line"><tt class="py-docstring"> for this event (path, wd, name).</tt> </tt>
-<a name="L647"></a><tt class="py-lineno"> 647</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt>
-<a name="L648"></a><tt class="py-lineno"> 648</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt id="link-129" class="py-name" targets="Class pyinotify.Event=pyinotify.Event-class.html"><a title="pyinotify.Event" class="py-name" href="#" onclick="return doclink('link-129', 'Event', 'link-129');">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="L649"></a><tt class="py-lineno"> 649</tt> <tt class="py-line"> </tt>
-<a name="_SysProcessEvent.process_IN_IGNORED"></a><div id="_SysProcessEvent.process_IN_IGNORED-def"><a name="L650"></a><tt class="py-lineno"> 650</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="L651"></a><tt class="py-lineno"> 651</tt> <tt class="py-line"> <tt class="py-docstring">"""</tt> </tt>
-<a name="L652"></a><tt class="py-lineno"> 652</tt> <tt class="py-line"><tt class="py-docstring"> The watch descriptor raised by this event is now ignored (forever),</tt> </tt>
-<a name="L653"></a><tt class="py-lineno"> 653</tt> <tt class="py-line"><tt class="py-docstring"> it can be safely deleted from watch manager dictionary.</tt> </tt>
-<a name="L654"></a><tt class="py-lineno"> 654</tt> <tt class="py-line"><tt class="py-docstring"> After this event we can be sure that neither the event queue</tt> </tt>
-<a name="L655"></a><tt class="py-lineno"> 655</tt> <tt class="py-line"><tt class="py-docstring"> neither the system will raise an event associated to this wd.</tt> </tt>
-<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-name">event_</tt> <tt class="py-op">=</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-130" class="py-name"><a title="pyinotify.ChainIf.process_default
+pyinotify._SysProcessEvent.process_default" class="py-name" href="#" onclick="return doclink('link-140', 'process_default', 'link-119');">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="L679"></a><tt class="py-lineno"> 679</tt> <tt class="py-line"> </tt>
+<a name="_SysProcessEvent.process_IN_Q_OVERFLOW"></a><div id="_SysProcessEvent.process_IN_Q_OVERFLOW-def"><a name="L680"></a><tt class="py-lineno"> 680</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="L681"></a><tt class="py-lineno"> 681</tt> <tt class="py-line"> <tt class="py-docstring">"""</tt> </tt>
+<a name="L682"></a><tt class="py-lineno"> 682</tt> <tt class="py-line"><tt class="py-docstring"> Only signal overflow, most of the common flags are irrelevant</tt> </tt>
+<a name="L683"></a><tt class="py-lineno"> 683</tt> <tt class="py-line"><tt class="py-docstring"> for this event (path, wd, name).</tt> </tt>
+<a name="L684"></a><tt class="py-lineno"> 684</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt>
+<a name="L685"></a><tt class="py-lineno"> 685</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt id="link-141" class="py-name" targets="Class pyinotify.Event=pyinotify.Event-class.html"><a title="pyinotify.Event" class="py-name" href="#" onclick="return doclink('link-141', 'Event', 'link-141');">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="L686"></a><tt class="py-lineno"> 686</tt> <tt class="py-line"> </tt>
+<a name="_SysProcessEvent.process_IN_IGNORED"></a><div id="_SysProcessEvent.process_IN_IGNORED-def"><a name="L687"></a><tt class="py-lineno"> 687</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="L688"></a><tt class="py-lineno"> 688</tt> <tt class="py-line"> <tt class="py-docstring">"""</tt> </tt>
+<a name="L689"></a><tt class="py-lineno"> 689</tt> <tt class="py-line"><tt class="py-docstring"> The watch descriptor raised by this event is now ignored (forever),</tt> </tt>
+<a name="L690"></a><tt class="py-lineno"> 690</tt> <tt class="py-line"><tt class="py-docstring"> it can be safely deleted from watch manager dictionary.</tt> </tt>
+<a name="L691"></a><tt class="py-lineno"> 691</tt> <tt class="py-line"><tt class="py-docstring"> After this event we can be sure that neither the event queue</tt> </tt>
+<a name="L692"></a><tt class="py-lineno"> 692</tt> <tt class="py-line"><tt class="py-docstring"> neither the system will raise an event associated to this wd.</tt> </tt>
+<a name="L693"></a><tt class="py-lineno"> 693</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt>
+<a name="L694"></a><tt class="py-lineno"> 694</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-142" class="py-name"><a title="pyinotify.ChainIf.process_default
pyinotify.ProcessEvent.process_default
pyinotify.Stats.process_default
-pyinotify._SysProcessEvent.process_default" class="py-name" href="#" onclick="return doclink('link-130', 'process_default', 'link-107');">process_default</a></tt><tt class="py-op">(</tt><tt class="py-name">raw_event</tt><tt class="py-op">)</tt> </tt>
-<a name="L658"></a><tt class="py-lineno"> 658</tt> <tt class="py-line"> <tt class="py-keyword">try</tt><tt class="py-op">:</tt> </tt>
-<a name="L659"></a><tt class="py-lineno"> 659</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">_watch_manager</tt><tt class="py-op">.</tt><tt class="py-name">_wmd</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-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="L661"></a><tt class="py-lineno"> 661</tt> <tt class="py-line"> <tt id="link-131" class="py-name"><a title="pyinotify.log" class="py-name" href="#" onclick="return doclink('link-131', 'log', 'link-1');">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="L662"></a><tt class="py-lineno"> 662</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-name">event_</tt> </tt>
-</div><a name="L663"></a><tt class="py-lineno"> 663</tt> <tt class="py-line"> </tt>
-<a name="_SysProcessEvent.process_default"></a><div id="_SysProcessEvent.process_default-def"><a name="L664"></a><tt class="py-lineno"> 664</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-op">{</tt><tt class="py-op">}</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="L665"></a><tt class="py-lineno"> 665</tt> <tt class="py-line"> <tt class="py-docstring">"""</tt> </tt>
-<a name="L666"></a><tt class="py-lineno"> 666</tt> <tt class="py-line"><tt class="py-docstring"> Common handling for the following events:</tt> </tt>
-<a name="L667"></a><tt class="py-lineno"> 667</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
-<a name="L668"></a><tt class="py-lineno"> 668</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="L669"></a><tt class="py-lineno"> 669</tt> <tt class="py-line"><tt class="py-docstring"> IN_OPEN, IN_DELETE, IN_DELETE_SELF, IN_UNMOUNT.</tt> </tt>
-<a name="L670"></a><tt class="py-lineno"> 670</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt>
-<a name="L671"></a><tt class="py-lineno"> 671</tt> <tt class="py-line"> <tt class="py-name">ret</tt> <tt class="py-op">=</tt> <tt class="py-name">None</tt> </tt>
-<a name="L672"></a><tt class="py-lineno"> 672</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 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">raw_event</tt><tt class="py-op">.</tt><tt class="py-name">wd</tt><tt class="py-op">)</tt> </tt>
-<a name="L673"></a><tt class="py-lineno"> 673</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-132" 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-132', 'IN_DELETE_SELF', 'link-132');">IN_DELETE_SELF</a></tt> <tt class="py-op">|</tt> <tt id="link-133" 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-133', 'IN_MOVE_SELF', 'link-133');">IN_MOVE_SELF</a></tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
-<a name="L674"></a><tt class="py-lineno"> 674</tt> <tt class="py-line"> <tt class="py-comment"># unfornately information not provided by the kernel</tt> </tt>
-<a name="L675"></a><tt class="py-lineno"> 675</tt> <tt class="py-line"><tt class="py-comment"></tt> <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="L676"></a><tt class="py-lineno"> 676</tt> <tt class="py-line"> <tt class="py-keyword">else</tt><tt class="py-op">:</tt> </tt>
-<a name="L677"></a><tt class="py-lineno"> 677</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-134" class="py-name"><a title="pyinotify.IN_ISDIR" class="py-name" href="#" onclick="return doclink('link-134', 'IN_ISDIR', 'link-35');">IN_ISDIR</a></tt><tt class="py-op">)</tt> </tt>
-<a name="L678"></a><tt class="py-lineno"> 678</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="L679"></a><tt class="py-lineno"> 679</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="L680"></a><tt class="py-lineno"> 680</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="L681"></a><tt class="py-lineno"> 681</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-135" class="py-name"><a title="pyinotify.name" class="py-name" href="#" onclick="return doclink('link-135', 'name', 'link-29');">name</a></tt><tt class="py-op">,</tt> </tt>
-<a name="L682"></a><tt class="py-lineno"> 682</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="L683"></a><tt class="py-lineno"> 683</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="L684"></a><tt class="py-lineno"> 684</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt id="link-136" class="py-name"><a title="pyinotify.Event" class="py-name" href="#" onclick="return doclink('link-136', 'Event', 'link-129');">Event</a></tt><tt class="py-op">(</tt><tt class="py-name">dict_</tt><tt class="py-op">)</tt> </tt>
-</div></div><a name="L685"></a><tt class="py-lineno"> 685</tt> <tt class="py-line"> </tt>
-<a name="L686"></a><tt class="py-lineno"> 686</tt> <tt class="py-line"> </tt>
-<a name="ProcessEvent"></a><div id="ProcessEvent-def"><a name="L687"></a><tt class="py-lineno"> 687</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="L688"></a><tt class="py-lineno"> 688</tt> <tt class="py-line"> <tt class="py-docstring">"""</tt> </tt>
-<a name="L689"></a><tt class="py-lineno"> 689</tt> <tt class="py-line"><tt class="py-docstring"> Process events objects, can be specialized via subclassing, thus its</tt> </tt>
-<a name="L690"></a><tt class="py-lineno"> 690</tt> <tt class="py-line"><tt class="py-docstring"> behavior can be overriden:</tt> </tt>
-<a name="L691"></a><tt class="py-lineno"> 691</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
-<a name="L692"></a><tt class="py-lineno"> 692</tt> <tt class="py-line"><tt class="py-docstring"> Note: you should not override __init__ in your subclass instead define</tt> </tt>
-<a name="L693"></a><tt class="py-lineno"> 693</tt> <tt class="py-line"><tt class="py-docstring"> a my_init() method, this method will be called from the constructor of</tt> </tt>
-<a name="L694"></a><tt class="py-lineno"> 694</tt> <tt class="py-line"><tt class="py-docstring"> this class with optional parameters.</tt> </tt>
-<a name="L695"></a><tt class="py-lineno"> 695</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
-<a name="L696"></a><tt class="py-lineno"> 696</tt> <tt class="py-line"><tt class="py-docstring"> 1. Provide methods, e.g. process_IN_DELETE for processing a given kind</tt> </tt>
-<a name="L697"></a><tt class="py-lineno"> 697</tt> <tt class="py-line"><tt class="py-docstring"> of event (eg. IN_DELETE in this case).</tt> </tt>
-<a name="L698"></a><tt class="py-lineno"> 698</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="L699"></a><tt class="py-lineno"> 699</tt> <tt class="py-line"><tt class="py-docstring"> process_IN_CLOSE method will process both IN_CLOSE_WRITE and</tt> </tt>
-<a name="L700"></a><tt class="py-lineno"> 700</tt> <tt class="py-line"><tt class="py-docstring"> IN_CLOSE_NOWRITE events (if process_IN_CLOSE_WRITE and</tt> </tt>
-<a name="L701"></a><tt class="py-lineno"> 701</tt> <tt class="py-line"><tt class="py-docstring"> process_IN_CLOSE_NOWRITE aren't defined).</tt> </tt>
-<a name="L702"></a><tt class="py-lineno"> 702</tt> <tt class="py-line"><tt class="py-docstring"> 3. Or/and override process_default for processing the remaining kind of</tt> </tt>
-<a name="L703"></a><tt class="py-lineno"> 703</tt> <tt class="py-line"><tt class="py-docstring"> events.</tt> </tt>
-<a name="L704"></a><tt class="py-lineno"> 704</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt>
-<a name="L705"></a><tt class="py-lineno"> 705</tt> <tt class="py-line"> <tt id="link-137" 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-137', 'pevent', 'link-137');">pevent</a></tt> <tt class="py-op">=</tt> <tt class="py-name">None</tt> </tt>
-<a name="L706"></a><tt class="py-lineno"> 706</tt> <tt class="py-line"> </tt>
-<a name="ProcessEvent.__init__"></a><div id="ProcessEvent.__init__-def"><a name="L707"></a><tt class="py-lineno"> 707</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="L708"></a><tt class="py-lineno"> 708</tt> <tt class="py-line"> <tt class="py-docstring">"""</tt> </tt>
-<a name="L709"></a><tt class="py-lineno"> 709</tt> <tt class="py-line"><tt class="py-docstring"> Enable chaining of ProcessEvent instances.</tt> </tt>
-<a name="L710"></a><tt class="py-lineno"> 710</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
-<a name="L711"></a><tt class="py-lineno"> 711</tt> <tt class="py-line"><tt class="py-docstring"> @param pevent: optional callable object, will be called on event</tt> </tt>
-<a name="L712"></a><tt class="py-lineno"> 712</tt> <tt class="py-line"><tt class="py-docstring"> processing (before self).</tt> </tt>
-<a name="L713"></a><tt class="py-lineno"> 713</tt> <tt class="py-line"><tt class="py-docstring"> @type pevent: callable</tt> </tt>
-<a name="L714"></a><tt class="py-lineno"> 714</tt> <tt class="py-line"><tt class="py-docstring"> @param kargs: optional arguments delagated to template method my_init</tt> </tt>
-<a name="L715"></a><tt class="py-lineno"> 715</tt> <tt class="py-line"><tt class="py-docstring"> @type kargs: dict</tt> </tt>
-<a name="L716"></a><tt class="py-lineno"> 716</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt>
-<a name="L717"></a><tt class="py-lineno"> 717</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-138" class="py-name"><a title="pyinotify.ProcessEvent.pevent" class="py-name" href="#" onclick="return doclink('link-138', 'pevent', 'link-137');">pevent</a></tt> <tt class="py-op">=</tt> <tt id="link-139" class="py-name"><a title="pyinotify.ProcessEvent.pevent" class="py-name" href="#" onclick="return doclink('link-139', 'pevent', 'link-137');">pevent</a></tt> </tt>
-<a name="L718"></a><tt class="py-lineno"> 718</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-140" class="py-name" targets="Method pyinotify.ChainIf.my_init()=pyinotify.ChainIf-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.ChainIf.my_init
+pyinotify._SysProcessEvent.process_default" class="py-name" href="#" onclick="return doclink('link-142', 'process_default', 'link-119');">process_default</a></tt><tt class="py-op">(</tt><tt class="py-name">raw_event</tt><tt class="py-op">)</tt> </tt>
+<a name="L695"></a><tt class="py-lineno"> 695</tt> <tt class="py-line"> <tt class="py-keyword">try</tt><tt class="py-op">:</tt> </tt>
+<a name="L696"></a><tt class="py-lineno"> 696</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">_watch_manager</tt><tt class="py-op">.</tt><tt class="py-name">_wmd</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="L697"></a><tt class="py-lineno"> 697</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="L698"></a><tt class="py-lineno"> 698</tt> <tt class="py-line"> <tt id="link-143" class="py-name"><a title="pyinotify.log" class="py-name" href="#" onclick="return doclink('link-143', 'log', 'link-13');">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="L699"></a><tt class="py-lineno"> 699</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-name">event_</tt> </tt>
+</div><a name="L700"></a><tt class="py-lineno"> 700</tt> <tt class="py-line"> </tt>
+<a name="_SysProcessEvent.process_default"></a><div id="_SysProcessEvent.process_default-def"><a name="L701"></a><tt class="py-lineno"> 701</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-op">{</tt><tt class="py-op">}</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="L702"></a><tt class="py-lineno"> 702</tt> <tt class="py-line"> <tt class="py-docstring">"""</tt> </tt>
+<a name="L703"></a><tt class="py-lineno"> 703</tt> <tt class="py-line"><tt class="py-docstring"> Common handling for the following events:</tt> </tt>
+<a name="L704"></a><tt class="py-lineno"> 704</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
+<a name="L705"></a><tt class="py-lineno"> 705</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="L706"></a><tt class="py-lineno"> 706</tt> <tt class="py-line"><tt class="py-docstring"> IN_OPEN, IN_DELETE, IN_DELETE_SELF, IN_UNMOUNT.</tt> </tt>
+<a name="L707"></a><tt class="py-lineno"> 707</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt>
+<a name="L708"></a><tt class="py-lineno"> 708</tt> <tt class="py-line"> <tt class="py-name">ret</tt> <tt class="py-op">=</tt> <tt class="py-name">None</tt> </tt>
+<a name="L709"></a><tt class="py-lineno"> 709</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 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">raw_event</tt><tt class="py-op">.</tt><tt class="py-name">wd</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">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-144" 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-144', 'IN_DELETE_SELF', 'link-144');">IN_DELETE_SELF</a></tt> <tt class="py-op">|</tt> <tt id="link-145" 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-145', 'IN_MOVE_SELF', 'link-145');">IN_MOVE_SELF</a></tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
+<a name="L711"></a><tt class="py-lineno"> 711</tt> <tt class="py-line"> <tt class="py-comment"># unfornately information not provided by the kernel</tt> </tt>
+<a name="L712"></a><tt class="py-lineno"> 712</tt> <tt class="py-line"><tt class="py-comment"></tt> <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="L713"></a><tt class="py-lineno"> 713</tt> <tt class="py-line"> <tt class="py-keyword">else</tt><tt class="py-op">:</tt> </tt>
+<a name="L714"></a><tt class="py-lineno"> 714</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-146" class="py-name"><a title="pyinotify.IN_ISDIR" class="py-name" href="#" onclick="return doclink('link-146', 'IN_ISDIR', 'link-46');">IN_ISDIR</a></tt><tt class="py-op">)</tt> </tt>
+<a name="L715"></a><tt class="py-lineno"> 715</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="L716"></a><tt class="py-lineno"> 716</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="L717"></a><tt class="py-lineno"> 717</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="L718"></a><tt class="py-lineno"> 718</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-147" class="py-name"><a title="pyinotify.name" class="py-name" href="#" onclick="return doclink('link-147', 'name', 'link-40');">name</a></tt><tt class="py-op">,</tt> </tt>
+<a name="L719"></a><tt class="py-lineno"> 719</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="L720"></a><tt class="py-lineno"> 720</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="L721"></a><tt class="py-lineno"> 721</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt id="link-148" class="py-name"><a title="pyinotify.Event" class="py-name" href="#" onclick="return doclink('link-148', 'Event', 'link-141');">Event</a></tt><tt class="py-op">(</tt><tt class="py-name">dict_</tt><tt class="py-op">)</tt> </tt>
+</div></div><a name="L722"></a><tt class="py-lineno"> 722</tt> <tt class="py-line"> </tt>
+<a name="L723"></a><tt class="py-lineno"> 723</tt> <tt class="py-line"> </tt>
+<a name="ProcessEvent"></a><div id="ProcessEvent-def"><a name="L724"></a><tt class="py-lineno"> 724</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="L725"></a><tt class="py-lineno"> 725</tt> <tt class="py-line"> <tt class="py-docstring">"""</tt> </tt>
+<a name="L726"></a><tt class="py-lineno"> 726</tt> <tt class="py-line"><tt class="py-docstring"> Process events objects, can be specialized via subclassing, thus its</tt> </tt>
+<a name="L727"></a><tt class="py-lineno"> 727</tt> <tt class="py-line"><tt class="py-docstring"> behavior can be overriden:</tt> </tt>
+<a name="L728"></a><tt class="py-lineno"> 728</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
+<a name="L729"></a><tt class="py-lineno"> 729</tt> <tt class="py-line"><tt class="py-docstring"> Note: you should not override __init__ in your subclass instead define</tt> </tt>
+<a name="L730"></a><tt class="py-lineno"> 730</tt> <tt class="py-line"><tt class="py-docstring"> a my_init() method, this method will be called from the constructor of</tt> </tt>
+<a name="L731"></a><tt class="py-lineno"> 731</tt> <tt class="py-line"><tt class="py-docstring"> this class with optional parameters.</tt> </tt>
+<a name="L732"></a><tt class="py-lineno"> 732</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
+<a name="L733"></a><tt class="py-lineno"> 733</tt> <tt class="py-line"><tt class="py-docstring"> 1. Provide methods, e.g. process_IN_DELETE for processing a given kind</tt> </tt>
+<a name="L734"></a><tt class="py-lineno"> 734</tt> <tt class="py-line"><tt class="py-docstring"> of event (eg. IN_DELETE in this case).</tt> </tt>
+<a name="L735"></a><tt class="py-lineno"> 735</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="L736"></a><tt class="py-lineno"> 736</tt> <tt class="py-line"><tt class="py-docstring"> process_IN_CLOSE method will process both IN_CLOSE_WRITE and</tt> </tt>
+<a name="L737"></a><tt class="py-lineno"> 737</tt> <tt class="py-line"><tt class="py-docstring"> IN_CLOSE_NOWRITE events (if process_IN_CLOSE_WRITE and</tt> </tt>
+<a name="L738"></a><tt class="py-lineno"> 738</tt> <tt class="py-line"><tt class="py-docstring"> process_IN_CLOSE_NOWRITE aren't defined).</tt> </tt>
+<a name="L739"></a><tt class="py-lineno"> 739</tt> <tt class="py-line"><tt class="py-docstring"> 3. Or/and override process_default for processing the remaining kind of</tt> </tt>
+<a name="L740"></a><tt class="py-lineno"> 740</tt> <tt class="py-line"><tt class="py-docstring"> events.</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 id="link-149" 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-149', 'pevent', 'link-149');">pevent</a></tt> <tt class="py-op">=</tt> <tt class="py-name">None</tt> </tt>
+<a name="L743"></a><tt class="py-lineno"> 743</tt> <tt class="py-line"> </tt>
+<a name="ProcessEvent.__init__"></a><div id="ProcessEvent.__init__-def"><a name="L744"></a><tt class="py-lineno"> 744</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="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"> Enable chaining of ProcessEvent instances.</tt> </tt>
+<a name="L747"></a><tt class="py-lineno"> 747</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
+<a name="L748"></a><tt class="py-lineno"> 748</tt> <tt class="py-line"><tt class="py-docstring"> @param pevent: optional callable object, will be called on event</tt> </tt>
+<a name="L749"></a><tt class="py-lineno"> 749</tt> <tt class="py-line"><tt class="py-docstring"> processing (before self).</tt> </tt>
+<a name="L750"></a><tt class="py-lineno"> 750</tt> <tt class="py-line"><tt class="py-docstring"> @type pevent: callable</tt> </tt>
+<a name="L751"></a><tt class="py-lineno"> 751</tt> <tt class="py-line"><tt class="py-docstring"> @param kargs: optional arguments delagated to template method my_init</tt> </tt>
+<a name="L752"></a><tt class="py-lineno"> 752</tt> <tt class="py-line"><tt class="py-docstring"> @type kargs: dict</tt> </tt>
+<a name="L753"></a><tt class="py-lineno"> 753</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt>
+<a name="L754"></a><tt class="py-lineno"> 754</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-150" class="py-name"><a title="pyinotify.ProcessEvent.pevent" class="py-name" href="#" onclick="return doclink('link-150', 'pevent', 'link-149');">pevent</a></tt> <tt class="py-op">=</tt> <tt id="link-151" class="py-name"><a title="pyinotify.ProcessEvent.pevent" class="py-name" href="#" onclick="return doclink('link-151', 'pevent', 'link-149');">pevent</a></tt> </tt>
+<a name="L755"></a><tt class="py-lineno"> 755</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-152" class="py-name" targets="Method pyinotify.ChainIf.my_init()=pyinotify.ChainIf-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.ChainIf.my_init
pyinotify.ProcessEvent.my_init
-pyinotify.Stats.my_init" class="py-name" href="#" onclick="return doclink('link-140', 'my_init', 'link-140');">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="L719"></a><tt class="py-lineno"> 719</tt> <tt class="py-line"> </tt>
-<a name="ProcessEvent.my_init"></a><div id="ProcessEvent.my_init-def"><a name="L720"></a><tt class="py-lineno"> 720</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="L721"></a><tt class="py-lineno"> 721</tt> <tt class="py-line"> <tt class="py-docstring">"""</tt> </tt>
-<a name="L722"></a><tt class="py-lineno"> 722</tt> <tt class="py-line"><tt class="py-docstring"> Override this method when subclassing if you want to achieve</tt> </tt>
-<a name="L723"></a><tt class="py-lineno"> 723</tt> <tt class="py-line"><tt class="py-docstring"> custom initialization of your subclass' instance. You MUST pass</tt> </tt>
-<a name="L724"></a><tt class="py-lineno"> 724</tt> <tt class="py-line"><tt class="py-docstring"> keyword arguments. This method does nothing by default.</tt> </tt>
-<a name="L725"></a><tt class="py-lineno"> 725</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
-<a name="L726"></a><tt class="py-lineno"> 726</tt> <tt class="py-line"><tt class="py-docstring"> @param kargs: optional arguments delagated to template method my_init</tt> </tt>
-<a name="L727"></a><tt class="py-lineno"> 727</tt> <tt class="py-line"><tt class="py-docstring"> @type kargs: dict</tt> </tt>
-<a name="L728"></a><tt class="py-lineno"> 728</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt>
-<a name="L729"></a><tt class="py-lineno"> 729</tt> <tt class="py-line"> <tt class="py-keyword">pass</tt> </tt>
-</div><a name="L730"></a><tt class="py-lineno"> 730</tt> <tt class="py-line"> </tt>
-<a name="ProcessEvent.__call__"></a><div id="ProcessEvent.__call__-def"><a name="L731"></a><tt class="py-lineno"> 731</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="L732"></a><tt class="py-lineno"> 732</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="L733"></a><tt class="py-lineno"> 733</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-141" class="py-name"><a title="pyinotify.ProcessEvent.pevent" class="py-name" href="#" onclick="return doclink('link-141', 'pevent', 'link-137');">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="L734"></a><tt class="py-lineno"> 734</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-142" class="py-name"><a title="pyinotify.ProcessEvent.pevent" class="py-name" href="#" onclick="return doclink('link-142', 'pevent', 'link-137');">pevent</a></tt><tt class="py-op">(</tt><tt class="py-name">event</tt><tt class="py-op">)</tt> </tt>
-<a name="L735"></a><tt class="py-lineno"> 735</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="L736"></a><tt class="py-lineno"> 736</tt> <tt class="py-line"> <tt id="link-143" class="py-name" targets="Class pyinotify._ProcessEvent=pyinotify._ProcessEvent-class.html"><a title="pyinotify._ProcessEvent" class="py-name" href="#" onclick="return doclink('link-143', '_ProcessEvent', 'link-143');">_ProcessEvent</a></tt><tt class="py-op">.</tt><tt id="link-144" 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.Stats.my_init" class="py-name" href="#" onclick="return doclink('link-152', 'my_init', 'link-152');">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="L756"></a><tt class="py-lineno"> 756</tt> <tt class="py-line"> </tt>
+<a name="ProcessEvent.my_init"></a><div id="ProcessEvent.my_init-def"><a name="L757"></a><tt class="py-lineno"> 757</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="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"> Override this method when subclassing if you want to achieve</tt> </tt>
+<a name="L760"></a><tt class="py-lineno"> 760</tt> <tt class="py-line"><tt class="py-docstring"> custom initialization of your subclass' instance. You MUST pass</tt> </tt>
+<a name="L761"></a><tt class="py-lineno"> 761</tt> <tt class="py-line"><tt class="py-docstring"> keyword arguments. This method does nothing by default.</tt> </tt>
+<a name="L762"></a><tt class="py-lineno"> 762</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
+<a name="L763"></a><tt class="py-lineno"> 763</tt> <tt class="py-line"><tt class="py-docstring"> @param kargs: optional arguments delagated to template method my_init</tt> </tt>
+<a name="L764"></a><tt class="py-lineno"> 764</tt> <tt class="py-line"><tt class="py-docstring"> @type kargs: dict</tt> </tt>
+<a name="L765"></a><tt class="py-lineno"> 765</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt>
+<a name="L766"></a><tt class="py-lineno"> 766</tt> <tt class="py-line"> <tt class="py-keyword">pass</tt> </tt>
+</div><a name="L767"></a><tt class="py-lineno"> 767</tt> <tt class="py-line"> </tt>
+<a name="ProcessEvent.__call__"></a><div id="ProcessEvent.__call__-def"><a name="L768"></a><tt class="py-lineno"> 768</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="L769"></a><tt class="py-lineno"> 769</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="L770"></a><tt class="py-lineno"> 770</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-153" class="py-name"><a title="pyinotify.ProcessEvent.pevent" class="py-name" href="#" onclick="return doclink('link-153', 'pevent', 'link-149');">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="L771"></a><tt class="py-lineno"> 771</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-154" class="py-name"><a title="pyinotify.ProcessEvent.pevent" class="py-name" href="#" onclick="return doclink('link-154', 'pevent', 'link-149');">pevent</a></tt><tt class="py-op">(</tt><tt class="py-name">event</tt><tt class="py-op">)</tt> </tt>
+<a name="L772"></a><tt class="py-lineno"> 772</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="L773"></a><tt class="py-lineno"> 773</tt> <tt class="py-line"> <tt id="link-155" class="py-name" targets="Class pyinotify._ProcessEvent=pyinotify._ProcessEvent-class.html"><a title="pyinotify._ProcessEvent" class="py-name" href="#" onclick="return doclink('link-155', '_ProcessEvent', 'link-155');">_ProcessEvent</a></tt><tt class="py-op">.</tt><tt id="link-156" 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-144', '__call__', 'link-144');">__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="L737"></a><tt class="py-lineno"> 737</tt> <tt class="py-line"> </tt>
-<a name="ProcessEvent.nested_pevent"></a><div id="ProcessEvent.nested_pevent-def"><a name="L738"></a><tt class="py-lineno"> 738</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="L739"></a><tt class="py-lineno"> 739</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-145" class="py-name"><a title="pyinotify.ProcessEvent.pevent" class="py-name" href="#" onclick="return doclink('link-145', 'pevent', 'link-137');">pevent</a></tt> </tt>
-</div><a name="L740"></a><tt class="py-lineno"> 740</tt> <tt class="py-line"> </tt>
-<a name="ProcessEvent.process_default"></a><div id="ProcessEvent.process_default-def"><a name="L741"></a><tt class="py-lineno"> 741</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="L742"></a><tt class="py-lineno"> 742</tt> <tt class="py-line"> <tt class="py-docstring">"""</tt> </tt>
-<a name="L743"></a><tt class="py-lineno"> 743</tt> <tt class="py-line"><tt class="py-docstring"> Default default processing event method. Print event</tt> </tt>
-<a name="L744"></a><tt class="py-lineno"> 744</tt> <tt class="py-line"><tt class="py-docstring"> on standart output.</tt> </tt>
-<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"> @param event: Event to be processed.</tt> </tt>
-<a name="L747"></a><tt class="py-lineno"> 747</tt> <tt class="py-line"><tt class="py-docstring"> @type event: Event instance</tt> </tt>
-<a name="L748"></a><tt class="py-lineno"> 748</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt>
-<a name="L749"></a><tt class="py-lineno"> 749</tt> <tt class="py-line"> <tt class="py-keyword">print</tt><tt class="py-op">(</tt><tt class="py-name">repr</tt><tt class="py-op">(</tt><tt class="py-name">event</tt><tt class="py-op">)</tt><tt class="py-op">)</tt> </tt>
-</div></div><a name="L750"></a><tt class="py-lineno"> 750</tt> <tt class="py-line"> </tt>
-<a name="L751"></a><tt class="py-lineno"> 751</tt> <tt class="py-line"> </tt>
-<a name="ChainIf"></a><div id="ChainIf-def"><a name="L752"></a><tt class="py-lineno"> 752</tt> <a class="py-toggle" href="#" id="ChainIf-toggle" onclick="return toggle('ChainIf');">-</a><tt class="py-line"><tt class="py-keyword">class</tt> <a class="py-def-name" href="pyinotify.ChainIf-class.html">ChainIf</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="ChainIf-collapsed" style="display:none;" pad="++++" indent="++++"></div><div id="ChainIf-expanded"><a name="L753"></a><tt class="py-lineno"> 753</tt> <tt class="py-line"> <tt class="py-docstring">"""</tt> </tt>
-<a name="L754"></a><tt class="py-lineno"> 754</tt> <tt class="py-line"><tt class="py-docstring"> Makes conditional chaining depending on the result of the nested</tt> </tt>
-<a name="L755"></a><tt class="py-lineno"> 755</tt> <tt class="py-line"><tt class="py-docstring"> processing instance.</tt> </tt>
-<a name="L756"></a><tt class="py-lineno"> 756</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt>
-<a name="ChainIf.my_init"></a><div id="ChainIf.my_init-def"><a name="L757"></a><tt class="py-lineno"> 757</tt> <a class="py-toggle" href="#" id="ChainIf.my_init-toggle" onclick="return toggle('ChainIf.my_init');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="pyinotify.ChainIf-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="ChainIf.my_init-collapsed" style="display:none;" pad="++++" indent="++++++++"></div><div id="ChainIf.my_init-expanded"><a name="L758"></a><tt class="py-lineno"> 758</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="L759"></a><tt class="py-lineno"> 759</tt> <tt class="py-line"> </tt>
-<a name="ChainIf.process_default"></a><div id="ChainIf.process_default-def"><a name="L760"></a><tt class="py-lineno"> 760</tt> <a class="py-toggle" href="#" id="ChainIf.process_default-toggle" onclick="return toggle('ChainIf.process_default');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="pyinotify.ChainIf-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="ChainIf.process_default-collapsed" style="display:none;" pad="++++" indent="++++++++"></div><div id="ChainIf.process_default-expanded"><a name="L761"></a><tt class="py-lineno"> 761</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="L762"></a><tt class="py-lineno"> 762</tt> <tt class="py-line"> </tt>
-<a name="L763"></a><tt class="py-lineno"> 763</tt> <tt class="py-line"> </tt>
-<a name="Stats"></a><div id="Stats-def"><a name="L764"></a><tt class="py-lineno"> 764</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="Stats.my_init"></a><div id="Stats.my_init-def"><a name="L765"></a><tt class="py-lineno"> 765</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="L766"></a><tt class="py-lineno"> 766</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="L767"></a><tt class="py-lineno"> 767</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="L768"></a><tt class="py-lineno"> 768</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="L769"></a><tt class="py-lineno"> 769</tt> <tt class="py-line"> </tt>
-<a name="Stats.process_default"></a><div id="Stats.process_default-def"><a name="L770"></a><tt class="py-lineno"> 770</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="L771"></a><tt class="py-lineno"> 771</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="L772"></a><tt class="py-lineno"> 772</tt> <tt class="py-line"> <tt class="py-keyword">try</tt><tt class="py-op">:</tt> </tt>
-<a name="L773"></a><tt class="py-lineno"> 773</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-146" class="py-name"><a title="pyinotify.EventsCodes.maskname" class="py-name" href="#" onclick="return doclink('link-146', 'maskname', 'link-41');">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="L774"></a><tt class="py-lineno"> 774</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="L775"></a><tt class="py-lineno"> 775</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="L776"></a><tt class="py-lineno"> 776</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="L777"></a><tt class="py-lineno"> 777</tt> <tt class="py-line"> <tt class="py-keyword">finally</tt><tt class="py-op">:</tt> </tt>
-<a name="L778"></a><tt class="py-lineno"> 778</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="L779"></a><tt class="py-lineno"> 779</tt> <tt class="py-line"> </tt>
-<a name="Stats._stats_copy"></a><div id="Stats._stats_copy-def"><a name="L780"></a><tt class="py-lineno"> 780</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="L781"></a><tt class="py-lineno"> 781</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="L782"></a><tt class="py-lineno"> 782</tt> <tt class="py-line"> <tt class="py-keyword">try</tt><tt class="py-op">:</tt> </tt>
-<a name="L783"></a><tt class="py-lineno"> 783</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="L784"></a><tt class="py-lineno"> 784</tt> <tt class="py-line"> <tt class="py-keyword">finally</tt><tt class="py-op">:</tt> </tt>
-<a name="L785"></a><tt class="py-lineno"> 785</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="L786"></a><tt class="py-lineno"> 786</tt> <tt class="py-line"> </tt>
-<a name="Stats.__repr__"></a><div id="Stats.__repr__-def"><a name="L787"></a><tt class="py-lineno"> 787</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="L788"></a><tt class="py-lineno"> 788</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-147" 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-147', '_stats_copy', 'link-147');">_stats_copy</a></tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt>
-<a name="L789"></a><tt class="py-lineno"> 789</tt> <tt class="py-line"> </tt>
-<a name="L790"></a><tt class="py-lineno"> 790</tt> <tt class="py-line"> <tt class="py-name">t</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="L791"></a><tt class="py-lineno"> 791</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">t</tt> <tt class="py-op">&lt;</tt> <tt class="py-number">60</tt><tt class="py-op">:</tt> </tt>
-<a name="L792"></a><tt class="py-lineno"> 792</tt> <tt class="py-line"> <tt class="py-name">ts</tt> <tt class="py-op">=</tt> <tt class="py-name">str</tt><tt class="py-op">(</tt><tt class="py-name">t</tt><tt class="py-op">)</tt> <tt class="py-op">+</tt> <tt class="py-string">'sec'</tt> </tt>
-<a name="L793"></a><tt class="py-lineno"> 793</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">t</tt> <tt class="py-op">&lt;</tt> <tt class="py-number">3600</tt><tt class="py-op">:</tt> </tt>
-<a name="L794"></a><tt class="py-lineno"> 794</tt> <tt class="py-line"> <tt class="py-name">ts</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">t</tt> <tt class="py-op">/</tt> <tt class="py-number">60</tt><tt class="py-op">,</tt> <tt class="py-name">t</tt> <tt class="py-op">%</tt> <tt class="py-number">60</tt><tt class="py-op">)</tt> </tt>
-<a name="L795"></a><tt class="py-lineno"> 795</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">t</tt> <tt class="py-op">&lt;</tt> <tt class="py-number">86400</tt><tt class="py-op">:</tt> </tt>
-<a name="L796"></a><tt class="py-lineno"> 796</tt> <tt class="py-line"> <tt class="py-name">ts</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">t</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">t</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="L797"></a><tt class="py-lineno"> 797</tt> <tt class="py-line"> <tt class="py-keyword">elif</tt> <tt class="py-name">t</tt> <tt class="py-op">&gt;=</tt> <tt class="py-number">86400</tt><tt class="py-op">:</tt> </tt>
-<a name="L798"></a><tt class="py-lineno"> 798</tt> <tt class="py-line"> <tt class="py-name">ts</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">t</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">t</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="L799"></a><tt class="py-lineno"> 799</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">ts</tt> </tt>
+pyinotify._ProcessEvent.__call__" class="py-name" href="#" onclick="return doclink('link-156', '__call__', 'link-156');">__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="L774"></a><tt class="py-lineno"> 774</tt> <tt class="py-line"> </tt>
+<a name="ProcessEvent.nested_pevent"></a><div id="ProcessEvent.nested_pevent-def"><a name="L775"></a><tt class="py-lineno"> 775</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="L776"></a><tt class="py-lineno"> 776</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-157" class="py-name"><a title="pyinotify.ProcessEvent.pevent" class="py-name" href="#" onclick="return doclink('link-157', 'pevent', 'link-149');">pevent</a></tt> </tt>
+</div><a name="L777"></a><tt class="py-lineno"> 777</tt> <tt class="py-line"> </tt>
+<a name="ProcessEvent.process_default"></a><div id="ProcessEvent.process_default-def"><a name="L778"></a><tt class="py-lineno"> 778</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="L779"></a><tt class="py-lineno"> 779</tt> <tt class="py-line"> <tt class="py-docstring">"""</tt> </tt>
+<a name="L780"></a><tt class="py-lineno"> 780</tt> <tt class="py-line"><tt class="py-docstring"> Default default processing event method. Print event</tt> </tt>
+<a name="L781"></a><tt class="py-lineno"> 781</tt> <tt class="py-line"><tt class="py-docstring"> on standart output.</tt> </tt>
+<a name="L782"></a><tt class="py-lineno"> 782</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
+<a name="L783"></a><tt class="py-lineno"> 783</tt> <tt class="py-line"><tt class="py-docstring"> @param event: Event to be processed.</tt> </tt>
+<a name="L784"></a><tt class="py-lineno"> 784</tt> <tt class="py-line"><tt class="py-docstring"> @type event: Event instance</tt> </tt>
+<a name="L785"></a><tt class="py-lineno"> 785</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt>
+<a name="L786"></a><tt class="py-lineno"> 786</tt> <tt class="py-line"> <tt class="py-keyword">print</tt><tt class="py-op">(</tt><tt class="py-name">repr</tt><tt class="py-op">(</tt><tt class="py-name">event</tt><tt class="py-op">)</tt><tt class="py-op">)</tt> </tt>
+</div></div><a name="L787"></a><tt class="py-lineno"> 787</tt> <tt class="py-line"> </tt>
+<a name="L788"></a><tt class="py-lineno"> 788</tt> <tt class="py-line"> </tt>
+<a name="ChainIf"></a><div id="ChainIf-def"><a name="L789"></a><tt class="py-lineno"> 789</tt> <a class="py-toggle" href="#" id="ChainIf-toggle" onclick="return toggle('ChainIf');">-</a><tt class="py-line"><tt class="py-keyword">class</tt> <a class="py-def-name" href="pyinotify.ChainIf-class.html">ChainIf</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="ChainIf-collapsed" style="display:none;" pad="++++" indent="++++"></div><div id="ChainIf-expanded"><a name="L790"></a><tt class="py-lineno"> 790</tt> <tt class="py-line"> <tt class="py-docstring">"""</tt> </tt>
+<a name="L791"></a><tt class="py-lineno"> 791</tt> <tt class="py-line"><tt class="py-docstring"> Makes conditional chaining depending on the result of the nested</tt> </tt>
+<a name="L792"></a><tt class="py-lineno"> 792</tt> <tt class="py-line"><tt class="py-docstring"> processing instance.</tt> </tt>
+<a name="L793"></a><tt class="py-lineno"> 793</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt>
+<a name="ChainIf.my_init"></a><div id="ChainIf.my_init-def"><a name="L794"></a><tt class="py-lineno"> 794</tt> <a class="py-toggle" href="#" id="ChainIf.my_init-toggle" onclick="return toggle('ChainIf.my_init');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="pyinotify.ChainIf-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="ChainIf.my_init-collapsed" style="display:none;" pad="++++" indent="++++++++"></div><div id="ChainIf.my_init-expanded"><a name="L795"></a><tt class="py-lineno"> 795</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="L796"></a><tt class="py-lineno"> 796</tt> <tt class="py-line"> </tt>
+<a name="ChainIf.process_default"></a><div id="ChainIf.process_default-def"><a name="L797"></a><tt class="py-lineno"> 797</tt> <a class="py-toggle" href="#" id="ChainIf.process_default-toggle" onclick="return toggle('ChainIf.process_default');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="pyinotify.ChainIf-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="ChainIf.process_default-collapsed" style="display:none;" pad="++++" indent="++++++++"></div><div id="ChainIf.process_default-expanded"><a name="L798"></a><tt class="py-lineno"> 798</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="L799"></a><tt class="py-lineno"> 799</tt> <tt class="py-line"> </tt>
<a name="L800"></a><tt class="py-lineno"> 800</tt> <tt class="py-line"> </tt>
-<a name="L801"></a><tt class="py-lineno"> 801</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="L802"></a><tt class="py-lineno"> 802</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-148" class="py-name"><a title="pyinotify.SysCtlINotify.value" class="py-name" href="#" onclick="return doclink('link-148', 'value', 'link-14');">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="L803"></a><tt class="py-lineno"> 803</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-149" class="py-name"><a title="pyinotify.color_theme" class="py-name" href="#" onclick="return doclink('link-149', 'color_theme', 'link-80');">color_theme</a></tt><tt class="py-op">.</tt><tt class="py-name">field_name</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="L804"></a><tt class="py-lineno"> 804</tt> <tt class="py-line"> <tt id="link-150" class="py-name"><a title="pyinotify.color_theme" class="py-name" href="#" onclick="return doclink('link-150', 'color_theme', 'link-80');">color_theme</a></tt><tt class="py-op">.</tt><tt class="py-name">field_value</tt><tt class="py-op">(</tt><tt id="link-151" class="py-name"><a title="pyinotify.SysCtlINotify.value" class="py-name" href="#" onclick="return doclink('link-151', 'value', 'link-14');">value</a></tt><tt class="py-op">)</tt><tt class="py-op">)</tt><tt class="py-op">)</tt> </tt>
-<a name="L805"></a><tt class="py-lineno"> 805</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-152" class="py-name"><a title="pyinotify.color_theme" class="py-name" href="#" onclick="return doclink('link-152', 'color_theme', 'link-80');">color_theme</a></tt><tt class="py-op">.</tt><tt class="py-name">class_name</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="L806"></a><tt class="py-lineno"> 806</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="L807"></a><tt class="py-lineno"> 807</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-name">s</tt> </tt>
-</div><a name="L808"></a><tt class="py-lineno"> 808</tt> <tt class="py-line"> </tt>
-<a name="Stats.dump"></a><div id="Stats.dump-def"><a name="L809"></a><tt class="py-lineno"> 809</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="L810"></a><tt class="py-lineno"> 810</tt> <tt class="py-line"> <tt class="py-name">fo</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">'wb'</tt><tt class="py-op">)</tt> </tt>
-<a name="L811"></a><tt class="py-lineno"> 811</tt> <tt class="py-line"> <tt class="py-keyword">try</tt><tt class="py-op">:</tt> </tt>
-<a name="L812"></a><tt class="py-lineno"> 812</tt> <tt class="py-line"> <tt class="py-name">fo</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">self</tt><tt class="py-op">)</tt><tt class="py-op">)</tt> </tt>
-<a name="L813"></a><tt class="py-lineno"> 813</tt> <tt class="py-line"> <tt class="py-keyword">finally</tt><tt class="py-op">:</tt> </tt>
-<a name="L814"></a><tt class="py-lineno"> 814</tt> <tt class="py-line"> <tt class="py-name">fo</tt><tt class="py-op">.</tt><tt class="py-name">close</tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt>
-</div><a name="L815"></a><tt class="py-lineno"> 815</tt> <tt class="py-line"> </tt>
-<a name="Stats.__str__"></a><div id="Stats.__str__-def"><a name="L816"></a><tt class="py-lineno"> 816</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="L817"></a><tt class="py-lineno"> 817</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-153" class="py-name"><a title="pyinotify.Stats._stats_copy" class="py-name" href="#" onclick="return doclink('link-153', '_stats_copy', 'link-147');">_stats_copy</a></tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt>
-<a name="L818"></a><tt class="py-lineno"> 818</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="L819"></a><tt class="py-lineno"> 819</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-string">''</tt> </tt>
-<a name="L820"></a><tt class="py-lineno"> 820</tt> <tt class="py-line"> </tt>
-<a name="L821"></a><tt class="py-lineno"> 821</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="L822"></a><tt class="py-lineno"> 822</tt> <tt class="py-line"> <tt class="py-name">unity</tt> <tt class="py-op">=</tt> <tt class="py-name">int</tt><tt class="py-op">(</tt><tt class="py-name">round</tt><tt class="py-op">(</tt><tt class="py-name">float</tt><tt class="py-op">(</tt><tt class="py-name">m</tt><tt class="py-op">)</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-keyword">or</tt> <tt class="py-number">1</tt> </tt>
-<a name="L823"></a><tt class="py-lineno"> 823</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-154" class="py-name"><a title="pyinotify.color_theme" class="py-name" href="#" onclick="return doclink('link-154', 'color_theme', 'link-80');">color_theme</a></tt><tt class="py-op">.</tt><tt class="py-name">field_value</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="L824"></a><tt class="py-lineno"> 824</tt> <tt class="py-line"> <tt class="py-op">+</tt> <tt class="py-number">1</tt><tt class="py-op">)</tt> </tt>
-<a name="L825"></a><tt class="py-lineno"> 825</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="L826"></a><tt class="py-lineno"> 826</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-155" class="py-name"><a title="pyinotify.color_theme" class="py-name" href="#" onclick="return doclink('link-155', 'color_theme', 'link-80');">color_theme</a></tt><tt class="py-op">.</tt><tt class="py-name">field_name</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="L827"></a><tt class="py-lineno"> 827</tt> <tt class="py-line"> <tt id="link-156" class="py-name"><a title="pyinotify.color_theme" class="py-name" href="#" onclick="return doclink('link-156', 'color_theme', 'link-80');">color_theme</a></tt><tt class="py-op">.</tt><tt class="py-name">field_value</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">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="L828"></a><tt class="py-lineno"> 828</tt> <tt class="py-line"> <tt id="link-157" class="py-name"><a title="pyinotify.color_theme" class="py-name" href="#" onclick="return doclink('link-157', 'color_theme', 'link-80');">color_theme</a></tt><tt class="py-op">.</tt><tt id="link-158" class="py-name" targets="Variable pyinotify.Color.yellow=pyinotify.Color-class.html#yellow"><a title="pyinotify.Color.yellow" class="py-name" href="#" onclick="return doclink('link-158', 'yellow', 'link-158');">yellow</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-op">)</tt> </tt>
-</div><a name="L829"></a><tt class="py-lineno"> 829</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="L830"></a><tt class="py-lineno"> 830</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-name">s</tt> </tt>
-</div></div><a name="L831"></a><tt class="py-lineno"> 831</tt> <tt class="py-line"> </tt>
-<a name="L832"></a><tt class="py-lineno"> 832</tt> <tt class="py-line"> </tt>
-<a name="NotifierError"></a><div id="NotifierError-def"><a name="L833"></a><tt class="py-lineno"> 833</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">Exception</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="L834"></a><tt class="py-lineno"> 834</tt> <tt class="py-line"> <tt class="py-docstring">"""</tt> </tt>
-<a name="L835"></a><tt class="py-lineno"> 835</tt> <tt class="py-line"><tt class="py-docstring"> Notifier Exception. Raised on Notifier error.</tt> </tt>
-<a name="L836"></a><tt class="py-lineno"> 836</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
-<a name="L837"></a><tt class="py-lineno"> 837</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt>
-<a name="NotifierError.__init__"></a><div id="NotifierError.__init__-def"><a name="L838"></a><tt class="py-lineno"> 838</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">msg</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="L839"></a><tt class="py-lineno"> 839</tt> <tt class="py-line"> <tt class="py-docstring">"""</tt> </tt>
-<a name="L840"></a><tt class="py-lineno"> 840</tt> <tt class="py-line"><tt class="py-docstring"> @param msg: Exception string's description.</tt> </tt>
-<a name="L841"></a><tt class="py-lineno"> 841</tt> <tt class="py-line"><tt class="py-docstring"> @type msg: string</tt> </tt>
-<a name="L842"></a><tt class="py-lineno"> 842</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt>
-<a name="L843"></a><tt class="py-lineno"> 843</tt> <tt class="py-line"> <tt class="py-name">Exception</tt><tt class="py-op">.</tt><tt id="link-159" class="py-name"><a title="pyinotify.Event.__init__
+<a name="Stats"></a><div id="Stats-def"><a name="L801"></a><tt class="py-lineno"> 801</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="Stats.my_init"></a><div id="Stats.my_init-def"><a name="L802"></a><tt class="py-lineno"> 802</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="L803"></a><tt class="py-lineno"> 803</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="L804"></a><tt class="py-lineno"> 804</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="L805"></a><tt class="py-lineno"> 805</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="L806"></a><tt class="py-lineno"> 806</tt> <tt class="py-line"> </tt>
+<a name="Stats.process_default"></a><div id="Stats.process_default-def"><a name="L807"></a><tt class="py-lineno"> 807</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="L808"></a><tt class="py-lineno"> 808</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="L809"></a><tt class="py-lineno"> 809</tt> <tt class="py-line"> <tt class="py-keyword">try</tt><tt class="py-op">:</tt> </tt>
+<a name="L810"></a><tt class="py-lineno"> 810</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-158" class="py-name"><a title="pyinotify.EventsCodes.maskname" class="py-name" href="#" onclick="return doclink('link-158', 'maskname', 'link-52');">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="L811"></a><tt class="py-lineno"> 811</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="L812"></a><tt class="py-lineno"> 812</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="L813"></a><tt class="py-lineno"> 813</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="L814"></a><tt class="py-lineno"> 814</tt> <tt class="py-line"> <tt class="py-keyword">finally</tt><tt class="py-op">:</tt> </tt>
+<a name="L815"></a><tt class="py-lineno"> 815</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="L816"></a><tt class="py-lineno"> 816</tt> <tt class="py-line"> </tt>
+<a name="Stats._stats_copy"></a><div id="Stats._stats_copy-def"><a name="L817"></a><tt class="py-lineno"> 817</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="L818"></a><tt class="py-lineno"> 818</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="L819"></a><tt class="py-lineno"> 819</tt> <tt class="py-line"> <tt class="py-keyword">try</tt><tt class="py-op">:</tt> </tt>
+<a name="L820"></a><tt class="py-lineno"> 820</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="L821"></a><tt class="py-lineno"> 821</tt> <tt class="py-line"> <tt class="py-keyword">finally</tt><tt class="py-op">:</tt> </tt>
+<a name="L822"></a><tt class="py-lineno"> 822</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="L823"></a><tt class="py-lineno"> 823</tt> <tt class="py-line"> </tt>
+<a name="Stats.__repr__"></a><div id="Stats.__repr__-def"><a name="L824"></a><tt class="py-lineno"> 824</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="L825"></a><tt class="py-lineno"> 825</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-159" 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-159', '_stats_copy', 'link-159');">_stats_copy</a></tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt>
+<a name="L826"></a><tt class="py-lineno"> 826</tt> <tt class="py-line"> </tt>
+<a name="L827"></a><tt class="py-lineno"> 827</tt> <tt class="py-line"> <tt class="py-name">t</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="L828"></a><tt class="py-lineno"> 828</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">t</tt> <tt class="py-op">&lt;</tt> <tt class="py-number">60</tt><tt class="py-op">:</tt> </tt>
+<a name="L829"></a><tt class="py-lineno"> 829</tt> <tt class="py-line"> <tt class="py-name">ts</tt> <tt class="py-op">=</tt> <tt class="py-name">str</tt><tt class="py-op">(</tt><tt class="py-name">t</tt><tt class="py-op">)</tt> <tt class="py-op">+</tt> <tt class="py-string">'sec'</tt> </tt>
+<a name="L830"></a><tt class="py-lineno"> 830</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">t</tt> <tt class="py-op">&lt;</tt> <tt class="py-number">3600</tt><tt class="py-op">:</tt> </tt>
+<a name="L831"></a><tt class="py-lineno"> 831</tt> <tt class="py-line"> <tt class="py-name">ts</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">t</tt> <tt class="py-op">/</tt> <tt class="py-number">60</tt><tt class="py-op">,</tt> <tt class="py-name">t</tt> <tt class="py-op">%</tt> <tt class="py-number">60</tt><tt class="py-op">)</tt> </tt>
+<a name="L832"></a><tt class="py-lineno"> 832</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">t</tt> <tt class="py-op">&lt;</tt> <tt class="py-number">86400</tt><tt class="py-op">:</tt> </tt>
+<a name="L833"></a><tt class="py-lineno"> 833</tt> <tt class="py-line"> <tt class="py-name">ts</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">t</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">t</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="L834"></a><tt class="py-lineno"> 834</tt> <tt class="py-line"> <tt class="py-keyword">elif</tt> <tt class="py-name">t</tt> <tt class="py-op">&gt;=</tt> <tt class="py-number">86400</tt><tt class="py-op">:</tt> </tt>
+<a name="L835"></a><tt class="py-lineno"> 835</tt> <tt class="py-line"> <tt class="py-name">ts</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">t</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">t</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="L836"></a><tt class="py-lineno"> 836</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">ts</tt> </tt>
+<a name="L837"></a><tt class="py-lineno"> 837</tt> <tt class="py-line"> </tt>
+<a name="L838"></a><tt class="py-lineno"> 838</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="L839"></a><tt class="py-lineno"> 839</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-160" class="py-name"><a title="pyinotify.SysCtlINotify.value" class="py-name" href="#" onclick="return doclink('link-160', 'value', 'link-25');">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="L840"></a><tt class="py-lineno"> 840</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-161" class="py-name"><a title="pyinotify.color_theme" class="py-name" href="#" onclick="return doclink('link-161', 'color_theme', 'link-91');">color_theme</a></tt><tt class="py-op">.</tt><tt class="py-name">field_name</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="L841"></a><tt class="py-lineno"> 841</tt> <tt class="py-line"> <tt id="link-162" class="py-name"><a title="pyinotify.color_theme" class="py-name" href="#" onclick="return doclink('link-162', 'color_theme', 'link-91');">color_theme</a></tt><tt class="py-op">.</tt><tt class="py-name">field_value</tt><tt class="py-op">(</tt><tt id="link-163" class="py-name"><a title="pyinotify.SysCtlINotify.value" class="py-name" href="#" onclick="return doclink('link-163', 'value', 'link-25');">value</a></tt><tt class="py-op">)</tt><tt class="py-op">)</tt><tt class="py-op">)</tt> </tt>
+<a name="L842"></a><tt class="py-lineno"> 842</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-164" class="py-name"><a title="pyinotify.color_theme" class="py-name" href="#" onclick="return doclink('link-164', 'color_theme', 'link-91');">color_theme</a></tt><tt class="py-op">.</tt><tt class="py-name">class_name</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="L843"></a><tt class="py-lineno"> 843</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="L844"></a><tt class="py-lineno"> 844</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-name">s</tt> </tt>
+</div><a name="L845"></a><tt class="py-lineno"> 845</tt> <tt class="py-line"> </tt>
+<a name="Stats.dump"></a><div id="Stats.dump-def"><a name="L846"></a><tt class="py-lineno"> 846</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="L847"></a><tt class="py-lineno"> 847</tt> <tt class="py-line"> <tt class="py-name">fo</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">'wb'</tt><tt class="py-op">)</tt> </tt>
+<a name="L848"></a><tt class="py-lineno"> 848</tt> <tt class="py-line"> <tt class="py-keyword">try</tt><tt class="py-op">:</tt> </tt>
+<a name="L849"></a><tt class="py-lineno"> 849</tt> <tt class="py-line"> <tt class="py-name">fo</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">self</tt><tt class="py-op">)</tt><tt class="py-op">)</tt> </tt>
+<a name="L850"></a><tt class="py-lineno"> 850</tt> <tt class="py-line"> <tt class="py-keyword">finally</tt><tt class="py-op">:</tt> </tt>
+<a name="L851"></a><tt class="py-lineno"> 851</tt> <tt class="py-line"> <tt class="py-name">fo</tt><tt class="py-op">.</tt><tt class="py-name">close</tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt>
+</div><a name="L852"></a><tt class="py-lineno"> 852</tt> <tt class="py-line"> </tt>
+<a name="Stats.__str__"></a><div id="Stats.__str__-def"><a name="L853"></a><tt class="py-lineno"> 853</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="L854"></a><tt class="py-lineno"> 854</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-165" class="py-name"><a title="pyinotify.Stats._stats_copy" class="py-name" href="#" onclick="return doclink('link-165', '_stats_copy', 'link-159');">_stats_copy</a></tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt>
+<a name="L855"></a><tt class="py-lineno"> 855</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="L856"></a><tt class="py-lineno"> 856</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-string">''</tt> </tt>
+<a name="L857"></a><tt class="py-lineno"> 857</tt> <tt class="py-line"> </tt>
+<a name="L858"></a><tt class="py-lineno"> 858</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="L859"></a><tt class="py-lineno"> 859</tt> <tt class="py-line"> <tt class="py-name">unity</tt> <tt class="py-op">=</tt> <tt class="py-name">int</tt><tt class="py-op">(</tt><tt class="py-name">round</tt><tt class="py-op">(</tt><tt class="py-name">float</tt><tt class="py-op">(</tt><tt class="py-name">m</tt><tt class="py-op">)</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-keyword">or</tt> <tt class="py-number">1</tt> </tt>
+<a name="L860"></a><tt class="py-lineno"> 860</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-166" class="py-name"><a title="pyinotify.color_theme" class="py-name" href="#" onclick="return doclink('link-166', 'color_theme', 'link-91');">color_theme</a></tt><tt class="py-op">.</tt><tt class="py-name">field_value</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="L861"></a><tt class="py-lineno"> 861</tt> <tt class="py-line"> <tt class="py-op">+</tt> <tt class="py-number">1</tt><tt class="py-op">)</tt> </tt>
+<a name="L862"></a><tt class="py-lineno"> 862</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="L863"></a><tt class="py-lineno"> 863</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-167" class="py-name"><a title="pyinotify.color_theme" class="py-name" href="#" onclick="return doclink('link-167', 'color_theme', 'link-91');">color_theme</a></tt><tt class="py-op">.</tt><tt class="py-name">field_name</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="L864"></a><tt class="py-lineno"> 864</tt> <tt class="py-line"> <tt id="link-168" class="py-name"><a title="pyinotify.color_theme" class="py-name" href="#" onclick="return doclink('link-168', 'color_theme', 'link-91');">color_theme</a></tt><tt class="py-op">.</tt><tt class="py-name">field_value</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">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="L865"></a><tt class="py-lineno"> 865</tt> <tt class="py-line"> <tt id="link-169" class="py-name"><a title="pyinotify.color_theme" class="py-name" href="#" onclick="return doclink('link-169', 'color_theme', 'link-91');">color_theme</a></tt><tt class="py-op">.</tt><tt id="link-170" class="py-name" targets="Variable pyinotify.Color.yellow=pyinotify.Color-class.html#yellow"><a title="pyinotify.Color.yellow" class="py-name" href="#" onclick="return doclink('link-170', 'yellow', 'link-170');">yellow</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-op">)</tt> </tt>
+</div><a name="L866"></a><tt class="py-lineno"> 866</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="L867"></a><tt class="py-lineno"> 867</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-name">s</tt> </tt>
+</div></div><a name="L868"></a><tt class="py-lineno"> 868</tt> <tt class="py-line"> </tt>
+<a name="L869"></a><tt class="py-lineno"> 869</tt> <tt class="py-line"> </tt>
+<a name="NotifierError"></a><div id="NotifierError-def"><a name="L870"></a><tt class="py-lineno"> 870</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="L871"></a><tt class="py-lineno"> 871</tt> <tt class="py-line"> <tt class="py-docstring">"""</tt> </tt>
+<a name="L872"></a><tt class="py-lineno"> 872</tt> <tt class="py-line"><tt class="py-docstring"> Notifier Exception. Raised on Notifier error.</tt> </tt>
+<a name="L873"></a><tt class="py-lineno"> 873</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
+<a name="L874"></a><tt class="py-lineno"> 874</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt>
+<a name="NotifierError.__init__"></a><div id="NotifierError.__init__-def"><a name="L875"></a><tt class="py-lineno"> 875</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="L876"></a><tt class="py-lineno"> 876</tt> <tt class="py-line"> <tt class="py-docstring">"""</tt> </tt>
+<a name="L877"></a><tt class="py-lineno"> 877</tt> <tt class="py-line"><tt class="py-docstring"> @param err: Exception string's description.</tt> </tt>
+<a name="L878"></a><tt class="py-lineno"> 878</tt> <tt class="py-line"><tt class="py-docstring"> @type err: string</tt> </tt>
+<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 id="link-171" class="py-name"><a title="pyinotify.PyinotifyError" class="py-name" href="#" onclick="return doclink('link-171', 'PyinotifyError', 'link-0');">PyinotifyError</a></tt><tt class="py-op">.</tt><tt id="link-172" class="py-name"><a title="pyinotify.Event.__init__
pyinotify.ExcludeFilter.__init__
pyinotify.Notifier.__init__
pyinotify.NotifierError.__init__
@@ -966,311 +1039,313 @@ pyinotify.ProcessEvent.__init__
pyinotify.ProcessEventError.__init__
pyinotify.SysCtlINotify.__init__
pyinotify.ThreadedNotifier.__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-159', '__init__', 'link-88');">__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="L844"></a><tt class="py-lineno"> 844</tt> <tt class="py-line"> </tt>
-<a name="L845"></a><tt class="py-lineno"> 845</tt> <tt class="py-line"> </tt>
-<a name="Notifier"></a><div id="Notifier-def"><a name="L846"></a><tt class="py-lineno"> 846</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="L847"></a><tt class="py-lineno"> 847</tt> <tt class="py-line"> <tt class="py-docstring">"""</tt> </tt>
-<a name="L848"></a><tt class="py-lineno"> 848</tt> <tt class="py-line"><tt class="py-docstring"> Read notifications, process events.</tt> </tt>
-<a name="L849"></a><tt class="py-lineno"> 849</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
-<a name="L850"></a><tt class="py-lineno"> 850</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt>
-<a name="Notifier.__init__"></a><div id="Notifier.__init__-def"><a name="L851"></a><tt class="py-lineno"> 851</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 id="link-160" class="py-name" targets="Class pyinotify.ProcessEvent=pyinotify.ProcessEvent-class.html"><a title="pyinotify.ProcessEvent" class="py-name" href="#" onclick="return doclink('link-160', 'ProcessEvent', 'link-160');">ProcessEvent</a></tt><tt class="py-op">(</tt><tt class="py-op">)</tt><tt class="py-op">,</tt> </tt>
-<a name="L852"></a><tt class="py-lineno"> 852</tt> <tt class="py-line"> <tt class="py-param">read_freq</tt><tt class="py-op">=</tt><tt class="py-number">0</tt><tt class="py-op">,</tt> <tt class="py-param">treshold</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="L853"></a><tt class="py-lineno"> 853</tt> <tt class="py-line"> <tt class="py-docstring">"""</tt> </tt>
-<a name="L854"></a><tt class="py-lineno"> 854</tt> <tt class="py-line"><tt class="py-docstring"> Initialization. read_freq, treshold and timeout parameters are used</tt> </tt>
-<a name="L855"></a><tt class="py-lineno"> 855</tt> <tt class="py-line"><tt class="py-docstring"> when looping.</tt> </tt>
-<a name="L856"></a><tt class="py-lineno"> 856</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
-<a name="L857"></a><tt class="py-lineno"> 857</tt> <tt class="py-line"><tt class="py-docstring"> @param watch_manager: Watch Manager.</tt> </tt>
-<a name="L858"></a><tt class="py-lineno"> 858</tt> <tt class="py-line"><tt class="py-docstring"> @type watch_manager: WatchManager instance</tt> </tt>
-<a name="L859"></a><tt class="py-lineno"> 859</tt> <tt class="py-line"><tt class="py-docstring"> @param default_proc_fun: Default processing method.</tt> </tt>
-<a name="L860"></a><tt class="py-lineno"> 860</tt> <tt class="py-line"><tt class="py-docstring"> @type default_proc_fun: instance of ProcessEvent</tt> </tt>
-<a name="L861"></a><tt class="py-lineno"> 861</tt> <tt class="py-line"><tt class="py-docstring"> @param read_freq: if read_freq == 0, events are read asap,</tt> </tt>
-<a name="L862"></a><tt class="py-lineno"> 862</tt> <tt class="py-line"><tt class="py-docstring"> if read_freq is &gt; 0, this thread sleeps</tt> </tt>
-<a name="L863"></a><tt class="py-lineno"> 863</tt> <tt class="py-line"><tt class="py-docstring"> max(0, read_freq - timeout) seconds. But if</tt> </tt>
-<a name="L864"></a><tt class="py-lineno"> 864</tt> <tt class="py-line"><tt class="py-docstring"> timeout is None it can be different because</tt> </tt>
-<a name="L865"></a><tt class="py-lineno"> 865</tt> <tt class="py-line"><tt class="py-docstring"> poll is blocking waiting for something to read.</tt> </tt>
-<a name="L866"></a><tt class="py-lineno"> 866</tt> <tt class="py-line"><tt class="py-docstring"> @type read_freq: int</tt> </tt>
-<a name="L867"></a><tt class="py-lineno"> 867</tt> <tt class="py-line"><tt class="py-docstring"> @param treshold: File descriptor will be read only if its size to</tt> </tt>
-<a name="L868"></a><tt class="py-lineno"> 868</tt> <tt class="py-line"><tt class="py-docstring"> read is &gt;= treshold. If != 0, you likely want to</tt> </tt>
-<a name="L869"></a><tt class="py-lineno"> 869</tt> <tt class="py-line"><tt class="py-docstring"> use it in combination with read_freq because</tt> </tt>
-<a name="L870"></a><tt class="py-lineno"> 870</tt> <tt class="py-line"><tt class="py-docstring"> without that you keep looping without really reading</tt> </tt>
-<a name="L871"></a><tt class="py-lineno"> 871</tt> <tt class="py-line"><tt class="py-docstring"> anything and that until the amount to read</tt> </tt>
-<a name="L872"></a><tt class="py-lineno"> 872</tt> <tt class="py-line"><tt class="py-docstring"> is &gt;= treshold. At least with read_freq you may sleep.</tt> </tt>
-<a name="L873"></a><tt class="py-lineno"> 873</tt> <tt class="py-line"><tt class="py-docstring"> @type treshold: int</tt> </tt>
-<a name="L874"></a><tt class="py-lineno"> 874</tt> <tt class="py-line"><tt class="py-docstring"> @param timeout:</tt> </tt>
-<a name="L875"></a><tt class="py-lineno"> 875</tt> <tt class="py-line"><tt class="py-docstring"> see http://docs.python.org/lib/poll-objects.html#poll-objects</tt> </tt>
-<a name="L876"></a><tt class="py-lineno"> 876</tt> <tt class="py-line"><tt class="py-docstring"> @type timeout: int</tt> </tt>
-<a name="L877"></a><tt class="py-lineno"> 877</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt>
-<a name="L878"></a><tt class="py-lineno"> 878</tt> <tt class="py-line"> <tt class="py-comment"># watch manager instance</tt> </tt>
-<a name="L879"></a><tt class="py-lineno"> 879</tt> <tt class="py-line"><tt class="py-comment"></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">watch_manager</tt> </tt>
-<a name="L880"></a><tt class="py-lineno"> 880</tt> <tt class="py-line"> <tt class="py-comment"># file descriptor</tt> </tt>
-<a name="L881"></a><tt class="py-lineno"> 881</tt> <tt class="py-line"><tt class="py-comment"></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">self</tt><tt class="py-op">.</tt><tt class="py-name">_watch_manager</tt><tt class="py-op">.</tt><tt class="py-name">_fd</tt> </tt>
-<a name="L882"></a><tt class="py-lineno"> 882</tt> <tt class="py-line"> <tt class="py-comment"># poll object and registration</tt> </tt>
-<a name="L883"></a><tt class="py-lineno"> 883</tt> <tt class="py-line"><tt class="py-comment"></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">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="L884"></a><tt class="py-lineno"> 884</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="L885"></a><tt class="py-lineno"> 885</tt> <tt class="py-line"> <tt class="py-comment"># event queue</tt> </tt>
-<a name="L886"></a><tt class="py-lineno"> 886</tt> <tt class="py-line"><tt class="py-comment"></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">deque</tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt>
-<a name="L887"></a><tt class="py-lineno"> 887</tt> <tt class="py-line"> <tt class="py-comment"># system processing functor, common to all events</tt> </tt>
-<a name="L888"></a><tt class="py-lineno"> 888</tt> <tt class="py-line"><tt class="py-comment"></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 id="link-161" class="py-name" targets="Class pyinotify._SysProcessEvent=pyinotify._SysProcessEvent-class.html"><a title="pyinotify._SysProcessEvent" class="py-name" href="#" onclick="return doclink('link-161', '_SysProcessEvent', 'link-161');">_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="L889"></a><tt class="py-lineno"> 889</tt> <tt class="py-line"> <tt class="py-comment"># default processing method</tt> </tt>
-<a name="L890"></a><tt class="py-lineno"> 890</tt> <tt class="py-line"><tt class="py-comment"></tt> <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="L891"></a><tt class="py-lineno"> 891</tt> <tt class="py-line"> <tt class="py-comment"># loop parameters</tt> </tt>
-<a name="L892"></a><tt class="py-lineno"> 892</tt> <tt class="py-line"><tt class="py-comment"></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-name">read_freq</tt> </tt>
-<a name="L893"></a><tt class="py-lineno"> 893</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_treshold</tt> <tt class="py-op">=</tt> <tt class="py-name">treshold</tt> </tt>
-<a name="L894"></a><tt class="py-lineno"> 894</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>
-</div><a name="L895"></a><tt class="py-lineno"> 895</tt> <tt class="py-line"> </tt>
-<a name="Notifier.proc_fun"></a><div id="Notifier.proc_fun-def"><a name="L896"></a><tt class="py-lineno"> 896</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="L897"></a><tt class="py-lineno"> 897</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="L898"></a><tt class="py-lineno"> 898</tt> <tt class="py-line"> </tt>
-<a name="Notifier.check_events"></a><div id="Notifier.check_events-def"><a name="L899"></a><tt class="py-lineno"> 899</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-op">:</tt> </tt>
-</div><div id="Notifier.check_events-collapsed" style="display:none;" pad="++++" indent="++++++++"></div><div id="Notifier.check_events-expanded"><a name="L900"></a><tt class="py-lineno"> 900</tt> <tt class="py-line"> <tt class="py-docstring">"""</tt> </tt>
-<a name="L901"></a><tt class="py-lineno"> 901</tt> <tt class="py-line"><tt class="py-docstring"> Check for new events available to read, blocks up to timeout</tt> </tt>
-<a name="L902"></a><tt class="py-lineno"> 902</tt> <tt class="py-line"><tt class="py-docstring"> milliseconds.</tt> </tt>
-<a name="L903"></a><tt class="py-lineno"> 903</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
-<a name="L904"></a><tt class="py-lineno"> 904</tt> <tt class="py-line"><tt class="py-docstring"> @return: New events to read.</tt> </tt>
-<a name="L905"></a><tt class="py-lineno"> 905</tt> <tt class="py-line"><tt class="py-docstring"> @rtype: bool</tt> </tt>
-<a name="L906"></a><tt class="py-lineno"> 906</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt>
-<a name="L907"></a><tt class="py-lineno"> 907</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="L908"></a><tt class="py-lineno"> 908</tt> <tt class="py-line"> <tt class="py-keyword">try</tt><tt class="py-op">:</tt> </tt>
-<a name="L909"></a><tt class="py-lineno"> 909</tt> <tt class="py-line"> <tt class="py-comment"># blocks up to 'timeout' milliseconds</tt> </tt>
-<a name="L910"></a><tt class="py-lineno"> 910</tt> <tt class="py-line"><tt class="py-comment"></tt> <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">self</tt><tt class="py-op">.</tt><tt class="py-name">_timeout</tt><tt class="py-op">)</tt> </tt>
-<a name="L911"></a><tt class="py-lineno"> 911</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="L912"></a><tt class="py-lineno"> 912</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="L913"></a><tt class="py-lineno"> 913</tt> <tt class="py-line"> <tt class="py-keyword">continue</tt> <tt class="py-comment"># interrupted, retry</tt> </tt>
-<a name="L914"></a><tt class="py-lineno"> 914</tt> <tt class="py-line"> <tt class="py-keyword">else</tt><tt class="py-op">:</tt> </tt>
-<a name="L915"></a><tt class="py-lineno"> 915</tt> <tt class="py-line"> <tt class="py-keyword">raise</tt> </tt>
-<a name="L916"></a><tt class="py-lineno"> 916</tt> <tt class="py-line"> <tt class="py-keyword">else</tt><tt class="py-op">:</tt> </tt>
-<a name="L917"></a><tt class="py-lineno"> 917</tt> <tt class="py-line"> <tt class="py-keyword">break</tt> </tt>
-<a name="L918"></a><tt class="py-lineno"> 918</tt> <tt class="py-line"> </tt>
-<a name="L919"></a><tt class="py-lineno"> 919</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-op">:</tt> </tt>
-<a name="L920"></a><tt class="py-lineno"> 920</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-name">False</tt> </tt>
-<a name="L921"></a><tt class="py-lineno"> 921</tt> <tt class="py-line"> <tt class="py-comment"># only one fd is polled</tt> </tt>
-<a name="L922"></a><tt class="py-lineno"> 922</tt> <tt class="py-line"><tt class="py-comment"></tt> <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="L923"></a><tt class="py-lineno"> 923</tt> <tt class="py-line"> </tt>
-<a name="Notifier.read_events"></a><div id="Notifier.read_events-def"><a name="L924"></a><tt class="py-lineno"> 924</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="L925"></a><tt class="py-lineno"> 925</tt> <tt class="py-line"> <tt class="py-docstring">"""</tt> </tt>
-<a name="L926"></a><tt class="py-lineno"> 926</tt> <tt class="py-line"><tt class="py-docstring"> Read events from device, build _RawEvents, and enqueue them.</tt> </tt>
-<a name="L927"></a><tt class="py-lineno"> 927</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt>
-<a name="L928"></a><tt class="py-lineno"> 928</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="L929"></a><tt class="py-lineno"> 929</tt> <tt class="py-line"> <tt class="py-comment"># get event queue size</tt> </tt>
-<a name="L930"></a><tt class="py-lineno"> 930</tt> <tt class="py-line"><tt class="py-comment"></tt> <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="L931"></a><tt class="py-lineno"> 931</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> </tt>
-<a name="L932"></a><tt class="py-lineno"> 932</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="L933"></a><tt class="py-lineno"> 933</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">_treshold</tt><tt class="py-op">:</tt> </tt>
-<a name="L934"></a><tt class="py-lineno"> 934</tt> <tt class="py-line"> <tt id="link-162" class="py-name"><a title="pyinotify.log" class="py-name" href="#" onclick="return doclink('link-162', 'log', 'link-1');">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 '</tt> </tt>
-<a name="L935"></a><tt class="py-lineno"> 935</tt> <tt class="py-line"> <tt class="py-string">'treshold is fixed to %d bytes'</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">_fd</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">queue_size</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">_treshold</tt><tt class="py-op">)</tt><tt class="py-op">)</tt> </tt>
-<a name="L938"></a><tt class="py-lineno"> 938</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> </tt>
-<a name="L939"></a><tt class="py-lineno"> 939</tt> <tt class="py-line"> </tt>
-<a name="L940"></a><tt class="py-lineno"> 940</tt> <tt class="py-line"> <tt class="py-keyword">try</tt><tt class="py-op">:</tt> </tt>
-<a name="L941"></a><tt class="py-lineno"> 941</tt> <tt class="py-line"> <tt class="py-comment"># read content from file</tt> </tt>
-<a name="L942"></a><tt class="py-lineno"> 942</tt> <tt class="py-line"><tt class="py-comment"></tt> <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="L943"></a><tt class="py-lineno"> 943</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="L944"></a><tt class="py-lineno"> 944</tt> <tt class="py-line"> <tt class="py-keyword">raise</tt> <tt id="link-163" class="py-name" targets="Class pyinotify.NotifierError=pyinotify.NotifierError-class.html"><a title="pyinotify.NotifierError" class="py-name" href="#" onclick="return doclink('link-163', 'NotifierError', 'link-163');">NotifierError</a></tt><tt class="py-op">(</tt><tt class="py-name">msg</tt><tt class="py-op">)</tt> </tt>
-<a name="L945"></a><tt class="py-lineno"> 945</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-1');">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="L946"></a><tt class="py-lineno"> 946</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="L947"></a><tt class="py-lineno"> 947</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="L948"></a><tt class="py-lineno"> 948</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="L949"></a><tt class="py-lineno"> 949</tt> <tt class="py-line"> <tt class="py-comment"># retrieve wd, mask, cookie</tt> </tt>
-<a name="L950"></a><tt class="py-lineno"> 950</tt> <tt class="py-line"><tt class="py-comment"></tt> <tt class="py-name">s_</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 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="L951"></a><tt class="py-lineno"> 951</tt> <tt class="py-line"> <tt class="py-comment"># length of name</tt> </tt>
-<a name="L952"></a><tt class="py-lineno"> 952</tt> <tt class="py-line"><tt class="py-comment"></tt> <tt class="py-name">fname_len</tt> <tt class="py-op">=</tt> <tt class="py-name">s_</tt><tt class="py-op">[</tt><tt class="py-number">3</tt><tt class="py-op">]</tt> </tt>
-<a name="L953"></a><tt class="py-lineno"> 953</tt> <tt class="py-line"> <tt class="py-comment"># field 'length' useless</tt> </tt>
-<a name="L954"></a><tt class="py-lineno"> 954</tt> <tt class="py-line"><tt class="py-comment"></tt> <tt class="py-name">s_</tt> <tt class="py-op">=</tt> <tt class="py-name">s_</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="L955"></a><tt class="py-lineno"> 955</tt> <tt class="py-line"> <tt class="py-comment"># retrieve name</tt> </tt>
-<a name="L956"></a><tt class="py-lineno"> 956</tt> <tt class="py-line"><tt class="py-comment"></tt> <tt class="py-name">s_</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="L957"></a><tt class="py-lineno"> 957</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="L958"></a><tt class="py-lineno"> 958</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 id="link-165" class="py-name"><a title="pyinotify._RawEvent" class="py-name" href="#" onclick="return doclink('link-165', '_RawEvent', 'link-87');">_RawEvent</a></tt><tt class="py-op">(</tt><tt class="py-op">*</tt><tt class="py-name">s_</tt><tt class="py-op">)</tt><tt class="py-op">)</tt> </tt>
-<a name="L959"></a><tt class="py-lineno"> 959</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>
+pyinotify._SysProcessEvent.__init__" class="py-name" href="#" onclick="return doclink('link-172', '__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="L881"></a><tt class="py-lineno"> 881</tt> <tt class="py-line"> </tt>
+<a name="L882"></a><tt class="py-lineno"> 882</tt> <tt class="py-line"> </tt>
+<a name="Notifier"></a><div id="Notifier-def"><a name="L883"></a><tt class="py-lineno"> 883</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="L884"></a><tt class="py-lineno"> 884</tt> <tt class="py-line"> <tt class="py-docstring">"""</tt> </tt>
+<a name="L885"></a><tt class="py-lineno"> 885</tt> <tt class="py-line"><tt class="py-docstring"> Read notifications, process events.</tt> </tt>
+<a name="L886"></a><tt class="py-lineno"> 886</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
+<a name="L887"></a><tt class="py-lineno"> 887</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt>
+<a name="Notifier.__init__"></a><div id="Notifier.__init__-def"><a name="L888"></a><tt class="py-lineno"> 888</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 id="link-173" class="py-name" targets="Class pyinotify.ProcessEvent=pyinotify.ProcessEvent-class.html"><a title="pyinotify.ProcessEvent" class="py-name" href="#" onclick="return doclink('link-173', 'ProcessEvent', 'link-173');">ProcessEvent</a></tt><tt class="py-op">(</tt><tt class="py-op">)</tt><tt class="py-op">,</tt> </tt>
+<a name="L889"></a><tt class="py-lineno"> 889</tt> <tt class="py-line"> <tt class="py-param">read_freq</tt><tt class="py-op">=</tt><tt class="py-number">0</tt><tt class="py-op">,</tt> <tt class="py-param">treshold</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="L890"></a><tt class="py-lineno"> 890</tt> <tt class="py-line"> <tt class="py-docstring">"""</tt> </tt>
+<a name="L891"></a><tt class="py-lineno"> 891</tt> <tt class="py-line"><tt class="py-docstring"> Initialization. read_freq, treshold and timeout parameters are used</tt> </tt>
+<a name="L892"></a><tt class="py-lineno"> 892</tt> <tt class="py-line"><tt class="py-docstring"> when looping.</tt> </tt>
+<a name="L893"></a><tt class="py-lineno"> 893</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
+<a name="L894"></a><tt class="py-lineno"> 894</tt> <tt class="py-line"><tt class="py-docstring"> @param watch_manager: Watch Manager.</tt> </tt>
+<a name="L895"></a><tt class="py-lineno"> 895</tt> <tt class="py-line"><tt class="py-docstring"> @type watch_manager: WatchManager instance</tt> </tt>
+<a name="L896"></a><tt class="py-lineno"> 896</tt> <tt class="py-line"><tt class="py-docstring"> @param default_proc_fun: Default processing method.</tt> </tt>
+<a name="L897"></a><tt class="py-lineno"> 897</tt> <tt class="py-line"><tt class="py-docstring"> @type default_proc_fun: instance of ProcessEvent</tt> </tt>
+<a name="L898"></a><tt class="py-lineno"> 898</tt> <tt class="py-line"><tt class="py-docstring"> @param read_freq: if read_freq == 0, events are read asap,</tt> </tt>
+<a name="L899"></a><tt class="py-lineno"> 899</tt> <tt class="py-line"><tt class="py-docstring"> if read_freq is &gt; 0, this thread sleeps</tt> </tt>
+<a name="L900"></a><tt class="py-lineno"> 900</tt> <tt class="py-line"><tt class="py-docstring"> max(0, read_freq - timeout) seconds. But if</tt> </tt>
+<a name="L901"></a><tt class="py-lineno"> 901</tt> <tt class="py-line"><tt class="py-docstring"> timeout is None it can be different because</tt> </tt>
+<a name="L902"></a><tt class="py-lineno"> 902</tt> <tt class="py-line"><tt class="py-docstring"> poll is blocking waiting for something to read.</tt> </tt>
+<a name="L903"></a><tt class="py-lineno"> 903</tt> <tt class="py-line"><tt class="py-docstring"> @type read_freq: int</tt> </tt>
+<a name="L904"></a><tt class="py-lineno"> 904</tt> <tt class="py-line"><tt class="py-docstring"> @param treshold: File descriptor will be read only if its size to</tt> </tt>
+<a name="L905"></a><tt class="py-lineno"> 905</tt> <tt class="py-line"><tt class="py-docstring"> read is &gt;= treshold. If != 0, you likely want to</tt> </tt>
+<a name="L906"></a><tt class="py-lineno"> 906</tt> <tt class="py-line"><tt class="py-docstring"> use it in combination with read_freq because</tt> </tt>
+<a name="L907"></a><tt class="py-lineno"> 907</tt> <tt class="py-line"><tt class="py-docstring"> without that you keep looping without really reading</tt> </tt>
+<a name="L908"></a><tt class="py-lineno"> 908</tt> <tt class="py-line"><tt class="py-docstring"> anything and that until the amount to read</tt> </tt>
+<a name="L909"></a><tt class="py-lineno"> 909</tt> <tt class="py-line"><tt class="py-docstring"> is &gt;= treshold. At least with read_freq you may sleep.</tt> </tt>
+<a name="L910"></a><tt class="py-lineno"> 910</tt> <tt class="py-line"><tt class="py-docstring"> @type treshold: int</tt> </tt>
+<a name="L911"></a><tt class="py-lineno"> 911</tt> <tt class="py-line"><tt class="py-docstring"> @param timeout:</tt> </tt>
+<a name="L912"></a><tt class="py-lineno"> 912</tt> <tt class="py-line"><tt class="py-docstring"> see http://docs.python.org/lib/poll-objects.html#poll-objects</tt> </tt>
+<a name="L913"></a><tt class="py-lineno"> 913</tt> <tt class="py-line"><tt class="py-docstring"> @type timeout: int</tt> </tt>
+<a name="L914"></a><tt class="py-lineno"> 914</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt>
+<a name="L915"></a><tt class="py-lineno"> 915</tt> <tt class="py-line"> <tt class="py-comment"># watch manager instance</tt> </tt>
+<a name="L916"></a><tt class="py-lineno"> 916</tt> <tt class="py-line"><tt class="py-comment"></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">watch_manager</tt> </tt>
+<a name="L917"></a><tt class="py-lineno"> 917</tt> <tt class="py-line"> <tt class="py-comment"># file descriptor</tt> </tt>
+<a name="L918"></a><tt class="py-lineno"> 918</tt> <tt class="py-line"><tt class="py-comment"></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">self</tt><tt class="py-op">.</tt><tt class="py-name">_watch_manager</tt><tt class="py-op">.</tt><tt class="py-name">_fd</tt> </tt>
+<a name="L919"></a><tt class="py-lineno"> 919</tt> <tt class="py-line"> <tt class="py-comment"># poll object and registration</tt> </tt>
+<a name="L920"></a><tt class="py-lineno"> 920</tt> <tt class="py-line"><tt class="py-comment"></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">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="L921"></a><tt class="py-lineno"> 921</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="L922"></a><tt class="py-lineno"> 922</tt> <tt class="py-line"> <tt class="py-comment"># event queue</tt> </tt>
+<a name="L923"></a><tt class="py-lineno"> 923</tt> <tt class="py-line"><tt class="py-comment"></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">deque</tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt>
+<a name="L924"></a><tt class="py-lineno"> 924</tt> <tt class="py-line"> <tt class="py-comment"># system processing functor, common to all events</tt> </tt>
+<a name="L925"></a><tt class="py-lineno"> 925</tt> <tt class="py-line"><tt class="py-comment"></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 id="link-174" class="py-name" targets="Class pyinotify._SysProcessEvent=pyinotify._SysProcessEvent-class.html"><a title="pyinotify._SysProcessEvent" class="py-name" href="#" onclick="return doclink('link-174', '_SysProcessEvent', 'link-174');">_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="L926"></a><tt class="py-lineno"> 926</tt> <tt class="py-line"> <tt class="py-comment"># default processing method</tt> </tt>
+<a name="L927"></a><tt class="py-lineno"> 927</tt> <tt class="py-line"><tt class="py-comment"></tt> <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="L928"></a><tt class="py-lineno"> 928</tt> <tt class="py-line"> <tt class="py-comment"># loop parameters</tt> </tt>
+<a name="L929"></a><tt class="py-lineno"> 929</tt> <tt class="py-line"><tt class="py-comment"></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-name">read_freq</tt> </tt>
+<a name="L930"></a><tt class="py-lineno"> 930</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_treshold</tt> <tt class="py-op">=</tt> <tt class="py-name">treshold</tt> </tt>
+<a name="L931"></a><tt class="py-lineno"> 931</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>
+</div><a name="L932"></a><tt class="py-lineno"> 932</tt> <tt class="py-line"> </tt>
+<a name="Notifier.proc_fun"></a><div id="Notifier.proc_fun-def"><a name="L933"></a><tt class="py-lineno"> 933</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="L934"></a><tt class="py-lineno"> 934</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="L935"></a><tt class="py-lineno"> 935</tt> <tt class="py-line"> </tt>
+<a name="Notifier.check_events"></a><div id="Notifier.check_events-def"><a name="L936"></a><tt class="py-lineno"> 936</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-op">:</tt> </tt>
+</div><div id="Notifier.check_events-collapsed" style="display:none;" pad="++++" indent="++++++++"></div><div id="Notifier.check_events-expanded"><a name="L937"></a><tt class="py-lineno"> 937</tt> <tt class="py-line"> <tt class="py-docstring">"""</tt> </tt>
+<a name="L938"></a><tt class="py-lineno"> 938</tt> <tt class="py-line"><tt class="py-docstring"> Check for new events available to read, blocks up to timeout</tt> </tt>
+<a name="L939"></a><tt class="py-lineno"> 939</tt> <tt class="py-line"><tt class="py-docstring"> milliseconds.</tt> </tt>
+<a name="L940"></a><tt class="py-lineno"> 940</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
+<a name="L941"></a><tt class="py-lineno"> 941</tt> <tt class="py-line"><tt class="py-docstring"> @return: New events to read.</tt> </tt>
+<a name="L942"></a><tt class="py-lineno"> 942</tt> <tt class="py-line"><tt class="py-docstring"> @rtype: bool</tt> </tt>
+<a name="L943"></a><tt class="py-lineno"> 943</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt>
+<a name="L944"></a><tt class="py-lineno"> 944</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="L945"></a><tt class="py-lineno"> 945</tt> <tt class="py-line"> <tt class="py-keyword">try</tt><tt class="py-op">:</tt> </tt>
+<a name="L946"></a><tt class="py-lineno"> 946</tt> <tt class="py-line"> <tt class="py-comment"># blocks up to 'timeout' milliseconds</tt> </tt>
+<a name="L947"></a><tt class="py-lineno"> 947</tt> <tt class="py-line"><tt class="py-comment"></tt> <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">self</tt><tt class="py-op">.</tt><tt class="py-name">_timeout</tt><tt class="py-op">)</tt> </tt>
+<a name="L948"></a><tt class="py-lineno"> 948</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="L949"></a><tt class="py-lineno"> 949</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="L950"></a><tt class="py-lineno"> 950</tt> <tt class="py-line"> <tt class="py-keyword">continue</tt> <tt class="py-comment"># interrupted, retry</tt> </tt>
+<a name="L951"></a><tt class="py-lineno"> 951</tt> <tt class="py-line"> <tt class="py-keyword">else</tt><tt class="py-op">:</tt> </tt>
+<a name="L952"></a><tt class="py-lineno"> 952</tt> <tt class="py-line"> <tt class="py-keyword">raise</tt> </tt>
+<a name="L953"></a><tt class="py-lineno"> 953</tt> <tt class="py-line"> <tt class="py-keyword">else</tt><tt class="py-op">:</tt> </tt>
+<a name="L954"></a><tt class="py-lineno"> 954</tt> <tt class="py-line"> <tt class="py-keyword">break</tt> </tt>
+<a name="L955"></a><tt class="py-lineno"> 955</tt> <tt class="py-line"> </tt>
+<a name="L956"></a><tt class="py-lineno"> 956</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-op">:</tt> </tt>
+<a name="L957"></a><tt class="py-lineno"> 957</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-name">False</tt> </tt>
+<a name="L958"></a><tt class="py-lineno"> 958</tt> <tt class="py-line"> <tt class="py-comment"># only one fd is polled</tt> </tt>
+<a name="L959"></a><tt class="py-lineno"> 959</tt> <tt class="py-line"><tt class="py-comment"></tt> <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="L960"></a><tt class="py-lineno"> 960</tt> <tt class="py-line"> </tt>
-<a name="Notifier.process_events"></a><div id="Notifier.process_events-def"><a name="L961"></a><tt class="py-lineno"> 961</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="L962"></a><tt class="py-lineno"> 962</tt> <tt class="py-line"> <tt class="py-docstring">"""</tt> </tt>
-<a name="L963"></a><tt class="py-lineno"> 963</tt> <tt class="py-line"><tt class="py-docstring"> Routine for processing events from queue by calling their</tt> </tt>
-<a name="L964"></a><tt class="py-lineno"> 964</tt> <tt class="py-line"><tt class="py-docstring"> associated proccessing function (instance of ProcessEvent).</tt> </tt>
-<a name="L965"></a><tt class="py-lineno"> 965</tt> <tt class="py-line"><tt class="py-docstring"> It also do internal processings, to keep the system updated.</tt> </tt>
-<a name="L966"></a><tt class="py-lineno"> 966</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt>
-<a name="L967"></a><tt class="py-lineno"> 967</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="L968"></a><tt class="py-lineno"> 968</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="L969"></a><tt class="py-lineno"> 969</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 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">raw_event</tt><tt class="py-op">.</tt><tt class="py-name">wd</tt><tt class="py-op">)</tt> </tt>
-<a name="L970"></a><tt class="py-lineno"> 970</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="L971"></a><tt class="py-lineno"> 971</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-166" class="py-name"><a title="pyinotify.Notifier.proc_fun" class="py-name" href="#" onclick="return doclink('link-166', 'proc_fun', 'link-112');">proc_fun</a></tt><tt class="py-op">:</tt> </tt>
-<a name="L972"></a><tt class="py-lineno"> 972</tt> <tt class="py-line"> <tt class="py-name">watch_</tt><tt class="py-op">.</tt><tt id="link-167" class="py-name"><a title="pyinotify.Notifier.proc_fun" class="py-name" href="#" onclick="return doclink('link-167', 'proc_fun', 'link-112');">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="L973"></a><tt class="py-lineno"> 973</tt> <tt class="py-line"> <tt class="py-keyword">else</tt><tt class="py-op">:</tt> </tt>
-<a name="L974"></a><tt class="py-lineno"> 974</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="L975"></a><tt class="py-lineno"> 975</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-168" 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-168', 'cleanup', 'link-168');">cleanup</a></tt><tt class="py-op">(</tt><tt class="py-op">)</tt> <tt class="py-comment"># remove olds MOVED_* events records</tt> </tt>
-</div><a name="L976"></a><tt class="py-lineno"> 976</tt> <tt class="py-line"> </tt>
-<a name="L977"></a><tt class="py-lineno"> 977</tt> <tt class="py-line"> </tt>
-<a name="Notifier.__daemonize"></a><div id="Notifier.__daemonize-def"><a name="L978"></a><tt class="py-lineno"> 978</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">force_kill</tt><tt class="py-op">=</tt><tt class="py-name">False</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>
-<a name="L979"></a><tt class="py-lineno"> 979</tt> <tt class="py-line"> <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 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="L980"></a><tt class="py-lineno"> 980</tt> <tt class="py-line"> <tt class="py-docstring">"""</tt> </tt>
-<a name="L981"></a><tt class="py-lineno"> 981</tt> <tt class="py-line"><tt class="py-docstring"> pid_file: file to which pid will be written.</tt> </tt>
-<a name="L982"></a><tt class="py-lineno"> 982</tt> <tt class="py-line"><tt class="py-docstring"> force_kill: if True kill the process associated to pid_file.</tt> </tt>
-<a name="L983"></a><tt class="py-lineno"> 983</tt> <tt class="py-line"><tt class="py-docstring"> stdin, stdout, stderr: files associated to common streams.</tt> </tt>
-<a name="L984"></a><tt class="py-lineno"> 984</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt>
-<a name="L985"></a><tt class="py-lineno"> 985</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="L986"></a><tt class="py-lineno"> 986</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="L987"></a><tt class="py-lineno"> 987</tt> <tt class="py-line"> <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-keyword">or</tt> <tt class="py-string">'pyinotify'</tt> </tt>
-<a name="L988"></a><tt class="py-lineno"> 988</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="L989"></a><tt class="py-lineno"> 989</tt> <tt class="py-line"> </tt>
-<a name="L990"></a><tt class="py-lineno"> 990</tt> <tt class="py-line"> <tt class="py-keyword">if</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">exists</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="L991"></a><tt class="py-lineno"> 991</tt> <tt class="py-line"> <tt class="py-name">fo</tt> <tt class="py-op">=</tt> <tt class="py-name">file</tt><tt class="py-op">(</tt><tt class="py-name">pid_file</tt><tt class="py-op">,</tt> <tt class="py-string">'rb'</tt><tt class="py-op">)</tt> </tt>
-<a name="L992"></a><tt class="py-lineno"> 992</tt> <tt class="py-line"> <tt class="py-keyword">try</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">try</tt><tt class="py-op">:</tt> </tt>
-<a name="L994"></a><tt class="py-lineno"> 994</tt> <tt class="py-line"> <tt class="py-name">pid</tt> <tt class="py-op">=</tt> <tt class="py-name">int</tt><tt class="py-op">(</tt><tt class="py-name">fo</tt><tt class="py-op">.</tt><tt class="py-name">read</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 class="py-keyword">except</tt> <tt class="py-name">ValueError</tt><tt class="py-op">:</tt> </tt>
-<a name="L996"></a><tt class="py-lineno"> 996</tt> <tt class="py-line"> <tt class="py-name">pid</tt> <tt class="py-op">=</tt> <tt class="py-name">None</tt> </tt>
-<a name="L997"></a><tt class="py-lineno"> 997</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">pid</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="L998"></a><tt class="py-lineno"> 998</tt> <tt class="py-line"> <tt class="py-keyword">try</tt><tt class="py-op">:</tt> </tt>
-<a name="L999"></a><tt class="py-lineno"> 999</tt> <tt class="py-line"> <tt class="py-name">os</tt><tt class="py-op">.</tt><tt class="py-name">kill</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>
-<a name="L1000"></a><tt class="py-lineno">1000</tt> <tt class="py-line"> <tt class="py-keyword">except</tt> <tt class="py-name">OSError</tt><tt class="py-op">,</tt> <tt class="py-name">err</tt><tt class="py-op">:</tt> </tt>
-<a name="L1001"></a><tt class="py-lineno">1001</tt> <tt class="py-line"> <tt class="py-keyword">pass</tt> </tt>
-<a name="L1002"></a><tt class="py-lineno">1002</tt> <tt class="py-line"> <tt class="py-keyword">else</tt><tt class="py-op">:</tt> </tt>
-<a name="L1003"></a><tt class="py-lineno">1003</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-keyword">not</tt> <tt class="py-name">force_kill</tt><tt class="py-op">:</tt> </tt>
-<a name="L1004"></a><tt class="py-lineno">1004</tt> <tt class="py-line"> <tt class="py-name">s</tt> <tt class="py-op">=</tt> <tt class="py-string">'There is already a pid file %s with pid %d'</tt> </tt>
-<a name="L1005"></a><tt class="py-lineno">1005</tt> <tt class="py-line"> <tt class="py-keyword">raise</tt> <tt id="link-169" class="py-name"><a title="pyinotify.NotifierError" class="py-name" href="#" onclick="return doclink('link-169', 'NotifierError', 'link-163');">NotifierError</a></tt><tt class="py-op">(</tt><tt class="py-name">s</tt> <tt class="py-op">%</tt> <tt class="py-op">(</tt><tt class="py-name">pid_file</tt><tt class="py-op">,</tt> <tt class="py-name">pid</tt><tt class="py-op">)</tt><tt class="py-op">)</tt> </tt>
-<a name="L1006"></a><tt class="py-lineno">1006</tt> <tt class="py-line"> <tt class="py-keyword">else</tt><tt class="py-op">:</tt> </tt>
-<a name="L1007"></a><tt class="py-lineno">1007</tt> <tt class="py-line"> <tt class="py-name">os</tt><tt class="py-op">.</tt><tt class="py-name">kill</tt><tt class="py-op">(</tt><tt class="py-name">pid</tt><tt class="py-op">,</tt> <tt class="py-number">9</tt><tt class="py-op">)</tt> </tt>
-<a name="L1008"></a><tt class="py-lineno">1008</tt> <tt class="py-line"> <tt class="py-keyword">finally</tt><tt class="py-op">:</tt> </tt>
-<a name="L1009"></a><tt class="py-lineno">1009</tt> <tt class="py-line"> <tt class="py-name">fo</tt><tt class="py-op">.</tt><tt class="py-name">close</tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt>
-<a name="L1010"></a><tt class="py-lineno">1010</tt> <tt class="py-line"> </tt>
-<a name="L1011"></a><tt class="py-lineno">1011</tt> <tt class="py-line"> </tt>
-<a name="L1012"></a><tt class="py-lineno">1012</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="L1013"></a><tt class="py-lineno">1013</tt> <tt class="py-line"> <tt class="py-comment"># Adapted from Chad J. Schroeder's recipe</tt> </tt>
-<a name="L1014"></a><tt class="py-lineno">1014</tt> <tt class="py-line"><tt class="py-comment"></tt> <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="L1015"></a><tt class="py-lineno">1015</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="L1016"></a><tt class="py-lineno">1016</tt> <tt class="py-line"> <tt class="py-comment"># parent 2</tt> </tt>
-<a name="L1017"></a><tt class="py-lineno">1017</tt> <tt class="py-line"><tt class="py-comment"></tt> <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="L1018"></a><tt class="py-lineno">1018</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="L1019"></a><tt class="py-lineno">1019</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="L1020"></a><tt class="py-lineno">1020</tt> <tt class="py-line"> <tt class="py-comment"># child</tt> </tt>
-<a name="L1021"></a><tt class="py-lineno">1021</tt> <tt class="py-line"><tt class="py-comment"></tt> <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="L1022"></a><tt class="py-lineno">1022</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">0</tt><tt class="py-op">)</tt> </tt>
-<a name="L1023"></a><tt class="py-lineno">1023</tt> <tt class="py-line"> <tt class="py-keyword">else</tt><tt class="py-op">:</tt> </tt>
-<a name="L1024"></a><tt class="py-lineno">1024</tt> <tt class="py-line"> <tt class="py-comment"># parent 2</tt> </tt>
-<a name="L1025"></a><tt class="py-lineno">1025</tt> <tt class="py-line"><tt class="py-comment"></tt> <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="L1026"></a><tt class="py-lineno">1026</tt> <tt class="py-line"> <tt class="py-keyword">else</tt><tt class="py-op">:</tt> </tt>
-<a name="L1027"></a><tt class="py-lineno">1027</tt> <tt class="py-line"> <tt class="py-comment"># parent 1</tt> </tt>
-<a name="L1028"></a><tt class="py-lineno">1028</tt> <tt class="py-line"><tt class="py-comment"></tt> <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="L1029"></a><tt class="py-lineno">1029</tt> <tt class="py-line"> </tt>
-<a name="L1030"></a><tt class="py-lineno">1030</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="L1031"></a><tt class="py-lineno">1031</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="L1032"></a><tt class="py-lineno">1032</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>
-<a name="L1033"></a><tt class="py-lineno">1033</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="L1034"></a><tt class="py-lineno">1034</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>
-<a name="L1035"></a><tt class="py-lineno">1035</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="L1036"></a><tt class="py-lineno">1036</tt> <tt class="py-line"> </tt>
-<a name="L1037"></a><tt class="py-lineno">1037</tt> <tt class="py-line"> <tt class="py-comment"># Detach task</tt> </tt>
-<a name="L1038"></a><tt class="py-lineno">1038</tt> <tt class="py-line"><tt class="py-comment"></tt> <tt class="py-name">fork_daemon</tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt>
-<a name="L1039"></a><tt class="py-lineno">1039</tt> <tt class="py-line"> </tt>
-<a name="L1040"></a><tt class="py-lineno">1040</tt> <tt class="py-line"> <tt class="py-comment"># Write pid</tt> </tt>
-<a name="L1041"></a><tt class="py-lineno">1041</tt> <tt class="py-line"><tt class="py-comment"></tt> <tt class="py-name">fo</tt> <tt class="py-op">=</tt> <tt class="py-name">file</tt><tt class="py-op">(</tt><tt class="py-name">pid_file</tt><tt class="py-op">,</tt> <tt class="py-string">'wb'</tt><tt class="py-op">)</tt> </tt>
-<a name="L1042"></a><tt class="py-lineno">1042</tt> <tt class="py-line"> <tt class="py-keyword">try</tt><tt class="py-op">:</tt> </tt>
-<a name="L1043"></a><tt class="py-lineno">1043</tt> <tt class="py-line"> <tt class="py-name">fo</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">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="L1044"></a><tt class="py-lineno">1044</tt> <tt class="py-line"> <tt class="py-keyword">finally</tt><tt class="py-op">:</tt> </tt>
-<a name="L1045"></a><tt class="py-lineno">1045</tt> <tt class="py-line"> <tt class="py-name">fo</tt><tt class="py-op">.</tt><tt class="py-name">close</tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt>
-<a name="L1046"></a><tt class="py-lineno">1046</tt> <tt class="py-line"> </tt>
-<a name="L1047"></a><tt class="py-lineno">1047</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="L1048"></a><tt class="py-lineno">1048</tt> <tt class="py-line"> </tt>
-<a name="L1049"></a><tt class="py-lineno">1049</tt> <tt class="py-line"> </tt>
-<a name="Notifier._sleep"></a><div id="Notifier._sleep-def"><a name="L1050"></a><tt class="py-lineno">1050</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="L1051"></a><tt class="py-lineno">1051</tt> <tt class="py-line"> <tt class="py-comment"># Only consider sleeping if read_freq is &gt; 0</tt> </tt>
-<a name="L1052"></a><tt class="py-lineno">1052</tt> <tt class="py-line"><tt class="py-comment"></tt> <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="L1053"></a><tt class="py-lineno">1053</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="L1054"></a><tt class="py-lineno">1054</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="L1055"></a><tt class="py-lineno">1055</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="L1056"></a><tt class="py-lineno">1056</tt> <tt class="py-line"> <tt id="link-170" class="py-name"><a title="pyinotify.log" class="py-name" href="#" onclick="return doclink('link-170', 'log', 'link-1');">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="L1057"></a><tt class="py-lineno">1057</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="L1058"></a><tt class="py-lineno">1058</tt> <tt class="py-line"> </tt>
-<a name="L1059"></a><tt class="py-lineno">1059</tt> <tt class="py-line"> </tt>
-<a name="Notifier.loop"></a><div id="Notifier.loop-def"><a name="L1060"></a><tt class="py-lineno">1060</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="L1061"></a><tt class="py-lineno">1061</tt> <tt class="py-line"> <tt class="py-docstring">"""</tt> </tt>
-<a name="L1062"></a><tt class="py-lineno">1062</tt> <tt class="py-line"><tt class="py-docstring"> Events are read only once time every min(read_freq, timeout)</tt> </tt>
-<a name="L1063"></a><tt class="py-lineno">1063</tt> <tt class="py-line"><tt class="py-docstring"> seconds at best and only if the size to read is &gt;= treshold.</tt> </tt>
-<a name="L1064"></a><tt class="py-lineno">1064</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
-<a name="L1065"></a><tt class="py-lineno">1065</tt> <tt class="py-line"><tt class="py-docstring"> @param callback: Functor called after each event processing. Expects</tt> </tt>
-<a name="L1066"></a><tt class="py-lineno">1066</tt> <tt class="py-line"><tt class="py-docstring"> to receive notifier object (self) as first parameter.</tt> </tt>
-<a name="L1067"></a><tt class="py-lineno">1067</tt> <tt class="py-line"><tt class="py-docstring"> @type callback: callable</tt> </tt>
-<a name="L1068"></a><tt class="py-lineno">1068</tt> <tt class="py-line"><tt class="py-docstring"> @param daemonize: This thread is daemonized if set to True.</tt> </tt>
-<a name="L1069"></a><tt class="py-lineno">1069</tt> <tt class="py-line"><tt class="py-docstring"> @type daemonize: boolean</tt> </tt>
-<a name="L1070"></a><tt class="py-lineno">1070</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt>
-<a name="L1071"></a><tt class="py-lineno">1071</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="L1072"></a><tt class="py-lineno">1072</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-171" 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-171', '__daemonize', 'link-171');">__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="L1073"></a><tt class="py-lineno">1073</tt> <tt class="py-line"> </tt>
-<a name="L1074"></a><tt class="py-lineno">1074</tt> <tt class="py-line"> <tt class="py-comment"># Read and process events forever</tt> </tt>
-<a name="L1075"></a><tt class="py-lineno">1075</tt> <tt class="py-line"><tt class="py-comment"></tt> <tt class="py-keyword">while</tt> <tt class="py-number">1</tt><tt class="py-op">:</tt> </tt>
-<a name="L1076"></a><tt class="py-lineno">1076</tt> <tt class="py-line"> <tt class="py-keyword">try</tt><tt class="py-op">:</tt> </tt>
-<a name="L1077"></a><tt class="py-lineno">1077</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-172" 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-172', 'process_events', 'link-172');">process_events</a></tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt>
-<a name="L1078"></a><tt class="py-lineno">1078</tt> <tt class="py-line"> <tt class="py-keyword">if</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>
-<a name="L1079"></a><tt class="py-lineno">1079</tt> <tt class="py-line"> <tt class="py-name">callback</tt><tt class="py-op">(</tt><tt class="py-name">self</tt><tt class="py-op">)</tt> </tt>
-<a name="L1080"></a><tt class="py-lineno">1080</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="L1081"></a><tt class="py-lineno">1081</tt> <tt class="py-line"> <tt class="py-comment"># check_events is blocking</tt> </tt>
-<a name="L1082"></a><tt class="py-lineno">1082</tt> <tt class="py-line"><tt class="py-comment"></tt> <tt class="py-keyword">if</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-173" 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-173', 'check_events', 'link-173');">check_events</a></tt><tt class="py-op">(</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
-<a name="L1083"></a><tt class="py-lineno">1083</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-174" 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-174', '_sleep', 'link-174');">_sleep</a></tt><tt class="py-op">(</tt><tt class="py-name">ref_time</tt><tt class="py-op">)</tt> </tt>
-<a name="L1084"></a><tt class="py-lineno">1084</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-175" 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-175', 'read_events', 'link-175');">read_events</a></tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt>
-<a name="L1085"></a><tt class="py-lineno">1085</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="L1086"></a><tt class="py-lineno">1086</tt> <tt class="py-line"> <tt class="py-comment"># Unless sigint is caught (c^c)</tt> </tt>
-<a name="L1087"></a><tt class="py-lineno">1087</tt> <tt class="py-line"><tt class="py-comment"></tt> <tt id="link-176" class="py-name"><a title="pyinotify.log" class="py-name" href="#" onclick="return doclink('link-176', 'log', 'link-1');">log</a></tt><tt class="py-op">.</tt><tt class="py-name">debug</tt><tt class="py-op">(</tt><tt class="py-string">'stop monitoring...'</tt><tt class="py-op">)</tt> </tt>
-<a name="L1088"></a><tt class="py-lineno">1088</tt> <tt class="py-line"> <tt class="py-comment"># Stop monitoring</tt> </tt>
-<a name="L1089"></a><tt class="py-lineno">1089</tt> <tt class="py-line"><tt class="py-comment"></tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-177" 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-177', 'stop', 'link-177');">stop</a></tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt>
-<a name="L1090"></a><tt class="py-lineno">1090</tt> <tt class="py-line"> <tt class="py-keyword">break</tt> </tt>
-<a name="L1091"></a><tt class="py-lineno">1091</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">err</tt><tt class="py-op">:</tt> </tt>
-<a name="L1092"></a><tt class="py-lineno">1092</tt> <tt class="py-line"> <tt id="link-178" class="py-name"><a title="pyinotify.log" class="py-name" href="#" onclick="return doclink('link-178', 'log', 'link-1');">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>
-</div><a name="L1093"></a><tt class="py-lineno">1093</tt> <tt class="py-line"> </tt>
-<a name="Notifier.stop"></a><div id="Notifier.stop-def"><a name="L1094"></a><tt class="py-lineno">1094</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="L1095"></a><tt class="py-lineno">1095</tt> <tt class="py-line"> <tt class="py-docstring">"""</tt> </tt>
-<a name="L1096"></a><tt class="py-lineno">1096</tt> <tt class="py-line"><tt class="py-docstring"> Close the inotify's instance (close its file descriptor).</tt> </tt>
-<a name="L1097"></a><tt class="py-lineno">1097</tt> <tt class="py-line"><tt class="py-docstring"> It destroys all existing watches, pending events,...</tt> </tt>
-<a name="L1098"></a><tt class="py-lineno">1098</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt>
-<a name="L1099"></a><tt class="py-lineno">1099</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="L1100"></a><tt class="py-lineno">1100</tt> <tt class="py-line"> <tt class="py-name">os</tt><tt class="py-op">.</tt><tt class="py-name">close</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="L1101"></a><tt class="py-lineno">1101</tt> <tt class="py-line"> </tt>
-<a name="L1102"></a><tt class="py-lineno">1102</tt> <tt class="py-line"> </tt>
-<a name="ThreadedNotifier"></a><div id="ThreadedNotifier-def"><a name="L1103"></a><tt class="py-lineno">1103</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="L1104"></a><tt class="py-lineno">1104</tt> <tt class="py-line"> <tt class="py-docstring">"""</tt> </tt>
-<a name="L1105"></a><tt class="py-lineno">1105</tt> <tt class="py-line"><tt class="py-docstring"> This notifier inherits from threading.Thread for instantiating a separate</tt> </tt>
-<a name="L1106"></a><tt class="py-lineno">1106</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="L1107"></a><tt class="py-lineno">1107</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
-<a name="L1108"></a><tt class="py-lineno">1108</tt> <tt class="py-line"><tt class="py-docstring"> This class is only maintained for legacy reasons, everything possible with</tt> </tt>
-<a name="L1109"></a><tt class="py-lineno">1109</tt> <tt class="py-line"><tt class="py-docstring"> this class is also possible with Notifier, but Notifier is _better_ under</tt> </tt>
-<a name="L1110"></a><tt class="py-lineno">1110</tt> <tt class="py-line"><tt class="py-docstring"> many aspects (not threaded, can be daemonized, won't unnecessarily read</tt> </tt>
-<a name="L1111"></a><tt class="py-lineno">1111</tt> <tt class="py-line"><tt class="py-docstring"> for events).</tt> </tt>
-<a name="L1112"></a><tt class="py-lineno">1112</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt>
-<a name="ThreadedNotifier.__init__"></a><div id="ThreadedNotifier.__init__-def"><a name="L1113"></a><tt class="py-lineno">1113</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 id="link-179" class="py-name"><a title="pyinotify.ProcessEvent" class="py-name" href="#" onclick="return doclink('link-179', 'ProcessEvent', 'link-160');">ProcessEvent</a></tt><tt class="py-op">(</tt><tt class="py-op">)</tt><tt class="py-op">,</tt> </tt>
-<a name="L1114"></a><tt class="py-lineno">1114</tt> <tt class="py-line"> <tt class="py-param">read_freq</tt><tt class="py-op">=</tt><tt class="py-number">0</tt><tt class="py-op">,</tt> <tt class="py-param">treshold</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-number">10000</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="L1115"></a><tt class="py-lineno">1115</tt> <tt class="py-line"> <tt class="py-docstring">"""</tt> </tt>
-<a name="L1116"></a><tt class="py-lineno">1116</tt> <tt class="py-line"><tt class="py-docstring"> Initialization, initialize base classes. read_freq, treshold and</tt> </tt>
-<a name="L1117"></a><tt class="py-lineno">1117</tt> <tt class="py-line"><tt class="py-docstring"> timeout parameters are used when looping.</tt> </tt>
-<a name="L1118"></a><tt class="py-lineno">1118</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
-<a name="L1119"></a><tt class="py-lineno">1119</tt> <tt class="py-line"><tt class="py-docstring"> @param watch_manager: Watch Manager.</tt> </tt>
-<a name="L1120"></a><tt class="py-lineno">1120</tt> <tt class="py-line"><tt class="py-docstring"> @type watch_manager: WatchManager instance</tt> </tt>
-<a name="L1121"></a><tt class="py-lineno">1121</tt> <tt class="py-line"><tt class="py-docstring"> @param default_proc_fun: Default processing method.</tt> </tt>
-<a name="L1122"></a><tt class="py-lineno">1122</tt> <tt class="py-line"><tt class="py-docstring"> @type default_proc_fun: instance of ProcessEvent</tt> </tt>
-<a name="L1123"></a><tt class="py-lineno">1123</tt> <tt class="py-line"><tt class="py-docstring"> @param read_freq: if read_freq == 0, events are read asap,</tt> </tt>
-<a name="L1124"></a><tt class="py-lineno">1124</tt> <tt class="py-line"><tt class="py-docstring"> if read_freq is &gt; 0, this thread sleeps</tt> </tt>
-<a name="L1125"></a><tt class="py-lineno">1125</tt> <tt class="py-line"><tt class="py-docstring"> max(0, read_freq - timeout) seconds.</tt> </tt>
-<a name="L1126"></a><tt class="py-lineno">1126</tt> <tt class="py-line"><tt class="py-docstring"> @type read_freq: int</tt> </tt>
-<a name="L1127"></a><tt class="py-lineno">1127</tt> <tt class="py-line"><tt class="py-docstring"> @param treshold: File descriptor will be read only if its size to</tt> </tt>
-<a name="L1128"></a><tt class="py-lineno">1128</tt> <tt class="py-line"><tt class="py-docstring"> read is &gt;= treshold. If != 0, you likely want to</tt> </tt>
-<a name="L1129"></a><tt class="py-lineno">1129</tt> <tt class="py-line"><tt class="py-docstring"> use it in combination with read_freq because</tt> </tt>
-<a name="L1130"></a><tt class="py-lineno">1130</tt> <tt class="py-line"><tt class="py-docstring"> without that you keep looping without really reading</tt> </tt>
-<a name="L1131"></a><tt class="py-lineno">1131</tt> <tt class="py-line"><tt class="py-docstring"> anything and that until the amount to read</tt> </tt>
-<a name="L1132"></a><tt class="py-lineno">1132</tt> <tt class="py-line"><tt class="py-docstring"> is &gt;= treshold. At least with read_freq you may sleep.</tt> </tt>
-<a name="L1133"></a><tt class="py-lineno">1133</tt> <tt class="py-line"><tt class="py-docstring"> @type treshold: int</tt> </tt>
-<a name="L1134"></a><tt class="py-lineno">1134</tt> <tt class="py-line"><tt class="py-docstring"> @param timeout:</tt> </tt>
-<a name="L1135"></a><tt class="py-lineno">1135</tt> <tt class="py-line"><tt class="py-docstring"> see http://docs.python.org/lib/poll-objects.html#poll-objects</tt> </tt>
-<a name="L1136"></a><tt class="py-lineno">1136</tt> <tt class="py-line"><tt class="py-docstring"> Read the corresponding comment in the source code before changing</tt> </tt>
-<a name="L1137"></a><tt class="py-lineno">1137</tt> <tt class="py-line"><tt class="py-docstring"> it.</tt> </tt>
-<a name="L1138"></a><tt class="py-lineno">1138</tt> <tt class="py-line"><tt class="py-docstring"> @type timeout: int</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-comment"># init threading base class</tt> </tt>
-<a name="L1141"></a><tt class="py-lineno">1141</tt> <tt class="py-line"><tt class="py-comment"></tt> <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-180" class="py-name"><a title="pyinotify.Event.__init__
+<a name="Notifier.read_events"></a><div id="Notifier.read_events-def"><a name="L961"></a><tt class="py-lineno"> 961</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="L962"></a><tt class="py-lineno"> 962</tt> <tt class="py-line"> <tt class="py-docstring">"""</tt> </tt>
+<a name="L963"></a><tt class="py-lineno"> 963</tt> <tt class="py-line"><tt class="py-docstring"> Read events from device, build _RawEvents, and enqueue them.</tt> </tt>
+<a name="L964"></a><tt class="py-lineno"> 964</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt>
+<a name="L965"></a><tt class="py-lineno"> 965</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="L966"></a><tt class="py-lineno"> 966</tt> <tt class="py-line"> <tt class="py-comment"># get event queue size</tt> </tt>
+<a name="L967"></a><tt class="py-lineno"> 967</tt> <tt class="py-line"><tt class="py-comment"></tt> <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="L968"></a><tt class="py-lineno"> 968</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> </tt>
+<a name="L969"></a><tt class="py-lineno"> 969</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="L970"></a><tt class="py-lineno"> 970</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">_treshold</tt><tt class="py-op">:</tt> </tt>
+<a name="L971"></a><tt class="py-lineno"> 971</tt> <tt class="py-line"> <tt id="link-175" class="py-name"><a title="pyinotify.log" class="py-name" href="#" onclick="return doclink('link-175', 'log', 'link-13');">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 '</tt> </tt>
+<a name="L972"></a><tt class="py-lineno"> 972</tt> <tt class="py-line"> <tt class="py-string">'treshold is fixed to %d bytes'</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">_fd</tt><tt class="py-op">,</tt> </tt>
+<a name="L973"></a><tt class="py-lineno"> 973</tt> <tt class="py-line"> <tt class="py-name">queue_size</tt><tt class="py-op">,</tt> </tt>
+<a name="L974"></a><tt class="py-lineno"> 974</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_treshold</tt><tt class="py-op">)</tt><tt class="py-op">)</tt> </tt>
+<a name="L975"></a><tt class="py-lineno"> 975</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> </tt>
+<a name="L976"></a><tt class="py-lineno"> 976</tt> <tt class="py-line"> </tt>
+<a name="L977"></a><tt class="py-lineno"> 977</tt> <tt class="py-line"> <tt class="py-keyword">try</tt><tt class="py-op">:</tt> </tt>
+<a name="L978"></a><tt class="py-lineno"> 978</tt> <tt class="py-line"> <tt class="py-comment"># read content from file</tt> </tt>
+<a name="L979"></a><tt class="py-lineno"> 979</tt> <tt class="py-line"><tt class="py-comment"></tt> <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="L980"></a><tt class="py-lineno"> 980</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="L981"></a><tt class="py-lineno"> 981</tt> <tt class="py-line"> <tt class="py-keyword">raise</tt> <tt id="link-176" class="py-name" targets="Class pyinotify.NotifierError=pyinotify.NotifierError-class.html"><a title="pyinotify.NotifierError" class="py-name" href="#" onclick="return doclink('link-176', 'NotifierError', 'link-176');">NotifierError</a></tt><tt class="py-op">(</tt><tt class="py-name">msg</tt><tt class="py-op">)</tt> </tt>
+<a name="L982"></a><tt class="py-lineno"> 982</tt> <tt class="py-line"> <tt id="link-177" class="py-name"><a title="pyinotify.log" class="py-name" href="#" onclick="return doclink('link-177', 'log', 'link-13');">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="L983"></a><tt class="py-lineno"> 983</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="L984"></a><tt class="py-lineno"> 984</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="L985"></a><tt class="py-lineno"> 985</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="L986"></a><tt class="py-lineno"> 986</tt> <tt class="py-line"> <tt class="py-comment"># retrieve wd, mask, cookie</tt> </tt>
+<a name="L987"></a><tt class="py-lineno"> 987</tt> <tt class="py-line"><tt class="py-comment"></tt> <tt class="py-name">s_</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 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="L988"></a><tt class="py-lineno"> 988</tt> <tt class="py-line"> <tt class="py-comment"># length of name</tt> </tt>
+<a name="L989"></a><tt class="py-lineno"> 989</tt> <tt class="py-line"><tt class="py-comment"></tt> <tt class="py-name">fname_len</tt> <tt class="py-op">=</tt> <tt class="py-name">s_</tt><tt class="py-op">[</tt><tt class="py-number">3</tt><tt class="py-op">]</tt> </tt>
+<a name="L990"></a><tt class="py-lineno"> 990</tt> <tt class="py-line"> <tt class="py-comment"># field 'length' useless</tt> </tt>
+<a name="L991"></a><tt class="py-lineno"> 991</tt> <tt class="py-line"><tt class="py-comment"></tt> <tt class="py-name">s_</tt> <tt class="py-op">=</tt> <tt class="py-name">s_</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="L992"></a><tt class="py-lineno"> 992</tt> <tt class="py-line"> <tt class="py-comment"># retrieve name</tt> </tt>
+<a name="L993"></a><tt class="py-lineno"> 993</tt> <tt class="py-line"><tt class="py-comment"></tt> <tt class="py-name">s_</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="L994"></a><tt class="py-lineno"> 994</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="L995"></a><tt class="py-lineno"> 995</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 id="link-178" class="py-name"><a title="pyinotify._RawEvent" class="py-name" href="#" onclick="return doclink('link-178', '_RawEvent', 'link-98');">_RawEvent</a></tt><tt class="py-op">(</tt><tt class="py-op">*</tt><tt class="py-name">s_</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 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="L997"></a><tt class="py-lineno"> 997</tt> <tt class="py-line"> </tt>
+<a name="Notifier.process_events"></a><div id="Notifier.process_events-def"><a name="L998"></a><tt class="py-lineno"> 998</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="L999"></a><tt class="py-lineno"> 999</tt> <tt class="py-line"> <tt class="py-docstring">"""</tt> </tt>
+<a name="L1000"></a><tt class="py-lineno">1000</tt> <tt class="py-line"><tt class="py-docstring"> Routine for processing events from queue by calling their</tt> </tt>
+<a name="L1001"></a><tt class="py-lineno">1001</tt> <tt class="py-line"><tt class="py-docstring"> associated proccessing function (instance of ProcessEvent).</tt> </tt>
+<a name="L1002"></a><tt class="py-lineno">1002</tt> <tt class="py-line"><tt class="py-docstring"> It also do internal processings, to keep the system updated.</tt> </tt>
+<a name="L1003"></a><tt class="py-lineno">1003</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt>
+<a name="L1004"></a><tt class="py-lineno">1004</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="L1005"></a><tt class="py-lineno">1005</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="L1006"></a><tt class="py-lineno">1006</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 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">raw_event</tt><tt class="py-op">.</tt><tt class="py-name">wd</tt><tt class="py-op">)</tt> </tt>
+<a name="L1007"></a><tt class="py-lineno">1007</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="L1008"></a><tt class="py-lineno">1008</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-179" class="py-name"><a title="pyinotify.Notifier.proc_fun" class="py-name" href="#" onclick="return doclink('link-179', 'proc_fun', 'link-124');">proc_fun</a></tt><tt class="py-op">:</tt> </tt>
+<a name="L1009"></a><tt class="py-lineno">1009</tt> <tt class="py-line"> <tt class="py-name">watch_</tt><tt class="py-op">.</tt><tt id="link-180" class="py-name"><a title="pyinotify.Notifier.proc_fun" class="py-name" href="#" onclick="return doclink('link-180', 'proc_fun', 'link-124');">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="L1010"></a><tt class="py-lineno">1010</tt> <tt class="py-line"> <tt class="py-keyword">else</tt><tt class="py-op">:</tt> </tt>
+<a name="L1011"></a><tt class="py-lineno">1011</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="L1012"></a><tt class="py-lineno">1012</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-181" 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-181', 'cleanup', 'link-181');">cleanup</a></tt><tt class="py-op">(</tt><tt class="py-op">)</tt> <tt class="py-comment"># remove olds MOVED_* events records</tt> </tt>
+</div><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> <tt class="py-line"> </tt>
+<a name="Notifier.__daemonize"></a><div id="Notifier.__daemonize-def"><a name="L1015"></a><tt class="py-lineno">1015</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">force_kill</tt><tt class="py-op">=</tt><tt class="py-name">False</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>
+<a name="L1016"></a><tt class="py-lineno">1016</tt> <tt class="py-line"> <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 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="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"> pid_file: file to which pid will be written.</tt> </tt>
+<a name="L1019"></a><tt class="py-lineno">1019</tt> <tt class="py-line"><tt class="py-docstring"> force_kill: if True kill the process associated to pid_file.</tt> </tt>
+<a name="L1020"></a><tt class="py-lineno">1020</tt> <tt class="py-line"><tt class="py-docstring"> stdin, stdout, stderr: files associated to common streams.</tt> </tt>
+<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-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="L1023"></a><tt class="py-lineno">1023</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="L1024"></a><tt class="py-lineno">1024</tt> <tt class="py-line"> <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-keyword">or</tt> <tt class="py-string">'pyinotify'</tt> </tt>
+<a name="L1025"></a><tt class="py-lineno">1025</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="L1026"></a><tt class="py-lineno">1026</tt> <tt class="py-line"> </tt>
+<a name="L1027"></a><tt class="py-lineno">1027</tt> <tt class="py-line"> <tt class="py-keyword">if</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">exists</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="L1028"></a><tt class="py-lineno">1028</tt> <tt class="py-line"> <tt class="py-name">fo</tt> <tt class="py-op">=</tt> <tt class="py-name">file</tt><tt class="py-op">(</tt><tt class="py-name">pid_file</tt><tt class="py-op">,</tt> <tt class="py-string">'rb'</tt><tt class="py-op">)</tt> </tt>
+<a name="L1029"></a><tt class="py-lineno">1029</tt> <tt class="py-line"> <tt class="py-keyword">try</tt><tt class="py-op">:</tt> </tt>
+<a name="L1030"></a><tt class="py-lineno">1030</tt> <tt class="py-line"> <tt class="py-keyword">try</tt><tt class="py-op">:</tt> </tt>
+<a name="L1031"></a><tt class="py-lineno">1031</tt> <tt class="py-line"> <tt class="py-name">pid</tt> <tt class="py-op">=</tt> <tt class="py-name">int</tt><tt class="py-op">(</tt><tt class="py-name">fo</tt><tt class="py-op">.</tt><tt class="py-name">read</tt><tt class="py-op">(</tt><tt class="py-op">)</tt><tt class="py-op">)</tt> </tt>
+<a name="L1032"></a><tt class="py-lineno">1032</tt> <tt class="py-line"> <tt class="py-keyword">except</tt> <tt class="py-name">ValueError</tt><tt class="py-op">:</tt> </tt>
+<a name="L1033"></a><tt class="py-lineno">1033</tt> <tt class="py-line"> <tt class="py-name">pid</tt> <tt class="py-op">=</tt> <tt class="py-name">None</tt> </tt>
+<a name="L1034"></a><tt class="py-lineno">1034</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">pid</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="L1035"></a><tt class="py-lineno">1035</tt> <tt class="py-line"> <tt class="py-keyword">try</tt><tt class="py-op">:</tt> </tt>
+<a name="L1036"></a><tt class="py-lineno">1036</tt> <tt class="py-line"> <tt class="py-name">os</tt><tt class="py-op">.</tt><tt class="py-name">kill</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>
+<a name="L1037"></a><tt class="py-lineno">1037</tt> <tt class="py-line"> <tt class="py-keyword">except</tt> <tt class="py-name">OSError</tt><tt class="py-op">,</tt> <tt class="py-name">err</tt><tt class="py-op">:</tt> </tt>
+<a name="L1038"></a><tt class="py-lineno">1038</tt> <tt class="py-line"> <tt class="py-keyword">pass</tt> </tt>
+<a name="L1039"></a><tt class="py-lineno">1039</tt> <tt class="py-line"> <tt class="py-keyword">else</tt><tt class="py-op">:</tt> </tt>
+<a name="L1040"></a><tt class="py-lineno">1040</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-keyword">not</tt> <tt class="py-name">force_kill</tt><tt class="py-op">:</tt> </tt>
+<a name="L1041"></a><tt class="py-lineno">1041</tt> <tt class="py-line"> <tt class="py-name">s</tt> <tt class="py-op">=</tt> <tt class="py-string">'There is already a pid file %s with pid %d'</tt> </tt>
+<a name="L1042"></a><tt class="py-lineno">1042</tt> <tt class="py-line"> <tt class="py-keyword">raise</tt> <tt id="link-182" class="py-name"><a title="pyinotify.NotifierError" class="py-name" href="#" onclick="return doclink('link-182', 'NotifierError', 'link-176');">NotifierError</a></tt><tt class="py-op">(</tt><tt class="py-name">s</tt> <tt class="py-op">%</tt> <tt class="py-op">(</tt><tt class="py-name">pid_file</tt><tt class="py-op">,</tt> <tt class="py-name">pid</tt><tt class="py-op">)</tt><tt class="py-op">)</tt> </tt>
+<a name="L1043"></a><tt class="py-lineno">1043</tt> <tt class="py-line"> <tt class="py-keyword">else</tt><tt class="py-op">:</tt> </tt>
+<a name="L1044"></a><tt class="py-lineno">1044</tt> <tt class="py-line"> <tt class="py-name">os</tt><tt class="py-op">.</tt><tt class="py-name">kill</tt><tt class="py-op">(</tt><tt class="py-name">pid</tt><tt class="py-op">,</tt> <tt class="py-number">9</tt><tt class="py-op">)</tt> </tt>
+<a name="L1045"></a><tt class="py-lineno">1045</tt> <tt class="py-line"> <tt class="py-keyword">finally</tt><tt class="py-op">:</tt> </tt>
+<a name="L1046"></a><tt class="py-lineno">1046</tt> <tt class="py-line"> <tt class="py-name">fo</tt><tt class="py-op">.</tt><tt class="py-name">close</tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt>
+<a name="L1047"></a><tt class="py-lineno">1047</tt> <tt class="py-line"> </tt>
+<a name="L1048"></a><tt class="py-lineno">1048</tt> <tt class="py-line"> </tt>
+<a name="L1049"></a><tt class="py-lineno">1049</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="L1050"></a><tt class="py-lineno">1050</tt> <tt class="py-line"> <tt class="py-comment"># Adapted from Chad J. Schroeder's recipe</tt> </tt>
+<a name="L1051"></a><tt class="py-lineno">1051</tt> <tt class="py-line"><tt class="py-comment"></tt> <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="L1052"></a><tt class="py-lineno">1052</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="L1053"></a><tt class="py-lineno">1053</tt> <tt class="py-line"> <tt class="py-comment"># parent 2</tt> </tt>
+<a name="L1054"></a><tt class="py-lineno">1054</tt> <tt class="py-line"><tt class="py-comment"></tt> <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="L1055"></a><tt class="py-lineno">1055</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="L1056"></a><tt class="py-lineno">1056</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="L1057"></a><tt class="py-lineno">1057</tt> <tt class="py-line"> <tt class="py-comment"># child</tt> </tt>
+<a name="L1058"></a><tt class="py-lineno">1058</tt> <tt class="py-line"><tt class="py-comment"></tt> <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="L1059"></a><tt class="py-lineno">1059</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">0</tt><tt class="py-op">)</tt> </tt>
+<a name="L1060"></a><tt class="py-lineno">1060</tt> <tt class="py-line"> <tt class="py-keyword">else</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"># parent 2</tt> </tt>
+<a name="L1062"></a><tt class="py-lineno">1062</tt> <tt class="py-line"><tt class="py-comment"></tt> <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="L1063"></a><tt class="py-lineno">1063</tt> <tt class="py-line"> <tt class="py-keyword">else</tt><tt class="py-op">:</tt> </tt>
+<a name="L1064"></a><tt class="py-lineno">1064</tt> <tt class="py-line"> <tt class="py-comment"># parent 1</tt> </tt>
+<a name="L1065"></a><tt class="py-lineno">1065</tt> <tt class="py-line"><tt class="py-comment"></tt> <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="L1066"></a><tt class="py-lineno">1066</tt> <tt class="py-line"> </tt>
+<a name="L1067"></a><tt class="py-lineno">1067</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="L1068"></a><tt class="py-lineno">1068</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="L1069"></a><tt class="py-lineno">1069</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>
+<a name="L1070"></a><tt class="py-lineno">1070</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="L1071"></a><tt class="py-lineno">1071</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>
+<a name="L1072"></a><tt class="py-lineno">1072</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="L1073"></a><tt class="py-lineno">1073</tt> <tt class="py-line"> </tt>
+<a name="L1074"></a><tt class="py-lineno">1074</tt> <tt class="py-line"> <tt class="py-comment"># Detach task</tt> </tt>
+<a name="L1075"></a><tt class="py-lineno">1075</tt> <tt class="py-line"><tt class="py-comment"></tt> <tt class="py-name">fork_daemon</tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt>
+<a name="L1076"></a><tt class="py-lineno">1076</tt> <tt class="py-line"> </tt>
+<a name="L1077"></a><tt class="py-lineno">1077</tt> <tt class="py-line"> <tt class="py-comment"># Write pid</tt> </tt>
+<a name="L1078"></a><tt class="py-lineno">1078</tt> <tt class="py-line"><tt class="py-comment"></tt> <tt class="py-name">fo</tt> <tt class="py-op">=</tt> <tt class="py-name">file</tt><tt class="py-op">(</tt><tt class="py-name">pid_file</tt><tt class="py-op">,</tt> <tt class="py-string">'wb'</tt><tt class="py-op">)</tt> </tt>
+<a name="L1079"></a><tt class="py-lineno">1079</tt> <tt class="py-line"> <tt class="py-keyword">try</tt><tt class="py-op">:</tt> </tt>
+<a name="L1080"></a><tt class="py-lineno">1080</tt> <tt class="py-line"> <tt class="py-name">fo</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">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="L1081"></a><tt class="py-lineno">1081</tt> <tt class="py-line"> <tt class="py-keyword">finally</tt><tt class="py-op">:</tt> </tt>
+<a name="L1082"></a><tt class="py-lineno">1082</tt> <tt class="py-line"> <tt class="py-name">fo</tt><tt class="py-op">.</tt><tt class="py-name">close</tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt>
+<a name="L1083"></a><tt class="py-lineno">1083</tt> <tt class="py-line"> </tt>
+<a name="L1084"></a><tt class="py-lineno">1084</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="L1085"></a><tt class="py-lineno">1085</tt> <tt class="py-line"> </tt>
+<a name="L1086"></a><tt class="py-lineno">1086</tt> <tt class="py-line"> </tt>
+<a name="Notifier._sleep"></a><div id="Notifier._sleep-def"><a name="L1087"></a><tt class="py-lineno">1087</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="L1088"></a><tt class="py-lineno">1088</tt> <tt class="py-line"> <tt class="py-comment"># Only consider sleeping if read_freq is &gt; 0</tt> </tt>
+<a name="L1089"></a><tt class="py-lineno">1089</tt> <tt class="py-line"><tt class="py-comment"></tt> <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="L1090"></a><tt class="py-lineno">1090</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="L1091"></a><tt class="py-lineno">1091</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="L1092"></a><tt class="py-lineno">1092</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="L1093"></a><tt class="py-lineno">1093</tt> <tt class="py-line"> <tt id="link-183" class="py-name"><a title="pyinotify.log" class="py-name" href="#" onclick="return doclink('link-183', 'log', 'link-13');">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="L1094"></a><tt class="py-lineno">1094</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="L1095"></a><tt class="py-lineno">1095</tt> <tt class="py-line"> </tt>
+<a name="L1096"></a><tt class="py-lineno">1096</tt> <tt class="py-line"> </tt>
+<a name="Notifier.loop"></a><div id="Notifier.loop-def"><a name="L1097"></a><tt class="py-lineno">1097</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="L1098"></a><tt class="py-lineno">1098</tt> <tt class="py-line"> <tt class="py-docstring">"""</tt> </tt>
+<a name="L1099"></a><tt class="py-lineno">1099</tt> <tt class="py-line"><tt class="py-docstring"> Events are read only once time every min(read_freq, timeout)</tt> </tt>
+<a name="L1100"></a><tt class="py-lineno">1100</tt> <tt class="py-line"><tt class="py-docstring"> seconds at best and only if the size to read is &gt;= treshold.</tt> </tt>
+<a name="L1101"></a><tt class="py-lineno">1101</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
+<a name="L1102"></a><tt class="py-lineno">1102</tt> <tt class="py-line"><tt class="py-docstring"> @param callback: Functor called after each event processing. Expects</tt> </tt>
+<a name="L1103"></a><tt class="py-lineno">1103</tt> <tt class="py-line"><tt class="py-docstring"> to receive notifier object (self) as first parameter.</tt> </tt>
+<a name="L1104"></a><tt class="py-lineno">1104</tt> <tt class="py-line"><tt class="py-docstring"> @type callback: callable</tt> </tt>
+<a name="L1105"></a><tt class="py-lineno">1105</tt> <tt class="py-line"><tt class="py-docstring"> @param daemonize: This thread is daemonized if set to True.</tt> </tt>
+<a name="L1106"></a><tt class="py-lineno">1106</tt> <tt class="py-line"><tt class="py-docstring"> @type daemonize: boolean</tt> </tt>
+<a name="L1107"></a><tt class="py-lineno">1107</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt>
+<a name="L1108"></a><tt class="py-lineno">1108</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="L1109"></a><tt class="py-lineno">1109</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-184" 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-184', '__daemonize', 'link-184');">__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="L1110"></a><tt class="py-lineno">1110</tt> <tt class="py-line"> </tt>
+<a name="L1111"></a><tt class="py-lineno">1111</tt> <tt class="py-line"> <tt class="py-comment"># Read and process events forever</tt> </tt>
+<a name="L1112"></a><tt class="py-lineno">1112</tt> <tt class="py-line"><tt class="py-comment"></tt> <tt class="py-keyword">while</tt> <tt class="py-number">1</tt><tt class="py-op">:</tt> </tt>
+<a name="L1113"></a><tt class="py-lineno">1113</tt> <tt class="py-line"> <tt class="py-keyword">try</tt><tt class="py-op">:</tt> </tt>
+<a name="L1114"></a><tt class="py-lineno">1114</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-185" 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-185', 'process_events', 'link-185');">process_events</a></tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt>
+<a name="L1115"></a><tt class="py-lineno">1115</tt> <tt class="py-line"> <tt class="py-keyword">if</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>
+<a name="L1116"></a><tt class="py-lineno">1116</tt> <tt class="py-line"> <tt class="py-name">callback</tt><tt class="py-op">(</tt><tt class="py-name">self</tt><tt class="py-op">)</tt> </tt>
+<a name="L1117"></a><tt class="py-lineno">1117</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="L1118"></a><tt class="py-lineno">1118</tt> <tt class="py-line"> <tt class="py-comment"># check_events is blocking</tt> </tt>
+<a name="L1119"></a><tt class="py-lineno">1119</tt> <tt class="py-line"><tt class="py-comment"></tt> <tt class="py-keyword">if</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-186" 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-186', 'check_events', 'link-186');">check_events</a></tt><tt class="py-op">(</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
+<a name="L1120"></a><tt class="py-lineno">1120</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-187" 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-187', '_sleep', 'link-187');">_sleep</a></tt><tt class="py-op">(</tt><tt class="py-name">ref_time</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">self</tt><tt class="py-op">.</tt><tt id="link-188" 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-188', 'read_events', 'link-188');">read_events</a></tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt>
+<a name="L1122"></a><tt class="py-lineno">1122</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="L1123"></a><tt class="py-lineno">1123</tt> <tt class="py-line"> <tt class="py-comment"># Unless sigint is caught (c^c)</tt> </tt>
+<a name="L1124"></a><tt class="py-lineno">1124</tt> <tt class="py-line"><tt class="py-comment"></tt> <tt id="link-189" class="py-name"><a title="pyinotify.log" class="py-name" href="#" onclick="return doclink('link-189', 'log', 'link-13');">log</a></tt><tt class="py-op">.</tt><tt class="py-name">debug</tt><tt class="py-op">(</tt><tt class="py-string">'stop monitoring...'</tt><tt class="py-op">)</tt> </tt>
+<a name="L1125"></a><tt class="py-lineno">1125</tt> <tt class="py-line"> <tt class="py-comment"># Stop monitoring</tt> </tt>
+<a name="L1126"></a><tt class="py-lineno">1126</tt> <tt class="py-line"><tt class="py-comment"></tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-190" 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-190', 'stop', 'link-190');">stop</a></tt><tt class="py-op">(</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">break</tt> </tt>
+<a name="L1128"></a><tt class="py-lineno">1128</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">err</tt><tt class="py-op">:</tt> </tt>
+<a name="L1129"></a><tt class="py-lineno">1129</tt> <tt class="py-line"> <tt id="link-191" class="py-name"><a title="pyinotify.log" class="py-name" href="#" onclick="return doclink('link-191', 'log', 'link-13');">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>
+</div><a name="L1130"></a><tt class="py-lineno">1130</tt> <tt class="py-line"> </tt>
+<a name="Notifier.stop"></a><div id="Notifier.stop-def"><a name="L1131"></a><tt class="py-lineno">1131</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="L1132"></a><tt class="py-lineno">1132</tt> <tt class="py-line"> <tt class="py-docstring">"""</tt> </tt>
+<a name="L1133"></a><tt class="py-lineno">1133</tt> <tt class="py-line"><tt class="py-docstring"> Close the inotify's instance (close its file descriptor).</tt> </tt>
+<a name="L1134"></a><tt class="py-lineno">1134</tt> <tt class="py-line"><tt class="py-docstring"> It destroys all existing watches, pending events,...</tt> </tt>
+<a name="L1135"></a><tt class="py-lineno">1135</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt>
+<a name="L1136"></a><tt class="py-lineno">1136</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="L1137"></a><tt class="py-lineno">1137</tt> <tt class="py-line"> <tt class="py-name">os</tt><tt class="py-op">.</tt><tt class="py-name">close</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="L1138"></a><tt class="py-lineno">1138</tt> <tt class="py-line"> </tt>
+<a name="L1139"></a><tt class="py-lineno">1139</tt> <tt class="py-line"> </tt>
+<a name="ThreadedNotifier"></a><div id="ThreadedNotifier-def"><a name="L1140"></a><tt class="py-lineno">1140</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="L1141"></a><tt class="py-lineno">1141</tt> <tt class="py-line"> <tt class="py-docstring">"""</tt> </tt>
+<a name="L1142"></a><tt class="py-lineno">1142</tt> <tt class="py-line"><tt class="py-docstring"> This notifier inherits from threading.Thread for instantiating a separate</tt> </tt>
+<a name="L1143"></a><tt class="py-lineno">1143</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="L1144"></a><tt class="py-lineno">1144</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
+<a name="L1145"></a><tt class="py-lineno">1145</tt> <tt class="py-line"><tt class="py-docstring"> This class is only maintained for legacy reasons, everything possible with</tt> </tt>
+<a name="L1146"></a><tt class="py-lineno">1146</tt> <tt class="py-line"><tt class="py-docstring"> this class is also possible with Notifier, but Notifier is _better_ under</tt> </tt>
+<a name="L1147"></a><tt class="py-lineno">1147</tt> <tt class="py-line"><tt class="py-docstring"> many aspects (not threaded, can be daemonized, won't unnecessarily read</tt> </tt>
+<a name="L1148"></a><tt class="py-lineno">1148</tt> <tt class="py-line"><tt class="py-docstring"> for events).</tt> </tt>
+<a name="L1149"></a><tt class="py-lineno">1149</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt>
+<a name="ThreadedNotifier.__init__"></a><div id="ThreadedNotifier.__init__-def"><a name="L1150"></a><tt class="py-lineno">1150</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 id="link-192" class="py-name"><a title="pyinotify.ProcessEvent" class="py-name" href="#" onclick="return doclink('link-192', 'ProcessEvent', 'link-173');">ProcessEvent</a></tt><tt class="py-op">(</tt><tt class="py-op">)</tt><tt class="py-op">,</tt> </tt>
+<a name="L1151"></a><tt class="py-lineno">1151</tt> <tt class="py-line"> <tt class="py-param">read_freq</tt><tt class="py-op">=</tt><tt class="py-number">0</tt><tt class="py-op">,</tt> <tt class="py-param">treshold</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-number">10000</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="L1152"></a><tt class="py-lineno">1152</tt> <tt class="py-line"> <tt class="py-docstring">"""</tt> </tt>
+<a name="L1153"></a><tt class="py-lineno">1153</tt> <tt class="py-line"><tt class="py-docstring"> Initialization, initialize base classes. read_freq, treshold and</tt> </tt>
+<a name="L1154"></a><tt class="py-lineno">1154</tt> <tt class="py-line"><tt class="py-docstring"> timeout parameters are used when looping.</tt> </tt>
+<a name="L1155"></a><tt class="py-lineno">1155</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
+<a name="L1156"></a><tt class="py-lineno">1156</tt> <tt class="py-line"><tt class="py-docstring"> @param watch_manager: Watch Manager.</tt> </tt>
+<a name="L1157"></a><tt class="py-lineno">1157</tt> <tt class="py-line"><tt class="py-docstring"> @type watch_manager: WatchManager instance</tt> </tt>
+<a name="L1158"></a><tt class="py-lineno">1158</tt> <tt class="py-line"><tt class="py-docstring"> @param default_proc_fun: Default processing method.</tt> </tt>
+<a name="L1159"></a><tt class="py-lineno">1159</tt> <tt class="py-line"><tt class="py-docstring"> @type default_proc_fun: instance of ProcessEvent</tt> </tt>
+<a name="L1160"></a><tt class="py-lineno">1160</tt> <tt class="py-line"><tt class="py-docstring"> @param read_freq: if read_freq == 0, events are read asap,</tt> </tt>
+<a name="L1161"></a><tt class="py-lineno">1161</tt> <tt class="py-line"><tt class="py-docstring"> if read_freq is &gt; 0, this thread sleeps</tt> </tt>
+<a name="L1162"></a><tt class="py-lineno">1162</tt> <tt class="py-line"><tt class="py-docstring"> max(0, read_freq - timeout) seconds.</tt> </tt>
+<a name="L1163"></a><tt class="py-lineno">1163</tt> <tt class="py-line"><tt class="py-docstring"> @type read_freq: int</tt> </tt>
+<a name="L1164"></a><tt class="py-lineno">1164</tt> <tt class="py-line"><tt class="py-docstring"> @param treshold: File descriptor will be read only if its size to</tt> </tt>
+<a name="L1165"></a><tt class="py-lineno">1165</tt> <tt class="py-line"><tt class="py-docstring"> read is &gt;= treshold. If != 0, you likely want to</tt> </tt>
+<a name="L1166"></a><tt class="py-lineno">1166</tt> <tt class="py-line"><tt class="py-docstring"> use it in combination with read_freq because</tt> </tt>
+<a name="L1167"></a><tt class="py-lineno">1167</tt> <tt class="py-line"><tt class="py-docstring"> without that you keep looping without really reading</tt> </tt>
+<a name="L1168"></a><tt class="py-lineno">1168</tt> <tt class="py-line"><tt class="py-docstring"> anything and that until the amount to read</tt> </tt>
+<a name="L1169"></a><tt class="py-lineno">1169</tt> <tt class="py-line"><tt class="py-docstring"> is &gt;= treshold. At least with read_freq you may sleep.</tt> </tt>
+<a name="L1170"></a><tt class="py-lineno">1170</tt> <tt class="py-line"><tt class="py-docstring"> @type treshold: int</tt> </tt>
+<a name="L1171"></a><tt class="py-lineno">1171</tt> <tt class="py-line"><tt class="py-docstring"> @param timeout:</tt> </tt>
+<a name="L1172"></a><tt class="py-lineno">1172</tt> <tt class="py-line"><tt class="py-docstring"> see http://docs.python.org/lib/poll-objects.html#poll-objects</tt> </tt>
+<a name="L1173"></a><tt class="py-lineno">1173</tt> <tt class="py-line"><tt class="py-docstring"> Read the corresponding comment in the source code before changing</tt> </tt>
+<a name="L1174"></a><tt class="py-lineno">1174</tt> <tt class="py-line"><tt class="py-docstring"> it.</tt> </tt>
+<a name="L1175"></a><tt class="py-lineno">1175</tt> <tt class="py-line"><tt class="py-docstring"> @type timeout: int</tt> </tt>
+<a name="L1176"></a><tt class="py-lineno">1176</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt>
+<a name="L1177"></a><tt class="py-lineno">1177</tt> <tt class="py-line"> <tt class="py-comment"># init threading base class</tt> </tt>
+<a name="L1178"></a><tt class="py-lineno">1178</tt> <tt class="py-line"><tt class="py-comment"></tt> <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-193" class="py-name"><a title="pyinotify.Event.__init__
pyinotify.ExcludeFilter.__init__
pyinotify.Notifier.__init__
pyinotify.NotifierError.__init__
@@ -1278,16 +1353,18 @@ pyinotify.ProcessEvent.__init__
pyinotify.ProcessEventError.__init__
pyinotify.SysCtlINotify.__init__
pyinotify.ThreadedNotifier.__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-180', '__init__', 'link-88');">__init__</a></tt><tt class="py-op">(</tt><tt class="py-name">self</tt><tt class="py-op">)</tt> </tt>
-<a name="L1142"></a><tt class="py-lineno">1142</tt> <tt class="py-line"> <tt class="py-comment"># stop condition</tt> </tt>
-<a name="L1143"></a><tt class="py-lineno">1143</tt> <tt class="py-line"><tt class="py-comment"></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">threading</tt><tt class="py-op">.</tt><tt id="link-181" class="py-name"><a title="pyinotify.Event" class="py-name" href="#" onclick="return doclink('link-181', 'Event', 'link-129');">Event</a></tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt>
-<a name="L1144"></a><tt class="py-lineno">1144</tt> <tt class="py-line"> <tt class="py-comment"># init Notifier base class</tt> </tt>
-<a name="L1145"></a><tt class="py-lineno">1145</tt> <tt class="py-line"><tt class="py-comment"></tt> <tt id="link-182" class="py-name" targets="Class pyinotify.Notifier=pyinotify.Notifier-class.html"><a title="pyinotify.Notifier" class="py-name" href="#" onclick="return doclink('link-182', 'Notifier', 'link-182');">Notifier</a></tt><tt class="py-op">.</tt><tt id="link-183" class="py-name"><a title="pyinotify.Event.__init__
+pyinotify._SysProcessEvent.__init__" class="py-name" href="#" onclick="return doclink('link-193', '__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="L1179"></a><tt class="py-lineno">1179</tt> <tt class="py-line"> <tt class="py-comment"># stop condition</tt> </tt>
+<a name="L1180"></a><tt class="py-lineno">1180</tt> <tt class="py-line"><tt class="py-comment"></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">threading</tt><tt class="py-op">.</tt><tt id="link-194" class="py-name"><a title="pyinotify.Event" class="py-name" href="#" onclick="return doclink('link-194', 'Event', 'link-141');">Event</a></tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt>
+<a name="L1181"></a><tt class="py-lineno">1181</tt> <tt class="py-line"> <tt class="py-comment"># init Notifier base class</tt> </tt>
+<a name="L1182"></a><tt class="py-lineno">1182</tt> <tt class="py-line"><tt class="py-comment"></tt> <tt id="link-195" class="py-name" targets="Class pyinotify.Notifier=pyinotify.Notifier-class.html"><a title="pyinotify.Notifier" class="py-name" href="#" onclick="return doclink('link-195', 'Notifier', 'link-195');">Notifier</a></tt><tt class="py-op">.</tt><tt id="link-196" class="py-name"><a title="pyinotify.Event.__init__
pyinotify.ExcludeFilter.__init__
pyinotify.Notifier.__init__
pyinotify.NotifierError.__init__
@@ -1295,164 +1372,166 @@ pyinotify.ProcessEvent.__init__
pyinotify.ProcessEventError.__init__
pyinotify.SysCtlINotify.__init__
pyinotify.ThreadedNotifier.__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-183', '__init__', 'link-88');">__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="L1146"></a><tt class="py-lineno">1146</tt> <tt class="py-line"> <tt class="py-name">treshold</tt><tt class="py-op">,</tt> <tt class="py-name">timeout</tt><tt class="py-op">)</tt> </tt>
-</div><a name="L1147"></a><tt class="py-lineno">1147</tt> <tt class="py-line"> </tt>
-<a name="ThreadedNotifier.stop"></a><div id="ThreadedNotifier.stop-def"><a name="L1148"></a><tt class="py-lineno">1148</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="L1149"></a><tt class="py-lineno">1149</tt> <tt class="py-line"> <tt class="py-docstring">"""</tt> </tt>
-<a name="L1150"></a><tt class="py-lineno">1150</tt> <tt class="py-line"><tt class="py-docstring"> Stop the notifier's loop. Stop notification. Join the thread.</tt> </tt>
-<a name="L1151"></a><tt class="py-lineno">1151</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt>
-<a name="L1152"></a><tt class="py-lineno">1152</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="L1153"></a><tt class="py-lineno">1153</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="L1154"></a><tt class="py-lineno">1154</tt> <tt class="py-line"> <tt id="link-184" class="py-name"><a title="pyinotify.Notifier" class="py-name" href="#" onclick="return doclink('link-184', 'Notifier', 'link-182');">Notifier</a></tt><tt class="py-op">.</tt><tt id="link-185" class="py-name"><a title="pyinotify.Notifier.stop
-pyinotify.ThreadedNotifier.stop" class="py-name" href="#" onclick="return doclink('link-185', 'stop', 'link-177');">stop</a></tt><tt class="py-op">(</tt><tt class="py-name">self</tt><tt class="py-op">)</tt> </tt>
-</div><a name="L1155"></a><tt class="py-lineno">1155</tt> <tt class="py-line"> </tt>
-<a name="ThreadedNotifier.loop"></a><div id="ThreadedNotifier.loop-def"><a name="L1156"></a><tt class="py-lineno">1156</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="L1157"></a><tt class="py-lineno">1157</tt> <tt class="py-line"> <tt class="py-docstring">"""</tt> </tt>
-<a name="L1158"></a><tt class="py-lineno">1158</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="L1159"></a><tt class="py-lineno">1159</tt> <tt class="py-line"><tt class="py-docstring"> Call start() instead.</tt> </tt>
-<a name="L1160"></a><tt class="py-lineno">1160</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
-<a name="L1161"></a><tt class="py-lineno">1161</tt> <tt class="py-line"><tt class="py-docstring"> Events are read only once time every min(read_freq, timeout)</tt> </tt>
-<a name="L1162"></a><tt class="py-lineno">1162</tt> <tt class="py-line"><tt class="py-docstring"> seconds at best and only if the size to read is &gt;= treshold.</tt> </tt>
-<a name="L1163"></a><tt class="py-lineno">1163</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt>
-<a name="L1164"></a><tt class="py-lineno">1164</tt> <tt class="py-line"> <tt class="py-comment"># Read and process events while _stop_event condition</tt> </tt>
-<a name="L1165"></a><tt class="py-lineno">1165</tt> <tt class="py-line"><tt class="py-comment"></tt> <tt class="py-comment"># remains unset.</tt> </tt>
-<a name="L1166"></a><tt class="py-lineno">1166</tt> <tt class="py-line"><tt class="py-comment"></tt> <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="L1167"></a><tt class="py-lineno">1167</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-186" class="py-name"><a title="pyinotify.Notifier.process_events" class="py-name" href="#" onclick="return doclink('link-186', 'process_events', 'link-172');">process_events</a></tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt>
-<a name="L1168"></a><tt class="py-lineno">1168</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="L1169"></a><tt class="py-lineno">1169</tt> <tt class="py-line"> <tt class="py-comment"># There is a timeout here because without that poll() could</tt> </tt>
-<a name="L1170"></a><tt class="py-lineno">1170</tt> <tt class="py-line"><tt class="py-comment"></tt> <tt class="py-comment"># block until an event is received and therefore</tt> </tt>
-<a name="L1171"></a><tt class="py-lineno">1171</tt> <tt class="py-line"><tt class="py-comment"></tt> <tt class="py-comment"># _stop_event.isSet() would not be evaluated until then, thus</tt> </tt>
-<a name="L1172"></a><tt class="py-lineno">1172</tt> <tt class="py-line"><tt class="py-comment"></tt> <tt class="py-comment"># this thread won't be able to stop its execution.</tt> </tt>
-<a name="L1173"></a><tt class="py-lineno">1173</tt> <tt class="py-line"><tt class="py-comment"></tt> <tt class="py-keyword">if</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-187" class="py-name"><a title="pyinotify.Notifier.check_events" class="py-name" href="#" onclick="return doclink('link-187', 'check_events', 'link-173');">check_events</a></tt><tt class="py-op">(</tt><tt class="py-op">)</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 id="link-188" class="py-name"><a title="pyinotify.Notifier._sleep" class="py-name" href="#" onclick="return doclink('link-188', '_sleep', 'link-174');">_sleep</a></tt><tt class="py-op">(</tt><tt class="py-name">ref_time</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">self</tt><tt class="py-op">.</tt><tt id="link-189" class="py-name"><a title="pyinotify.Notifier.read_events" class="py-name" href="#" onclick="return doclink('link-189', 'read_events', 'link-175');">read_events</a></tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt>
-</div><a name="L1176"></a><tt class="py-lineno">1176</tt> <tt class="py-line"> </tt>
-<a name="ThreadedNotifier.run"></a><div id="ThreadedNotifier.run-def"><a name="L1177"></a><tt class="py-lineno">1177</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="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"> Start the thread's loop: read and process events until the method</tt> </tt>
-<a name="L1180"></a><tt class="py-lineno">1180</tt> <tt class="py-line"><tt class="py-docstring"> stop() is called.</tt> </tt>
-<a name="L1181"></a><tt class="py-lineno">1181</tt> <tt class="py-line"><tt class="py-docstring"> Never call this method directly, instead call the start() method</tt> </tt>
-<a name="L1182"></a><tt class="py-lineno">1182</tt> <tt class="py-line"><tt class="py-docstring"> inherited from threading.Thread, which then will call run().</tt> </tt>
-<a name="L1183"></a><tt class="py-lineno">1183</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt>
-<a name="L1184"></a><tt class="py-lineno">1184</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-190" 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-190', 'loop', 'link-190');">loop</a></tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt>
-</div></div><a name="L1185"></a><tt class="py-lineno">1185</tt> <tt class="py-line"> </tt>
-<a name="L1186"></a><tt class="py-lineno">1186</tt> <tt class="py-line"> </tt>
-<a name="Watch"></a><div id="Watch-def"><a name="L1187"></a><tt class="py-lineno">1187</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="L1188"></a><tt class="py-lineno">1188</tt> <tt class="py-line"> <tt class="py-docstring">"""</tt> </tt>
-<a name="L1189"></a><tt class="py-lineno">1189</tt> <tt class="py-line"><tt class="py-docstring"> Represent a watch, i.e. a file or directory being watched.</tt> </tt>
-<a name="L1190"></a><tt class="py-lineno">1190</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
-<a name="L1191"></a><tt class="py-lineno">1191</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt>
-<a name="Watch.__init__"></a><div id="Watch.__init__-def"><a name="L1192"></a><tt class="py-lineno">1192</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-op">**</tt><tt class="py-param">keys</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="L1193"></a><tt class="py-lineno">1193</tt> <tt class="py-line"> <tt class="py-docstring">"""</tt> </tt>
-<a name="L1194"></a><tt class="py-lineno">1194</tt> <tt class="py-line"><tt class="py-docstring"> Initializations.</tt> </tt>
-<a name="L1195"></a><tt class="py-lineno">1195</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
-<a name="L1196"></a><tt class="py-lineno">1196</tt> <tt class="py-line"><tt class="py-docstring"> @param wd: Watch descriptor.</tt> </tt>
-<a name="L1197"></a><tt class="py-lineno">1197</tt> <tt class="py-line"><tt class="py-docstring"> @type wd: int</tt> </tt>
-<a name="L1198"></a><tt class="py-lineno">1198</tt> <tt class="py-line"><tt class="py-docstring"> @param path: Path of the file or directory being watched.</tt> </tt>
-<a name="L1199"></a><tt class="py-lineno">1199</tt> <tt class="py-line"><tt class="py-docstring"> @type path: str</tt> </tt>
-<a name="L1200"></a><tt class="py-lineno">1200</tt> <tt class="py-line"><tt class="py-docstring"> @param mask: Mask.</tt> </tt>
-<a name="L1201"></a><tt class="py-lineno">1201</tt> <tt class="py-line"><tt class="py-docstring"> @type mask: int</tt> </tt>
-<a name="L1202"></a><tt class="py-lineno">1202</tt> <tt class="py-line"><tt class="py-docstring"> @param proc_fun: Processing callable object.</tt> </tt>
-<a name="L1203"></a><tt class="py-lineno">1203</tt> <tt class="py-line"><tt class="py-docstring"> @type proc_fun:</tt> </tt>
-<a name="L1204"></a><tt class="py-lineno">1204</tt> <tt class="py-line"><tt class="py-docstring"> @param auto_add: Automatically add watches on new directories.</tt> </tt>
-<a name="L1205"></a><tt class="py-lineno">1205</tt> <tt class="py-line"><tt class="py-docstring"> @type auto_add: bool</tt> </tt>
-<a name="L1206"></a><tt class="py-lineno">1206</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt>
-<a name="L1207"></a><tt class="py-lineno">1207</tt> <tt class="py-line"> <tt class="py-keyword">for</tt> <tt class="py-name">k</tt><tt class="py-op">,</tt> <tt class="py-name">v</tt> <tt class="py-keyword">in</tt> <tt class="py-name">keys</tt><tt class="py-op">.</tt><tt class="py-name">iteritems</tt><tt class="py-op">(</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
-<a name="L1208"></a><tt class="py-lineno">1208</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-name">k</tt><tt class="py-op">,</tt> <tt class="py-name">v</tt><tt class="py-op">)</tt> </tt>
-<a name="L1209"></a><tt class="py-lineno">1209</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="L1210"></a><tt class="py-lineno">1210</tt> <tt class="py-line"> </tt>
-<a name="Watch.__repr__"></a><div id="Watch.__repr__-def"><a name="L1211"></a><tt class="py-lineno">1211</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="L1212"></a><tt class="py-lineno">1212</tt> <tt class="py-line"> <tt class="py-docstring">"""</tt> </tt>
-<a name="L1213"></a><tt class="py-lineno">1213</tt> <tt class="py-line"><tt class="py-docstring"> @return: String representation.</tt> </tt>
-<a name="L1214"></a><tt class="py-lineno">1214</tt> <tt class="py-line"><tt class="py-docstring"> @rtype: str</tt> </tt>
-<a name="L1215"></a><tt class="py-lineno">1215</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt>
-<a name="L1216"></a><tt class="py-lineno">1216</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-191" class="py-name"><a title="pyinotify.color_theme" class="py-name" href="#" onclick="return doclink('link-191', 'color_theme', 'link-80');">color_theme</a></tt><tt class="py-op">.</tt><tt class="py-name">field_name</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="L1217"></a><tt class="py-lineno">1217</tt> <tt class="py-line"> <tt id="link-192" class="py-name"><a title="pyinotify.color_theme" class="py-name" href="#" onclick="return doclink('link-192', 'color_theme', 'link-80');">color_theme</a></tt><tt class="py-op">.</tt><tt class="py-name">punct</tt><tt class="py-op">(</tt><tt class="py-string">'='</tt><tt class="py-op">)</tt><tt class="py-op">,</tt> </tt>
-<a name="L1218"></a><tt class="py-lineno">1218</tt> <tt class="py-line"> <tt id="link-193" class="py-name"><a title="pyinotify.color_theme" class="py-name" href="#" onclick="return doclink('link-193', 'color_theme', 'link-80');">color_theme</a></tt><tt class="py-op">.</tt><tt class="py-name">field_value</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="L1219"></a><tt class="py-lineno">1219</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="L1220"></a><tt class="py-lineno">1220</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="L1221"></a><tt class="py-lineno">1221</tt> <tt class="py-line"> </tt>
-<a name="L1222"></a><tt class="py-lineno">1222</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-194" class="py-name"><a title="pyinotify.color_theme" class="py-name" href="#" onclick="return doclink('link-194', 'color_theme', 'link-80');">color_theme</a></tt><tt class="py-op">.</tt><tt class="py-name">punct</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="L1223"></a><tt class="py-lineno">1223</tt> <tt class="py-line"> <tt id="link-195" class="py-name"><a title="pyinotify.color_theme" class="py-name" href="#" onclick="return doclink('link-195', 'color_theme', 'link-80');">color_theme</a></tt><tt class="py-op">.</tt><tt class="py-name">class_name</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="L1224"></a><tt class="py-lineno">1224</tt> <tt class="py-line"> <tt class="py-name">s</tt><tt class="py-op">,</tt> </tt>
-<a name="L1225"></a><tt class="py-lineno">1225</tt> <tt class="py-line"> <tt id="link-196" class="py-name"><a title="pyinotify.color_theme" class="py-name" href="#" onclick="return doclink('link-196', 'color_theme', 'link-80');">color_theme</a></tt><tt class="py-op">.</tt><tt class="py-name">punct</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="L1226"></a><tt class="py-lineno">1226</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-name">s</tt> </tt>
-</div></div><a name="L1227"></a><tt class="py-lineno">1227</tt> <tt class="py-line"> </tt>
-<a name="L1228"></a><tt class="py-lineno">1228</tt> <tt class="py-line"> </tt>
-<a name="ExcludeFilter"></a><div id="ExcludeFilter-def"><a name="L1229"></a><tt class="py-lineno">1229</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="L1230"></a><tt class="py-lineno">1230</tt> <tt class="py-line"> <tt class="py-docstring">"""</tt> </tt>
-<a name="L1231"></a><tt class="py-lineno">1231</tt> <tt class="py-line"><tt class="py-docstring"> ExcludeFilter is an exclusion filter.</tt> </tt>
-<a name="L1232"></a><tt class="py-lineno">1232</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt>
-<a name="L1233"></a><tt class="py-lineno">1233</tt> <tt class="py-line"> </tt>
-<a name="ExcludeFilter.__init__"></a><div id="ExcludeFilter.__init__-def"><a name="L1234"></a><tt class="py-lineno">1234</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="L1235"></a><tt class="py-lineno">1235</tt> <tt class="py-line"> <tt class="py-docstring">"""</tt> </tt>
-<a name="L1236"></a><tt class="py-lineno">1236</tt> <tt class="py-line"><tt class="py-docstring"> @param arg_lst: is either a list or dict of patterns:</tt> </tt>
-<a name="L1237"></a><tt class="py-lineno">1237</tt> <tt class="py-line"><tt class="py-docstring"> [pattern1, ..., patternn]</tt> </tt>
-<a name="L1238"></a><tt class="py-lineno">1238</tt> <tt class="py-line"><tt class="py-docstring"> {'filename1': (list1, listn), ...} where list1 is</tt> </tt>
-<a name="L1239"></a><tt class="py-lineno">1239</tt> <tt class="py-line"><tt class="py-docstring"> a list of patterns</tt> </tt>
-<a name="L1240"></a><tt class="py-lineno">1240</tt> <tt class="py-line"><tt class="py-docstring"> @type arg_lst: list or dict</tt> </tt>
-<a name="L1241"></a><tt class="py-lineno">1241</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt>
-<a name="L1242"></a><tt class="py-lineno">1242</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">dict</tt><tt class="py-op">)</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">lst</tt> <tt class="py-op">=</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-197" class="py-name" targets="Method pyinotify.ExcludeFilter._load_patterns()=pyinotify.ExcludeFilter-class.html#_load_patterns"><a title="pyinotify.ExcludeFilter._load_patterns" class="py-name" href="#" onclick="return doclink('link-197', '_load_patterns', 'link-197');">_load_patterns</a></tt><tt class="py-op">(</tt><tt class="py-name">arg_lst</tt><tt class="py-op">)</tt> </tt>
-<a name="L1244"></a><tt class="py-lineno">1244</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="L1245"></a><tt class="py-lineno">1245</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="L1246"></a><tt class="py-lineno">1246</tt> <tt class="py-line"> <tt class="py-keyword">else</tt><tt class="py-op">:</tt> </tt>
-<a name="L1247"></a><tt class="py-lineno">1247</tt> <tt class="py-line"> <tt class="py-keyword">raise</tt> <tt class="py-name">TypeError</tt> </tt>
-<a name="L1248"></a><tt class="py-lineno">1248</tt> <tt class="py-line"> </tt>
-<a name="L1249"></a><tt class="py-lineno">1249</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="L1250"></a><tt class="py-lineno">1250</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="L1251"></a><tt class="py-lineno">1251</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="L1252"></a><tt class="py-lineno">1252</tt> <tt class="py-line"> </tt>
-<a name="ExcludeFilter._load_patterns"></a><div id="ExcludeFilter._load_patterns-def"><a name="L1253"></a><tt class="py-lineno">1253</tt> <a class="py-toggle" href="#" id="ExcludeFilter._load_patterns-toggle" onclick="return toggle('ExcludeFilter._load_patterns');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="pyinotify.ExcludeFilter-class.html#_load_patterns">_load_patterns</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">,</tt> <tt class="py-param">dct</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
-</div><div id="ExcludeFilter._load_patterns-collapsed" style="display:none;" pad="++++" indent="++++++++"></div><div id="ExcludeFilter._load_patterns-expanded"><a name="L1254"></a><tt class="py-lineno">1254</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="L1255"></a><tt class="py-lineno">1255</tt> <tt class="py-line"> <tt class="py-keyword">for</tt> <tt class="py-name">path</tt><tt class="py-op">,</tt> <tt class="py-name">varnames</tt> <tt class="py-keyword">in</tt> <tt class="py-name">dct</tt><tt class="py-op">.</tt><tt class="py-name">iteritems</tt><tt class="py-op">(</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
-<a name="L1256"></a><tt class="py-lineno">1256</tt> <tt class="py-line"> <tt class="py-name">loc</tt> <tt class="py-op">=</tt> <tt class="py-op">{</tt><tt class="py-op">}</tt> </tt>
-<a name="L1257"></a><tt class="py-lineno">1257</tt> <tt class="py-line"> <tt class="py-name">execfile</tt><tt class="py-op">(</tt><tt class="py-name">path</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">loc</tt><tt class="py-op">)</tt> </tt>
-<a name="L1258"></a><tt class="py-lineno">1258</tt> <tt class="py-line"> <tt class="py-keyword">for</tt> <tt class="py-name">varname</tt> <tt class="py-keyword">in</tt> <tt class="py-name">varnames</tt><tt class="py-op">:</tt> </tt>
-<a name="L1259"></a><tt class="py-lineno">1259</tt> <tt class="py-line"> <tt class="py-name">lst</tt><tt class="py-op">.</tt><tt class="py-name">extend</tt><tt class="py-op">(</tt><tt class="py-name">loc</tt><tt class="py-op">.</tt><tt class="py-name">get</tt><tt class="py-op">(</tt><tt class="py-name">varname</tt><tt class="py-op">,</tt> <tt class="py-op">[</tt><tt class="py-op">]</tt><tt class="py-op">)</tt><tt class="py-op">)</tt> </tt>
-<a name="L1260"></a><tt class="py-lineno">1260</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-name">lst</tt> </tt>
-</div><a name="L1261"></a><tt class="py-lineno">1261</tt> <tt class="py-line"> </tt>
-<a name="ExcludeFilter._match"></a><div id="ExcludeFilter._match-def"><a name="L1262"></a><tt class="py-lineno">1262</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="L1263"></a><tt class="py-lineno">1263</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="L1264"></a><tt class="py-lineno">1264</tt> <tt class="py-line"> </tt>
-<a name="ExcludeFilter.__call__"></a><div id="ExcludeFilter.__call__-def"><a name="L1265"></a><tt class="py-lineno">1265</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="L1266"></a><tt class="py-lineno">1266</tt> <tt class="py-line"> <tt class="py-docstring">"""</tt> </tt>
-<a name="L1267"></a><tt class="py-lineno">1267</tt> <tt class="py-line"><tt class="py-docstring"> @param path: path to match against regexps.</tt> </tt>
-<a name="L1268"></a><tt class="py-lineno">1268</tt> <tt class="py-line"><tt class="py-docstring"> @type path: str</tt> </tt>
-<a name="L1269"></a><tt class="py-lineno">1269</tt> <tt class="py-line"><tt class="py-docstring"> @return: return True is path has been matched and should</tt> </tt>
-<a name="L1270"></a><tt class="py-lineno">1270</tt> <tt class="py-line"><tt class="py-docstring"> be excluded, False otherwise.</tt> </tt>
-<a name="L1271"></a><tt class="py-lineno">1271</tt> <tt class="py-line"><tt class="py-docstring"> @rtype: bool</tt> </tt>
-<a name="L1272"></a><tt class="py-lineno">1272</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt>
-<a name="L1273"></a><tt class="py-lineno">1273</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="L1274"></a><tt class="py-lineno">1274</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-198" 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-198', '_match', 'link-198');">_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="L1275"></a><tt class="py-lineno">1275</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-name">True</tt> </tt>
-<a name="L1276"></a><tt class="py-lineno">1276</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-name">False</tt> </tt>
-</div></div><a name="L1277"></a><tt class="py-lineno">1277</tt> <tt class="py-line"> </tt>
-<a name="L1278"></a><tt class="py-lineno">1278</tt> <tt class="py-line"> </tt>
-<a name="WatchManagerError"></a><div id="WatchManagerError-def"><a name="L1279"></a><tt class="py-lineno">1279</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="L1280"></a><tt class="py-lineno">1280</tt> <tt class="py-line"> <tt class="py-docstring">"""</tt> </tt>
-<a name="L1281"></a><tt class="py-lineno">1281</tt> <tt class="py-line"><tt class="py-docstring"> WatchManager Exception. Raised on error encountered on watches</tt> </tt>
-<a name="L1282"></a><tt class="py-lineno">1282</tt> <tt class="py-line"><tt class="py-docstring"> operations.</tt> </tt>
-<a name="L1283"></a><tt class="py-lineno">1283</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
-<a name="L1284"></a><tt class="py-lineno">1284</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt>
-<a name="WatchManagerError.__init__"></a><div id="WatchManagerError.__init__-def"><a name="L1285"></a><tt class="py-lineno">1285</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="L1286"></a><tt class="py-lineno">1286</tt> <tt class="py-line"> <tt class="py-docstring">"""</tt> </tt>
-<a name="L1287"></a><tt class="py-lineno">1287</tt> <tt class="py-line"><tt class="py-docstring"> @param msg: Exception string's description.</tt> </tt>
-<a name="L1288"></a><tt class="py-lineno">1288</tt> <tt class="py-line"><tt class="py-docstring"> @type msg: string</tt> </tt>
-<a name="L1289"></a><tt class="py-lineno">1289</tt> <tt class="py-line"><tt class="py-docstring"> @param wmd: Results of previous operations made by the same function</tt> </tt>
-<a name="L1290"></a><tt class="py-lineno">1290</tt> <tt class="py-line"><tt class="py-docstring"> on previous wd or paths. It also contains the item which</tt> </tt>
-<a name="L1291"></a><tt class="py-lineno">1291</tt> <tt class="py-line"><tt class="py-docstring"> raised this exception.</tt> </tt>
-<a name="L1292"></a><tt class="py-lineno">1292</tt> <tt class="py-line"><tt class="py-docstring"> @type wmd: dict</tt> </tt>
-<a name="L1293"></a><tt class="py-lineno">1293</tt> <tt class="py-line"><tt class="py-docstring"> """</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 class="py-name">wmd</tt> <tt class="py-op">=</tt> <tt class="py-name">wmd</tt> </tt>
-<a name="L1295"></a><tt class="py-lineno">1295</tt> <tt class="py-line"> <tt class="py-name">Exception</tt><tt class="py-op">.</tt><tt id="link-199" class="py-name"><a title="pyinotify.Event.__init__
+pyinotify._SysProcessEvent.__init__" class="py-name" href="#" onclick="return doclink('link-196', '__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="L1183"></a><tt class="py-lineno">1183</tt> <tt class="py-line"> <tt class="py-name">treshold</tt><tt class="py-op">,</tt> <tt class="py-name">timeout</tt><tt class="py-op">)</tt> </tt>
+</div><a name="L1184"></a><tt class="py-lineno">1184</tt> <tt class="py-line"> </tt>
+<a name="ThreadedNotifier.stop"></a><div id="ThreadedNotifier.stop-def"><a name="L1185"></a><tt class="py-lineno">1185</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="L1186"></a><tt class="py-lineno">1186</tt> <tt class="py-line"> <tt class="py-docstring">"""</tt> </tt>
+<a name="L1187"></a><tt class="py-lineno">1187</tt> <tt class="py-line"><tt class="py-docstring"> Stop the notifier's loop. Stop notification. Join the thread.</tt> </tt>
+<a name="L1188"></a><tt class="py-lineno">1188</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt>
+<a name="L1189"></a><tt class="py-lineno">1189</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="L1190"></a><tt class="py-lineno">1190</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="L1191"></a><tt class="py-lineno">1191</tt> <tt class="py-line"> <tt id="link-197" class="py-name"><a title="pyinotify.Notifier" class="py-name" href="#" onclick="return doclink('link-197', 'Notifier', 'link-195');">Notifier</a></tt><tt class="py-op">.</tt><tt id="link-198" class="py-name"><a title="pyinotify.Notifier.stop
+pyinotify.ThreadedNotifier.stop" class="py-name" href="#" onclick="return doclink('link-198', 'stop', 'link-190');">stop</a></tt><tt class="py-op">(</tt><tt class="py-name">self</tt><tt class="py-op">)</tt> </tt>
+</div><a name="L1192"></a><tt class="py-lineno">1192</tt> <tt class="py-line"> </tt>
+<a name="ThreadedNotifier.loop"></a><div id="ThreadedNotifier.loop-def"><a name="L1193"></a><tt class="py-lineno">1193</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="L1194"></a><tt class="py-lineno">1194</tt> <tt class="py-line"> <tt class="py-docstring">"""</tt> </tt>
+<a name="L1195"></a><tt class="py-lineno">1195</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="L1196"></a><tt class="py-lineno">1196</tt> <tt class="py-line"><tt class="py-docstring"> Call start() instead.</tt> </tt>
+<a name="L1197"></a><tt class="py-lineno">1197</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
+<a name="L1198"></a><tt class="py-lineno">1198</tt> <tt class="py-line"><tt class="py-docstring"> Events are read only once time every min(read_freq, timeout)</tt> </tt>
+<a name="L1199"></a><tt class="py-lineno">1199</tt> <tt class="py-line"><tt class="py-docstring"> seconds at best and only if the size to read is &gt;= treshold.</tt> </tt>
+<a name="L1200"></a><tt class="py-lineno">1200</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt>
+<a name="L1201"></a><tt class="py-lineno">1201</tt> <tt class="py-line"> <tt class="py-comment"># Read and process events while _stop_event condition</tt> </tt>
+<a name="L1202"></a><tt class="py-lineno">1202</tt> <tt class="py-line"><tt class="py-comment"></tt> <tt class="py-comment"># remains unset.</tt> </tt>
+<a name="L1203"></a><tt class="py-lineno">1203</tt> <tt class="py-line"><tt class="py-comment"></tt> <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="L1204"></a><tt class="py-lineno">1204</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-199" class="py-name"><a title="pyinotify.Notifier.process_events" class="py-name" href="#" onclick="return doclink('link-199', 'process_events', 'link-185');">process_events</a></tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt>
+<a name="L1205"></a><tt class="py-lineno">1205</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="L1206"></a><tt class="py-lineno">1206</tt> <tt class="py-line"> <tt class="py-comment"># There is a timeout here because without that poll() could</tt> </tt>
+<a name="L1207"></a><tt class="py-lineno">1207</tt> <tt class="py-line"><tt class="py-comment"></tt> <tt class="py-comment"># block until an event is received and therefore</tt> </tt>
+<a name="L1208"></a><tt class="py-lineno">1208</tt> <tt class="py-line"><tt class="py-comment"></tt> <tt class="py-comment"># _stop_event.isSet() would not be evaluated until then, thus</tt> </tt>
+<a name="L1209"></a><tt class="py-lineno">1209</tt> <tt class="py-line"><tt class="py-comment"></tt> <tt class="py-comment"># this thread won't be able to stop its execution.</tt> </tt>
+<a name="L1210"></a><tt class="py-lineno">1210</tt> <tt class="py-line"><tt class="py-comment"></tt> <tt class="py-keyword">if</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-200" class="py-name"><a title="pyinotify.Notifier.check_events" class="py-name" href="#" onclick="return doclink('link-200', 'check_events', 'link-186');">check_events</a></tt><tt class="py-op">(</tt><tt class="py-op">)</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">self</tt><tt class="py-op">.</tt><tt id="link-201" class="py-name"><a title="pyinotify.Notifier._sleep" class="py-name" href="#" onclick="return doclink('link-201', '_sleep', 'link-187');">_sleep</a></tt><tt class="py-op">(</tt><tt class="py-name">ref_time</tt><tt class="py-op">)</tt> </tt>
+<a name="L1212"></a><tt class="py-lineno">1212</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-202" class="py-name"><a title="pyinotify.Notifier.read_events" class="py-name" href="#" onclick="return doclink('link-202', 'read_events', 'link-188');">read_events</a></tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt>
+</div><a name="L1213"></a><tt class="py-lineno">1213</tt> <tt class="py-line"> </tt>
+<a name="ThreadedNotifier.run"></a><div id="ThreadedNotifier.run-def"><a name="L1214"></a><tt class="py-lineno">1214</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="L1215"></a><tt class="py-lineno">1215</tt> <tt class="py-line"> <tt class="py-docstring">"""</tt> </tt>
+<a name="L1216"></a><tt class="py-lineno">1216</tt> <tt class="py-line"><tt class="py-docstring"> Start the thread's loop: read and process events until the method</tt> </tt>
+<a name="L1217"></a><tt class="py-lineno">1217</tt> <tt class="py-line"><tt class="py-docstring"> stop() is called.</tt> </tt>
+<a name="L1218"></a><tt class="py-lineno">1218</tt> <tt class="py-line"><tt class="py-docstring"> Never call this method directly, instead call the start() method</tt> </tt>
+<a name="L1219"></a><tt class="py-lineno">1219</tt> <tt class="py-line"><tt class="py-docstring"> inherited from threading.Thread, which then will call run().</tt> </tt>
+<a name="L1220"></a><tt class="py-lineno">1220</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt>
+<a name="L1221"></a><tt class="py-lineno">1221</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-203" 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-203', 'loop', 'link-203');">loop</a></tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt>
+</div></div><a name="L1222"></a><tt class="py-lineno">1222</tt> <tt class="py-line"> </tt>
+<a name="L1223"></a><tt class="py-lineno">1223</tt> <tt class="py-line"> </tt>
+<a name="Watch"></a><div id="Watch-def"><a name="L1224"></a><tt class="py-lineno">1224</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="L1225"></a><tt class="py-lineno">1225</tt> <tt class="py-line"> <tt class="py-docstring">"""</tt> </tt>
+<a name="L1226"></a><tt class="py-lineno">1226</tt> <tt class="py-line"><tt class="py-docstring"> Represent a watch, i.e. a file or directory being watched.</tt> </tt>
+<a name="L1227"></a><tt class="py-lineno">1227</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
+<a name="L1228"></a><tt class="py-lineno">1228</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt>
+<a name="Watch.__init__"></a><div id="Watch.__init__-def"><a name="L1229"></a><tt class="py-lineno">1229</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-op">**</tt><tt class="py-param">keys</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="L1230"></a><tt class="py-lineno">1230</tt> <tt class="py-line"> <tt class="py-docstring">"""</tt> </tt>
+<a name="L1231"></a><tt class="py-lineno">1231</tt> <tt class="py-line"><tt class="py-docstring"> Initializations.</tt> </tt>
+<a name="L1232"></a><tt class="py-lineno">1232</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
+<a name="L1233"></a><tt class="py-lineno">1233</tt> <tt class="py-line"><tt class="py-docstring"> @param wd: Watch descriptor.</tt> </tt>
+<a name="L1234"></a><tt class="py-lineno">1234</tt> <tt class="py-line"><tt class="py-docstring"> @type wd: int</tt> </tt>
+<a name="L1235"></a><tt class="py-lineno">1235</tt> <tt class="py-line"><tt class="py-docstring"> @param path: Path of the file or directory being watched.</tt> </tt>
+<a name="L1236"></a><tt class="py-lineno">1236</tt> <tt class="py-line"><tt class="py-docstring"> @type path: str</tt> </tt>
+<a name="L1237"></a><tt class="py-lineno">1237</tt> <tt class="py-line"><tt class="py-docstring"> @param mask: Mask.</tt> </tt>
+<a name="L1238"></a><tt class="py-lineno">1238</tt> <tt class="py-line"><tt class="py-docstring"> @type mask: int</tt> </tt>
+<a name="L1239"></a><tt class="py-lineno">1239</tt> <tt class="py-line"><tt class="py-docstring"> @param proc_fun: Processing callable object.</tt> </tt>
+<a name="L1240"></a><tt class="py-lineno">1240</tt> <tt class="py-line"><tt class="py-docstring"> @type proc_fun:</tt> </tt>
+<a name="L1241"></a><tt class="py-lineno">1241</tt> <tt class="py-line"><tt class="py-docstring"> @param auto_add: Automatically add watches on new directories.</tt> </tt>
+<a name="L1242"></a><tt class="py-lineno">1242</tt> <tt class="py-line"><tt class="py-docstring"> @type auto_add: bool</tt> </tt>
+<a name="L1243"></a><tt class="py-lineno">1243</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt>
+<a name="L1244"></a><tt class="py-lineno">1244</tt> <tt class="py-line"> <tt class="py-keyword">for</tt> <tt class="py-name">k</tt><tt class="py-op">,</tt> <tt class="py-name">v</tt> <tt class="py-keyword">in</tt> <tt class="py-name">keys</tt><tt class="py-op">.</tt><tt class="py-name">iteritems</tt><tt class="py-op">(</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
+<a name="L1245"></a><tt class="py-lineno">1245</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-name">k</tt><tt class="py-op">,</tt> <tt class="py-name">v</tt><tt class="py-op">)</tt> </tt>
+<a name="L1246"></a><tt class="py-lineno">1246</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="L1247"></a><tt class="py-lineno">1247</tt> <tt class="py-line"> </tt>
+<a name="Watch.__repr__"></a><div id="Watch.__repr__-def"><a name="L1248"></a><tt class="py-lineno">1248</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="L1249"></a><tt class="py-lineno">1249</tt> <tt class="py-line"> <tt class="py-docstring">"""</tt> </tt>
+<a name="L1250"></a><tt class="py-lineno">1250</tt> <tt class="py-line"><tt class="py-docstring"> @return: String representation.</tt> </tt>
+<a name="L1251"></a><tt class="py-lineno">1251</tt> <tt class="py-line"><tt class="py-docstring"> @rtype: str</tt> </tt>
+<a name="L1252"></a><tt class="py-lineno">1252</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt>
+<a name="L1253"></a><tt class="py-lineno">1253</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-204" class="py-name"><a title="pyinotify.color_theme" class="py-name" href="#" onclick="return doclink('link-204', 'color_theme', 'link-91');">color_theme</a></tt><tt class="py-op">.</tt><tt class="py-name">field_name</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="L1254"></a><tt class="py-lineno">1254</tt> <tt class="py-line"> <tt id="link-205" class="py-name"><a title="pyinotify.color_theme" class="py-name" href="#" onclick="return doclink('link-205', 'color_theme', 'link-91');">color_theme</a></tt><tt class="py-op">.</tt><tt class="py-name">punct</tt><tt class="py-op">(</tt><tt class="py-string">'='</tt><tt class="py-op">)</tt><tt class="py-op">,</tt> </tt>
+<a name="L1255"></a><tt class="py-lineno">1255</tt> <tt class="py-line"> <tt id="link-206" class="py-name"><a title="pyinotify.color_theme" class="py-name" href="#" onclick="return doclink('link-206', 'color_theme', 'link-91');">color_theme</a></tt><tt class="py-op">.</tt><tt class="py-name">field_value</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="L1256"></a><tt class="py-lineno">1256</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="L1257"></a><tt class="py-lineno">1257</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="L1258"></a><tt class="py-lineno">1258</tt> <tt class="py-line"> </tt>
+<a name="L1259"></a><tt class="py-lineno">1259</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-207" class="py-name"><a title="pyinotify.color_theme" class="py-name" href="#" onclick="return doclink('link-207', 'color_theme', 'link-91');">color_theme</a></tt><tt class="py-op">.</tt><tt class="py-name">punct</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="L1260"></a><tt class="py-lineno">1260</tt> <tt class="py-line"> <tt id="link-208" class="py-name"><a title="pyinotify.color_theme" class="py-name" href="#" onclick="return doclink('link-208', 'color_theme', 'link-91');">color_theme</a></tt><tt class="py-op">.</tt><tt class="py-name">class_name</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="L1261"></a><tt class="py-lineno">1261</tt> <tt class="py-line"> <tt class="py-name">s</tt><tt class="py-op">,</tt> </tt>
+<a name="L1262"></a><tt class="py-lineno">1262</tt> <tt class="py-line"> <tt id="link-209" class="py-name"><a title="pyinotify.color_theme" class="py-name" href="#" onclick="return doclink('link-209', 'color_theme', 'link-91');">color_theme</a></tt><tt class="py-op">.</tt><tt class="py-name">punct</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="L1263"></a><tt class="py-lineno">1263</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-name">s</tt> </tt>
+</div></div><a name="L1264"></a><tt class="py-lineno">1264</tt> <tt class="py-line"> </tt>
+<a name="L1265"></a><tt class="py-lineno">1265</tt> <tt class="py-line"> </tt>
+<a name="ExcludeFilter"></a><div id="ExcludeFilter-def"><a name="L1266"></a><tt class="py-lineno">1266</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="L1267"></a><tt class="py-lineno">1267</tt> <tt class="py-line"> <tt class="py-docstring">"""</tt> </tt>
+<a name="L1268"></a><tt class="py-lineno">1268</tt> <tt class="py-line"><tt class="py-docstring"> ExcludeFilter is an exclusion filter.</tt> </tt>
+<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>
+<a name="ExcludeFilter.__init__"></a><div id="ExcludeFilter.__init__-def"><a name="L1271"></a><tt class="py-lineno">1271</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="L1272"></a><tt class="py-lineno">1272</tt> <tt class="py-line"> <tt class="py-docstring">"""</tt> </tt>
+<a name="L1273"></a><tt class="py-lineno">1273</tt> <tt class="py-line"><tt class="py-docstring"> @param arg_lst: is either a list or dict of patterns:</tt> </tt>
+<a name="L1274"></a><tt class="py-lineno">1274</tt> <tt class="py-line"><tt class="py-docstring"> [pattern1, ..., patternn]</tt> </tt>
+<a name="L1275"></a><tt class="py-lineno">1275</tt> <tt class="py-line"><tt class="py-docstring"> {'filename1': (list1, listn), ...} where list1 is</tt> </tt>
+<a name="L1276"></a><tt class="py-lineno">1276</tt> <tt class="py-line"><tt class="py-docstring"> a list of patterns</tt> </tt>
+<a name="L1277"></a><tt class="py-lineno">1277</tt> <tt class="py-line"><tt class="py-docstring"> @type arg_lst: list or dict</tt> </tt>
+<a name="L1278"></a><tt class="py-lineno">1278</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt>
+<a name="L1279"></a><tt class="py-lineno">1279</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">dict</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
+<a name="L1280"></a><tt class="py-lineno">1280</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-210" class="py-name" targets="Method pyinotify.ExcludeFilter._load_patterns()=pyinotify.ExcludeFilter-class.html#_load_patterns"><a title="pyinotify.ExcludeFilter._load_patterns" class="py-name" href="#" onclick="return doclink('link-210', '_load_patterns', 'link-210');">_load_patterns</a></tt><tt class="py-op">(</tt><tt class="py-name">arg_lst</tt><tt class="py-op">)</tt> </tt>
+<a name="L1281"></a><tt class="py-lineno">1281</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="L1282"></a><tt class="py-lineno">1282</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="L1283"></a><tt class="py-lineno">1283</tt> <tt class="py-line"> <tt class="py-keyword">else</tt><tt class="py-op">:</tt> </tt>
+<a name="L1284"></a><tt class="py-lineno">1284</tt> <tt class="py-line"> <tt class="py-keyword">raise</tt> <tt class="py-name">TypeError</tt> </tt>
+<a name="L1285"></a><tt class="py-lineno">1285</tt> <tt class="py-line"> </tt>
+<a name="L1286"></a><tt class="py-lineno">1286</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="L1287"></a><tt class="py-lineno">1287</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="L1288"></a><tt class="py-lineno">1288</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="L1289"></a><tt class="py-lineno">1289</tt> <tt class="py-line"> </tt>
+<a name="ExcludeFilter._load_patterns"></a><div id="ExcludeFilter._load_patterns-def"><a name="L1290"></a><tt class="py-lineno">1290</tt> <a class="py-toggle" href="#" id="ExcludeFilter._load_patterns-toggle" onclick="return toggle('ExcludeFilter._load_patterns');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="pyinotify.ExcludeFilter-class.html#_load_patterns">_load_patterns</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">,</tt> <tt class="py-param">dct</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
+</div><div id="ExcludeFilter._load_patterns-collapsed" style="display:none;" pad="++++" indent="++++++++"></div><div id="ExcludeFilter._load_patterns-expanded"><a name="L1291"></a><tt class="py-lineno">1291</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="L1292"></a><tt class="py-lineno">1292</tt> <tt class="py-line"> <tt class="py-keyword">for</tt> <tt class="py-name">path</tt><tt class="py-op">,</tt> <tt class="py-name">varnames</tt> <tt class="py-keyword">in</tt> <tt class="py-name">dct</tt><tt class="py-op">.</tt><tt class="py-name">iteritems</tt><tt class="py-op">(</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
+<a name="L1293"></a><tt class="py-lineno">1293</tt> <tt class="py-line"> <tt class="py-name">loc</tt> <tt class="py-op">=</tt> <tt class="py-op">{</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">execfile</tt><tt class="py-op">(</tt><tt class="py-name">path</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">loc</tt><tt class="py-op">)</tt> </tt>
+<a name="L1295"></a><tt class="py-lineno">1295</tt> <tt class="py-line"> <tt class="py-keyword">for</tt> <tt class="py-name">varname</tt> <tt class="py-keyword">in</tt> <tt class="py-name">varnames</tt><tt class="py-op">:</tt> </tt>
+<a name="L1296"></a><tt class="py-lineno">1296</tt> <tt class="py-line"> <tt class="py-name">lst</tt><tt class="py-op">.</tt><tt class="py-name">extend</tt><tt class="py-op">(</tt><tt class="py-name">loc</tt><tt class="py-op">.</tt><tt class="py-name">get</tt><tt class="py-op">(</tt><tt class="py-name">varname</tt><tt class="py-op">,</tt> <tt class="py-op">[</tt><tt class="py-op">]</tt><tt class="py-op">)</tt><tt class="py-op">)</tt> </tt>
+<a name="L1297"></a><tt class="py-lineno">1297</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-name">lst</tt> </tt>
+</div><a name="L1298"></a><tt class="py-lineno">1298</tt> <tt class="py-line"> </tt>
+<a name="ExcludeFilter._match"></a><div id="ExcludeFilter._match-def"><a name="L1299"></a><tt class="py-lineno">1299</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="L1300"></a><tt class="py-lineno">1300</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="L1301"></a><tt class="py-lineno">1301</tt> <tt class="py-line"> </tt>
+<a name="ExcludeFilter.__call__"></a><div id="ExcludeFilter.__call__-def"><a name="L1302"></a><tt class="py-lineno">1302</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="L1303"></a><tt class="py-lineno">1303</tt> <tt class="py-line"> <tt class="py-docstring">"""</tt> </tt>
+<a name="L1304"></a><tt class="py-lineno">1304</tt> <tt class="py-line"><tt class="py-docstring"> @param path: path to match against regexps.</tt> </tt>
+<a name="L1305"></a><tt class="py-lineno">1305</tt> <tt class="py-line"><tt class="py-docstring"> @type path: str</tt> </tt>
+<a name="L1306"></a><tt class="py-lineno">1306</tt> <tt class="py-line"><tt class="py-docstring"> @return: return True is path has been matched and should</tt> </tt>
+<a name="L1307"></a><tt class="py-lineno">1307</tt> <tt class="py-line"><tt class="py-docstring"> be excluded, False otherwise.</tt> </tt>
+<a name="L1308"></a><tt class="py-lineno">1308</tt> <tt class="py-line"><tt class="py-docstring"> @rtype: bool</tt> </tt>
+<a name="L1309"></a><tt class="py-lineno">1309</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt>
+<a name="L1310"></a><tt class="py-lineno">1310</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="L1311"></a><tt class="py-lineno">1311</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-211" 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-211', '_match', 'link-211');">_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="L1312"></a><tt class="py-lineno">1312</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-name">True</tt> </tt>
+<a name="L1313"></a><tt class="py-lineno">1313</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-name">False</tt> </tt>
+</div></div><a name="L1314"></a><tt class="py-lineno">1314</tt> <tt class="py-line"> </tt>
+<a name="L1315"></a><tt class="py-lineno">1315</tt> <tt class="py-line"> </tt>
+<a name="WatchManagerError"></a><div id="WatchManagerError-def"><a name="L1316"></a><tt class="py-lineno">1316</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="L1317"></a><tt class="py-lineno">1317</tt> <tt class="py-line"> <tt class="py-docstring">"""</tt> </tt>
+<a name="L1318"></a><tt class="py-lineno">1318</tt> <tt class="py-line"><tt class="py-docstring"> WatchManager Exception. Raised on error encountered on watches</tt> </tt>
+<a name="L1319"></a><tt class="py-lineno">1319</tt> <tt class="py-line"><tt class="py-docstring"> operations.</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-docstring"> """</tt> </tt>
+<a name="WatchManagerError.__init__"></a><div id="WatchManagerError.__init__-def"><a name="L1322"></a><tt class="py-lineno">1322</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="L1323"></a><tt class="py-lineno">1323</tt> <tt class="py-line"> <tt class="py-docstring">"""</tt> </tt>
+<a name="L1324"></a><tt class="py-lineno">1324</tt> <tt class="py-line"><tt class="py-docstring"> @param msg: Exception string's description.</tt> </tt>
+<a name="L1325"></a><tt class="py-lineno">1325</tt> <tt class="py-line"><tt class="py-docstring"> @type msg: string</tt> </tt>
+<a name="L1326"></a><tt class="py-lineno">1326</tt> <tt class="py-line"><tt class="py-docstring"> @param wmd: Results of previous operations made by the same function</tt> </tt>
+<a name="L1327"></a><tt class="py-lineno">1327</tt> <tt class="py-line"><tt class="py-docstring"> on previous wd or paths. It also contains the item which</tt> </tt>
+<a name="L1328"></a><tt class="py-lineno">1328</tt> <tt class="py-line"><tt class="py-docstring"> raised this exception.</tt> </tt>
+<a name="L1329"></a><tt class="py-lineno">1329</tt> <tt class="py-line"><tt class="py-docstring"> @type wmd: dict</tt> </tt>
+<a name="L1330"></a><tt class="py-lineno">1330</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt>
+<a name="L1331"></a><tt class="py-lineno">1331</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="L1332"></a><tt class="py-lineno">1332</tt> <tt class="py-line"> <tt class="py-name">Exception</tt><tt class="py-op">.</tt><tt id="link-212" class="py-name"><a title="pyinotify.Event.__init__
pyinotify.ExcludeFilter.__init__
pyinotify.Notifier.__init__
pyinotify.NotifierError.__init__
@@ -1460,591 +1539,593 @@ pyinotify.ProcessEvent.__init__
pyinotify.ProcessEventError.__init__
pyinotify.SysCtlINotify.__init__
pyinotify.ThreadedNotifier.__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-199', '__init__', 'link-88');">__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="L1296"></a><tt class="py-lineno">1296</tt> <tt class="py-line"> </tt>
-<a name="L1297"></a><tt class="py-lineno">1297</tt> <tt class="py-line"> </tt>
-<a name="WatchManager"></a><div id="WatchManager-def"><a name="L1298"></a><tt class="py-lineno">1298</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="L1299"></a><tt class="py-lineno">1299</tt> <tt class="py-line"> <tt class="py-docstring">"""</tt> </tt>
-<a name="L1300"></a><tt class="py-lineno">1300</tt> <tt class="py-line"><tt class="py-docstring"> Provide operations for watching files and directories. Integrated</tt> </tt>
-<a name="L1301"></a><tt class="py-lineno">1301</tt> <tt class="py-line"><tt class="py-docstring"> dictionary is used to reference watched items.</tt> </tt>
-<a name="L1302"></a><tt class="py-lineno">1302</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt>
-<a name="WatchManager.__init__"></a><div id="WatchManager.__init__-def"><a name="L1303"></a><tt class="py-lineno">1303</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="L1304"></a><tt class="py-lineno">1304</tt> <tt class="py-line"> <tt class="py-docstring">"""</tt> </tt>
-<a name="L1305"></a><tt class="py-lineno">1305</tt> <tt class="py-line"><tt class="py-docstring"> Initialization: init inotify, init watch manager dictionary.</tt> </tt>
-<a name="L1306"></a><tt class="py-lineno">1306</tt> <tt class="py-line"><tt class="py-docstring"> Raise OSError if initialization fails.</tt> </tt>
-<a name="L1307"></a><tt class="py-lineno">1307</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
-<a name="L1308"></a><tt class="py-lineno">1308</tt> <tt class="py-line"><tt class="py-docstring"> @param exclude_filter: boolean function, returns True if current</tt> </tt>
-<a name="L1309"></a><tt class="py-lineno">1309</tt> <tt class="py-line"><tt class="py-docstring"> path must be excluded from being watched.</tt> </tt>
-<a name="L1310"></a><tt class="py-lineno">1310</tt> <tt class="py-line"><tt class="py-docstring"> Convenient for providing a common exclusion</tt> </tt>
-<a name="L1311"></a><tt class="py-lineno">1311</tt> <tt class="py-line"><tt class="py-docstring"> filter for every call to add_watch.</tt> </tt>
-<a name="L1312"></a><tt class="py-lineno">1312</tt> <tt class="py-line"><tt class="py-docstring"> @type exclude_filter: bool</tt> </tt>
-<a name="L1313"></a><tt class="py-lineno">1313</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt>
-<a name="L1314"></a><tt class="py-lineno">1314</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="L1315"></a><tt class="py-lineno">1315</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="L1316"></a><tt class="py-lineno">1316</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-200" class="py-name"><a title="pyinotify.LIBC" class="py-name" href="#" onclick="return doclink('link-200', 'LIBC', 'link-0');">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="L1317"></a><tt class="py-lineno">1317</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="L1318"></a><tt class="py-lineno">1318</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-op">)</tt> </tt>
-</div><a name="L1319"></a><tt class="py-lineno">1319</tt> <tt class="py-line"> </tt>
-<a name="WatchManager.__add_watch"></a><div id="WatchManager.__add_watch-def"><a name="L1320"></a><tt class="py-lineno">1320</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-op">:</tt> </tt>
-</div><div id="WatchManager.__add_watch-collapsed" style="display:none;" pad="++++" indent="++++++++"></div><div id="WatchManager.__add_watch-expanded"><a name="L1321"></a><tt class="py-lineno">1321</tt> <tt class="py-line"> <tt class="py-docstring">"""</tt> </tt>
-<a name="L1322"></a><tt class="py-lineno">1322</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="L1323"></a><tt class="py-lineno">1323</tt> <tt class="py-line"><tt class="py-docstring"> watch manager dictionary. Return the wd value.</tt> </tt>
-<a name="L1324"></a><tt class="py-lineno">1324</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt>
-<a name="L1325"></a><tt class="py-lineno">1325</tt> <tt class="py-line"> <tt class="py-name">wd_</tt> <tt class="py-op">=</tt> <tt id="link-201" class="py-name"><a title="pyinotify.LIBC" class="py-name" href="#" onclick="return doclink('link-201', 'LIBC', 'link-0');">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="L1326"></a><tt class="py-lineno">1326</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">path</tt><tt class="py-op">)</tt><tt class="py-op">,</tt> </tt>
-<a name="L1327"></a><tt class="py-lineno">1327</tt> <tt class="py-line"> <tt class="py-name">mask</tt><tt class="py-op">)</tt> </tt>
-<a name="L1328"></a><tt class="py-lineno">1328</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="L1329"></a><tt class="py-lineno">1329</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-name">wd_</tt> </tt>
-<a name="L1330"></a><tt class="py-lineno">1330</tt> <tt class="py-line"> <tt class="py-name">watch_</tt> <tt class="py-op">=</tt> <tt id="link-202" class="py-name" targets="Class pyinotify.Watch=pyinotify.Watch-class.html"><a title="pyinotify.Watch" class="py-name" href="#" onclick="return doclink('link-202', 'Watch', 'link-202');">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">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 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>
-<a name="L1331"></a><tt class="py-lineno">1331</tt> <tt class="py-line"> <tt id="link-203" class="py-name"><a title="pyinotify.Notifier.proc_fun" class="py-name" href="#" onclick="return doclink('link-203', 'proc_fun', 'link-112');">proc_fun</a></tt><tt class="py-op">=</tt><tt id="link-204" class="py-name"><a title="pyinotify.Notifier.proc_fun" class="py-name" href="#" onclick="return doclink('link-204', 'proc_fun', 'link-112');">proc_fun</a></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 class="py-op">)</tt> </tt>
-<a name="L1332"></a><tt class="py-lineno">1332</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="L1333"></a><tt class="py-lineno">1333</tt> <tt class="py-line"> <tt id="link-205" class="py-name"><a title="pyinotify.log" class="py-name" href="#" onclick="return doclink('link-205', 'log', 'link-1');">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="L1334"></a><tt class="py-lineno">1334</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-name">wd_</tt> </tt>
-</div><a name="L1335"></a><tt class="py-lineno">1335</tt> <tt class="py-line"> </tt>
-<a name="WatchManager.__glob"></a><div id="WatchManager.__glob-def"><a name="L1336"></a><tt class="py-lineno">1336</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="L1337"></a><tt class="py-lineno">1337</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="L1338"></a><tt class="py-lineno">1338</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt id="link-206" class="py-name"><a title="pyinotify.iglob" class="py-name" href="#" onclick="return doclink('link-206', 'iglob', 'link-25');">iglob</a></tt><tt class="py-op">(</tt><tt class="py-name">path</tt><tt class="py-op">)</tt> </tt>
-<a name="L1339"></a><tt class="py-lineno">1339</tt> <tt class="py-line"> <tt class="py-keyword">else</tt><tt class="py-op">:</tt> </tt>
-<a name="L1340"></a><tt class="py-lineno">1340</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="L1341"></a><tt class="py-lineno">1341</tt> <tt class="py-line"> </tt>
-<a name="WatchManager.add_watch"></a><div id="WatchManager.add_watch-def"><a name="L1342"></a><tt class="py-lineno">1342</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="L1343"></a><tt class="py-lineno">1343</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="L1344"></a><tt class="py-lineno">1344</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="L1345"></a><tt class="py-lineno">1345</tt> <tt class="py-line"> <tt class="py-docstring">"""</tt> </tt>
-<a name="L1346"></a><tt class="py-lineno">1346</tt> <tt class="py-line"><tt class="py-docstring"> Add watch(s) on given path(s) with the specified mask and</tt> </tt>
-<a name="L1347"></a><tt class="py-lineno">1347</tt> <tt class="py-line"><tt class="py-docstring"> optionnally with a processing function and recursive flag.</tt> </tt>
-<a name="L1348"></a><tt class="py-lineno">1348</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
-<a name="L1349"></a><tt class="py-lineno">1349</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="L1350"></a><tt class="py-lineno">1350</tt> <tt class="py-line"><tt class="py-docstring"> directory. Also accepts a sequence (list) of paths.</tt> </tt>
-<a name="L1351"></a><tt class="py-lineno">1351</tt> <tt class="py-line"><tt class="py-docstring"> @type path: string or list of string</tt> </tt>
-<a name="L1352"></a><tt class="py-lineno">1352</tt> <tt class="py-line"><tt class="py-docstring"> @param mask: Bitmask of events.</tt> </tt>
-<a name="L1353"></a><tt class="py-lineno">1353</tt> <tt class="py-line"><tt class="py-docstring"> @type mask: int</tt> </tt>
-<a name="L1354"></a><tt class="py-lineno">1354</tt> <tt class="py-line"><tt class="py-docstring"> @param proc_fun: Processing object.</tt> </tt>
-<a name="L1355"></a><tt class="py-lineno">1355</tt> <tt class="py-line"><tt class="py-docstring"> @type proc_fun: function or ProcessEvent instance or instance of</tt> </tt>
-<a name="L1356"></a><tt class="py-lineno">1356</tt> <tt class="py-line"><tt class="py-docstring"> one of its subclasses or callable object.</tt> </tt>
-<a name="L1357"></a><tt class="py-lineno">1357</tt> <tt class="py-line"><tt class="py-docstring"> @param rec: Recursively add watches from path on all its</tt> </tt>
-<a name="L1358"></a><tt class="py-lineno">1358</tt> <tt class="py-line"><tt class="py-docstring"> subdirectories, set to False by default (doesn't</tt> </tt>
-<a name="L1359"></a><tt class="py-lineno">1359</tt> <tt class="py-line"><tt class="py-docstring"> follows symlinks).</tt> </tt>
-<a name="L1360"></a><tt class="py-lineno">1360</tt> <tt class="py-line"><tt class="py-docstring"> @type rec: bool</tt> </tt>
-<a name="L1361"></a><tt class="py-lineno">1361</tt> <tt class="py-line"><tt class="py-docstring"> @param auto_add: Automatically add watches on newly created</tt> </tt>
-<a name="L1362"></a><tt class="py-lineno">1362</tt> <tt class="py-line"><tt class="py-docstring"> directories in the watch's path.</tt> </tt>
-<a name="L1363"></a><tt class="py-lineno">1363</tt> <tt class="py-line"><tt class="py-docstring"> @type auto_add: bool</tt> </tt>
-<a name="L1364"></a><tt class="py-lineno">1364</tt> <tt class="py-line"><tt class="py-docstring"> @param do_glob: Do globbing on pathname.</tt> </tt>
-<a name="L1365"></a><tt class="py-lineno">1365</tt> <tt class="py-line"><tt class="py-docstring"> @type do_glob: bool</tt> </tt>
-<a name="L1366"></a><tt class="py-lineno">1366</tt> <tt class="py-line"><tt class="py-docstring"> @param quiet: if True raise an WatchManagerError exception on</tt> </tt>
-<a name="L1367"></a><tt class="py-lineno">1367</tt> <tt class="py-line"><tt class="py-docstring"> error. See example not_quiet.py</tt> </tt>
-<a name="L1368"></a><tt class="py-lineno">1368</tt> <tt class="py-line"><tt class="py-docstring"> @type quiet: bool</tt> </tt>
-<a name="L1369"></a><tt class="py-lineno">1369</tt> <tt class="py-line"><tt class="py-docstring"> @param exclude_filter: boolean function, returns True if current</tt> </tt>
-<a name="L1370"></a><tt class="py-lineno">1370</tt> <tt class="py-line"><tt class="py-docstring"> path must be excluded from being watched.</tt> </tt>
-<a name="L1371"></a><tt class="py-lineno">1371</tt> <tt class="py-line"><tt class="py-docstring"> Has precedence on exclude_filter defined</tt> </tt>
-<a name="L1372"></a><tt class="py-lineno">1372</tt> <tt class="py-line"><tt class="py-docstring"> into __init__.</tt> </tt>
-<a name="L1373"></a><tt class="py-lineno">1373</tt> <tt class="py-line"><tt class="py-docstring"> @type exclude_filter: bool</tt> </tt>
-<a name="L1374"></a><tt class="py-lineno">1374</tt> <tt class="py-line"><tt class="py-docstring"> @return: dict of paths associated to watch descriptors. A wd value</tt> </tt>
-<a name="L1375"></a><tt class="py-lineno">1375</tt> <tt class="py-line"><tt class="py-docstring"> is positive if the watch has been sucessfully added,</tt> </tt>
-<a name="L1376"></a><tt class="py-lineno">1376</tt> <tt class="py-line"><tt class="py-docstring"> otherwise the value is negative. If the path is invalid</tt> </tt>
-<a name="L1377"></a><tt class="py-lineno">1377</tt> <tt class="py-line"><tt class="py-docstring"> it will be not included into this dict.</tt> </tt>
-<a name="L1378"></a><tt class="py-lineno">1378</tt> <tt class="py-line"><tt class="py-docstring"> @rtype: dict of {str: int}</tt> </tt>
-<a name="L1379"></a><tt class="py-lineno">1379</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt>
-<a name="L1380"></a><tt class="py-lineno">1380</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="L1381"></a><tt class="py-lineno">1381</tt> <tt class="py-line"> </tt>
-<a name="L1382"></a><tt class="py-lineno">1382</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="L1383"></a><tt class="py-lineno">1383</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="L1384"></a><tt class="py-lineno">1384</tt> <tt class="py-line"> </tt>
-<a name="L1385"></a><tt class="py-lineno">1385</tt> <tt class="py-line"> <tt class="py-comment"># normalize args as list elements</tt> </tt>
-<a name="L1386"></a><tt class="py-lineno">1386</tt> <tt class="py-line"><tt class="py-comment"></tt> <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-207" 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-207', '__format_param', 'link-207');">__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="L1387"></a><tt class="py-lineno">1387</tt> <tt class="py-line"> <tt class="py-comment"># unix pathname pattern expansion</tt> </tt>
-<a name="L1388"></a><tt class="py-lineno">1388</tt> <tt class="py-line"><tt class="py-comment"></tt> <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-208" 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-208', '__glob', 'link-208');">__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="L1389"></a><tt class="py-lineno">1389</tt> <tt class="py-line"> <tt class="py-comment"># recursively list subdirs according to rec param</tt> </tt>
-<a name="L1390"></a><tt class="py-lineno">1390</tt> <tt class="py-line"><tt class="py-comment"></tt> <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-209" 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-209', '__walk_rec', 'link-209');">__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="L1391"></a><tt class="py-lineno">1391</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="L1392"></a><tt class="py-lineno">1392</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-210" 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-210', '__add_watch', 'link-210');">__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="L1393"></a><tt class="py-lineno">1393</tt> <tt class="py-line"> <tt id="link-211" class="py-name"><a title="pyinotify.Notifier.proc_fun" class="py-name" href="#" onclick="return doclink('link-211', 'proc_fun', 'link-112');">proc_fun</a></tt><tt class="py-op">,</tt> </tt>
-<a name="L1394"></a><tt class="py-lineno">1394</tt> <tt class="py-line"> <tt class="py-name">auto_add</tt><tt class="py-op">)</tt> </tt>
-<a name="L1395"></a><tt class="py-lineno">1395</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="L1396"></a><tt class="py-lineno">1396</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)'</tt> </tt>
-<a name="L1397"></a><tt class="py-lineno">1397</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>
-<a name="L1398"></a><tt class="py-lineno">1398</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="L1399"></a><tt class="py-lineno">1399</tt> <tt class="py-line"> <tt id="link-212" class="py-name"><a title="pyinotify.log" class="py-name" href="#" onclick="return doclink('link-212', 'log', 'link-1');">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="L1400"></a><tt class="py-lineno">1400</tt> <tt class="py-line"> <tt class="py-keyword">else</tt><tt class="py-op">:</tt> </tt>
-<a name="L1401"></a><tt class="py-lineno">1401</tt> <tt class="py-line"> <tt class="py-keyword">raise</tt> <tt id="link-213" class="py-name" targets="Class pyinotify.WatchManagerError=pyinotify.WatchManagerError-class.html"><a title="pyinotify.WatchManagerError" class="py-name" href="#" onclick="return doclink('link-213', 'WatchManagerError', 'link-213');">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="L1402"></a><tt class="py-lineno">1402</tt> <tt class="py-line"> <tt class="py-keyword">else</tt><tt class="py-op">:</tt> </tt>
-<a name="L1403"></a><tt class="py-lineno">1403</tt> <tt class="py-line"> <tt class="py-comment"># Let's say -2 means 'explicitely excluded</tt> </tt>
-<a name="L1404"></a><tt class="py-lineno">1404</tt> <tt class="py-line"><tt class="py-comment"></tt> <tt class="py-comment"># from watching'.</tt> </tt>
-<a name="L1405"></a><tt class="py-lineno">1405</tt> <tt class="py-line"><tt class="py-comment"></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-op">-</tt><tt class="py-number">2</tt> </tt>
-<a name="L1406"></a><tt class="py-lineno">1406</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-name">ret_</tt> </tt>
-</div><a name="L1407"></a><tt class="py-lineno">1407</tt> <tt class="py-line"> </tt>
-<a name="WatchManager.__get_sub_rec"></a><div id="WatchManager.__get_sub_rec-def"><a name="L1408"></a><tt class="py-lineno">1408</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="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-docstring"> Get every wd from self._wmd if its path is under the path of</tt> </tt>
-<a name="L1411"></a><tt class="py-lineno">1411</tt> <tt class="py-line"><tt class="py-docstring"> one (at least) of those in lpath. Doesn't follow symlinks.</tt> </tt>
-<a name="L1412"></a><tt class="py-lineno">1412</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
-<a name="L1413"></a><tt class="py-lineno">1413</tt> <tt class="py-line"><tt class="py-docstring"> @param lpath: list of watch descriptor</tt> </tt>
-<a name="L1414"></a><tt class="py-lineno">1414</tt> <tt class="py-line"><tt class="py-docstring"> @type lpath: list of int</tt> </tt>
-<a name="L1415"></a><tt class="py-lineno">1415</tt> <tt class="py-line"><tt class="py-docstring"> @return: list of watch descriptor</tt> </tt>
-<a name="L1416"></a><tt class="py-lineno">1416</tt> <tt class="py-line"><tt class="py-docstring"> @rtype: list of int</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-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="L1419"></a><tt class="py-lineno">1419</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-214" 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-214', 'get_path', 'link-214');">get_path</a></tt><tt class="py-op">(</tt><tt class="py-name">d</tt><tt class="py-op">)</tt> </tt>
-<a name="L1420"></a><tt class="py-lineno">1420</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">root</tt><tt class="py-op">:</tt> </tt>
-<a name="L1421"></a><tt class="py-lineno">1421</tt> <tt class="py-line"> <tt class="py-comment"># always keep root</tt> </tt>
-<a name="L1422"></a><tt class="py-lineno">1422</tt> <tt class="py-line"><tt class="py-comment"></tt> <tt class="py-keyword">yield</tt> <tt class="py-name">d</tt> </tt>
-<a name="L1423"></a><tt class="py-lineno">1423</tt> <tt class="py-line"> <tt class="py-keyword">else</tt><tt class="py-op">:</tt> </tt>
-<a name="L1424"></a><tt class="py-lineno">1424</tt> <tt class="py-line"> <tt class="py-comment"># if invalid</tt> </tt>
-<a name="L1425"></a><tt class="py-lineno">1425</tt> <tt class="py-line"><tt class="py-comment"></tt> <tt class="py-keyword">continue</tt> </tt>
-<a name="L1426"></a><tt class="py-lineno">1426</tt> <tt class="py-line"> </tt>
-<a name="L1427"></a><tt class="py-lineno">1427</tt> <tt class="py-line"> <tt class="py-comment"># nothing else to expect</tt> </tt>
-<a name="L1428"></a><tt class="py-lineno">1428</tt> <tt class="py-line"><tt class="py-comment"></tt> <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="L1429"></a><tt class="py-lineno">1429</tt> <tt class="py-line"> <tt class="py-keyword">continue</tt> </tt>
-<a name="L1430"></a><tt class="py-lineno">1430</tt> <tt class="py-line"> </tt>
-<a name="L1431"></a><tt class="py-lineno">1431</tt> <tt class="py-line"> <tt class="py-comment"># normalization</tt> </tt>
-<a name="L1432"></a><tt class="py-lineno">1432</tt> <tt class="py-line"><tt class="py-comment"></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">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="L1433"></a><tt class="py-lineno">1433</tt> <tt class="py-line"> <tt class="py-comment"># recursion</tt> </tt>
-<a name="L1434"></a><tt class="py-lineno">1434</tt> <tt class="py-line"><tt class="py-comment"></tt> <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="L1435"></a><tt class="py-lineno">1435</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="L1436"></a><tt class="py-lineno">1436</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="L1437"></a><tt class="py-lineno">1437</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="L1438"></a><tt class="py-lineno">1438</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="L1439"></a><tt class="py-lineno">1439</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="L1440"></a><tt class="py-lineno">1440</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="L1441"></a><tt class="py-lineno">1441</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="L1442"></a><tt class="py-lineno">1442</tt> <tt class="py-line"> </tt>
-<a name="WatchManager.update_watch"></a><div id="WatchManager.update_watch-def"><a name="L1443"></a><tt class="py-lineno">1443</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="L1444"></a><tt class="py-lineno">1444</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="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"> Update existing watch(s). Both the mask and the processing</tt> </tt>
-<a name="L1447"></a><tt class="py-lineno">1447</tt> <tt class="py-line"><tt class="py-docstring"> object can be modified.</tt> </tt>
-<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"> @param wd: Watch Descriptor to update. Also accepts a list of</tt> </tt>
-<a name="L1450"></a><tt class="py-lineno">1450</tt> <tt class="py-line"><tt class="py-docstring"> watch descriptors.</tt> </tt>
-<a name="L1451"></a><tt class="py-lineno">1451</tt> <tt class="py-line"><tt class="py-docstring"> @type wd: int or list of int</tt> </tt>
-<a name="L1452"></a><tt class="py-lineno">1452</tt> <tt class="py-line"><tt class="py-docstring"> @param mask: Optional new bitmask of events.</tt> </tt>
-<a name="L1453"></a><tt class="py-lineno">1453</tt> <tt class="py-line"><tt class="py-docstring"> @type mask: int</tt> </tt>
-<a name="L1454"></a><tt class="py-lineno">1454</tt> <tt class="py-line"><tt class="py-docstring"> @param proc_fun: Optional new processing function.</tt> </tt>
-<a name="L1455"></a><tt class="py-lineno">1455</tt> <tt class="py-line"><tt class="py-docstring"> @type proc_fun: function or ProcessEvent instance or instance of</tt> </tt>
-<a name="L1456"></a><tt class="py-lineno">1456</tt> <tt class="py-line"><tt class="py-docstring"> one of its subclasses or callable object.</tt> </tt>
-<a name="L1457"></a><tt class="py-lineno">1457</tt> <tt class="py-line"><tt class="py-docstring"> @param rec: Recursively update watches on every already watched</tt> </tt>
-<a name="L1458"></a><tt class="py-lineno">1458</tt> <tt class="py-line"><tt class="py-docstring"> subdirectories and subfiles.</tt> </tt>
-<a name="L1459"></a><tt class="py-lineno">1459</tt> <tt class="py-line"><tt class="py-docstring"> @type rec: bool</tt> </tt>
-<a name="L1460"></a><tt class="py-lineno">1460</tt> <tt class="py-line"><tt class="py-docstring"> @param auto_add: Automatically add watches on newly created</tt> </tt>
-<a name="L1461"></a><tt class="py-lineno">1461</tt> <tt class="py-line"><tt class="py-docstring"> directories in the watch's path.</tt> </tt>
-<a name="L1462"></a><tt class="py-lineno">1462</tt> <tt class="py-line"><tt class="py-docstring"> @type auto_add: bool</tt> </tt>
-<a name="L1463"></a><tt class="py-lineno">1463</tt> <tt class="py-line"><tt class="py-docstring"> @param quiet: if True raise an WatchManagerError exception on</tt> </tt>
-<a name="L1464"></a><tt class="py-lineno">1464</tt> <tt class="py-line"><tt class="py-docstring"> error. See example not_quiet.py</tt> </tt>
-<a name="L1465"></a><tt class="py-lineno">1465</tt> <tt class="py-line"><tt class="py-docstring"> @type quiet: bool</tt> </tt>
-<a name="L1466"></a><tt class="py-lineno">1466</tt> <tt class="py-line"><tt class="py-docstring"> @return: dict of watch descriptors associated to booleans values.</tt> </tt>
-<a name="L1467"></a><tt class="py-lineno">1467</tt> <tt class="py-line"><tt class="py-docstring"> True if the corresponding wd has been successfully</tt> </tt>
-<a name="L1468"></a><tt class="py-lineno">1468</tt> <tt class="py-line"><tt class="py-docstring"> updated, False otherwise.</tt> </tt>
-<a name="L1469"></a><tt class="py-lineno">1469</tt> <tt class="py-line"><tt class="py-docstring"> @rtype: dict of int: bool</tt> </tt>
-<a name="L1470"></a><tt class="py-lineno">1470</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt>
-<a name="L1471"></a><tt class="py-lineno">1471</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-215" class="py-name"><a title="pyinotify.WatchManager.__format_param" class="py-name" href="#" onclick="return doclink('link-215', '__format_param', 'link-207');">__format_param</a></tt><tt class="py-op">(</tt><tt class="py-name">wd</tt><tt class="py-op">)</tt> </tt>
-<a name="L1472"></a><tt class="py-lineno">1472</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="L1473"></a><tt class="py-lineno">1473</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-216" 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-216', '__get_sub_rec', 'link-216');">__get_sub_rec</a></tt><tt class="py-op">(</tt><tt class="py-name">lwd</tt><tt class="py-op">)</tt> </tt>
-<a name="L1474"></a><tt class="py-lineno">1474</tt> <tt class="py-line"> </tt>
-<a name="L1475"></a><tt class="py-lineno">1475</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="L1476"></a><tt class="py-lineno">1476</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="L1477"></a><tt class="py-lineno">1477</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-217" class="py-name"><a title="pyinotify.WatchManager.get_path" class="py-name" href="#" onclick="return doclink('link-217', 'get_path', 'link-214');">get_path</a></tt><tt class="py-op">(</tt><tt class="py-name">awd</tt><tt class="py-op">)</tt> </tt>
-<a name="L1478"></a><tt class="py-lineno">1478</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="L1479"></a><tt class="py-lineno">1479</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="L1480"></a><tt class="py-lineno">1480</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="L1481"></a><tt class="py-lineno">1481</tt> <tt class="py-line"> <tt id="link-218" class="py-name"><a title="pyinotify.log" class="py-name" href="#" onclick="return doclink('link-218', 'log', 'link-1');">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="L1482"></a><tt class="py-lineno">1482</tt> <tt class="py-line"> <tt class="py-keyword">continue</tt> </tt>
-<a name="L1483"></a><tt class="py-lineno">1483</tt> <tt class="py-line"> <tt class="py-keyword">raise</tt> <tt id="link-219" class="py-name"><a title="pyinotify.WatchManagerError" class="py-name" href="#" onclick="return doclink('link-219', 'WatchManagerError', 'link-213');">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="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-keyword">if</tt> <tt class="py-name">mask</tt><tt class="py-op">:</tt> </tt>
-<a name="L1486"></a><tt class="py-lineno">1486</tt> <tt class="py-line"> <tt class="py-name">addw</tt> <tt class="py-op">=</tt> <tt id="link-220" class="py-name"><a title="pyinotify.LIBC" class="py-name" href="#" onclick="return doclink('link-220', 'LIBC', 'link-0');">LIBC</a></tt><tt class="py-op">.</tt><tt class="py-name">inotify_add_watch</tt> </tt>
-<a name="L1487"></a><tt class="py-lineno">1487</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>
-<a name="L1488"></a><tt class="py-lineno">1488</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">apath</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-name">mask</tt><tt class="py-op">)</tt> </tt>
-<a name="L1490"></a><tt class="py-lineno">1490</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="L1491"></a><tt class="py-lineno">1491</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="L1492"></a><tt class="py-lineno">1492</tt> <tt class="py-line"> <tt class="py-name">err</tt> <tt class="py-op">=</tt> <tt class="py-string">'update_watch: cannot update WD=%d (%s)'</tt> <tt class="py-op">%</tt> <tt class="py-op">(</tt><tt class="py-name">wd_</tt><tt class="py-op">,</tt> </tt>
-<a name="L1493"></a><tt class="py-lineno">1493</tt> <tt class="py-line"> <tt class="py-name">apath</tt><tt class="py-op">)</tt> </tt>
-<a name="L1494"></a><tt class="py-lineno">1494</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="L1495"></a><tt class="py-lineno">1495</tt> <tt class="py-line"> <tt id="link-221" class="py-name"><a title="pyinotify.log" class="py-name" href="#" onclick="return doclink('link-221', 'log', 'link-1');">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="L1496"></a><tt class="py-lineno">1496</tt> <tt class="py-line"> <tt class="py-keyword">continue</tt> </tt>
-<a name="L1497"></a><tt class="py-lineno">1497</tt> <tt class="py-line"> <tt class="py-keyword">raise</tt> <tt id="link-222" class="py-name"><a title="pyinotify.WatchManagerError" class="py-name" href="#" onclick="return doclink('link-222', 'WatchManagerError', 'link-213');">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="L1498"></a><tt class="py-lineno">1498</tt> <tt class="py-line"> </tt>
-<a name="L1499"></a><tt class="py-lineno">1499</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="L1500"></a><tt class="py-lineno">1500</tt> <tt class="py-line"> </tt>
-<a name="L1501"></a><tt class="py-lineno">1501</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt id="link-223" class="py-name"><a title="pyinotify.Notifier.proc_fun" class="py-name" href="#" onclick="return doclink('link-223', 'proc_fun', 'link-112');">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="L1502"></a><tt class="py-lineno">1502</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="L1503"></a><tt class="py-lineno">1503</tt> <tt class="py-line"> </tt>
-<a name="L1504"></a><tt class="py-lineno">1504</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt id="link-224" class="py-name"><a title="pyinotify.Notifier.proc_fun" class="py-name" href="#" onclick="return doclink('link-224', 'proc_fun', 'link-112');">proc_fun</a></tt><tt class="py-op">:</tt> </tt>
-<a name="L1505"></a><tt class="py-lineno">1505</tt> <tt class="py-line"> <tt class="py-name">watch_</tt><tt class="py-op">.</tt><tt id="link-225" class="py-name"><a title="pyinotify.Notifier.proc_fun" class="py-name" href="#" onclick="return doclink('link-225', 'proc_fun', 'link-112');">proc_fun</a></tt> <tt class="py-op">=</tt> <tt id="link-226" class="py-name"><a title="pyinotify.Notifier.proc_fun" class="py-name" href="#" onclick="return doclink('link-226', 'proc_fun', 'link-112');">proc_fun</a></tt> </tt>
-<a name="L1506"></a><tt class="py-lineno">1506</tt> <tt class="py-line"> </tt>
-<a name="L1507"></a><tt class="py-lineno">1507</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="L1508"></a><tt class="py-lineno">1508</tt> <tt class="py-line"> <tt class="py-name">watch_</tt><tt class="py-op">.</tt><tt id="link-227" class="py-name"><a title="pyinotify.Notifier.proc_fun" class="py-name" href="#" onclick="return doclink('link-227', 'proc_fun', 'link-112');">proc_fun</a></tt> <tt class="py-op">=</tt> <tt class="py-name">auto_add</tt> </tt>
-<a name="L1509"></a><tt class="py-lineno">1509</tt> <tt class="py-line"> </tt>
-<a name="L1510"></a><tt class="py-lineno">1510</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="L1511"></a><tt class="py-lineno">1511</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-1');">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="L1512"></a><tt class="py-lineno">1512</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-name">ret_</tt> </tt>
-</div><a name="L1513"></a><tt class="py-lineno">1513</tt> <tt class="py-line"> </tt>
-<a name="WatchManager.__format_param"></a><div id="WatchManager.__format_param-def"><a name="L1514"></a><tt class="py-lineno">1514</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="L1515"></a><tt class="py-lineno">1515</tt> <tt class="py-line"> <tt class="py-docstring">"""</tt> </tt>
-<a name="L1516"></a><tt class="py-lineno">1516</tt> <tt class="py-line"><tt class="py-docstring"> @param param: Parameter.</tt> </tt>
-<a name="L1517"></a><tt class="py-lineno">1517</tt> <tt class="py-line"><tt class="py-docstring"> @type param: string or int</tt> </tt>
-<a name="L1518"></a><tt class="py-lineno">1518</tt> <tt class="py-line"><tt class="py-docstring"> @return: wrap param.</tt> </tt>
-<a name="L1519"></a><tt class="py-lineno">1519</tt> <tt class="py-line"><tt class="py-docstring"> @rtype: list of type(param)</tt> </tt>
-<a name="L1520"></a><tt class="py-lineno">1520</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt>
-<a name="L1521"></a><tt class="py-lineno">1521</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="L1522"></a><tt class="py-lineno">1522</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="L1523"></a><tt class="py-lineno">1523</tt> <tt class="py-line"> <tt class="py-keyword">yield</tt> <tt class="py-name">p_</tt> </tt>
-<a name="L1524"></a><tt class="py-lineno">1524</tt> <tt class="py-line"> <tt class="py-keyword">else</tt><tt class="py-op">:</tt> </tt>
-<a name="L1525"></a><tt class="py-lineno">1525</tt> <tt class="py-line"> <tt class="py-keyword">yield</tt> <tt class="py-name">param</tt> </tt>
-</div><a name="L1526"></a><tt class="py-lineno">1526</tt> <tt class="py-line"> </tt>
-<a name="WatchManager.get_wd"></a><div id="WatchManager.get_wd-def"><a name="L1527"></a><tt class="py-lineno">1527</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="L1528"></a><tt class="py-lineno">1528</tt> <tt class="py-line"> <tt class="py-docstring">"""</tt> </tt>
-<a name="L1529"></a><tt class="py-lineno">1529</tt> <tt class="py-line"><tt class="py-docstring"> Returns the watch descriptor associated to path. This method</tt> </tt>
-<a name="L1530"></a><tt class="py-lineno">1530</tt> <tt class="py-line"><tt class="py-docstring"> has an prohibitive cost, always prefer to keep the WD.</tt> </tt>
-<a name="L1531"></a><tt class="py-lineno">1531</tt> <tt class="py-line"><tt class="py-docstring"> If path is unknown None is returned.</tt> </tt>
-<a name="L1532"></a><tt class="py-lineno">1532</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
-<a name="L1533"></a><tt class="py-lineno">1533</tt> <tt class="py-line"><tt class="py-docstring"> @param path: path.</tt> </tt>
-<a name="L1534"></a><tt class="py-lineno">1534</tt> <tt class="py-line"><tt class="py-docstring"> @type path: str</tt> </tt>
-<a name="L1535"></a><tt class="py-lineno">1535</tt> <tt class="py-line"><tt class="py-docstring"> @return: WD or None.</tt> </tt>
-<a name="L1536"></a><tt class="py-lineno">1536</tt> <tt class="py-line"><tt class="py-docstring"> @rtype: int or None</tt> </tt>
-<a name="L1537"></a><tt class="py-lineno">1537</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt>
-<a name="L1538"></a><tt class="py-lineno">1538</tt> <tt class="py-line"> <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">normpath</tt><tt class="py-op">(</tt><tt class="py-name">path</tt><tt class="py-op">)</tt> </tt>
-<a name="L1539"></a><tt class="py-lineno">1539</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">iteritems</tt><tt class="py-op">(</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
-<a name="L1540"></a><tt class="py-lineno">1540</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="L1541"></a><tt class="py-lineno">1541</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>
-<a name="L1542"></a><tt class="py-lineno">1542</tt> <tt class="py-line"> <tt id="link-229" class="py-name"><a title="pyinotify.log" class="py-name" href="#" onclick="return doclink('link-229', 'log', 'link-1');">log</a></tt><tt class="py-op">.</tt><tt class="py-name">debug</tt><tt class="py-op">(</tt><tt class="py-string">'get_wd: unknown path %s'</tt> <tt class="py-op">%</tt> <tt class="py-name">path</tt><tt class="py-op">)</tt> </tt>
-</div><a name="L1543"></a><tt class="py-lineno">1543</tt> <tt class="py-line"> </tt>
-<a name="WatchManager.get_path"></a><div id="WatchManager.get_path-def"><a name="L1544"></a><tt class="py-lineno">1544</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="L1545"></a><tt class="py-lineno">1545</tt> <tt class="py-line"> <tt class="py-docstring">"""</tt> </tt>
-<a name="L1546"></a><tt class="py-lineno">1546</tt> <tt class="py-line"><tt class="py-docstring"> Returns the path associated to WD, if WD is unknown</tt> </tt>
-<a name="L1547"></a><tt class="py-lineno">1547</tt> <tt class="py-line"><tt class="py-docstring"> None is returned.</tt> </tt>
-<a name="L1548"></a><tt class="py-lineno">1548</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
-<a name="L1549"></a><tt class="py-lineno">1549</tt> <tt class="py-line"><tt class="py-docstring"> @param wd: watch descriptor.</tt> </tt>
-<a name="L1550"></a><tt class="py-lineno">1550</tt> <tt class="py-line"><tt class="py-docstring"> @type wd: int</tt> </tt>
-<a name="L1551"></a><tt class="py-lineno">1551</tt> <tt class="py-line"><tt class="py-docstring"> @return: path or None.</tt> </tt>
-<a name="L1552"></a><tt class="py-lineno">1552</tt> <tt class="py-line"><tt class="py-docstring"> @rtype: string or None</tt> </tt>
-<a name="L1553"></a><tt class="py-lineno">1553</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt>
-<a name="L1554"></a><tt class="py-lineno">1554</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="L1555"></a><tt class="py-lineno">1555</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">watch_</tt><tt class="py-op">:</tt> </tt>
-<a name="L1556"></a><tt class="py-lineno">1556</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>
-<a name="L1557"></a><tt class="py-lineno">1557</tt> <tt class="py-line"> <tt id="link-230" class="py-name"><a title="pyinotify.log" class="py-name" href="#" onclick="return doclink('link-230', 'log', 'link-1');">log</a></tt><tt class="py-op">.</tt><tt class="py-name">debug</tt><tt class="py-op">(</tt><tt class="py-string">'get_path: unknown WD %d'</tt> <tt class="py-op">%</tt> <tt class="py-name">wd</tt><tt class="py-op">)</tt> </tt>
-</div><a name="L1558"></a><tt class="py-lineno">1558</tt> <tt class="py-line"> </tt>
-<a name="WatchManager.__walk_rec"></a><div id="WatchManager.__walk_rec-def"><a name="L1559"></a><tt class="py-lineno">1559</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="L1560"></a><tt class="py-lineno">1560</tt> <tt class="py-line"> <tt class="py-docstring">"""</tt> </tt>
-<a name="L1561"></a><tt class="py-lineno">1561</tt> <tt class="py-line"><tt class="py-docstring"> Yields each subdirectories of top, doesn't follow symlinks.</tt> </tt>
-<a name="L1562"></a><tt class="py-lineno">1562</tt> <tt class="py-line"><tt class="py-docstring"> If rec is false, only yield top.</tt> </tt>
-<a name="L1563"></a><tt class="py-lineno">1563</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
-<a name="L1564"></a><tt class="py-lineno">1564</tt> <tt class="py-line"><tt class="py-docstring"> @param top: root directory.</tt> </tt>
-<a name="L1565"></a><tt class="py-lineno">1565</tt> <tt class="py-line"><tt class="py-docstring"> @type top: string</tt> </tt>
-<a name="L1566"></a><tt class="py-lineno">1566</tt> <tt class="py-line"><tt class="py-docstring"> @param rec: recursive flag.</tt> </tt>
-<a name="L1567"></a><tt class="py-lineno">1567</tt> <tt class="py-line"><tt class="py-docstring"> @type rec: bool</tt> </tt>
-<a name="L1568"></a><tt class="py-lineno">1568</tt> <tt class="py-line"><tt class="py-docstring"> @return: path of one subdirectory.</tt> </tt>
-<a name="L1569"></a><tt class="py-lineno">1569</tt> <tt class="py-line"><tt class="py-docstring"> @rtype: string</tt> </tt>
-<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-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="L1572"></a><tt class="py-lineno">1572</tt> <tt class="py-line"> <tt class="py-keyword">yield</tt> <tt class="py-name">top</tt> </tt>
-<a name="L1573"></a><tt class="py-lineno">1573</tt> <tt class="py-line"> <tt class="py-keyword">else</tt><tt class="py-op">:</tt> </tt>
-<a name="L1574"></a><tt class="py-lineno">1574</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="L1575"></a><tt class="py-lineno">1575</tt> <tt class="py-line"> <tt class="py-keyword">yield</tt> <tt class="py-name">root</tt> </tt>
-</div><a name="L1576"></a><tt class="py-lineno">1576</tt> <tt class="py-line"> </tt>
-<a name="WatchManager.rm_watch"></a><div id="WatchManager.rm_watch-def"><a name="L1577"></a><tt class="py-lineno">1577</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="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"> Removes watch(s).</tt> </tt>
-<a name="L1580"></a><tt class="py-lineno">1580</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
-<a name="L1581"></a><tt class="py-lineno">1581</tt> <tt class="py-line"><tt class="py-docstring"> @param wd: Watch Descriptor of the file or directory to unwatch.</tt> </tt>
-<a name="L1582"></a><tt class="py-lineno">1582</tt> <tt class="py-line"><tt class="py-docstring"> Also accepts a list of WDs.</tt> </tt>
-<a name="L1583"></a><tt class="py-lineno">1583</tt> <tt class="py-line"><tt class="py-docstring"> @type wd: int or list of int.</tt> </tt>
-<a name="L1584"></a><tt class="py-lineno">1584</tt> <tt class="py-line"><tt class="py-docstring"> @param rec: Recursively removes watches on every already watched</tt> </tt>
-<a name="L1585"></a><tt class="py-lineno">1585</tt> <tt class="py-line"><tt class="py-docstring"> subdirectories and subfiles.</tt> </tt>
-<a name="L1586"></a><tt class="py-lineno">1586</tt> <tt class="py-line"><tt class="py-docstring"> @type rec: bool</tt> </tt>
-<a name="L1587"></a><tt class="py-lineno">1587</tt> <tt class="py-line"><tt class="py-docstring"> @param quiet: if True raise an WatchManagerError exception on</tt> </tt>
-<a name="L1588"></a><tt class="py-lineno">1588</tt> <tt class="py-line"><tt class="py-docstring"> error. See example not_quiet.py</tt> </tt>
-<a name="L1589"></a><tt class="py-lineno">1589</tt> <tt class="py-line"><tt class="py-docstring"> @type quiet: bool</tt> </tt>
-<a name="L1590"></a><tt class="py-lineno">1590</tt> <tt class="py-line"><tt class="py-docstring"> @return: dict of watch descriptors associated to booleans values.</tt> </tt>
-<a name="L1591"></a><tt class="py-lineno">1591</tt> <tt class="py-line"><tt class="py-docstring"> True if the corresponding wd has been successfully</tt> </tt>
-<a name="L1592"></a><tt class="py-lineno">1592</tt> <tt class="py-line"><tt class="py-docstring"> removed, False otherwise.</tt> </tt>
-<a name="L1593"></a><tt class="py-lineno">1593</tt> <tt class="py-line"><tt class="py-docstring"> @rtype: dict of int: bool</tt> </tt>
-<a name="L1594"></a><tt class="py-lineno">1594</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt>
-<a name="L1595"></a><tt class="py-lineno">1595</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-231" class="py-name"><a title="pyinotify.WatchManager.__format_param" class="py-name" href="#" onclick="return doclink('link-231', '__format_param', 'link-207');">__format_param</a></tt><tt class="py-op">(</tt><tt class="py-name">wd</tt><tt class="py-op">)</tt> </tt>
-<a name="L1596"></a><tt class="py-lineno">1596</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="L1597"></a><tt class="py-lineno">1597</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-232" class="py-name"><a title="pyinotify.WatchManager.__get_sub_rec" class="py-name" href="#" onclick="return doclink('link-232', '__get_sub_rec', 'link-216');">__get_sub_rec</a></tt><tt class="py-op">(</tt><tt class="py-name">lwd</tt><tt class="py-op">)</tt> </tt>
-<a name="L1598"></a><tt class="py-lineno">1598</tt> <tt class="py-line"> </tt>
-<a name="L1599"></a><tt class="py-lineno">1599</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="L1600"></a><tt class="py-lineno">1600</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="L1601"></a><tt class="py-lineno">1601</tt> <tt class="py-line"> <tt class="py-comment"># remove watch</tt> </tt>
-<a name="L1602"></a><tt class="py-lineno">1602</tt> <tt class="py-line"><tt class="py-comment"></tt> <tt class="py-name">wd_</tt> <tt class="py-op">=</tt> <tt id="link-233" class="py-name"><a title="pyinotify.LIBC" class="py-name" href="#" onclick="return doclink('link-233', 'LIBC', 'link-0');">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="L1603"></a><tt class="py-lineno">1603</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="L1604"></a><tt class="py-lineno">1604</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="L1605"></a><tt class="py-lineno">1605</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'</tt> <tt class="py-op">%</tt> <tt class="py-name">awd</tt> </tt>
-<a name="L1606"></a><tt class="py-lineno">1606</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="L1607"></a><tt class="py-lineno">1607</tt> <tt class="py-line"> <tt id="link-234" class="py-name"><a title="pyinotify.log" class="py-name" href="#" onclick="return doclink('link-234', 'log', 'link-1');">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="L1608"></a><tt class="py-lineno">1608</tt> <tt class="py-line"> <tt class="py-keyword">continue</tt> </tt>
-<a name="L1609"></a><tt class="py-lineno">1609</tt> <tt class="py-line"> <tt class="py-keyword">raise</tt> <tt id="link-235" class="py-name"><a title="pyinotify.WatchManagerError" class="py-name" href="#" onclick="return doclink('link-235', 'WatchManagerError', 'link-213');">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="L1610"></a><tt class="py-lineno">1610</tt> <tt class="py-line"> </tt>
-<a name="L1611"></a><tt class="py-lineno">1611</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="L1612"></a><tt class="py-lineno">1612</tt> <tt class="py-line"> <tt id="link-236" class="py-name"><a title="pyinotify.log" class="py-name" href="#" onclick="return doclink('link-236', 'log', 'link-1');">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-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-237" class="py-name"><a title="pyinotify.WatchManager.get_path" class="py-name" href="#" onclick="return doclink('link-237', 'get_path', 'link-214');">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 class="py-op">)</tt> </tt>
-<a name="L1613"></a><tt class="py-lineno">1613</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-name">ret_</tt> </tt>
-</div><a name="L1614"></a><tt class="py-lineno">1614</tt> <tt class="py-line"> </tt>
-<a name="L1615"></a><tt class="py-lineno">1615</tt> <tt class="py-line"> </tt>
-<a name="WatchManager.watch_transient_file"></a><div id="WatchManager.watch_transient_file-def"><a name="L1616"></a><tt class="py-lineno">1616</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="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"> Watch a transient file, which will be created and deleted frequently</tt> </tt>
-<a name="L1619"></a><tt class="py-lineno">1619</tt> <tt class="py-line"><tt class="py-docstring"> over time (e.g. pid file).</tt> </tt>
-<a name="L1620"></a><tt class="py-lineno">1620</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
-<a name="L1621"></a><tt class="py-lineno">1621</tt> <tt class="py-line"><tt class="py-docstring"> @param filename: Filename.</tt> </tt>
-<a name="L1622"></a><tt class="py-lineno">1622</tt> <tt class="py-line"><tt class="py-docstring"> @type filename: string</tt> </tt>
-<a name="L1623"></a><tt class="py-lineno">1623</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="L1624"></a><tt class="py-lineno">1624</tt> <tt class="py-line"><tt class="py-docstring"> @type mask: int</tt> </tt>
-<a name="L1625"></a><tt class="py-lineno">1625</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="L1626"></a><tt class="py-lineno">1626</tt> <tt class="py-line"><tt class="py-docstring"> accepting a ProcessEvent's instance as argument into</tt> </tt>
-<a name="L1627"></a><tt class="py-lineno">1627</tt> <tt class="py-line"><tt class="py-docstring"> __init__, see transient_file.py example for more</tt> </tt>
-<a name="L1628"></a><tt class="py-lineno">1628</tt> <tt class="py-line"><tt class="py-docstring"> details.</tt> </tt>
-<a name="L1629"></a><tt class="py-lineno">1629</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="L1630"></a><tt class="py-lineno">1630</tt> <tt class="py-line"><tt class="py-docstring"> @return: See add_watch().</tt> </tt>
-<a name="L1631"></a><tt class="py-lineno">1631</tt> <tt class="py-line"><tt class="py-docstring"> @rtype: See add_watch().</tt> </tt>
-<a name="L1632"></a><tt class="py-lineno">1632</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt>
-<a name="L1633"></a><tt class="py-lineno">1633</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="L1634"></a><tt class="py-lineno">1634</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="L1635"></a><tt class="py-lineno">1635</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="L1636"></a><tt class="py-lineno">1636</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="L1637"></a><tt class="py-lineno">1637</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="L1638"></a><tt class="py-lineno">1638</tt> <tt class="py-line"><tt class="py-comment"></tt> <tt class="py-name">mask</tt> <tt class="py-op">|=</tt> <tt id="link-238" class="py-name"><a title="pyinotify.IN_CREATE" class="py-name" href="#" onclick="return doclink('link-238', 'IN_CREATE', 'link-119');">IN_CREATE</a></tt> <tt class="py-op">|</tt> <tt id="link-239" 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-239', 'IN_DELETE', 'link-239');">IN_DELETE</a></tt> </tt>
-<a name="L1639"></a><tt class="py-lineno">1639</tt> <tt class="py-line"> </tt>
-<a name="L1640"></a><tt class="py-lineno">1640</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="L1641"></a><tt class="py-lineno">1641</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-240" class="py-name"><a title="pyinotify.name" class="py-name" href="#" onclick="return doclink('link-240', 'name', 'link-29');">name</a></tt> </tt>
-</div><a name="L1642"></a><tt class="py-lineno">1642</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-241" class="py-name"><a title="pyinotify.WatchManager.add_watch" class="py-name" href="#" onclick="return doclink('link-241', 'add_watch', 'link-110');">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="L1643"></a><tt class="py-lineno">1643</tt> <tt class="py-line"> <tt id="link-242" class="py-name"><a title="pyinotify.Notifier.proc_fun" class="py-name" href="#" onclick="return doclink('link-242', 'proc_fun', 'link-112');">proc_fun</a></tt><tt class="py-op">=</tt><tt class="py-name">proc_class</tt><tt class="py-op">(</tt><tt id="link-243" class="py-name" targets="Class pyinotify.ChainIf=pyinotify.ChainIf-class.html"><a title="pyinotify.ChainIf" class="py-name" href="#" onclick="return doclink('link-243', 'ChainIf', 'link-243');">ChainIf</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="L1644"></a><tt class="py-lineno">1644</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="L1645"></a><tt class="py-lineno">1645</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>
-</div></div><a name="L1646"></a><tt class="py-lineno">1646</tt> <tt class="py-line"> </tt>
+pyinotify._SysProcessEvent.__init__" class="py-name" href="#" onclick="return doclink('link-212', '__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="L1333"></a><tt class="py-lineno">1333</tt> <tt class="py-line"> </tt>
+<a name="L1334"></a><tt class="py-lineno">1334</tt> <tt class="py-line"> </tt>
+<a name="WatchManager"></a><div id="WatchManager-def"><a name="L1335"></a><tt class="py-lineno">1335</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="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"> Provide operations for watching files and directories. Integrated</tt> </tt>
+<a name="L1338"></a><tt class="py-lineno">1338</tt> <tt class="py-line"><tt class="py-docstring"> dictionary is used to reference watched items.</tt> </tt>
+<a name="L1339"></a><tt class="py-lineno">1339</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt>
+<a name="WatchManager.__init__"></a><div id="WatchManager.__init__-def"><a name="L1340"></a><tt class="py-lineno">1340</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="L1341"></a><tt class="py-lineno">1341</tt> <tt class="py-line"> <tt class="py-docstring">"""</tt> </tt>
+<a name="L1342"></a><tt class="py-lineno">1342</tt> <tt class="py-line"><tt class="py-docstring"> Initialization: init inotify, init watch manager dictionary.</tt> </tt>
+<a name="L1343"></a><tt class="py-lineno">1343</tt> <tt class="py-line"><tt class="py-docstring"> Raise OSError if initialization fails.</tt> </tt>
+<a name="L1344"></a><tt class="py-lineno">1344</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
+<a name="L1345"></a><tt class="py-lineno">1345</tt> <tt class="py-line"><tt class="py-docstring"> @param exclude_filter: boolean function, returns True if current</tt> </tt>
+<a name="L1346"></a><tt class="py-lineno">1346</tt> <tt class="py-line"><tt class="py-docstring"> path must be excluded from being watched.</tt> </tt>
+<a name="L1347"></a><tt class="py-lineno">1347</tt> <tt class="py-line"><tt class="py-docstring"> Convenient for providing a common exclusion</tt> </tt>
+<a name="L1348"></a><tt class="py-lineno">1348</tt> <tt class="py-line"><tt class="py-docstring"> filter for every call to add_watch.</tt> </tt>
+<a name="L1349"></a><tt class="py-lineno">1349</tt> <tt class="py-line"><tt class="py-docstring"> @type exclude_filter: bool</tt> </tt>
+<a name="L1350"></a><tt class="py-lineno">1350</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt>
+<a name="L1351"></a><tt class="py-lineno">1351</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="L1352"></a><tt class="py-lineno">1352</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="L1353"></a><tt class="py-lineno">1353</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-213" class="py-name"><a title="pyinotify.LIBC" class="py-name" href="#" onclick="return doclink('link-213', 'LIBC', 'link-6');">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="L1354"></a><tt class="py-lineno">1354</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="L1355"></a><tt class="py-lineno">1355</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-op">)</tt> </tt>
+</div><a name="L1356"></a><tt class="py-lineno">1356</tt> <tt class="py-line"> </tt>
+<a name="WatchManager.__add_watch"></a><div id="WatchManager.__add_watch-def"><a name="L1357"></a><tt class="py-lineno">1357</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-op">:</tt> </tt>
+</div><div id="WatchManager.__add_watch-collapsed" style="display:none;" pad="++++" indent="++++++++"></div><div id="WatchManager.__add_watch-expanded"><a name="L1358"></a><tt class="py-lineno">1358</tt> <tt class="py-line"> <tt class="py-docstring">"""</tt> </tt>
+<a name="L1359"></a><tt class="py-lineno">1359</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="L1360"></a><tt class="py-lineno">1360</tt> <tt class="py-line"><tt class="py-docstring"> watch manager dictionary. Return the wd value.</tt> </tt>
+<a name="L1361"></a><tt class="py-lineno">1361</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt>
+<a name="L1362"></a><tt class="py-lineno">1362</tt> <tt class="py-line"> <tt class="py-name">wd_</tt> <tt class="py-op">=</tt> <tt id="link-214" class="py-name"><a title="pyinotify.LIBC" class="py-name" href="#" onclick="return doclink('link-214', 'LIBC', 'link-6');">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="L1363"></a><tt class="py-lineno">1363</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">path</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-name">mask</tt><tt class="py-op">)</tt> </tt>
+<a name="L1365"></a><tt class="py-lineno">1365</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="L1366"></a><tt class="py-lineno">1366</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-name">wd_</tt> </tt>
+<a name="L1367"></a><tt class="py-lineno">1367</tt> <tt class="py-line"> <tt class="py-name">watch_</tt> <tt class="py-op">=</tt> <tt id="link-215" class="py-name" targets="Class pyinotify.Watch=pyinotify.Watch-class.html"><a title="pyinotify.Watch" class="py-name" href="#" onclick="return doclink('link-215', 'Watch', 'link-215');">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">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 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>
+<a name="L1368"></a><tt class="py-lineno">1368</tt> <tt class="py-line"> <tt id="link-216" class="py-name"><a title="pyinotify.Notifier.proc_fun" class="py-name" href="#" onclick="return doclink('link-216', 'proc_fun', 'link-124');">proc_fun</a></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-124');">proc_fun</a></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 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">_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="L1370"></a><tt class="py-lineno">1370</tt> <tt class="py-line"> <tt id="link-218" class="py-name"><a title="pyinotify.log" class="py-name" href="#" onclick="return doclink('link-218', 'log', 'link-13');">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="L1371"></a><tt class="py-lineno">1371</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-name">wd_</tt> </tt>
+</div><a name="L1372"></a><tt class="py-lineno">1372</tt> <tt class="py-line"> </tt>
+<a name="WatchManager.__glob"></a><div id="WatchManager.__glob-def"><a name="L1373"></a><tt class="py-lineno">1373</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="L1374"></a><tt class="py-lineno">1374</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="L1375"></a><tt class="py-lineno">1375</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt id="link-219" class="py-name"><a title="pyinotify.iglob" class="py-name" href="#" onclick="return doclink('link-219', 'iglob', 'link-36');">iglob</a></tt><tt class="py-op">(</tt><tt class="py-name">path</tt><tt class="py-op">)</tt> </tt>
+<a name="L1376"></a><tt class="py-lineno">1376</tt> <tt class="py-line"> <tt class="py-keyword">else</tt><tt class="py-op">:</tt> </tt>
+<a name="L1377"></a><tt class="py-lineno">1377</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="L1378"></a><tt class="py-lineno">1378</tt> <tt class="py-line"> </tt>
+<a name="WatchManager.add_watch"></a><div id="WatchManager.add_watch-def"><a name="L1379"></a><tt class="py-lineno">1379</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="L1380"></a><tt class="py-lineno">1380</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="L1381"></a><tt class="py-lineno">1381</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="L1382"></a><tt class="py-lineno">1382</tt> <tt class="py-line"> <tt class="py-docstring">"""</tt> </tt>
+<a name="L1383"></a><tt class="py-lineno">1383</tt> <tt class="py-line"><tt class="py-docstring"> Add watch(s) on given path(s) with the specified mask and</tt> </tt>
+<a name="L1384"></a><tt class="py-lineno">1384</tt> <tt class="py-line"><tt class="py-docstring"> optionnally with a processing function and recursive flag.</tt> </tt>
+<a name="L1385"></a><tt class="py-lineno">1385</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
+<a name="L1386"></a><tt class="py-lineno">1386</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="L1387"></a><tt class="py-lineno">1387</tt> <tt class="py-line"><tt class="py-docstring"> directory. Also accepts a sequence (list) of paths.</tt> </tt>
+<a name="L1388"></a><tt class="py-lineno">1388</tt> <tt class="py-line"><tt class="py-docstring"> @type path: string or list of string</tt> </tt>
+<a name="L1389"></a><tt class="py-lineno">1389</tt> <tt class="py-line"><tt class="py-docstring"> @param mask: Bitmask of events.</tt> </tt>
+<a name="L1390"></a><tt class="py-lineno">1390</tt> <tt class="py-line"><tt class="py-docstring"> @type mask: int</tt> </tt>
+<a name="L1391"></a><tt class="py-lineno">1391</tt> <tt class="py-line"><tt class="py-docstring"> @param proc_fun: Processing object.</tt> </tt>
+<a name="L1392"></a><tt class="py-lineno">1392</tt> <tt class="py-line"><tt class="py-docstring"> @type proc_fun: function or ProcessEvent instance or instance of</tt> </tt>
+<a name="L1393"></a><tt class="py-lineno">1393</tt> <tt class="py-line"><tt class="py-docstring"> one of its subclasses or callable object.</tt> </tt>
+<a name="L1394"></a><tt class="py-lineno">1394</tt> <tt class="py-line"><tt class="py-docstring"> @param rec: Recursively add watches from path on all its</tt> </tt>
+<a name="L1395"></a><tt class="py-lineno">1395</tt> <tt class="py-line"><tt class="py-docstring"> subdirectories, set to False by default (doesn't</tt> </tt>
+<a name="L1396"></a><tt class="py-lineno">1396</tt> <tt class="py-line"><tt class="py-docstring"> follows symlinks).</tt> </tt>
+<a name="L1397"></a><tt class="py-lineno">1397</tt> <tt class="py-line"><tt class="py-docstring"> @type rec: bool</tt> </tt>
+<a name="L1398"></a><tt class="py-lineno">1398</tt> <tt class="py-line"><tt class="py-docstring"> @param auto_add: Automatically add watches on newly created</tt> </tt>
+<a name="L1399"></a><tt class="py-lineno">1399</tt> <tt class="py-line"><tt class="py-docstring"> directories in the watch's path.</tt> </tt>
+<a name="L1400"></a><tt class="py-lineno">1400</tt> <tt class="py-line"><tt class="py-docstring"> @type auto_add: bool</tt> </tt>
+<a name="L1401"></a><tt class="py-lineno">1401</tt> <tt class="py-line"><tt class="py-docstring"> @param do_glob: Do globbing on pathname.</tt> </tt>
+<a name="L1402"></a><tt class="py-lineno">1402</tt> <tt class="py-line"><tt class="py-docstring"> @type do_glob: bool</tt> </tt>
+<a name="L1403"></a><tt class="py-lineno">1403</tt> <tt class="py-line"><tt class="py-docstring"> @param quiet: if True raise an WatchManagerError exception on</tt> </tt>
+<a name="L1404"></a><tt class="py-lineno">1404</tt> <tt class="py-line"><tt class="py-docstring"> error. See example not_quiet.py</tt> </tt>
+<a name="L1405"></a><tt class="py-lineno">1405</tt> <tt class="py-line"><tt class="py-docstring"> @type quiet: bool</tt> </tt>
+<a name="L1406"></a><tt class="py-lineno">1406</tt> <tt class="py-line"><tt class="py-docstring"> @param exclude_filter: boolean function, returns True if current</tt> </tt>
+<a name="L1407"></a><tt class="py-lineno">1407</tt> <tt class="py-line"><tt class="py-docstring"> path must be excluded from being watched.</tt> </tt>
+<a name="L1408"></a><tt class="py-lineno">1408</tt> <tt class="py-line"><tt class="py-docstring"> Has precedence on exclude_filter defined</tt> </tt>
+<a name="L1409"></a><tt class="py-lineno">1409</tt> <tt class="py-line"><tt class="py-docstring"> into __init__.</tt> </tt>
+<a name="L1410"></a><tt class="py-lineno">1410</tt> <tt class="py-line"><tt class="py-docstring"> @type exclude_filter: bool</tt> </tt>
+<a name="L1411"></a><tt class="py-lineno">1411</tt> <tt class="py-line"><tt class="py-docstring"> @return: dict of paths associated to watch descriptors. A wd value</tt> </tt>
+<a name="L1412"></a><tt class="py-lineno">1412</tt> <tt class="py-line"><tt class="py-docstring"> is positive if the watch has been sucessfully added,</tt> </tt>
+<a name="L1413"></a><tt class="py-lineno">1413</tt> <tt class="py-line"><tt class="py-docstring"> otherwise the value is negative. If the path is invalid</tt> </tt>
+<a name="L1414"></a><tt class="py-lineno">1414</tt> <tt class="py-line"><tt class="py-docstring"> it will be not included into this dict.</tt> </tt>
+<a name="L1415"></a><tt class="py-lineno">1415</tt> <tt class="py-line"><tt class="py-docstring"> @rtype: dict of {str: int}</tt> </tt>
+<a name="L1416"></a><tt class="py-lineno">1416</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt>
+<a name="L1417"></a><tt class="py-lineno">1417</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="L1418"></a><tt class="py-lineno">1418</tt> <tt class="py-line"> </tt>
+<a name="L1419"></a><tt class="py-lineno">1419</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="L1420"></a><tt class="py-lineno">1420</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="L1421"></a><tt class="py-lineno">1421</tt> <tt class="py-line"> </tt>
+<a name="L1422"></a><tt class="py-lineno">1422</tt> <tt class="py-line"> <tt class="py-comment"># normalize args as list elements</tt> </tt>
+<a name="L1423"></a><tt class="py-lineno">1423</tt> <tt class="py-line"><tt class="py-comment"></tt> <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-220" 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-220', '__format_param', 'link-220');">__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="L1424"></a><tt class="py-lineno">1424</tt> <tt class="py-line"> <tt class="py-comment"># unix pathname pattern expansion</tt> </tt>
+<a name="L1425"></a><tt class="py-lineno">1425</tt> <tt class="py-line"><tt class="py-comment"></tt> <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-221" 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-221', '__glob', 'link-221');">__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="L1426"></a><tt class="py-lineno">1426</tt> <tt class="py-line"> <tt class="py-comment"># recursively list subdirs according to rec param</tt> </tt>
+<a name="L1427"></a><tt class="py-lineno">1427</tt> <tt class="py-line"><tt class="py-comment"></tt> <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-222" 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-222', '__walk_rec', 'link-222');">__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="L1428"></a><tt class="py-lineno">1428</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="L1429"></a><tt class="py-lineno">1429</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-223" 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-223', '__add_watch', 'link-223');">__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="L1430"></a><tt class="py-lineno">1430</tt> <tt class="py-line"> <tt id="link-224" class="py-name"><a title="pyinotify.Notifier.proc_fun" class="py-name" href="#" onclick="return doclink('link-224', 'proc_fun', 'link-124');">proc_fun</a></tt><tt class="py-op">,</tt> </tt>
+<a name="L1431"></a><tt class="py-lineno">1431</tt> <tt class="py-line"> <tt class="py-name">auto_add</tt><tt class="py-op">)</tt> </tt>
+<a name="L1432"></a><tt class="py-lineno">1432</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="L1433"></a><tt class="py-lineno">1433</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)'</tt> </tt>
+<a name="L1434"></a><tt class="py-lineno">1434</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>
+<a name="L1435"></a><tt class="py-lineno">1435</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="L1436"></a><tt class="py-lineno">1436</tt> <tt class="py-line"> <tt id="link-225" class="py-name"><a title="pyinotify.log" class="py-name" href="#" onclick="return doclink('link-225', 'log', 'link-13');">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="L1437"></a><tt class="py-lineno">1437</tt> <tt class="py-line"> <tt class="py-keyword">else</tt><tt class="py-op">:</tt> </tt>
+<a name="L1438"></a><tt class="py-lineno">1438</tt> <tt class="py-line"> <tt class="py-keyword">raise</tt> <tt id="link-226" class="py-name" targets="Class pyinotify.WatchManagerError=pyinotify.WatchManagerError-class.html"><a title="pyinotify.WatchManagerError" class="py-name" href="#" onclick="return doclink('link-226', 'WatchManagerError', 'link-226');">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="L1439"></a><tt class="py-lineno">1439</tt> <tt class="py-line"> <tt class="py-keyword">else</tt><tt class="py-op">:</tt> </tt>
+<a name="L1440"></a><tt class="py-lineno">1440</tt> <tt class="py-line"> <tt class="py-comment"># Let's say -2 means 'explicitely excluded</tt> </tt>
+<a name="L1441"></a><tt class="py-lineno">1441</tt> <tt class="py-line"><tt class="py-comment"></tt> <tt class="py-comment"># from watching'.</tt> </tt>
+<a name="L1442"></a><tt class="py-lineno">1442</tt> <tt class="py-line"><tt class="py-comment"></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-op">-</tt><tt class="py-number">2</tt> </tt>
+<a name="L1443"></a><tt class="py-lineno">1443</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-name">ret_</tt> </tt>
+</div><a name="L1444"></a><tt class="py-lineno">1444</tt> <tt class="py-line"> </tt>
+<a name="WatchManager.__get_sub_rec"></a><div id="WatchManager.__get_sub_rec-def"><a name="L1445"></a><tt class="py-lineno">1445</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="L1446"></a><tt class="py-lineno">1446</tt> <tt class="py-line"> <tt class="py-docstring">"""</tt> </tt>
+<a name="L1447"></a><tt class="py-lineno">1447</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="L1448"></a><tt class="py-lineno">1448</tt> <tt class="py-line"><tt class="py-docstring"> one (at least) of those in lpath. Doesn't follow symlinks.</tt> </tt>
+<a name="L1449"></a><tt class="py-lineno">1449</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
+<a name="L1450"></a><tt class="py-lineno">1450</tt> <tt class="py-line"><tt class="py-docstring"> @param lpath: list of watch descriptor</tt> </tt>
+<a name="L1451"></a><tt class="py-lineno">1451</tt> <tt class="py-line"><tt class="py-docstring"> @type lpath: list of int</tt> </tt>
+<a name="L1452"></a><tt class="py-lineno">1452</tt> <tt class="py-line"><tt class="py-docstring"> @return: list of watch descriptor</tt> </tt>
+<a name="L1453"></a><tt class="py-lineno">1453</tt> <tt class="py-line"><tt class="py-docstring"> @rtype: list of int</tt> </tt>
+<a name="L1454"></a><tt class="py-lineno">1454</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt>
+<a name="L1455"></a><tt class="py-lineno">1455</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="L1456"></a><tt class="py-lineno">1456</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-227" 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-227', 'get_path', 'link-227');">get_path</a></tt><tt class="py-op">(</tt><tt class="py-name">d</tt><tt class="py-op">)</tt> </tt>
+<a name="L1457"></a><tt class="py-lineno">1457</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">root</tt><tt class="py-op">:</tt> </tt>
+<a name="L1458"></a><tt class="py-lineno">1458</tt> <tt class="py-line"> <tt class="py-comment"># always keep root</tt> </tt>
+<a name="L1459"></a><tt class="py-lineno">1459</tt> <tt class="py-line"><tt class="py-comment"></tt> <tt class="py-keyword">yield</tt> <tt class="py-name">d</tt> </tt>
+<a name="L1460"></a><tt class="py-lineno">1460</tt> <tt class="py-line"> <tt class="py-keyword">else</tt><tt class="py-op">:</tt> </tt>
+<a name="L1461"></a><tt class="py-lineno">1461</tt> <tt class="py-line"> <tt class="py-comment"># if invalid</tt> </tt>
+<a name="L1462"></a><tt class="py-lineno">1462</tt> <tt class="py-line"><tt class="py-comment"></tt> <tt class="py-keyword">continue</tt> </tt>
+<a name="L1463"></a><tt class="py-lineno">1463</tt> <tt class="py-line"> </tt>
+<a name="L1464"></a><tt class="py-lineno">1464</tt> <tt class="py-line"> <tt class="py-comment"># nothing else to expect</tt> </tt>
+<a name="L1465"></a><tt class="py-lineno">1465</tt> <tt class="py-line"><tt class="py-comment"></tt> <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="L1466"></a><tt class="py-lineno">1466</tt> <tt class="py-line"> <tt class="py-keyword">continue</tt> </tt>
+<a name="L1467"></a><tt class="py-lineno">1467</tt> <tt class="py-line"> </tt>
+<a name="L1468"></a><tt class="py-lineno">1468</tt> <tt class="py-line"> <tt class="py-comment"># normalization</tt> </tt>
+<a name="L1469"></a><tt class="py-lineno">1469</tt> <tt class="py-line"><tt class="py-comment"></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">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="L1470"></a><tt class="py-lineno">1470</tt> <tt class="py-line"> <tt class="py-comment"># recursion</tt> </tt>
+<a name="L1471"></a><tt class="py-lineno">1471</tt> <tt class="py-line"><tt class="py-comment"></tt> <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="L1472"></a><tt class="py-lineno">1472</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="L1473"></a><tt class="py-lineno">1473</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="L1474"></a><tt class="py-lineno">1474</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="L1475"></a><tt class="py-lineno">1475</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="L1476"></a><tt class="py-lineno">1476</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="L1477"></a><tt class="py-lineno">1477</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="L1478"></a><tt class="py-lineno">1478</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="L1479"></a><tt class="py-lineno">1479</tt> <tt class="py-line"> </tt>
+<a name="WatchManager.update_watch"></a><div id="WatchManager.update_watch-def"><a name="L1480"></a><tt class="py-lineno">1480</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="L1481"></a><tt class="py-lineno">1481</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="L1482"></a><tt class="py-lineno">1482</tt> <tt class="py-line"> <tt class="py-docstring">"""</tt> </tt>
+<a name="L1483"></a><tt class="py-lineno">1483</tt> <tt class="py-line"><tt class="py-docstring"> Update existing watch(s). Both the mask and the processing</tt> </tt>
+<a name="L1484"></a><tt class="py-lineno">1484</tt> <tt class="py-line"><tt class="py-docstring"> object can be modified.</tt> </tt>
+<a name="L1485"></a><tt class="py-lineno">1485</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
+<a name="L1486"></a><tt class="py-lineno">1486</tt> <tt class="py-line"><tt class="py-docstring"> @param wd: Watch Descriptor to update. Also accepts a list of</tt> </tt>
+<a name="L1487"></a><tt class="py-lineno">1487</tt> <tt class="py-line"><tt class="py-docstring"> watch descriptors.</tt> </tt>
+<a name="L1488"></a><tt class="py-lineno">1488</tt> <tt class="py-line"><tt class="py-docstring"> @type wd: int or list of int</tt> </tt>
+<a name="L1489"></a><tt class="py-lineno">1489</tt> <tt class="py-line"><tt class="py-docstring"> @param mask: Optional new bitmask of events.</tt> </tt>
+<a name="L1490"></a><tt class="py-lineno">1490</tt> <tt class="py-line"><tt class="py-docstring"> @type mask: int</tt> </tt>
+<a name="L1491"></a><tt class="py-lineno">1491</tt> <tt class="py-line"><tt class="py-docstring"> @param proc_fun: Optional new processing function.</tt> </tt>
+<a name="L1492"></a><tt class="py-lineno">1492</tt> <tt class="py-line"><tt class="py-docstring"> @type proc_fun: function or ProcessEvent instance or instance of</tt> </tt>
+<a name="L1493"></a><tt class="py-lineno">1493</tt> <tt class="py-line"><tt class="py-docstring"> one of its subclasses or callable object.</tt> </tt>
+<a name="L1494"></a><tt class="py-lineno">1494</tt> <tt class="py-line"><tt class="py-docstring"> @param rec: Recursively update watches on every already watched</tt> </tt>
+<a name="L1495"></a><tt class="py-lineno">1495</tt> <tt class="py-line"><tt class="py-docstring"> subdirectories and subfiles.</tt> </tt>
+<a name="L1496"></a><tt class="py-lineno">1496</tt> <tt class="py-line"><tt class="py-docstring"> @type rec: bool</tt> </tt>
+<a name="L1497"></a><tt class="py-lineno">1497</tt> <tt class="py-line"><tt class="py-docstring"> @param auto_add: Automatically add watches on newly created</tt> </tt>
+<a name="L1498"></a><tt class="py-lineno">1498</tt> <tt class="py-line"><tt class="py-docstring"> directories in the watch's path.</tt> </tt>
+<a name="L1499"></a><tt class="py-lineno">1499</tt> <tt class="py-line"><tt class="py-docstring"> @type auto_add: bool</tt> </tt>
+<a name="L1500"></a><tt class="py-lineno">1500</tt> <tt class="py-line"><tt class="py-docstring"> @param quiet: if True raise an WatchManagerError exception on</tt> </tt>
+<a name="L1501"></a><tt class="py-lineno">1501</tt> <tt class="py-line"><tt class="py-docstring"> error. See example not_quiet.py</tt> </tt>
+<a name="L1502"></a><tt class="py-lineno">1502</tt> <tt class="py-line"><tt class="py-docstring"> @type quiet: bool</tt> </tt>
+<a name="L1503"></a><tt class="py-lineno">1503</tt> <tt class="py-line"><tt class="py-docstring"> @return: dict of watch descriptors associated to booleans values.</tt> </tt>
+<a name="L1504"></a><tt class="py-lineno">1504</tt> <tt class="py-line"><tt class="py-docstring"> True if the corresponding wd has been successfully</tt> </tt>
+<a name="L1505"></a><tt class="py-lineno">1505</tt> <tt class="py-line"><tt class="py-docstring"> updated, False otherwise.</tt> </tt>
+<a name="L1506"></a><tt class="py-lineno">1506</tt> <tt class="py-line"><tt class="py-docstring"> @rtype: dict of int: bool</tt> </tt>
+<a name="L1507"></a><tt class="py-lineno">1507</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt>
+<a name="L1508"></a><tt class="py-lineno">1508</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-228" class="py-name"><a title="pyinotify.WatchManager.__format_param" class="py-name" href="#" onclick="return doclink('link-228', '__format_param', 'link-220');">__format_param</a></tt><tt class="py-op">(</tt><tt class="py-name">wd</tt><tt class="py-op">)</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">rec</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">lwd</tt> <tt class="py-op">=</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-229" 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-229', '__get_sub_rec', 'link-229');">__get_sub_rec</a></tt><tt class="py-op">(</tt><tt class="py-name">lwd</tt><tt class="py-op">)</tt> </tt>
+<a name="L1511"></a><tt class="py-lineno">1511</tt> <tt class="py-line"> </tt>
+<a name="L1512"></a><tt class="py-lineno">1512</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="L1513"></a><tt class="py-lineno">1513</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="L1514"></a><tt class="py-lineno">1514</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-230" class="py-name"><a title="pyinotify.WatchManager.get_path" class="py-name" href="#" onclick="return doclink('link-230', 'get_path', 'link-227');">get_path</a></tt><tt class="py-op">(</tt><tt class="py-name">awd</tt><tt class="py-op">)</tt> </tt>
+<a name="L1515"></a><tt class="py-lineno">1515</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="L1516"></a><tt class="py-lineno">1516</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="L1517"></a><tt class="py-lineno">1517</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="L1518"></a><tt class="py-lineno">1518</tt> <tt class="py-line"> <tt id="link-231" class="py-name"><a title="pyinotify.log" class="py-name" href="#" onclick="return doclink('link-231', 'log', 'link-13');">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="L1519"></a><tt class="py-lineno">1519</tt> <tt class="py-line"> <tt class="py-keyword">continue</tt> </tt>
+<a name="L1520"></a><tt class="py-lineno">1520</tt> <tt class="py-line"> <tt class="py-keyword">raise</tt> <tt id="link-232" class="py-name"><a title="pyinotify.WatchManagerError" class="py-name" href="#" onclick="return doclink('link-232', 'WatchManagerError', 'link-226');">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="L1521"></a><tt class="py-lineno">1521</tt> <tt class="py-line"> </tt>
+<a name="L1522"></a><tt class="py-lineno">1522</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="L1523"></a><tt class="py-lineno">1523</tt> <tt class="py-line"> <tt class="py-name">addw</tt> <tt class="py-op">=</tt> <tt id="link-233" class="py-name"><a title="pyinotify.LIBC" class="py-name" href="#" onclick="return doclink('link-233', 'LIBC', 'link-6');">LIBC</a></tt><tt class="py-op">.</tt><tt class="py-name">inotify_add_watch</tt> </tt>
+<a name="L1524"></a><tt class="py-lineno">1524</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>
+<a name="L1525"></a><tt class="py-lineno">1525</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">apath</tt><tt class="py-op">)</tt><tt class="py-op">,</tt> </tt>
+<a name="L1526"></a><tt class="py-lineno">1526</tt> <tt class="py-line"> <tt class="py-name">mask</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-name">wd_</tt> <tt class="py-op">&lt;</tt> <tt class="py-number">0</tt><tt class="py-op">:</tt> </tt>
+<a name="L1528"></a><tt class="py-lineno">1528</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="L1529"></a><tt class="py-lineno">1529</tt> <tt class="py-line"> <tt class="py-name">err</tt> <tt class="py-op">=</tt> <tt class="py-string">'update_watch: cannot update WD=%d (%s)'</tt> <tt class="py-op">%</tt> <tt class="py-op">(</tt><tt class="py-name">wd_</tt><tt class="py-op">,</tt> </tt>
+<a name="L1530"></a><tt class="py-lineno">1530</tt> <tt class="py-line"> <tt class="py-name">apath</tt><tt class="py-op">)</tt> </tt>
+<a name="L1531"></a><tt class="py-lineno">1531</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="L1532"></a><tt class="py-lineno">1532</tt> <tt class="py-line"> <tt id="link-234" class="py-name"><a title="pyinotify.log" class="py-name" href="#" onclick="return doclink('link-234', 'log', 'link-13');">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="L1533"></a><tt class="py-lineno">1533</tt> <tt class="py-line"> <tt class="py-keyword">continue</tt> </tt>
+<a name="L1534"></a><tt class="py-lineno">1534</tt> <tt class="py-line"> <tt class="py-keyword">raise</tt> <tt id="link-235" class="py-name"><a title="pyinotify.WatchManagerError" class="py-name" href="#" onclick="return doclink('link-235', 'WatchManagerError', 'link-226');">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="L1535"></a><tt class="py-lineno">1535</tt> <tt class="py-line"> </tt>
+<a name="L1536"></a><tt class="py-lineno">1536</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="L1537"></a><tt class="py-lineno">1537</tt> <tt class="py-line"> </tt>
+<a name="L1538"></a><tt class="py-lineno">1538</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt id="link-236" class="py-name"><a title="pyinotify.Notifier.proc_fun" class="py-name" href="#" onclick="return doclink('link-236', 'proc_fun', 'link-124');">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="L1539"></a><tt class="py-lineno">1539</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="L1540"></a><tt class="py-lineno">1540</tt> <tt class="py-line"> </tt>
+<a name="L1541"></a><tt class="py-lineno">1541</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt id="link-237" class="py-name"><a title="pyinotify.Notifier.proc_fun" class="py-name" href="#" onclick="return doclink('link-237', 'proc_fun', 'link-124');">proc_fun</a></tt><tt class="py-op">:</tt> </tt>
+<a name="L1542"></a><tt class="py-lineno">1542</tt> <tt class="py-line"> <tt class="py-name">watch_</tt><tt class="py-op">.</tt><tt id="link-238" class="py-name"><a title="pyinotify.Notifier.proc_fun" class="py-name" href="#" onclick="return doclink('link-238', 'proc_fun', 'link-124');">proc_fun</a></tt> <tt class="py-op">=</tt> <tt id="link-239" class="py-name"><a title="pyinotify.Notifier.proc_fun" class="py-name" href="#" onclick="return doclink('link-239', 'proc_fun', 'link-124');">proc_fun</a></tt> </tt>
+<a name="L1543"></a><tt class="py-lineno">1543</tt> <tt class="py-line"> </tt>
+<a name="L1544"></a><tt class="py-lineno">1544</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="L1545"></a><tt class="py-lineno">1545</tt> <tt class="py-line"> <tt class="py-name">watch_</tt><tt class="py-op">.</tt><tt id="link-240" class="py-name"><a title="pyinotify.Notifier.proc_fun" class="py-name" href="#" onclick="return doclink('link-240', 'proc_fun', 'link-124');">proc_fun</a></tt> <tt class="py-op">=</tt> <tt class="py-name">auto_add</tt> </tt>
+<a name="L1546"></a><tt class="py-lineno">1546</tt> <tt class="py-line"> </tt>
+<a name="L1547"></a><tt class="py-lineno">1547</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="L1548"></a><tt class="py-lineno">1548</tt> <tt class="py-line"> <tt id="link-241" class="py-name"><a title="pyinotify.log" class="py-name" href="#" onclick="return doclink('link-241', 'log', 'link-13');">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="L1549"></a><tt class="py-lineno">1549</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-name">ret_</tt> </tt>
+</div><a name="L1550"></a><tt class="py-lineno">1550</tt> <tt class="py-line"> </tt>
+<a name="WatchManager.__format_param"></a><div id="WatchManager.__format_param-def"><a name="L1551"></a><tt class="py-lineno">1551</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="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"> @param param: Parameter.</tt> </tt>
+<a name="L1554"></a><tt class="py-lineno">1554</tt> <tt class="py-line"><tt class="py-docstring"> @type param: string or int</tt> </tt>
+<a name="L1555"></a><tt class="py-lineno">1555</tt> <tt class="py-line"><tt class="py-docstring"> @return: wrap param.</tt> </tt>
+<a name="L1556"></a><tt class="py-lineno">1556</tt> <tt class="py-line"><tt class="py-docstring"> @rtype: list of type(param)</tt> </tt>
+<a name="L1557"></a><tt class="py-lineno">1557</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt>
+<a name="L1558"></a><tt class="py-lineno">1558</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="L1559"></a><tt class="py-lineno">1559</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="L1560"></a><tt class="py-lineno">1560</tt> <tt class="py-line"> <tt class="py-keyword">yield</tt> <tt class="py-name">p_</tt> </tt>
+<a name="L1561"></a><tt class="py-lineno">1561</tt> <tt class="py-line"> <tt class="py-keyword">else</tt><tt class="py-op">:</tt> </tt>
+<a name="L1562"></a><tt class="py-lineno">1562</tt> <tt class="py-line"> <tt class="py-keyword">yield</tt> <tt class="py-name">param</tt> </tt>
+</div><a name="L1563"></a><tt class="py-lineno">1563</tt> <tt class="py-line"> </tt>
+<a name="WatchManager.get_wd"></a><div id="WatchManager.get_wd-def"><a name="L1564"></a><tt class="py-lineno">1564</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="L1565"></a><tt class="py-lineno">1565</tt> <tt class="py-line"> <tt class="py-docstring">"""</tt> </tt>
+<a name="L1566"></a><tt class="py-lineno">1566</tt> <tt class="py-line"><tt class="py-docstring"> Returns the watch descriptor associated to path. This method</tt> </tt>
+<a name="L1567"></a><tt class="py-lineno">1567</tt> <tt class="py-line"><tt class="py-docstring"> has an prohibitive cost, always prefer to keep the WD.</tt> </tt>
+<a name="L1568"></a><tt class="py-lineno">1568</tt> <tt class="py-line"><tt class="py-docstring"> If path is unknown None is returned.</tt> </tt>
+<a name="L1569"></a><tt class="py-lineno">1569</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
+<a name="L1570"></a><tt class="py-lineno">1570</tt> <tt class="py-line"><tt class="py-docstring"> @param path: path.</tt> </tt>
+<a name="L1571"></a><tt class="py-lineno">1571</tt> <tt class="py-line"><tt class="py-docstring"> @type path: str</tt> </tt>
+<a name="L1572"></a><tt class="py-lineno">1572</tt> <tt class="py-line"><tt class="py-docstring"> @return: WD or None.</tt> </tt>
+<a name="L1573"></a><tt class="py-lineno">1573</tt> <tt class="py-line"><tt class="py-docstring"> @rtype: int or None</tt> </tt>
+<a name="L1574"></a><tt class="py-lineno">1574</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt>
+<a name="L1575"></a><tt class="py-lineno">1575</tt> <tt class="py-line"> <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">normpath</tt><tt class="py-op">(</tt><tt class="py-name">path</tt><tt class="py-op">)</tt> </tt>
+<a name="L1576"></a><tt class="py-lineno">1576</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">iteritems</tt><tt class="py-op">(</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
+<a name="L1577"></a><tt class="py-lineno">1577</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="L1578"></a><tt class="py-lineno">1578</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>
+<a name="L1579"></a><tt class="py-lineno">1579</tt> <tt class="py-line"> <tt id="link-242" class="py-name"><a title="pyinotify.log" class="py-name" href="#" onclick="return doclink('link-242', 'log', 'link-13');">log</a></tt><tt class="py-op">.</tt><tt class="py-name">debug</tt><tt class="py-op">(</tt><tt class="py-string">'get_wd: unknown path %s'</tt> <tt class="py-op">%</tt> <tt class="py-name">path</tt><tt class="py-op">)</tt> </tt>
+</div><a name="L1580"></a><tt class="py-lineno">1580</tt> <tt class="py-line"> </tt>
+<a name="WatchManager.get_path"></a><div id="WatchManager.get_path-def"><a name="L1581"></a><tt class="py-lineno">1581</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="L1582"></a><tt class="py-lineno">1582</tt> <tt class="py-line"> <tt class="py-docstring">"""</tt> </tt>
+<a name="L1583"></a><tt class="py-lineno">1583</tt> <tt class="py-line"><tt class="py-docstring"> Returns the path associated to WD, if WD is unknown</tt> </tt>
+<a name="L1584"></a><tt class="py-lineno">1584</tt> <tt class="py-line"><tt class="py-docstring"> None is returned.</tt> </tt>
+<a name="L1585"></a><tt class="py-lineno">1585</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
+<a name="L1586"></a><tt class="py-lineno">1586</tt> <tt class="py-line"><tt class="py-docstring"> @param wd: watch descriptor.</tt> </tt>
+<a name="L1587"></a><tt class="py-lineno">1587</tt> <tt class="py-line"><tt class="py-docstring"> @type wd: int</tt> </tt>
+<a name="L1588"></a><tt class="py-lineno">1588</tt> <tt class="py-line"><tt class="py-docstring"> @return: path or None.</tt> </tt>
+<a name="L1589"></a><tt class="py-lineno">1589</tt> <tt class="py-line"><tt class="py-docstring"> @rtype: string or None</tt> </tt>
+<a name="L1590"></a><tt class="py-lineno">1590</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt>
+<a name="L1591"></a><tt class="py-lineno">1591</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="L1592"></a><tt class="py-lineno">1592</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">watch_</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">return</tt> <tt class="py-name">watch_</tt><tt class="py-op">.</tt><tt class="py-name">path</tt> </tt>
+<a name="L1594"></a><tt class="py-lineno">1594</tt> <tt class="py-line"> <tt id="link-243" class="py-name"><a title="pyinotify.log" class="py-name" href="#" onclick="return doclink('link-243', 'log', 'link-13');">log</a></tt><tt class="py-op">.</tt><tt class="py-name">debug</tt><tt class="py-op">(</tt><tt class="py-string">'get_path: unknown WD %d'</tt> <tt class="py-op">%</tt> <tt class="py-name">wd</tt><tt class="py-op">)</tt> </tt>
+</div><a name="L1595"></a><tt class="py-lineno">1595</tt> <tt class="py-line"> </tt>
+<a name="WatchManager.__walk_rec"></a><div id="WatchManager.__walk_rec-def"><a name="L1596"></a><tt class="py-lineno">1596</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="L1597"></a><tt class="py-lineno">1597</tt> <tt class="py-line"> <tt class="py-docstring">"""</tt> </tt>
+<a name="L1598"></a><tt class="py-lineno">1598</tt> <tt class="py-line"><tt class="py-docstring"> Yields each subdirectories of top, doesn't follow symlinks.</tt> </tt>
+<a name="L1599"></a><tt class="py-lineno">1599</tt> <tt class="py-line"><tt class="py-docstring"> If rec is false, only yield top.</tt> </tt>
+<a name="L1600"></a><tt class="py-lineno">1600</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
+<a name="L1601"></a><tt class="py-lineno">1601</tt> <tt class="py-line"><tt class="py-docstring"> @param top: root directory.</tt> </tt>
+<a name="L1602"></a><tt class="py-lineno">1602</tt> <tt class="py-line"><tt class="py-docstring"> @type top: string</tt> </tt>
+<a name="L1603"></a><tt class="py-lineno">1603</tt> <tt class="py-line"><tt class="py-docstring"> @param rec: recursive flag.</tt> </tt>
+<a name="L1604"></a><tt class="py-lineno">1604</tt> <tt class="py-line"><tt class="py-docstring"> @type rec: bool</tt> </tt>
+<a name="L1605"></a><tt class="py-lineno">1605</tt> <tt class="py-line"><tt class="py-docstring"> @return: path of one subdirectory.</tt> </tt>
+<a name="L1606"></a><tt class="py-lineno">1606</tt> <tt class="py-line"><tt class="py-docstring"> @rtype: string</tt> </tt>
+<a name="L1607"></a><tt class="py-lineno">1607</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt>
+<a name="L1608"></a><tt class="py-lineno">1608</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="L1609"></a><tt class="py-lineno">1609</tt> <tt class="py-line"> <tt class="py-keyword">yield</tt> <tt class="py-name">top</tt> </tt>
+<a name="L1610"></a><tt class="py-lineno">1610</tt> <tt class="py-line"> <tt class="py-keyword">else</tt><tt class="py-op">:</tt> </tt>
+<a name="L1611"></a><tt class="py-lineno">1611</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="L1612"></a><tt class="py-lineno">1612</tt> <tt class="py-line"> <tt class="py-keyword">yield</tt> <tt class="py-name">root</tt> </tt>
+</div><a name="L1613"></a><tt class="py-lineno">1613</tt> <tt class="py-line"> </tt>
+<a name="WatchManager.rm_watch"></a><div id="WatchManager.rm_watch-def"><a name="L1614"></a><tt class="py-lineno">1614</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="L1615"></a><tt class="py-lineno">1615</tt> <tt class="py-line"> <tt class="py-docstring">"""</tt> </tt>
+<a name="L1616"></a><tt class="py-lineno">1616</tt> <tt class="py-line"><tt class="py-docstring"> Removes watch(s).</tt> </tt>
+<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"> @param wd: Watch Descriptor of the file or directory to unwatch.</tt> </tt>
+<a name="L1619"></a><tt class="py-lineno">1619</tt> <tt class="py-line"><tt class="py-docstring"> Also accepts a list of WDs.</tt> </tt>
+<a name="L1620"></a><tt class="py-lineno">1620</tt> <tt class="py-line"><tt class="py-docstring"> @type wd: int or list of int.</tt> </tt>
+<a name="L1621"></a><tt class="py-lineno">1621</tt> <tt class="py-line"><tt class="py-docstring"> @param rec: Recursively removes watches on every already watched</tt> </tt>
+<a name="L1622"></a><tt class="py-lineno">1622</tt> <tt class="py-line"><tt class="py-docstring"> subdirectories and subfiles.</tt> </tt>
+<a name="L1623"></a><tt class="py-lineno">1623</tt> <tt class="py-line"><tt class="py-docstring"> @type rec: bool</tt> </tt>
+<a name="L1624"></a><tt class="py-lineno">1624</tt> <tt class="py-line"><tt class="py-docstring"> @param quiet: if True raise an WatchManagerError exception on</tt> </tt>
+<a name="L1625"></a><tt class="py-lineno">1625</tt> <tt class="py-line"><tt class="py-docstring"> error. See example not_quiet.py</tt> </tt>
+<a name="L1626"></a><tt class="py-lineno">1626</tt> <tt class="py-line"><tt class="py-docstring"> @type quiet: bool</tt> </tt>
+<a name="L1627"></a><tt class="py-lineno">1627</tt> <tt class="py-line"><tt class="py-docstring"> @return: dict of watch descriptors associated to booleans values.</tt> </tt>
+<a name="L1628"></a><tt class="py-lineno">1628</tt> <tt class="py-line"><tt class="py-docstring"> True if the corresponding wd has been successfully</tt> </tt>
+<a name="L1629"></a><tt class="py-lineno">1629</tt> <tt class="py-line"><tt class="py-docstring"> removed, False otherwise.</tt> </tt>
+<a name="L1630"></a><tt class="py-lineno">1630</tt> <tt class="py-line"><tt class="py-docstring"> @rtype: dict of int: bool</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-name">lwd</tt> <tt class="py-op">=</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-244" class="py-name"><a title="pyinotify.WatchManager.__format_param" class="py-name" href="#" onclick="return doclink('link-244', '__format_param', 'link-220');">__format_param</a></tt><tt class="py-op">(</tt><tt class="py-name">wd</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">if</tt> <tt class="py-name">rec</tt><tt class="py-op">:</tt> </tt>
+<a name="L1634"></a><tt class="py-lineno">1634</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-245" class="py-name"><a title="pyinotify.WatchManager.__get_sub_rec" class="py-name" href="#" onclick="return doclink('link-245', '__get_sub_rec', 'link-229');">__get_sub_rec</a></tt><tt class="py-op">(</tt><tt class="py-name">lwd</tt><tt class="py-op">)</tt> </tt>
+<a name="L1635"></a><tt class="py-lineno">1635</tt> <tt class="py-line"> </tt>
+<a name="L1636"></a><tt class="py-lineno">1636</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="L1637"></a><tt class="py-lineno">1637</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="L1638"></a><tt class="py-lineno">1638</tt> <tt class="py-line"> <tt class="py-comment"># remove watch</tt> </tt>
+<a name="L1639"></a><tt class="py-lineno">1639</tt> <tt class="py-line"><tt class="py-comment"></tt> <tt class="py-name">wd_</tt> <tt class="py-op">=</tt> <tt id="link-246" class="py-name"><a title="pyinotify.LIBC" class="py-name" href="#" onclick="return doclink('link-246', 'LIBC', 'link-6');">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="L1640"></a><tt class="py-lineno">1640</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="L1641"></a><tt class="py-lineno">1641</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="L1642"></a><tt class="py-lineno">1642</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'</tt> <tt class="py-op">%</tt> <tt class="py-name">awd</tt> </tt>
+<a name="L1643"></a><tt class="py-lineno">1643</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="L1644"></a><tt class="py-lineno">1644</tt> <tt class="py-line"> <tt id="link-247" class="py-name"><a title="pyinotify.log" class="py-name" href="#" onclick="return doclink('link-247', 'log', 'link-13');">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="L1645"></a><tt class="py-lineno">1645</tt> <tt class="py-line"> <tt class="py-keyword">continue</tt> </tt>
+<a name="L1646"></a><tt class="py-lineno">1646</tt> <tt class="py-line"> <tt class="py-keyword">raise</tt> <tt id="link-248" class="py-name"><a title="pyinotify.WatchManagerError" class="py-name" href="#" onclick="return doclink('link-248', 'WatchManagerError', 'link-226');">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="L1647"></a><tt class="py-lineno">1647</tt> <tt class="py-line"> </tt>
-<a name="L1648"></a><tt class="py-lineno">1648</tt> <tt class="py-line"><tt class="py-comment">#</tt> </tt>
-<a name="L1649"></a><tt class="py-lineno">1649</tt> <tt class="py-line"><tt class="py-comment"></tt><tt class="py-comment"># The color mechanism is taken from Scapy:</tt> </tt>
-<a name="L1650"></a><tt class="py-lineno">1650</tt> <tt class="py-line"><tt class="py-comment"></tt><tt class="py-comment"># http://www.secdev.org/projects/scapy/</tt> </tt>
-<a name="L1651"></a><tt class="py-lineno">1651</tt> <tt class="py-line"><tt class="py-comment"></tt><tt class="py-comment"># Thanks to Philippe Biondi for his awesome tool and design.</tt> </tt>
-<a name="L1652"></a><tt class="py-lineno">1652</tt> <tt class="py-line"><tt class="py-comment"></tt><tt class="py-comment">#</tt> </tt>
-<a name="L1653"></a><tt class="py-lineno">1653</tt> <tt class="py-line"><tt class="py-comment"></tt> </tt>
-<a name="Color"></a><div id="Color-def"><a name="L1654"></a><tt class="py-lineno">1654</tt> <a class="py-toggle" href="#" id="Color-toggle" onclick="return toggle('Color');">-</a><tt class="py-line"><tt class="py-keyword">class</tt> <a class="py-def-name" href="pyinotify.Color-class.html">Color</a><tt class="py-op">:</tt> </tt>
-</div><div id="Color-collapsed" style="display:none;" pad="++++" indent="++++"></div><div id="Color-expanded"><a name="L1655"></a><tt class="py-lineno">1655</tt> <tt class="py-line"> <tt id="link-244" class="py-name" targets="Variable pyinotify.Color.normal=pyinotify.Color-class.html#normal"><a title="pyinotify.Color.normal" class="py-name" href="#" onclick="return doclink('link-244', 'normal', 'link-244');">normal</a></tt> <tt class="py-op">=</tt> <tt class="py-string">"\033[0m"</tt> </tt>
-<a name="L1656"></a><tt class="py-lineno">1656</tt> <tt class="py-line"> <tt id="link-245" class="py-name" targets="Variable pyinotify.Color.black=pyinotify.Color-class.html#black"><a title="pyinotify.Color.black" class="py-name" href="#" onclick="return doclink('link-245', 'black', 'link-245');">black</a></tt> <tt class="py-op">=</tt> <tt class="py-string">"\033[30m"</tt> </tt>
-<a name="L1657"></a><tt class="py-lineno">1657</tt> <tt class="py-line"> <tt id="link-246" class="py-name" targets="Variable pyinotify.Color.red=pyinotify.Color-class.html#red"><a title="pyinotify.Color.red" class="py-name" href="#" onclick="return doclink('link-246', 'red', 'link-246');">red</a></tt> <tt class="py-op">=</tt> <tt class="py-string">"\033[31m"</tt> </tt>
-<a name="L1658"></a><tt class="py-lineno">1658</tt> <tt class="py-line"> <tt id="link-247" class="py-name" targets="Variable pyinotify.Color.green=pyinotify.Color-class.html#green"><a title="pyinotify.Color.green" class="py-name" href="#" onclick="return doclink('link-247', 'green', 'link-247');">green</a></tt> <tt class="py-op">=</tt> <tt class="py-string">"\033[32m"</tt> </tt>
-<a name="L1659"></a><tt class="py-lineno">1659</tt> <tt class="py-line"> <tt id="link-248" class="py-name"><a title="pyinotify.Color.yellow" class="py-name" href="#" onclick="return doclink('link-248', 'yellow', 'link-158');">yellow</a></tt> <tt class="py-op">=</tt> <tt class="py-string">"\033[33m"</tt> </tt>
-<a name="L1660"></a><tt class="py-lineno">1660</tt> <tt class="py-line"> <tt id="link-249" class="py-name" targets="Variable pyinotify.Color.blue=pyinotify.Color-class.html#blue"><a title="pyinotify.Color.blue" class="py-name" href="#" onclick="return doclink('link-249', 'blue', 'link-249');">blue</a></tt> <tt class="py-op">=</tt> <tt class="py-string">"\033[34m"</tt> </tt>
-<a name="L1661"></a><tt class="py-lineno">1661</tt> <tt class="py-line"> <tt id="link-250" class="py-name" targets="Variable pyinotify.Color.purple=pyinotify.Color-class.html#purple"><a title="pyinotify.Color.purple" class="py-name" href="#" onclick="return doclink('link-250', 'purple', 'link-250');">purple</a></tt> <tt class="py-op">=</tt> <tt class="py-string">"\033[35m"</tt> </tt>
-<a name="L1662"></a><tt class="py-lineno">1662</tt> <tt class="py-line"> <tt id="link-251" class="py-name" targets="Variable pyinotify.Color.cyan=pyinotify.Color-class.html#cyan"><a title="pyinotify.Color.cyan" class="py-name" href="#" onclick="return doclink('link-251', 'cyan', 'link-251');">cyan</a></tt> <tt class="py-op">=</tt> <tt class="py-string">"\033[36m"</tt> </tt>
-<a name="L1663"></a><tt class="py-lineno">1663</tt> <tt class="py-line"> <tt id="link-252" class="py-name" targets="Variable pyinotify.Color.grey=pyinotify.Color-class.html#grey"><a title="pyinotify.Color.grey" class="py-name" href="#" onclick="return doclink('link-252', 'grey', 'link-252');">grey</a></tt> <tt class="py-op">=</tt> <tt class="py-string">"\033[37m"</tt> </tt>
-<a name="L1664"></a><tt class="py-lineno">1664</tt> <tt class="py-line"> </tt>
-<a name="L1665"></a><tt class="py-lineno">1665</tt> <tt class="py-line"> <tt id="link-253" class="py-name" targets="Variable pyinotify.Color.bold=pyinotify.Color-class.html#bold"><a title="pyinotify.Color.bold" class="py-name" href="#" onclick="return doclink('link-253', 'bold', 'link-253');">bold</a></tt> <tt class="py-op">=</tt> <tt class="py-string">"\033[1m"</tt> </tt>
-<a name="L1666"></a><tt class="py-lineno">1666</tt> <tt class="py-line"> <tt id="link-254" class="py-name" targets="Variable pyinotify.Color.uline=pyinotify.Color-class.html#uline"><a title="pyinotify.Color.uline" class="py-name" href="#" onclick="return doclink('link-254', 'uline', 'link-254');">uline</a></tt> <tt class="py-op">=</tt> <tt class="py-string">"\033[4m"</tt> </tt>
-<a name="L1667"></a><tt class="py-lineno">1667</tt> <tt class="py-line"> <tt id="link-255" class="py-name" targets="Variable pyinotify.Color.blink=pyinotify.Color-class.html#blink"><a title="pyinotify.Color.blink" class="py-name" href="#" onclick="return doclink('link-255', 'blink', 'link-255');">blink</a></tt> <tt class="py-op">=</tt> <tt class="py-string">"\033[5m"</tt> </tt>
-<a name="L1668"></a><tt class="py-lineno">1668</tt> <tt class="py-line"> <tt id="link-256" class="py-name" targets="Variable pyinotify.Color.invert=pyinotify.Color-class.html#invert"><a title="pyinotify.Color.invert" class="py-name" href="#" onclick="return doclink('link-256', 'invert', 'link-256');">invert</a></tt> <tt class="py-op">=</tt> <tt class="py-string">"\033[7m"</tt> </tt>
-</div><a name="L1669"></a><tt class="py-lineno">1669</tt> <tt class="py-line"> </tt>
-<a name="ColorTheme"></a><div id="ColorTheme-def"><a name="L1670"></a><tt class="py-lineno">1670</tt> <a class="py-toggle" href="#" id="ColorTheme-toggle" onclick="return toggle('ColorTheme');">-</a><tt class="py-line"><tt class="py-keyword">class</tt> <a class="py-def-name" href="pyinotify.ColorTheme-class.html">ColorTheme</a><tt class="py-op">:</tt> </tt>
-</div><div id="ColorTheme-collapsed" style="display:none;" pad="++++" indent="++++"></div><div id="ColorTheme-expanded"><a name="ColorTheme.__repr__"></a><div id="ColorTheme.__repr__-def"><a name="L1671"></a><tt class="py-lineno">1671</tt> <a class="py-toggle" href="#" id="ColorTheme.__repr__-toggle" onclick="return toggle('ColorTheme.__repr__');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="pyinotify.ColorTheme-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="ColorTheme.__repr__-collapsed" style="display:none;" pad="++++" indent="++++++++"></div><div id="ColorTheme.__repr__-expanded"><a name="L1672"></a><tt class="py-lineno">1672</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><a name="ColorTheme.__getattr__"></a><div id="ColorTheme.__getattr__-def"><a name="L1673"></a><tt class="py-lineno">1673</tt> <a class="py-toggle" href="#" id="ColorTheme.__getattr__-toggle" onclick="return toggle('ColorTheme.__getattr__');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="pyinotify.ColorTheme-class.html#__getattr__">__getattr__</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">,</tt> <tt class="py-param">attr</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
-</div><div id="ColorTheme.__getattr__-collapsed" style="display:none;" pad="++++" indent="++++++++"></div><div id="ColorTheme.__getattr__-expanded"><a name="L1674"></a><tt class="py-lineno">1674</tt> <tt class="py-line"> <tt class="py-keyword">return</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>
-</div></div><a name="L1675"></a><tt class="py-lineno">1675</tt> <tt class="py-line"> </tt>
-<a name="NoTheme"></a><div id="NoTheme-def"><a name="L1676"></a><tt class="py-lineno">1676</tt> <a class="py-toggle" href="#" id="NoTheme-toggle" onclick="return toggle('NoTheme');">-</a><tt class="py-line"><tt class="py-keyword">class</tt> <a class="py-def-name" href="pyinotify.NoTheme-class.html">NoTheme</a><tt class="py-op">(</tt><tt class="py-base-class">ColorTheme</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
-</div><div id="NoTheme-collapsed" style="display:none;" pad="++++" indent="++++"></div><div id="NoTheme-expanded"><a name="L1677"></a><tt class="py-lineno">1677</tt> <tt class="py-line"> <tt class="py-keyword">pass</tt> </tt>
-</div><a name="L1678"></a><tt class="py-lineno">1678</tt> <tt class="py-line"> </tt>
-<a name="AnsiColorTheme"></a><div id="AnsiColorTheme-def"><a name="L1679"></a><tt class="py-lineno">1679</tt> <a class="py-toggle" href="#" id="AnsiColorTheme-toggle" onclick="return toggle('AnsiColorTheme');">-</a><tt class="py-line"><tt class="py-keyword">class</tt> <a class="py-def-name" href="pyinotify.AnsiColorTheme-class.html">AnsiColorTheme</a><tt class="py-op">(</tt><tt class="py-base-class">ColorTheme</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
-</div><div id="AnsiColorTheme-collapsed" style="display:none;" pad="++++" indent="++++"></div><div id="AnsiColorTheme-expanded"><a name="AnsiColorTheme.__getattr__"></a><div id="AnsiColorTheme.__getattr__-def"><a name="L1680"></a><tt class="py-lineno">1680</tt> <a class="py-toggle" href="#" id="AnsiColorTheme.__getattr__-toggle" onclick="return toggle('AnsiColorTheme.__getattr__');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="pyinotify.AnsiColorTheme-class.html#__getattr__">__getattr__</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">,</tt> <tt class="py-param">attr</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
-</div><div id="AnsiColorTheme.__getattr__-collapsed" style="display:none;" pad="++++" indent="++++++++"></div><div id="AnsiColorTheme.__getattr__-expanded"><a name="L1681"></a><tt class="py-lineno">1681</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="L1682"></a><tt class="py-lineno">1682</tt> <tt class="py-line"> <tt class="py-keyword">raise</tt> <tt class="py-name">AttributeError</tt><tt class="py-op">(</tt><tt class="py-name">attr</tt><tt class="py-op">)</tt> </tt>
-<a name="L1683"></a><tt class="py-lineno">1683</tt> <tt class="py-line"> <tt class="py-name">s</tt> <tt class="py-op">=</tt> <tt class="py-string">"style_%s"</tt> <tt class="py-op">%</tt> <tt class="py-name">attr</tt> </tt>
-<a name="L1684"></a><tt class="py-lineno">1684</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">s</tt> <tt class="py-keyword">in</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">__dict__</tt><tt class="py-op">:</tt> </tt>
-<a name="L1685"></a><tt class="py-lineno">1685</tt> <tt class="py-line"> <tt class="py-name">before</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">s</tt><tt class="py-op">)</tt> </tt>
-<a name="L1686"></a><tt class="py-lineno">1686</tt> <tt class="py-line"> <tt class="py-name">after</tt> <tt class="py-op">=</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-257" class="py-name" targets="Variable pyinotify.AnsiColorTheme.style_normal=pyinotify.AnsiColorTheme-class.html#style_normal,Variable pyinotify.DefaultTheme.style_normal=pyinotify.DefaultTheme-class.html#style_normal"><a title="pyinotify.AnsiColorTheme.style_normal
-pyinotify.DefaultTheme.style_normal" class="py-name" href="#" onclick="return doclink('link-257', 'style_normal', 'link-257');">style_normal</a></tt> </tt>
-<a name="L1687"></a><tt class="py-lineno">1687</tt> <tt class="py-line"> <tt class="py-keyword">else</tt><tt class="py-op">:</tt> </tt>
-<a name="L1688"></a><tt class="py-lineno">1688</tt> <tt class="py-line"> <tt class="py-name">before</tt> <tt class="py-op">=</tt> <tt class="py-name">after</tt> <tt class="py-op">=</tt> <tt class="py-string">""</tt> </tt>
-<a name="L1689"></a><tt class="py-lineno">1689</tt> <tt class="py-line"> </tt>
-<a name="L1690"></a><tt class="py-lineno">1690</tt> <tt class="py-line"> <tt class="py-keyword">def</tt> <tt class="py-def-name">do_style</tt><tt class="py-op">(</tt><tt class="py-param">val</tt><tt class="py-op">,</tt> <tt class="py-param">fmt</tt><tt class="py-op">=</tt><tt class="py-name">None</tt><tt class="py-op">,</tt> <tt class="py-param">before</tt><tt class="py-op">=</tt><tt class="py-name">before</tt><tt class="py-op">,</tt> <tt class="py-param">after</tt><tt class="py-op">=</tt><tt class="py-name">after</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
-<a name="L1691"></a><tt class="py-lineno">1691</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">fmt</tt> <tt class="py-keyword">is</tt> <tt class="py-name">None</tt><tt class="py-op">:</tt> </tt>
-<a name="L1692"></a><tt class="py-lineno">1692</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">type</tt><tt class="py-op">(</tt><tt id="link-258" class="py-name"><a title="pyinotify.val" class="py-name" href="#" onclick="return doclink('link-258', 'val', 'link-58');">val</a></tt><tt class="py-op">)</tt> <tt class="py-keyword">is</tt> <tt class="py-keyword">not</tt> <tt class="py-name">str</tt><tt class="py-op">:</tt> </tt>
-<a name="L1693"></a><tt class="py-lineno">1693</tt> <tt class="py-line"> <tt id="link-259" class="py-name"><a title="pyinotify.val" class="py-name" href="#" onclick="return doclink('link-259', 'val', 'link-58');">val</a></tt> <tt class="py-op">=</tt> <tt class="py-name">str</tt><tt class="py-op">(</tt><tt id="link-260" class="py-name"><a title="pyinotify.val" class="py-name" href="#" onclick="return doclink('link-260', 'val', 'link-58');">val</a></tt><tt class="py-op">)</tt> </tt>
-<a name="L1694"></a><tt class="py-lineno">1694</tt> <tt class="py-line"> <tt class="py-keyword">else</tt><tt class="py-op">:</tt> </tt>
-<a name="L1695"></a><tt class="py-lineno">1695</tt> <tt class="py-line"> <tt id="link-261" class="py-name"><a title="pyinotify.val" class="py-name" href="#" onclick="return doclink('link-261', 'val', 'link-58');">val</a></tt> <tt class="py-op">=</tt> <tt class="py-name">fmt</tt> <tt class="py-op">%</tt> <tt id="link-262" class="py-name"><a title="pyinotify.val" class="py-name" href="#" onclick="return doclink('link-262', 'val', 'link-58');">val</a></tt> </tt>
-<a name="L1696"></a><tt class="py-lineno">1696</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-name">before</tt><tt class="py-op">+</tt><tt id="link-263" class="py-name"><a title="pyinotify.val" class="py-name" href="#" onclick="return doclink('link-263', 'val', 'link-58');">val</a></tt><tt class="py-op">+</tt><tt class="py-name">after</tt> </tt>
-</div><a name="L1697"></a><tt class="py-lineno">1697</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-name">do_style</tt> </tt>
-</div><a name="L1698"></a><tt class="py-lineno">1698</tt> <tt class="py-line"> </tt>
-<a name="L1699"></a><tt class="py-lineno">1699</tt> <tt class="py-line"> </tt>
-<a name="L1700"></a><tt class="py-lineno">1700</tt> <tt class="py-line"> <tt id="link-264" class="py-name"><a title="pyinotify.AnsiColorTheme.style_normal
-pyinotify.DefaultTheme.style_normal" class="py-name" href="#" onclick="return doclink('link-264', 'style_normal', 'link-257');">style_normal</a></tt> <tt class="py-op">=</tt> <tt class="py-string">""</tt> </tt>
-<a name="L1701"></a><tt class="py-lineno">1701</tt> <tt class="py-line"> <tt id="link-265" class="py-name" targets="Variable pyinotify.AnsiColorTheme.style_prompt=pyinotify.AnsiColorTheme-class.html#style_prompt,Variable pyinotify.DefaultTheme.style_prompt=pyinotify.DefaultTheme-class.html#style_prompt"><a title="pyinotify.AnsiColorTheme.style_prompt
-pyinotify.DefaultTheme.style_prompt" class="py-name" href="#" onclick="return doclink('link-265', 'style_prompt', 'link-265');">style_prompt</a></tt> <tt class="py-op">=</tt> <tt class="py-string">""</tt> <tt class="py-comment"># '&gt;&gt;&gt;'</tt> </tt>
-<a name="L1702"></a><tt class="py-lineno">1702</tt> <tt class="py-line"> <tt id="link-266" class="py-name" targets="Variable pyinotify.AnsiColorTheme.style_punct=pyinotify.AnsiColorTheme-class.html#style_punct,Variable pyinotify.DefaultTheme.style_punct=pyinotify.DefaultTheme-class.html#style_punct"><a title="pyinotify.AnsiColorTheme.style_punct
-pyinotify.DefaultTheme.style_punct" class="py-name" href="#" onclick="return doclink('link-266', 'style_punct', 'link-266');">style_punct</a></tt> <tt class="py-op">=</tt> <tt class="py-string">""</tt> </tt>
-<a name="L1703"></a><tt class="py-lineno">1703</tt> <tt class="py-line"> <tt id="link-267" class="py-name" targets="Variable pyinotify.AnsiColorTheme.style_id=pyinotify.AnsiColorTheme-class.html#style_id,Variable pyinotify.DefaultTheme.style_id=pyinotify.DefaultTheme-class.html#style_id"><a title="pyinotify.AnsiColorTheme.style_id
-pyinotify.DefaultTheme.style_id" class="py-name" href="#" onclick="return doclink('link-267', 'style_id', 'link-267');">style_id</a></tt> <tt class="py-op">=</tt> <tt class="py-string">""</tt> </tt>
-<a name="L1704"></a><tt class="py-lineno">1704</tt> <tt class="py-line"> <tt id="link-268" class="py-name" targets="Variable pyinotify.AnsiColorTheme.style_not_printable=pyinotify.AnsiColorTheme-class.html#style_not_printable,Variable pyinotify.DefaultTheme.style_not_printable=pyinotify.DefaultTheme-class.html#style_not_printable"><a title="pyinotify.AnsiColorTheme.style_not_printable
-pyinotify.DefaultTheme.style_not_printable" class="py-name" href="#" onclick="return doclink('link-268', 'style_not_printable', 'link-268');">style_not_printable</a></tt> <tt class="py-op">=</tt> <tt class="py-string">""</tt> </tt>
-<a name="L1705"></a><tt class="py-lineno">1705</tt> <tt class="py-line"> <tt id="link-269" class="py-name" targets="Variable pyinotify.AnsiColorTheme.style_class_name=pyinotify.AnsiColorTheme-class.html#style_class_name,Variable pyinotify.DefaultTheme.style_class_name=pyinotify.DefaultTheme-class.html#style_class_name"><a title="pyinotify.AnsiColorTheme.style_class_name
-pyinotify.DefaultTheme.style_class_name" class="py-name" href="#" onclick="return doclink('link-269', 'style_class_name', 'link-269');">style_class_name</a></tt> <tt class="py-op">=</tt> <tt class="py-string">""</tt> </tt>
-<a name="L1706"></a><tt class="py-lineno">1706</tt> <tt class="py-line"> <tt id="link-270" class="py-name" targets="Variable pyinotify.AnsiColorTheme.style_field_name=pyinotify.AnsiColorTheme-class.html#style_field_name,Variable pyinotify.DefaultTheme.style_field_name=pyinotify.DefaultTheme-class.html#style_field_name"><a title="pyinotify.AnsiColorTheme.style_field_name
-pyinotify.DefaultTheme.style_field_name" class="py-name" href="#" onclick="return doclink('link-270', 'style_field_name', 'link-270');">style_field_name</a></tt> <tt class="py-op">=</tt> <tt class="py-string">""</tt> </tt>
-<a name="L1707"></a><tt class="py-lineno">1707</tt> <tt class="py-line"> <tt id="link-271" class="py-name" targets="Variable pyinotify.AnsiColorTheme.style_field_value=pyinotify.AnsiColorTheme-class.html#style_field_value,Variable pyinotify.DefaultTheme.style_field_value=pyinotify.DefaultTheme-class.html#style_field_value"><a title="pyinotify.AnsiColorTheme.style_field_value
-pyinotify.DefaultTheme.style_field_value" class="py-name" href="#" onclick="return doclink('link-271', 'style_field_value', 'link-271');">style_field_value</a></tt> <tt class="py-op">=</tt> <tt class="py-string">""</tt> </tt>
-<a name="L1708"></a><tt class="py-lineno">1708</tt> <tt class="py-line"> <tt id="link-272" class="py-name" targets="Variable pyinotify.AnsiColorTheme.style_emph_field_name=pyinotify.AnsiColorTheme-class.html#style_emph_field_name,Variable pyinotify.DefaultTheme.style_emph_field_name=pyinotify.DefaultTheme-class.html#style_emph_field_name"><a title="pyinotify.AnsiColorTheme.style_emph_field_name
-pyinotify.DefaultTheme.style_emph_field_name" class="py-name" href="#" onclick="return doclink('link-272', 'style_emph_field_name', 'link-272');">style_emph_field_name</a></tt> <tt class="py-op">=</tt> <tt class="py-string">""</tt> </tt>
-<a name="L1709"></a><tt class="py-lineno">1709</tt> <tt class="py-line"> <tt id="link-273" class="py-name" targets="Variable pyinotify.AnsiColorTheme.style_emph_field_value=pyinotify.AnsiColorTheme-class.html#style_emph_field_value,Variable pyinotify.DefaultTheme.style_emph_field_value=pyinotify.DefaultTheme-class.html#style_emph_field_value"><a title="pyinotify.AnsiColorTheme.style_emph_field_value
-pyinotify.DefaultTheme.style_emph_field_value" class="py-name" href="#" onclick="return doclink('link-273', 'style_emph_field_value', 'link-273');">style_emph_field_value</a></tt> <tt class="py-op">=</tt> <tt class="py-string">""</tt> </tt>
-<a name="L1710"></a><tt class="py-lineno">1710</tt> <tt class="py-line"> <tt id="link-274" class="py-name" targets="Variable pyinotify.AnsiColorTheme.style_watchlist_name=pyinotify.AnsiColorTheme-class.html#style_watchlist_name"><a title="pyinotify.AnsiColorTheme.style_watchlist_name" class="py-name" href="#" onclick="return doclink('link-274', 'style_watchlist_name', 'link-274');">style_watchlist_name</a></tt> <tt class="py-op">=</tt> <tt class="py-string">""</tt> </tt>
-<a name="L1711"></a><tt class="py-lineno">1711</tt> <tt class="py-line"> <tt id="link-275" class="py-name" targets="Variable pyinotify.AnsiColorTheme.style_watchlist_type=pyinotify.AnsiColorTheme-class.html#style_watchlist_type,Variable pyinotify.DefaultTheme.style_watchlist_type=pyinotify.DefaultTheme-class.html#style_watchlist_type"><a title="pyinotify.AnsiColorTheme.style_watchlist_type
-pyinotify.DefaultTheme.style_watchlist_type" class="py-name" href="#" onclick="return doclink('link-275', 'style_watchlist_type', 'link-275');">style_watchlist_type</a></tt> <tt class="py-op">=</tt> <tt class="py-string">""</tt> </tt>
-<a name="L1712"></a><tt class="py-lineno">1712</tt> <tt class="py-line"> <tt id="link-276" class="py-name" targets="Variable pyinotify.AnsiColorTheme.style_watchlist_value=pyinotify.AnsiColorTheme-class.html#style_watchlist_value,Variable pyinotify.DefaultTheme.style_watchlist_value=pyinotify.DefaultTheme-class.html#style_watchlist_value"><a title="pyinotify.AnsiColorTheme.style_watchlist_value
-pyinotify.DefaultTheme.style_watchlist_value" class="py-name" href="#" onclick="return doclink('link-276', 'style_watchlist_value', 'link-276');">style_watchlist_value</a></tt> <tt class="py-op">=</tt> <tt class="py-string">""</tt> </tt>
-<a name="L1713"></a><tt class="py-lineno">1713</tt> <tt class="py-line"> <tt id="link-277" class="py-name" targets="Variable pyinotify.AnsiColorTheme.style_fail=pyinotify.AnsiColorTheme-class.html#style_fail,Variable pyinotify.DefaultTheme.style_fail=pyinotify.DefaultTheme-class.html#style_fail"><a title="pyinotify.AnsiColorTheme.style_fail
-pyinotify.DefaultTheme.style_fail" class="py-name" href="#" onclick="return doclink('link-277', 'style_fail', 'link-277');">style_fail</a></tt> <tt class="py-op">=</tt> <tt class="py-string">""</tt> </tt>
-<a name="L1714"></a><tt class="py-lineno">1714</tt> <tt class="py-line"> <tt id="link-278" class="py-name" targets="Variable pyinotify.AnsiColorTheme.style_success=pyinotify.AnsiColorTheme-class.html#style_success,Variable pyinotify.DefaultTheme.style_success=pyinotify.DefaultTheme-class.html#style_success"><a title="pyinotify.AnsiColorTheme.style_success
-pyinotify.DefaultTheme.style_success" class="py-name" href="#" onclick="return doclink('link-278', 'style_success', 'link-278');">style_success</a></tt> <tt class="py-op">=</tt> <tt class="py-string">""</tt> </tt>
-<a name="L1715"></a><tt class="py-lineno">1715</tt> <tt class="py-line"> <tt id="link-279" class="py-name" targets="Variable pyinotify.AnsiColorTheme.style_odd=pyinotify.AnsiColorTheme-class.html#style_odd,Variable pyinotify.DefaultTheme.style_odd=pyinotify.DefaultTheme-class.html#style_odd"><a title="pyinotify.AnsiColorTheme.style_odd
-pyinotify.DefaultTheme.style_odd" class="py-name" href="#" onclick="return doclink('link-279', 'style_odd', 'link-279');">style_odd</a></tt> <tt class="py-op">=</tt> <tt class="py-string">""</tt> </tt>
-<a name="L1716"></a><tt class="py-lineno">1716</tt> <tt class="py-line"> <tt id="link-280" class="py-name" targets="Variable pyinotify.AnsiColorTheme.style_even=pyinotify.AnsiColorTheme-class.html#style_even,Variable pyinotify.DefaultTheme.style_even=pyinotify.DefaultTheme-class.html#style_even"><a title="pyinotify.AnsiColorTheme.style_even
-pyinotify.DefaultTheme.style_even" class="py-name" href="#" onclick="return doclink('link-280', 'style_even', 'link-280');">style_even</a></tt> <tt class="py-op">=</tt> <tt class="py-string">""</tt> </tt>
-<a name="L1717"></a><tt class="py-lineno">1717</tt> <tt class="py-line"> <tt id="link-281" class="py-name" targets="Variable pyinotify.AnsiColorTheme.style_yellow=pyinotify.AnsiColorTheme-class.html#style_yellow,Variable pyinotify.DefaultTheme.style_yellow=pyinotify.DefaultTheme-class.html#style_yellow"><a title="pyinotify.AnsiColorTheme.style_yellow
-pyinotify.DefaultTheme.style_yellow" class="py-name" href="#" onclick="return doclink('link-281', 'style_yellow', 'link-281');">style_yellow</a></tt> <tt class="py-op">=</tt> <tt class="py-string">""</tt> </tt>
-<a name="L1718"></a><tt class="py-lineno">1718</tt> <tt class="py-line"> <tt id="link-282" class="py-name" targets="Variable pyinotify.AnsiColorTheme.style_active=pyinotify.AnsiColorTheme-class.html#style_active,Variable pyinotify.DefaultTheme.style_active=pyinotify.DefaultTheme-class.html#style_active"><a title="pyinotify.AnsiColorTheme.style_active
-pyinotify.DefaultTheme.style_active" class="py-name" href="#" onclick="return doclink('link-282', 'style_active', 'link-282');">style_active</a></tt> <tt class="py-op">=</tt> <tt class="py-string">""</tt> </tt>
-<a name="L1719"></a><tt class="py-lineno">1719</tt> <tt class="py-line"> <tt id="link-283" class="py-name" targets="Variable pyinotify.AnsiColorTheme.style_closed=pyinotify.AnsiColorTheme-class.html#style_closed,Variable pyinotify.DefaultTheme.style_closed=pyinotify.DefaultTheme-class.html#style_closed"><a title="pyinotify.AnsiColorTheme.style_closed
-pyinotify.DefaultTheme.style_closed" class="py-name" href="#" onclick="return doclink('link-283', 'style_closed', 'link-283');">style_closed</a></tt> <tt class="py-op">=</tt> <tt class="py-string">""</tt> </tt>
-<a name="L1720"></a><tt class="py-lineno">1720</tt> <tt class="py-line"> <tt id="link-284" class="py-name" targets="Variable pyinotify.AnsiColorTheme.style_left=pyinotify.AnsiColorTheme-class.html#style_left,Variable pyinotify.DefaultTheme.style_left=pyinotify.DefaultTheme-class.html#style_left"><a title="pyinotify.AnsiColorTheme.style_left
-pyinotify.DefaultTheme.style_left" class="py-name" href="#" onclick="return doclink('link-284', 'style_left', 'link-284');">style_left</a></tt> <tt class="py-op">=</tt> <tt class="py-string">""</tt> </tt>
-<a name="L1721"></a><tt class="py-lineno">1721</tt> <tt class="py-line"> <tt id="link-285" class="py-name" targets="Variable pyinotify.AnsiColorTheme.style_right=pyinotify.AnsiColorTheme-class.html#style_right,Variable pyinotify.DefaultTheme.style_right=pyinotify.DefaultTheme-class.html#style_right"><a title="pyinotify.AnsiColorTheme.style_right
-pyinotify.DefaultTheme.style_right" class="py-name" href="#" onclick="return doclink('link-285', 'style_right', 'link-285');">style_right</a></tt> <tt class="py-op">=</tt> <tt class="py-string">""</tt> </tt>
-</div><a name="L1722"></a><tt class="py-lineno">1722</tt> <tt class="py-line"> </tt>
-<a name="BlackAndWhite"></a><div id="BlackAndWhite-def"><a name="L1723"></a><tt class="py-lineno">1723</tt> <a class="py-toggle" href="#" id="BlackAndWhite-toggle" onclick="return toggle('BlackAndWhite');">-</a><tt class="py-line"><tt class="py-keyword">class</tt> <a class="py-def-name" href="pyinotify.BlackAndWhite-class.html">BlackAndWhite</a><tt class="py-op">(</tt><tt class="py-base-class">AnsiColorTheme</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
-</div><div id="BlackAndWhite-collapsed" style="display:none;" pad="++++" indent="++++"></div><div id="BlackAndWhite-expanded"><a name="L1724"></a><tt class="py-lineno">1724</tt> <tt class="py-line"> <tt class="py-keyword">pass</tt> </tt>
-</div><a name="L1725"></a><tt class="py-lineno">1725</tt> <tt class="py-line"> </tt>
-<a name="DefaultTheme"></a><div id="DefaultTheme-def"><a name="L1726"></a><tt class="py-lineno">1726</tt> <a class="py-toggle" href="#" id="DefaultTheme-toggle" onclick="return toggle('DefaultTheme');">-</a><tt class="py-line"><tt class="py-keyword">class</tt> <a class="py-def-name" href="pyinotify.DefaultTheme-class.html">DefaultTheme</a><tt class="py-op">(</tt><tt class="py-base-class">AnsiColorTheme</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
-</div><div id="DefaultTheme-collapsed" style="display:none;" pad="++++" indent="++++"></div><div id="DefaultTheme-expanded"><a name="L1727"></a><tt class="py-lineno">1727</tt> <tt class="py-line"> <tt id="link-286" class="py-name"><a title="pyinotify.AnsiColorTheme.style_normal
-pyinotify.DefaultTheme.style_normal" class="py-name" href="#" onclick="return doclink('link-286', 'style_normal', 'link-257');">style_normal</a></tt> <tt class="py-op">=</tt> <tt id="link-287" class="py-name" targets="Class pyinotify.Color=pyinotify.Color-class.html"><a title="pyinotify.Color" class="py-name" href="#" onclick="return doclink('link-287', 'Color', 'link-287');">Color</a></tt><tt class="py-op">.</tt><tt id="link-288" class="py-name"><a title="pyinotify.Color.normal" class="py-name" href="#" onclick="return doclink('link-288', 'normal', 'link-244');">normal</a></tt> </tt>
-<a name="L1728"></a><tt class="py-lineno">1728</tt> <tt class="py-line"> <tt id="link-289" class="py-name"><a title="pyinotify.AnsiColorTheme.style_prompt
-pyinotify.DefaultTheme.style_prompt" class="py-name" href="#" onclick="return doclink('link-289', 'style_prompt', 'link-265');">style_prompt</a></tt> <tt class="py-op">=</tt> <tt id="link-290" class="py-name"><a title="pyinotify.Color" class="py-name" href="#" onclick="return doclink('link-290', 'Color', 'link-287');">Color</a></tt><tt class="py-op">.</tt><tt id="link-291" class="py-name"><a title="pyinotify.Color.blue" class="py-name" href="#" onclick="return doclink('link-291', 'blue', 'link-249');">blue</a></tt><tt class="py-op">+</tt><tt id="link-292" class="py-name"><a title="pyinotify.Color" class="py-name" href="#" onclick="return doclink('link-292', 'Color', 'link-287');">Color</a></tt><tt class="py-op">.</tt><tt id="link-293" class="py-name"><a title="pyinotify.Color.bold" class="py-name" href="#" onclick="return doclink('link-293', 'bold', 'link-253');">bold</a></tt> </tt>
-<a name="L1729"></a><tt class="py-lineno">1729</tt> <tt class="py-line"> <tt id="link-294" class="py-name"><a title="pyinotify.AnsiColorTheme.style_punct
-pyinotify.DefaultTheme.style_punct" class="py-name" href="#" onclick="return doclink('link-294', 'style_punct', 'link-266');">style_punct</a></tt> <tt class="py-op">=</tt> <tt id="link-295" class="py-name"><a title="pyinotify.Color" class="py-name" href="#" onclick="return doclink('link-295', 'Color', 'link-287');">Color</a></tt><tt class="py-op">.</tt><tt id="link-296" class="py-name"><a title="pyinotify.Color.normal" class="py-name" href="#" onclick="return doclink('link-296', 'normal', 'link-244');">normal</a></tt> </tt>
-<a name="L1730"></a><tt class="py-lineno">1730</tt> <tt class="py-line"> <tt id="link-297" class="py-name"><a title="pyinotify.AnsiColorTheme.style_id
-pyinotify.DefaultTheme.style_id" class="py-name" href="#" onclick="return doclink('link-297', 'style_id', 'link-267');">style_id</a></tt> <tt class="py-op">=</tt> <tt id="link-298" class="py-name"><a title="pyinotify.Color" class="py-name" href="#" onclick="return doclink('link-298', 'Color', 'link-287');">Color</a></tt><tt class="py-op">.</tt><tt id="link-299" class="py-name"><a title="pyinotify.Color.blue" class="py-name" href="#" onclick="return doclink('link-299', 'blue', 'link-249');">blue</a></tt><tt class="py-op">+</tt><tt id="link-300" class="py-name"><a title="pyinotify.Color" class="py-name" href="#" onclick="return doclink('link-300', 'Color', 'link-287');">Color</a></tt><tt class="py-op">.</tt><tt id="link-301" class="py-name"><a title="pyinotify.Color.bold" class="py-name" href="#" onclick="return doclink('link-301', 'bold', 'link-253');">bold</a></tt> </tt>
-<a name="L1731"></a><tt class="py-lineno">1731</tt> <tt class="py-line"> <tt id="link-302" class="py-name"><a title="pyinotify.AnsiColorTheme.style_not_printable
-pyinotify.DefaultTheme.style_not_printable" class="py-name" href="#" onclick="return doclink('link-302', 'style_not_printable', 'link-268');">style_not_printable</a></tt> <tt class="py-op">=</tt> <tt id="link-303" class="py-name"><a title="pyinotify.Color" class="py-name" href="#" onclick="return doclink('link-303', 'Color', 'link-287');">Color</a></tt><tt class="py-op">.</tt><tt id="link-304" class="py-name"><a title="pyinotify.Color.grey" class="py-name" href="#" onclick="return doclink('link-304', 'grey', 'link-252');">grey</a></tt> </tt>
-<a name="L1732"></a><tt class="py-lineno">1732</tt> <tt class="py-line"> <tt id="link-305" class="py-name"><a title="pyinotify.AnsiColorTheme.style_class_name
-pyinotify.DefaultTheme.style_class_name" class="py-name" href="#" onclick="return doclink('link-305', 'style_class_name', 'link-269');">style_class_name</a></tt> <tt class="py-op">=</tt> <tt id="link-306" class="py-name"><a title="pyinotify.Color" class="py-name" href="#" onclick="return doclink('link-306', 'Color', 'link-287');">Color</a></tt><tt class="py-op">.</tt><tt id="link-307" class="py-name"><a title="pyinotify.Color.red" class="py-name" href="#" onclick="return doclink('link-307', 'red', 'link-246');">red</a></tt><tt class="py-op">+</tt><tt id="link-308" class="py-name"><a title="pyinotify.Color" class="py-name" href="#" onclick="return doclink('link-308', 'Color', 'link-287');">Color</a></tt><tt class="py-op">.</tt><tt id="link-309" class="py-name"><a title="pyinotify.Color.bold" class="py-name" href="#" onclick="return doclink('link-309', 'bold', 'link-253');">bold</a></tt> </tt>
-<a name="L1733"></a><tt class="py-lineno">1733</tt> <tt class="py-line"> <tt id="link-310" class="py-name"><a title="pyinotify.AnsiColorTheme.style_field_name
-pyinotify.DefaultTheme.style_field_name" class="py-name" href="#" onclick="return doclink('link-310', 'style_field_name', 'link-270');">style_field_name</a></tt> <tt class="py-op">=</tt> <tt id="link-311" class="py-name"><a title="pyinotify.Color" class="py-name" href="#" onclick="return doclink('link-311', 'Color', 'link-287');">Color</a></tt><tt class="py-op">.</tt><tt id="link-312" class="py-name"><a title="pyinotify.Color.blue" class="py-name" href="#" onclick="return doclink('link-312', 'blue', 'link-249');">blue</a></tt> </tt>
-<a name="L1734"></a><tt class="py-lineno">1734</tt> <tt class="py-line"> <tt id="link-313" class="py-name"><a title="pyinotify.AnsiColorTheme.style_field_value
-pyinotify.DefaultTheme.style_field_value" class="py-name" href="#" onclick="return doclink('link-313', 'style_field_value', 'link-271');">style_field_value</a></tt> <tt class="py-op">=</tt> <tt id="link-314" class="py-name"><a title="pyinotify.Color" class="py-name" href="#" onclick="return doclink('link-314', 'Color', 'link-287');">Color</a></tt><tt class="py-op">.</tt><tt id="link-315" class="py-name"><a title="pyinotify.Color.purple" class="py-name" href="#" onclick="return doclink('link-315', 'purple', 'link-250');">purple</a></tt> </tt>
-<a name="L1735"></a><tt class="py-lineno">1735</tt> <tt class="py-line"> <tt id="link-316" class="py-name"><a title="pyinotify.AnsiColorTheme.style_emph_field_name
-pyinotify.DefaultTheme.style_emph_field_name" class="py-name" href="#" onclick="return doclink('link-316', 'style_emph_field_name', 'link-272');">style_emph_field_name</a></tt> <tt class="py-op">=</tt> <tt id="link-317" class="py-name"><a title="pyinotify.Color" class="py-name" href="#" onclick="return doclink('link-317', 'Color', 'link-287');">Color</a></tt><tt class="py-op">.</tt><tt id="link-318" class="py-name"><a title="pyinotify.Color.blue" class="py-name" href="#" onclick="return doclink('link-318', 'blue', 'link-249');">blue</a></tt><tt class="py-op">+</tt><tt id="link-319" class="py-name"><a title="pyinotify.Color" class="py-name" href="#" onclick="return doclink('link-319', 'Color', 'link-287');">Color</a></tt><tt class="py-op">.</tt><tt id="link-320" class="py-name"><a title="pyinotify.Color.uline" class="py-name" href="#" onclick="return doclink('link-320', 'uline', 'link-254');">uline</a></tt><tt class="py-op">+</tt><tt id="link-321" class="py-name"><a title="pyinotify.Color" class="py-name" href="#" onclick="return doclink('link-321', 'Color', 'link-287');">Color</a></tt><tt class="py-op">.</tt><tt id="link-322" class="py-name"><a title="pyinotify.Color.bold" class="py-name" href="#" onclick="return doclink('link-322', 'bold', 'link-253');">bold</a></tt> </tt>
-<a name="L1736"></a><tt class="py-lineno">1736</tt> <tt class="py-line"> <tt id="link-323" class="py-name"><a title="pyinotify.AnsiColorTheme.style_emph_field_value
-pyinotify.DefaultTheme.style_emph_field_value" class="py-name" href="#" onclick="return doclink('link-323', 'style_emph_field_value', 'link-273');">style_emph_field_value</a></tt> <tt class="py-op">=</tt> <tt id="link-324" class="py-name"><a title="pyinotify.Color" class="py-name" href="#" onclick="return doclink('link-324', 'Color', 'link-287');">Color</a></tt><tt class="py-op">.</tt><tt id="link-325" class="py-name"><a title="pyinotify.Color.purple" class="py-name" href="#" onclick="return doclink('link-325', 'purple', 'link-250');">purple</a></tt><tt class="py-op">+</tt><tt id="link-326" class="py-name"><a title="pyinotify.Color" class="py-name" href="#" onclick="return doclink('link-326', 'Color', 'link-287');">Color</a></tt><tt class="py-op">.</tt><tt id="link-327" class="py-name"><a title="pyinotify.Color.uline" class="py-name" href="#" onclick="return doclink('link-327', 'uline', 'link-254');">uline</a></tt><tt class="py-op">+</tt><tt id="link-328" class="py-name"><a title="pyinotify.Color" class="py-name" href="#" onclick="return doclink('link-328', 'Color', 'link-287');">Color</a></tt><tt class="py-op">.</tt><tt id="link-329" class="py-name"><a title="pyinotify.Color.bold" class="py-name" href="#" onclick="return doclink('link-329', 'bold', 'link-253');">bold</a></tt> </tt>
-<a name="L1737"></a><tt class="py-lineno">1737</tt> <tt class="py-line"> <tt id="link-330" class="py-name"><a title="pyinotify.AnsiColorTheme.style_watchlist_type
-pyinotify.DefaultTheme.style_watchlist_type" class="py-name" href="#" onclick="return doclink('link-330', 'style_watchlist_type', 'link-275');">style_watchlist_type</a></tt> <tt class="py-op">=</tt> <tt id="link-331" class="py-name"><a title="pyinotify.Color" class="py-name" href="#" onclick="return doclink('link-331', 'Color', 'link-287');">Color</a></tt><tt class="py-op">.</tt><tt id="link-332" class="py-name"><a title="pyinotify.Color.blue" class="py-name" href="#" onclick="return doclink('link-332', 'blue', 'link-249');">blue</a></tt> </tt>
-<a name="L1738"></a><tt class="py-lineno">1738</tt> <tt class="py-line"> <tt id="link-333" class="py-name"><a title="pyinotify.AnsiColorTheme.style_watchlist_value
-pyinotify.DefaultTheme.style_watchlist_value" class="py-name" href="#" onclick="return doclink('link-333', 'style_watchlist_value', 'link-276');">style_watchlist_value</a></tt> <tt class="py-op">=</tt> <tt id="link-334" class="py-name"><a title="pyinotify.Color" class="py-name" href="#" onclick="return doclink('link-334', 'Color', 'link-287');">Color</a></tt><tt class="py-op">.</tt><tt id="link-335" class="py-name"><a title="pyinotify.Color.purple" class="py-name" href="#" onclick="return doclink('link-335', 'purple', 'link-250');">purple</a></tt> </tt>
-<a name="L1739"></a><tt class="py-lineno">1739</tt> <tt class="py-line"> <tt id="link-336" class="py-name"><a title="pyinotify.AnsiColorTheme.style_fail
-pyinotify.DefaultTheme.style_fail" class="py-name" href="#" onclick="return doclink('link-336', 'style_fail', 'link-277');">style_fail</a></tt> <tt class="py-op">=</tt> <tt id="link-337" class="py-name"><a title="pyinotify.Color" class="py-name" href="#" onclick="return doclink('link-337', 'Color', 'link-287');">Color</a></tt><tt class="py-op">.</tt><tt id="link-338" class="py-name"><a title="pyinotify.Color.red" class="py-name" href="#" onclick="return doclink('link-338', 'red', 'link-246');">red</a></tt><tt class="py-op">+</tt><tt id="link-339" class="py-name"><a title="pyinotify.Color" class="py-name" href="#" onclick="return doclink('link-339', 'Color', 'link-287');">Color</a></tt><tt class="py-op">.</tt><tt id="link-340" class="py-name"><a title="pyinotify.Color.bold" class="py-name" href="#" onclick="return doclink('link-340', 'bold', 'link-253');">bold</a></tt> </tt>
-<a name="L1740"></a><tt class="py-lineno">1740</tt> <tt class="py-line"> <tt id="link-341" class="py-name"><a title="pyinotify.AnsiColorTheme.style_success
-pyinotify.DefaultTheme.style_success" class="py-name" href="#" onclick="return doclink('link-341', 'style_success', 'link-278');">style_success</a></tt> <tt class="py-op">=</tt> <tt id="link-342" class="py-name"><a title="pyinotify.Color" class="py-name" href="#" onclick="return doclink('link-342', 'Color', 'link-287');">Color</a></tt><tt class="py-op">.</tt><tt id="link-343" class="py-name"><a title="pyinotify.Color.blue" class="py-name" href="#" onclick="return doclink('link-343', 'blue', 'link-249');">blue</a></tt><tt class="py-op">+</tt><tt id="link-344" class="py-name"><a title="pyinotify.Color" class="py-name" href="#" onclick="return doclink('link-344', 'Color', 'link-287');">Color</a></tt><tt class="py-op">.</tt><tt id="link-345" class="py-name"><a title="pyinotify.Color.bold" class="py-name" href="#" onclick="return doclink('link-345', 'bold', 'link-253');">bold</a></tt> </tt>
-<a name="L1741"></a><tt class="py-lineno">1741</tt> <tt class="py-line"> <tt id="link-346" class="py-name"><a title="pyinotify.AnsiColorTheme.style_even
-pyinotify.DefaultTheme.style_even" class="py-name" href="#" onclick="return doclink('link-346', 'style_even', 'link-280');">style_even</a></tt> <tt class="py-op">=</tt> <tt id="link-347" class="py-name"><a title="pyinotify.Color" class="py-name" href="#" onclick="return doclink('link-347', 'Color', 'link-287');">Color</a></tt><tt class="py-op">.</tt><tt id="link-348" class="py-name"><a title="pyinotify.Color.black" class="py-name" href="#" onclick="return doclink('link-348', 'black', 'link-245');">black</a></tt><tt class="py-op">+</tt><tt id="link-349" class="py-name"><a title="pyinotify.Color" class="py-name" href="#" onclick="return doclink('link-349', 'Color', 'link-287');">Color</a></tt><tt class="py-op">.</tt><tt id="link-350" class="py-name"><a title="pyinotify.Color.bold" class="py-name" href="#" onclick="return doclink('link-350', 'bold', 'link-253');">bold</a></tt> </tt>
-<a name="L1742"></a><tt class="py-lineno">1742</tt> <tt class="py-line"> <tt id="link-351" class="py-name"><a title="pyinotify.AnsiColorTheme.style_odd
-pyinotify.DefaultTheme.style_odd" class="py-name" href="#" onclick="return doclink('link-351', 'style_odd', 'link-279');">style_odd</a></tt> <tt class="py-op">=</tt> <tt id="link-352" class="py-name"><a title="pyinotify.Color" class="py-name" href="#" onclick="return doclink('link-352', 'Color', 'link-287');">Color</a></tt><tt class="py-op">.</tt><tt id="link-353" class="py-name"><a title="pyinotify.Color.black" class="py-name" href="#" onclick="return doclink('link-353', 'black', 'link-245');">black</a></tt> </tt>
-<a name="L1743"></a><tt class="py-lineno">1743</tt> <tt class="py-line"> <tt id="link-354" class="py-name"><a title="pyinotify.AnsiColorTheme.style_yellow
-pyinotify.DefaultTheme.style_yellow" class="py-name" href="#" onclick="return doclink('link-354', 'style_yellow', 'link-281');">style_yellow</a></tt> <tt class="py-op">=</tt> <tt id="link-355" class="py-name"><a title="pyinotify.Color" class="py-name" href="#" onclick="return doclink('link-355', 'Color', 'link-287');">Color</a></tt><tt class="py-op">.</tt><tt id="link-356" class="py-name"><a title="pyinotify.Color.yellow" class="py-name" href="#" onclick="return doclink('link-356', 'yellow', 'link-158');">yellow</a></tt> </tt>
-<a name="L1744"></a><tt class="py-lineno">1744</tt> <tt class="py-line"> <tt id="link-357" class="py-name"><a title="pyinotify.AnsiColorTheme.style_active
-pyinotify.DefaultTheme.style_active" class="py-name" href="#" onclick="return doclink('link-357', 'style_active', 'link-282');">style_active</a></tt> <tt class="py-op">=</tt> <tt id="link-358" class="py-name"><a title="pyinotify.Color" class="py-name" href="#" onclick="return doclink('link-358', 'Color', 'link-287');">Color</a></tt><tt class="py-op">.</tt><tt id="link-359" class="py-name"><a title="pyinotify.Color.black" class="py-name" href="#" onclick="return doclink('link-359', 'black', 'link-245');">black</a></tt> </tt>
-<a name="L1745"></a><tt class="py-lineno">1745</tt> <tt class="py-line"> <tt id="link-360" class="py-name"><a title="pyinotify.AnsiColorTheme.style_closed
-pyinotify.DefaultTheme.style_closed" class="py-name" href="#" onclick="return doclink('link-360', 'style_closed', 'link-283');">style_closed</a></tt> <tt class="py-op">=</tt> <tt id="link-361" class="py-name"><a title="pyinotify.Color" class="py-name" href="#" onclick="return doclink('link-361', 'Color', 'link-287');">Color</a></tt><tt class="py-op">.</tt><tt id="link-362" class="py-name"><a title="pyinotify.Color.grey" class="py-name" href="#" onclick="return doclink('link-362', 'grey', 'link-252');">grey</a></tt> </tt>
-<a name="L1746"></a><tt class="py-lineno">1746</tt> <tt class="py-line"> <tt id="link-363" class="py-name"><a title="pyinotify.AnsiColorTheme.style_left
-pyinotify.DefaultTheme.style_left" class="py-name" href="#" onclick="return doclink('link-363', 'style_left', 'link-284');">style_left</a></tt> <tt class="py-op">=</tt> <tt id="link-364" class="py-name"><a title="pyinotify.Color" class="py-name" href="#" onclick="return doclink('link-364', 'Color', 'link-287');">Color</a></tt><tt class="py-op">.</tt><tt id="link-365" class="py-name"><a title="pyinotify.Color.blue" class="py-name" href="#" onclick="return doclink('link-365', 'blue', 'link-249');">blue</a></tt><tt class="py-op">+</tt><tt id="link-366" class="py-name"><a title="pyinotify.Color" class="py-name" href="#" onclick="return doclink('link-366', 'Color', 'link-287');">Color</a></tt><tt class="py-op">.</tt><tt id="link-367" class="py-name"><a title="pyinotify.Color.invert" class="py-name" href="#" onclick="return doclink('link-367', 'invert', 'link-256');">invert</a></tt> </tt>
-<a name="L1747"></a><tt class="py-lineno">1747</tt> <tt class="py-line"> <tt id="link-368" class="py-name"><a title="pyinotify.AnsiColorTheme.style_right
-pyinotify.DefaultTheme.style_right" class="py-name" href="#" onclick="return doclink('link-368', 'style_right', 'link-285');">style_right</a></tt> <tt class="py-op">=</tt> <tt id="link-369" class="py-name"><a title="pyinotify.Color" class="py-name" href="#" onclick="return doclink('link-369', 'Color', 'link-287');">Color</a></tt><tt class="py-op">.</tt><tt id="link-370" class="py-name"><a title="pyinotify.Color.red" class="py-name" href="#" onclick="return doclink('link-370', 'red', 'link-246');">red</a></tt><tt class="py-op">+</tt><tt id="link-371" class="py-name"><a title="pyinotify.Color" class="py-name" href="#" onclick="return doclink('link-371', 'Color', 'link-287');">Color</a></tt><tt class="py-op">.</tt><tt id="link-372" class="py-name"><a title="pyinotify.Color.invert" class="py-name" href="#" onclick="return doclink('link-372', 'invert', 'link-256');">invert</a></tt> </tt>
-</div><a name="L1748"></a><tt class="py-lineno">1748</tt> <tt class="py-line"> </tt>
-<a name="L1749"></a><tt class="py-lineno">1749</tt> <tt class="py-line"><tt id="link-373" class="py-name"><a title="pyinotify.color_theme" class="py-name" href="#" onclick="return doclink('link-373', 'color_theme', 'link-80');">color_theme</a></tt> <tt class="py-op">=</tt> <tt id="link-374" class="py-name" targets="Class pyinotify.DefaultTheme=pyinotify.DefaultTheme-class.html"><a title="pyinotify.DefaultTheme" class="py-name" href="#" onclick="return doclink('link-374', 'DefaultTheme', 'link-374');">DefaultTheme</a></tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt>
-<a name="L1750"></a><tt class="py-lineno">1750</tt> <tt class="py-line"> </tt>
-<a name="L1751"></a><tt class="py-lineno">1751</tt> <tt class="py-line"> </tt>
-<a name="L1752"></a><tt class="py-lineno">1752</tt> <tt class="py-line"> </tt>
-<a name="command_line"></a><div id="command_line-def"><a name="L1753"></a><tt class="py-lineno">1753</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="L1754"></a><tt class="py-lineno">1754</tt> <tt class="py-line"> <tt class="py-comment">#</tt> </tt>
-<a name="L1755"></a><tt class="py-lineno">1755</tt> <tt class="py-line"><tt class="py-comment"></tt> <tt class="py-comment"># - By default the watched path is '/tmp' for all events.</tt> </tt>
-<a name="L1756"></a><tt class="py-lineno">1756</tt> <tt class="py-line"><tt class="py-comment"></tt> <tt class="py-comment"># - The monitoring execution blocks and serve forever, type c^c</tt> </tt>
-<a name="L1757"></a><tt class="py-lineno">1757</tt> <tt class="py-line"><tt class="py-comment"></tt> <tt class="py-comment"># to stop it.</tt> </tt>
-<a name="L1758"></a><tt class="py-lineno">1758</tt> <tt class="py-line"><tt class="py-comment"></tt> <tt class="py-comment">#</tt> </tt>
-<a name="L1759"></a><tt class="py-lineno">1759</tt> <tt class="py-line"><tt class="py-comment"></tt> <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="L1760"></a><tt class="py-lineno">1760</tt> <tt class="py-line"> </tt>
-<a name="L1761"></a><tt class="py-lineno">1761</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="L1762"></a><tt class="py-lineno">1762</tt> <tt class="py-line"> </tt>
-<a name="L1763"></a><tt class="py-lineno">1763</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="L1764"></a><tt class="py-lineno">1764</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="L1765"></a><tt class="py-lineno">1765</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="L1766"></a><tt class="py-lineno">1766</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="L1767"></a><tt class="py-lineno">1767</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="L1768"></a><tt class="py-lineno">1768</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="L1769"></a><tt class="py-lineno">1769</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="L1770"></a><tt class="py-lineno">1770</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="L1771"></a><tt class="py-lineno">1771</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="L1772"></a><tt class="py-lineno">1772</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="L1773"></a><tt class="py-lineno">1773</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="L1774"></a><tt class="py-lineno">1774</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="L1775"></a><tt class="py-lineno">1775</tt> <tt class="py-line"> <tt class="py-string">"see the documentation for valid options (defaults"</tt> </tt>
-<a name="L1776"></a><tt class="py-lineno">1776</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="L1777"></a><tt class="py-lineno">1777</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="L1778"></a><tt class="py-lineno">1778</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="L1779"></a><tt class="py-lineno">1779</tt> <tt class="py-line"> <tt class="py-name">help</tt><tt class="py-op">=</tt><tt class="py-string">"Display statistics"</tt><tt class="py-op">)</tt> </tt>
-<a name="L1780"></a><tt class="py-lineno">1780</tt> <tt class="py-line"> </tt>
-<a name="L1781"></a><tt class="py-lineno">1781</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="L1782"></a><tt class="py-lineno">1782</tt> <tt class="py-line"> </tt>
-<a name="L1783"></a><tt class="py-lineno">1783</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="L1784"></a><tt class="py-lineno">1784</tt> <tt class="py-line"> <tt id="link-375" class="py-name"><a title="pyinotify.log" class="py-name" href="#" onclick="return doclink('link-375', 'log', 'link-1');">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="L1785"></a><tt class="py-lineno">1785</tt> <tt class="py-line"> </tt>
-<a name="L1786"></a><tt class="py-lineno">1786</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="L1787"></a><tt class="py-lineno">1787</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="L1788"></a><tt class="py-lineno">1788</tt> <tt class="py-line"> <tt class="py-keyword">else</tt><tt class="py-op">:</tt> </tt>
-<a name="L1789"></a><tt class="py-lineno">1789</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="L1790"></a><tt class="py-lineno">1790</tt> <tt class="py-line"> </tt>
-<a name="L1791"></a><tt class="py-lineno">1791</tt> <tt class="py-line"> <tt class="py-comment"># watch manager instance</tt> </tt>
-<a name="L1792"></a><tt class="py-lineno">1792</tt> <tt class="py-line"><tt class="py-comment"></tt> <tt class="py-name">wm</tt> <tt class="py-op">=</tt> <tt id="link-376" class="py-name" targets="Class pyinotify.WatchManager=pyinotify.WatchManager-class.html"><a title="pyinotify.WatchManager" class="py-name" href="#" onclick="return doclink('link-376', 'WatchManager', 'link-376');">WatchManager</a></tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt>
-<a name="L1793"></a><tt class="py-lineno">1793</tt> <tt class="py-line"> <tt class="py-comment"># notifier instance and init</tt> </tt>
-<a name="L1794"></a><tt class="py-lineno">1794</tt> <tt class="py-line"><tt class="py-comment"></tt> <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="L1795"></a><tt class="py-lineno">1795</tt> <tt class="py-line"> <tt class="py-name">notifier</tt> <tt class="py-op">=</tt> <tt id="link-377" class="py-name"><a title="pyinotify.Notifier" class="py-name" href="#" onclick="return doclink('link-377', 'Notifier', 'link-182');">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-378" class="py-name" targets="Class pyinotify.Stats=pyinotify.Stats-class.html"><a title="pyinotify.Stats" class="py-name" href="#" onclick="return doclink('link-378', 'Stats', 'link-378');">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="L1796"></a><tt class="py-lineno">1796</tt> <tt class="py-line"> <tt class="py-keyword">else</tt><tt class="py-op">:</tt> </tt>
-<a name="L1797"></a><tt class="py-lineno">1797</tt> <tt class="py-line"> <tt class="py-name">notifier</tt> <tt class="py-op">=</tt> <tt id="link-379" class="py-name"><a title="pyinotify.Notifier" class="py-name" href="#" onclick="return doclink('link-379', 'Notifier', 'link-182');">Notifier</a></tt><tt class="py-op">(</tt><tt class="py-name">wm</tt><tt class="py-op">)</tt> </tt>
-<a name="L1798"></a><tt class="py-lineno">1798</tt> <tt class="py-line"> </tt>
-<a name="L1799"></a><tt class="py-lineno">1799</tt> <tt class="py-line"> <tt class="py-comment"># What mask to apply</tt> </tt>
-<a name="L1800"></a><tt class="py-lineno">1800</tt> <tt class="py-line"><tt class="py-comment"></tt> <tt class="py-name">mask</tt> <tt class="py-op">=</tt> <tt class="py-number">0</tt> </tt>
-<a name="L1801"></a><tt class="py-lineno">1801</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="L1802"></a><tt class="py-lineno">1802</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="L1803"></a><tt class="py-lineno">1803</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="L1804"></a><tt class="py-lineno">1804</tt> <tt class="py-line"> <tt class="py-name">evcode</tt> <tt class="py-op">=</tt> <tt id="link-380" class="py-name"><a title="pyinotify.EventsCodes" class="py-name" href="#" onclick="return doclink('link-380', 'EventsCodes', 'link-39');">EventsCodes</a></tt><tt class="py-op">.</tt><tt id="link-381" class="py-name"><a title="pyinotify.EventsCodes.ALL_FLAGS" class="py-name" href="#" onclick="return doclink('link-381', 'ALL_FLAGS', 'link-44');">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="L1805"></a><tt class="py-lineno">1805</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="L1806"></a><tt class="py-lineno">1806</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="L1807"></a><tt class="py-lineno">1807</tt> <tt class="py-line"> <tt class="py-keyword">else</tt><tt class="py-op">:</tt> </tt>
-<a name="L1808"></a><tt class="py-lineno">1808</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="L1809"></a><tt class="py-lineno">1809</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="L1810"></a><tt class="py-lineno">1810</tt> <tt class="py-line"> <tt class="py-keyword">else</tt><tt class="py-op">:</tt> </tt>
-<a name="L1811"></a><tt class="py-lineno">1811</tt> <tt class="py-line"> <tt class="py-name">mask</tt> <tt class="py-op">=</tt> <tt id="link-382" class="py-name"><a title="pyinotify.ALL_EVENTS" class="py-name" href="#" onclick="return doclink('link-382', 'ALL_EVENTS', 'link-66');">ALL_EVENTS</a></tt> </tt>
-<a name="L1812"></a><tt class="py-lineno">1812</tt> <tt class="py-line"> </tt>
-<a name="L1813"></a><tt class="py-lineno">1813</tt> <tt class="py-line"> <tt class="py-comment"># stats</tt> </tt>
-<a name="L1814"></a><tt class="py-lineno">1814</tt> <tt class="py-line"><tt class="py-comment"></tt> <tt class="py-name">cb_fun</tt> <tt class="py-op">=</tt> <tt class="py-name">None</tt> </tt>
-<a name="L1815"></a><tt class="py-lineno">1815</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="L1816"></a><tt class="py-lineno">1816</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="L1817"></a><tt class="py-lineno">1817</tt> <tt class="py-line"> <tt class="py-keyword">print</tt><tt class="py-op">(</tt><tt class="py-string">'%s\n%s\n'</tt> <tt class="py-op">%</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-383" class="py-name"><a title="pyinotify.Notifier.proc_fun" class="py-name" href="#" onclick="return doclink('link-383', 'proc_fun', 'link-112');">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="L1818"></a><tt class="py-lineno">1818</tt> <tt class="py-line"> <tt class="py-name">s</tt><tt class="py-op">.</tt><tt id="link-384" class="py-name"><a title="pyinotify.Notifier.proc_fun" class="py-name" href="#" onclick="return doclink('link-384', 'proc_fun', 'link-112');">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>
-</div><a name="L1819"></a><tt class="py-lineno">1819</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="L1820"></a><tt class="py-lineno">1820</tt> <tt class="py-line"> </tt>
-<a name="L1821"></a><tt class="py-lineno">1821</tt> <tt class="py-line"> <tt class="py-name">wm</tt><tt class="py-op">.</tt><tt id="link-385" class="py-name"><a title="pyinotify.WatchManager.add_watch" class="py-name" href="#" onclick="return doclink('link-385', 'add_watch', 'link-110');">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="L1648"></a><tt class="py-lineno">1648</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="L1649"></a><tt class="py-lineno">1649</tt> <tt class="py-line"> <tt id="link-249" class="py-name"><a title="pyinotify.log" class="py-name" href="#" onclick="return doclink('link-249', 'log', 'link-13');">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-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-250" class="py-name"><a title="pyinotify.WatchManager.get_path" class="py-name" href="#" onclick="return doclink('link-250', 'get_path', 'link-227');">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 class="py-op">)</tt> </tt>
+<a name="L1650"></a><tt class="py-lineno">1650</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-name">ret_</tt> </tt>
+</div><a name="L1651"></a><tt class="py-lineno">1651</tt> <tt class="py-line"> </tt>
+<a name="L1652"></a><tt class="py-lineno">1652</tt> <tt class="py-line"> </tt>
+<a name="WatchManager.watch_transient_file"></a><div id="WatchManager.watch_transient_file-def"><a name="L1653"></a><tt class="py-lineno">1653</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="L1654"></a><tt class="py-lineno">1654</tt> <tt class="py-line"> <tt class="py-docstring">"""</tt> </tt>
+<a name="L1655"></a><tt class="py-lineno">1655</tt> <tt class="py-line"><tt class="py-docstring"> Watch a transient file, which will be created and deleted frequently</tt> </tt>
+<a name="L1656"></a><tt class="py-lineno">1656</tt> <tt class="py-line"><tt class="py-docstring"> over time (e.g. pid file).</tt> </tt>
+<a name="L1657"></a><tt class="py-lineno">1657</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
+<a name="L1658"></a><tt class="py-lineno">1658</tt> <tt class="py-line"><tt class="py-docstring"> @param filename: Filename.</tt> </tt>
+<a name="L1659"></a><tt class="py-lineno">1659</tt> <tt class="py-line"><tt class="py-docstring"> @type filename: string</tt> </tt>
+<a name="L1660"></a><tt class="py-lineno">1660</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="L1661"></a><tt class="py-lineno">1661</tt> <tt class="py-line"><tt class="py-docstring"> @type mask: int</tt> </tt>
+<a name="L1662"></a><tt class="py-lineno">1662</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="L1663"></a><tt class="py-lineno">1663</tt> <tt class="py-line"><tt class="py-docstring"> accepting a ProcessEvent's instance as argument into</tt> </tt>
+<a name="L1664"></a><tt class="py-lineno">1664</tt> <tt class="py-line"><tt class="py-docstring"> __init__, see transient_file.py example for more</tt> </tt>
+<a name="L1665"></a><tt class="py-lineno">1665</tt> <tt class="py-line"><tt class="py-docstring"> details.</tt> </tt>
+<a name="L1666"></a><tt class="py-lineno">1666</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="L1667"></a><tt class="py-lineno">1667</tt> <tt class="py-line"><tt class="py-docstring"> @return: See add_watch().</tt> </tt>
+<a name="L1668"></a><tt class="py-lineno">1668</tt> <tt class="py-line"><tt class="py-docstring"> @rtype: See add_watch().</tt> </tt>
+<a name="L1669"></a><tt class="py-lineno">1669</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt>
+<a name="L1670"></a><tt class="py-lineno">1670</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="L1671"></a><tt class="py-lineno">1671</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="L1672"></a><tt class="py-lineno">1672</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="L1673"></a><tt class="py-lineno">1673</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="L1674"></a><tt class="py-lineno">1674</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="L1675"></a><tt class="py-lineno">1675</tt> <tt class="py-line"><tt class="py-comment"></tt> <tt class="py-name">mask</tt> <tt class="py-op">|=</tt> <tt id="link-251" class="py-name"><a title="pyinotify.IN_CREATE" class="py-name" href="#" onclick="return doclink('link-251', 'IN_CREATE', 'link-131');">IN_CREATE</a></tt> <tt class="py-op">|</tt> <tt id="link-252" 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-252', 'IN_DELETE', 'link-252');">IN_DELETE</a></tt> </tt>
+<a name="L1676"></a><tt class="py-lineno">1676</tt> <tt class="py-line"> </tt>
+<a name="L1677"></a><tt class="py-lineno">1677</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="L1678"></a><tt class="py-lineno">1678</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-253" class="py-name"><a title="pyinotify.name" class="py-name" href="#" onclick="return doclink('link-253', 'name', 'link-40');">name</a></tt> </tt>
+</div><a name="L1679"></a><tt class="py-lineno">1679</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-254" class="py-name"><a title="pyinotify.WatchManager.add_watch" class="py-name" href="#" onclick="return doclink('link-254', 'add_watch', 'link-122');">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="L1680"></a><tt class="py-lineno">1680</tt> <tt class="py-line"> <tt id="link-255" class="py-name"><a title="pyinotify.Notifier.proc_fun" class="py-name" href="#" onclick="return doclink('link-255', 'proc_fun', 'link-124');">proc_fun</a></tt><tt class="py-op">=</tt><tt class="py-name">proc_class</tt><tt class="py-op">(</tt><tt id="link-256" class="py-name" targets="Class pyinotify.ChainIf=pyinotify.ChainIf-class.html"><a title="pyinotify.ChainIf" class="py-name" href="#" onclick="return doclink('link-256', 'ChainIf', 'link-256');">ChainIf</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="L1681"></a><tt class="py-lineno">1681</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="L1682"></a><tt class="py-lineno">1682</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>
+</div></div><a name="L1683"></a><tt class="py-lineno">1683</tt> <tt class="py-line"> </tt>
+<a name="L1684"></a><tt class="py-lineno">1684</tt> <tt class="py-line"> </tt>
+<a name="L1685"></a><tt class="py-lineno">1685</tt> <tt class="py-line"><tt class="py-comment">#</tt> </tt>
+<a name="L1686"></a><tt class="py-lineno">1686</tt> <tt class="py-line"><tt class="py-comment"></tt><tt class="py-comment"># The color mechanism is taken from Scapy:</tt> </tt>
+<a name="L1687"></a><tt class="py-lineno">1687</tt> <tt class="py-line"><tt class="py-comment"></tt><tt class="py-comment"># http://www.secdev.org/projects/scapy/</tt> </tt>
+<a name="L1688"></a><tt class="py-lineno">1688</tt> <tt class="py-line"><tt class="py-comment"></tt><tt class="py-comment"># Thanks to Philippe Biondi for his awesome tool and design.</tt> </tt>
+<a name="L1689"></a><tt class="py-lineno">1689</tt> <tt class="py-line"><tt class="py-comment"></tt><tt class="py-comment">#</tt> </tt>
+<a name="L1690"></a><tt class="py-lineno">1690</tt> <tt class="py-line"><tt class="py-comment"></tt> </tt>
+<a name="Color"></a><div id="Color-def"><a name="L1691"></a><tt class="py-lineno">1691</tt> <a class="py-toggle" href="#" id="Color-toggle" onclick="return toggle('Color');">-</a><tt class="py-line"><tt class="py-keyword">class</tt> <a class="py-def-name" href="pyinotify.Color-class.html">Color</a><tt class="py-op">:</tt> </tt>
+</div><div id="Color-collapsed" style="display:none;" pad="++++" indent="++++"></div><div id="Color-expanded"><a name="L1692"></a><tt class="py-lineno">1692</tt> <tt class="py-line"> <tt id="link-257" class="py-name" targets="Variable pyinotify.Color.normal=pyinotify.Color-class.html#normal"><a title="pyinotify.Color.normal" class="py-name" href="#" onclick="return doclink('link-257', 'normal', 'link-257');">normal</a></tt> <tt class="py-op">=</tt> <tt class="py-string">"\033[0m"</tt> </tt>
+<a name="L1693"></a><tt class="py-lineno">1693</tt> <tt class="py-line"> <tt id="link-258" class="py-name" targets="Variable pyinotify.Color.black=pyinotify.Color-class.html#black"><a title="pyinotify.Color.black" class="py-name" href="#" onclick="return doclink('link-258', 'black', 'link-258');">black</a></tt> <tt class="py-op">=</tt> <tt class="py-string">"\033[30m"</tt> </tt>
+<a name="L1694"></a><tt class="py-lineno">1694</tt> <tt class="py-line"> <tt id="link-259" class="py-name" targets="Variable pyinotify.Color.red=pyinotify.Color-class.html#red"><a title="pyinotify.Color.red" class="py-name" href="#" onclick="return doclink('link-259', 'red', 'link-259');">red</a></tt> <tt class="py-op">=</tt> <tt class="py-string">"\033[31m"</tt> </tt>
+<a name="L1695"></a><tt class="py-lineno">1695</tt> <tt class="py-line"> <tt id="link-260" class="py-name" targets="Variable pyinotify.Color.green=pyinotify.Color-class.html#green"><a title="pyinotify.Color.green" class="py-name" href="#" onclick="return doclink('link-260', 'green', 'link-260');">green</a></tt> <tt class="py-op">=</tt> <tt class="py-string">"\033[32m"</tt> </tt>
+<a name="L1696"></a><tt class="py-lineno">1696</tt> <tt class="py-line"> <tt id="link-261" class="py-name"><a title="pyinotify.Color.yellow" class="py-name" href="#" onclick="return doclink('link-261', 'yellow', 'link-170');">yellow</a></tt> <tt class="py-op">=</tt> <tt class="py-string">"\033[33m"</tt> </tt>
+<a name="L1697"></a><tt class="py-lineno">1697</tt> <tt class="py-line"> <tt id="link-262" class="py-name" targets="Variable pyinotify.Color.blue=pyinotify.Color-class.html#blue"><a title="pyinotify.Color.blue" class="py-name" href="#" onclick="return doclink('link-262', 'blue', 'link-262');">blue</a></tt> <tt class="py-op">=</tt> <tt class="py-string">"\033[34m"</tt> </tt>
+<a name="L1698"></a><tt class="py-lineno">1698</tt> <tt class="py-line"> <tt id="link-263" class="py-name" targets="Variable pyinotify.Color.purple=pyinotify.Color-class.html#purple"><a title="pyinotify.Color.purple" class="py-name" href="#" onclick="return doclink('link-263', 'purple', 'link-263');">purple</a></tt> <tt class="py-op">=</tt> <tt class="py-string">"\033[35m"</tt> </tt>
+<a name="L1699"></a><tt class="py-lineno">1699</tt> <tt class="py-line"> <tt id="link-264" class="py-name" targets="Variable pyinotify.Color.cyan=pyinotify.Color-class.html#cyan"><a title="pyinotify.Color.cyan" class="py-name" href="#" onclick="return doclink('link-264', 'cyan', 'link-264');">cyan</a></tt> <tt class="py-op">=</tt> <tt class="py-string">"\033[36m"</tt> </tt>
+<a name="L1700"></a><tt class="py-lineno">1700</tt> <tt class="py-line"> <tt id="link-265" class="py-name" targets="Variable pyinotify.Color.grey=pyinotify.Color-class.html#grey"><a title="pyinotify.Color.grey" class="py-name" href="#" onclick="return doclink('link-265', 'grey', 'link-265');">grey</a></tt> <tt class="py-op">=</tt> <tt class="py-string">"\033[37m"</tt> </tt>
+<a name="L1701"></a><tt class="py-lineno">1701</tt> <tt class="py-line"> </tt>
+<a name="L1702"></a><tt class="py-lineno">1702</tt> <tt class="py-line"> <tt id="link-266" class="py-name" targets="Variable pyinotify.Color.bold=pyinotify.Color-class.html#bold"><a title="pyinotify.Color.bold" class="py-name" href="#" onclick="return doclink('link-266', 'bold', 'link-266');">bold</a></tt> <tt class="py-op">=</tt> <tt class="py-string">"\033[1m"</tt> </tt>
+<a name="L1703"></a><tt class="py-lineno">1703</tt> <tt class="py-line"> <tt id="link-267" class="py-name" targets="Variable pyinotify.Color.uline=pyinotify.Color-class.html#uline"><a title="pyinotify.Color.uline" class="py-name" href="#" onclick="return doclink('link-267', 'uline', 'link-267');">uline</a></tt> <tt class="py-op">=</tt> <tt class="py-string">"\033[4m"</tt> </tt>
+<a name="L1704"></a><tt class="py-lineno">1704</tt> <tt class="py-line"> <tt id="link-268" class="py-name" targets="Variable pyinotify.Color.blink=pyinotify.Color-class.html#blink"><a title="pyinotify.Color.blink" class="py-name" href="#" onclick="return doclink('link-268', 'blink', 'link-268');">blink</a></tt> <tt class="py-op">=</tt> <tt class="py-string">"\033[5m"</tt> </tt>
+<a name="L1705"></a><tt class="py-lineno">1705</tt> <tt class="py-line"> <tt id="link-269" class="py-name" targets="Variable pyinotify.Color.invert=pyinotify.Color-class.html#invert"><a title="pyinotify.Color.invert" class="py-name" href="#" onclick="return doclink('link-269', 'invert', 'link-269');">invert</a></tt> <tt class="py-op">=</tt> <tt class="py-string">"\033[7m"</tt> </tt>
+</div><a name="L1706"></a><tt class="py-lineno">1706</tt> <tt class="py-line"> </tt>
+<a name="ColorTheme"></a><div id="ColorTheme-def"><a name="L1707"></a><tt class="py-lineno">1707</tt> <a class="py-toggle" href="#" id="ColorTheme-toggle" onclick="return toggle('ColorTheme');">-</a><tt class="py-line"><tt class="py-keyword">class</tt> <a class="py-def-name" href="pyinotify.ColorTheme-class.html">ColorTheme</a><tt class="py-op">:</tt> </tt>
+</div><div id="ColorTheme-collapsed" style="display:none;" pad="++++" indent="++++"></div><div id="ColorTheme-expanded"><a name="ColorTheme.__repr__"></a><div id="ColorTheme.__repr__-def"><a name="L1708"></a><tt class="py-lineno">1708</tt> <a class="py-toggle" href="#" id="ColorTheme.__repr__-toggle" onclick="return toggle('ColorTheme.__repr__');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="pyinotify.ColorTheme-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="ColorTheme.__repr__-collapsed" style="display:none;" pad="++++" indent="++++++++"></div><div id="ColorTheme.__repr__-expanded"><a name="L1709"></a><tt class="py-lineno">1709</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><a name="ColorTheme.__getattr__"></a><div id="ColorTheme.__getattr__-def"><a name="L1710"></a><tt class="py-lineno">1710</tt> <a class="py-toggle" href="#" id="ColorTheme.__getattr__-toggle" onclick="return toggle('ColorTheme.__getattr__');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="pyinotify.ColorTheme-class.html#__getattr__">__getattr__</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">,</tt> <tt class="py-param">attr</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
+</div><div id="ColorTheme.__getattr__-collapsed" style="display:none;" pad="++++" indent="++++++++"></div><div id="ColorTheme.__getattr__-expanded"><a name="L1711"></a><tt class="py-lineno">1711</tt> <tt class="py-line"> <tt class="py-keyword">return</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>
+</div></div><a name="L1712"></a><tt class="py-lineno">1712</tt> <tt class="py-line"> </tt>
+<a name="NoTheme"></a><div id="NoTheme-def"><a name="L1713"></a><tt class="py-lineno">1713</tt> <a class="py-toggle" href="#" id="NoTheme-toggle" onclick="return toggle('NoTheme');">-</a><tt class="py-line"><tt class="py-keyword">class</tt> <a class="py-def-name" href="pyinotify.NoTheme-class.html">NoTheme</a><tt class="py-op">(</tt><tt class="py-base-class">ColorTheme</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
+</div><div id="NoTheme-collapsed" style="display:none;" pad="++++" indent="++++"></div><div id="NoTheme-expanded"><a name="L1714"></a><tt class="py-lineno">1714</tt> <tt class="py-line"> <tt class="py-keyword">pass</tt> </tt>
+</div><a name="L1715"></a><tt class="py-lineno">1715</tt> <tt class="py-line"> </tt>
+<a name="AnsiColorTheme"></a><div id="AnsiColorTheme-def"><a name="L1716"></a><tt class="py-lineno">1716</tt> <a class="py-toggle" href="#" id="AnsiColorTheme-toggle" onclick="return toggle('AnsiColorTheme');">-</a><tt class="py-line"><tt class="py-keyword">class</tt> <a class="py-def-name" href="pyinotify.AnsiColorTheme-class.html">AnsiColorTheme</a><tt class="py-op">(</tt><tt class="py-base-class">ColorTheme</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
+</div><div id="AnsiColorTheme-collapsed" style="display:none;" pad="++++" indent="++++"></div><div id="AnsiColorTheme-expanded"><a name="AnsiColorTheme.__getattr__"></a><div id="AnsiColorTheme.__getattr__-def"><a name="L1717"></a><tt class="py-lineno">1717</tt> <a class="py-toggle" href="#" id="AnsiColorTheme.__getattr__-toggle" onclick="return toggle('AnsiColorTheme.__getattr__');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="pyinotify.AnsiColorTheme-class.html#__getattr__">__getattr__</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">,</tt> <tt class="py-param">attr</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
+</div><div id="AnsiColorTheme.__getattr__-collapsed" style="display:none;" pad="++++" indent="++++++++"></div><div id="AnsiColorTheme.__getattr__-expanded"><a name="L1718"></a><tt class="py-lineno">1718</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="L1719"></a><tt class="py-lineno">1719</tt> <tt class="py-line"> <tt class="py-keyword">raise</tt> <tt class="py-name">AttributeError</tt><tt class="py-op">(</tt><tt class="py-name">attr</tt><tt class="py-op">)</tt> </tt>
+<a name="L1720"></a><tt class="py-lineno">1720</tt> <tt class="py-line"> <tt class="py-name">s</tt> <tt class="py-op">=</tt> <tt class="py-string">"style_%s"</tt> <tt class="py-op">%</tt> <tt class="py-name">attr</tt> </tt>
+<a name="L1721"></a><tt class="py-lineno">1721</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">s</tt> <tt class="py-keyword">in</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">__dict__</tt><tt class="py-op">:</tt> </tt>
+<a name="L1722"></a><tt class="py-lineno">1722</tt> <tt class="py-line"> <tt class="py-name">before</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">s</tt><tt class="py-op">)</tt> </tt>
+<a name="L1723"></a><tt class="py-lineno">1723</tt> <tt class="py-line"> <tt class="py-name">after</tt> <tt class="py-op">=</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-270" class="py-name" targets="Variable pyinotify.AnsiColorTheme.style_normal=pyinotify.AnsiColorTheme-class.html#style_normal,Variable pyinotify.DefaultTheme.style_normal=pyinotify.DefaultTheme-class.html#style_normal"><a title="pyinotify.AnsiColorTheme.style_normal
+pyinotify.DefaultTheme.style_normal" class="py-name" href="#" onclick="return doclink('link-270', 'style_normal', 'link-270');">style_normal</a></tt> </tt>
+<a name="L1724"></a><tt class="py-lineno">1724</tt> <tt class="py-line"> <tt class="py-keyword">else</tt><tt class="py-op">:</tt> </tt>
+<a name="L1725"></a><tt class="py-lineno">1725</tt> <tt class="py-line"> <tt class="py-name">before</tt> <tt class="py-op">=</tt> <tt class="py-name">after</tt> <tt class="py-op">=</tt> <tt class="py-string">""</tt> </tt>
+<a name="L1726"></a><tt class="py-lineno">1726</tt> <tt class="py-line"> </tt>
+<a name="L1727"></a><tt class="py-lineno">1727</tt> <tt class="py-line"> <tt class="py-keyword">def</tt> <tt class="py-def-name">do_style</tt><tt class="py-op">(</tt><tt class="py-param">val</tt><tt class="py-op">,</tt> <tt class="py-param">fmt</tt><tt class="py-op">=</tt><tt class="py-name">None</tt><tt class="py-op">,</tt> <tt class="py-param">before</tt><tt class="py-op">=</tt><tt class="py-name">before</tt><tt class="py-op">,</tt> <tt class="py-param">after</tt><tt class="py-op">=</tt><tt class="py-name">after</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
+<a name="L1728"></a><tt class="py-lineno">1728</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">fmt</tt> <tt class="py-keyword">is</tt> <tt class="py-name">None</tt><tt class="py-op">:</tt> </tt>
+<a name="L1729"></a><tt class="py-lineno">1729</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">type</tt><tt class="py-op">(</tt><tt id="link-271" class="py-name"><a title="pyinotify.val" class="py-name" href="#" onclick="return doclink('link-271', 'val', 'link-69');">val</a></tt><tt class="py-op">)</tt> <tt class="py-keyword">is</tt> <tt class="py-keyword">not</tt> <tt class="py-name">str</tt><tt class="py-op">:</tt> </tt>
+<a name="L1730"></a><tt class="py-lineno">1730</tt> <tt class="py-line"> <tt id="link-272" class="py-name"><a title="pyinotify.val" class="py-name" href="#" onclick="return doclink('link-272', 'val', 'link-69');">val</a></tt> <tt class="py-op">=</tt> <tt class="py-name">str</tt><tt class="py-op">(</tt><tt id="link-273" class="py-name"><a title="pyinotify.val" class="py-name" href="#" onclick="return doclink('link-273', 'val', 'link-69');">val</a></tt><tt class="py-op">)</tt> </tt>
+<a name="L1731"></a><tt class="py-lineno">1731</tt> <tt class="py-line"> <tt class="py-keyword">else</tt><tt class="py-op">:</tt> </tt>
+<a name="L1732"></a><tt class="py-lineno">1732</tt> <tt class="py-line"> <tt id="link-274" class="py-name"><a title="pyinotify.val" class="py-name" href="#" onclick="return doclink('link-274', 'val', 'link-69');">val</a></tt> <tt class="py-op">=</tt> <tt class="py-name">fmt</tt> <tt class="py-op">%</tt> <tt id="link-275" class="py-name"><a title="pyinotify.val" class="py-name" href="#" onclick="return doclink('link-275', 'val', 'link-69');">val</a></tt> </tt>
+<a name="L1733"></a><tt class="py-lineno">1733</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-name">before</tt><tt class="py-op">+</tt><tt id="link-276" class="py-name"><a title="pyinotify.val" class="py-name" href="#" onclick="return doclink('link-276', 'val', 'link-69');">val</a></tt><tt class="py-op">+</tt><tt class="py-name">after</tt> </tt>
+</div><a name="L1734"></a><tt class="py-lineno">1734</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-name">do_style</tt> </tt>
+</div><a name="L1735"></a><tt class="py-lineno">1735</tt> <tt class="py-line"> </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 id="link-277" class="py-name"><a title="pyinotify.AnsiColorTheme.style_normal
+pyinotify.DefaultTheme.style_normal" class="py-name" href="#" onclick="return doclink('link-277', 'style_normal', 'link-270');">style_normal</a></tt> <tt class="py-op">=</tt> <tt class="py-string">""</tt> </tt>
+<a name="L1738"></a><tt class="py-lineno">1738</tt> <tt class="py-line"> <tt id="link-278" class="py-name" targets="Variable pyinotify.AnsiColorTheme.style_prompt=pyinotify.AnsiColorTheme-class.html#style_prompt,Variable pyinotify.DefaultTheme.style_prompt=pyinotify.DefaultTheme-class.html#style_prompt"><a title="pyinotify.AnsiColorTheme.style_prompt
+pyinotify.DefaultTheme.style_prompt" class="py-name" href="#" onclick="return doclink('link-278', 'style_prompt', 'link-278');">style_prompt</a></tt> <tt class="py-op">=</tt> <tt class="py-string">""</tt> <tt class="py-comment"># '&gt;&gt;&gt;'</tt> </tt>
+<a name="L1739"></a><tt class="py-lineno">1739</tt> <tt class="py-line"> <tt id="link-279" class="py-name" targets="Variable pyinotify.AnsiColorTheme.style_punct=pyinotify.AnsiColorTheme-class.html#style_punct,Variable pyinotify.DefaultTheme.style_punct=pyinotify.DefaultTheme-class.html#style_punct"><a title="pyinotify.AnsiColorTheme.style_punct
+pyinotify.DefaultTheme.style_punct" class="py-name" href="#" onclick="return doclink('link-279', 'style_punct', 'link-279');">style_punct</a></tt> <tt class="py-op">=</tt> <tt class="py-string">""</tt> </tt>
+<a name="L1740"></a><tt class="py-lineno">1740</tt> <tt class="py-line"> <tt id="link-280" class="py-name" targets="Variable pyinotify.AnsiColorTheme.style_id=pyinotify.AnsiColorTheme-class.html#style_id,Variable pyinotify.DefaultTheme.style_id=pyinotify.DefaultTheme-class.html#style_id"><a title="pyinotify.AnsiColorTheme.style_id
+pyinotify.DefaultTheme.style_id" class="py-name" href="#" onclick="return doclink('link-280', 'style_id', 'link-280');">style_id</a></tt> <tt class="py-op">=</tt> <tt class="py-string">""</tt> </tt>
+<a name="L1741"></a><tt class="py-lineno">1741</tt> <tt class="py-line"> <tt id="link-281" class="py-name" targets="Variable pyinotify.AnsiColorTheme.style_not_printable=pyinotify.AnsiColorTheme-class.html#style_not_printable,Variable pyinotify.DefaultTheme.style_not_printable=pyinotify.DefaultTheme-class.html#style_not_printable"><a title="pyinotify.AnsiColorTheme.style_not_printable
+pyinotify.DefaultTheme.style_not_printable" class="py-name" href="#" onclick="return doclink('link-281', 'style_not_printable', 'link-281');">style_not_printable</a></tt> <tt class="py-op">=</tt> <tt class="py-string">""</tt> </tt>
+<a name="L1742"></a><tt class="py-lineno">1742</tt> <tt class="py-line"> <tt id="link-282" class="py-name" targets="Variable pyinotify.AnsiColorTheme.style_class_name=pyinotify.AnsiColorTheme-class.html#style_class_name,Variable pyinotify.DefaultTheme.style_class_name=pyinotify.DefaultTheme-class.html#style_class_name"><a title="pyinotify.AnsiColorTheme.style_class_name
+pyinotify.DefaultTheme.style_class_name" class="py-name" href="#" onclick="return doclink('link-282', 'style_class_name', 'link-282');">style_class_name</a></tt> <tt class="py-op">=</tt> <tt class="py-string">""</tt> </tt>
+<a name="L1743"></a><tt class="py-lineno">1743</tt> <tt class="py-line"> <tt id="link-283" class="py-name" targets="Variable pyinotify.AnsiColorTheme.style_field_name=pyinotify.AnsiColorTheme-class.html#style_field_name,Variable pyinotify.DefaultTheme.style_field_name=pyinotify.DefaultTheme-class.html#style_field_name"><a title="pyinotify.AnsiColorTheme.style_field_name
+pyinotify.DefaultTheme.style_field_name" class="py-name" href="#" onclick="return doclink('link-283', 'style_field_name', 'link-283');">style_field_name</a></tt> <tt class="py-op">=</tt> <tt class="py-string">""</tt> </tt>
+<a name="L1744"></a><tt class="py-lineno">1744</tt> <tt class="py-line"> <tt id="link-284" class="py-name" targets="Variable pyinotify.AnsiColorTheme.style_field_value=pyinotify.AnsiColorTheme-class.html#style_field_value,Variable pyinotify.DefaultTheme.style_field_value=pyinotify.DefaultTheme-class.html#style_field_value"><a title="pyinotify.AnsiColorTheme.style_field_value
+pyinotify.DefaultTheme.style_field_value" class="py-name" href="#" onclick="return doclink('link-284', 'style_field_value', 'link-284');">style_field_value</a></tt> <tt class="py-op">=</tt> <tt class="py-string">""</tt> </tt>
+<a name="L1745"></a><tt class="py-lineno">1745</tt> <tt class="py-line"> <tt id="link-285" class="py-name" targets="Variable pyinotify.AnsiColorTheme.style_emph_field_name=pyinotify.AnsiColorTheme-class.html#style_emph_field_name,Variable pyinotify.DefaultTheme.style_emph_field_name=pyinotify.DefaultTheme-class.html#style_emph_field_name"><a title="pyinotify.AnsiColorTheme.style_emph_field_name
+pyinotify.DefaultTheme.style_emph_field_name" class="py-name" href="#" onclick="return doclink('link-285', 'style_emph_field_name', 'link-285');">style_emph_field_name</a></tt> <tt class="py-op">=</tt> <tt class="py-string">""</tt> </tt>
+<a name="L1746"></a><tt class="py-lineno">1746</tt> <tt class="py-line"> <tt id="link-286" class="py-name" targets="Variable pyinotify.AnsiColorTheme.style_emph_field_value=pyinotify.AnsiColorTheme-class.html#style_emph_field_value,Variable pyinotify.DefaultTheme.style_emph_field_value=pyinotify.DefaultTheme-class.html#style_emph_field_value"><a title="pyinotify.AnsiColorTheme.style_emph_field_value
+pyinotify.DefaultTheme.style_emph_field_value" class="py-name" href="#" onclick="return doclink('link-286', 'style_emph_field_value', 'link-286');">style_emph_field_value</a></tt> <tt class="py-op">=</tt> <tt class="py-string">""</tt> </tt>
+<a name="L1747"></a><tt class="py-lineno">1747</tt> <tt class="py-line"> <tt id="link-287" class="py-name" targets="Variable pyinotify.AnsiColorTheme.style_watchlist_name=pyinotify.AnsiColorTheme-class.html#style_watchlist_name"><a title="pyinotify.AnsiColorTheme.style_watchlist_name" class="py-name" href="#" onclick="return doclink('link-287', 'style_watchlist_name', 'link-287');">style_watchlist_name</a></tt> <tt class="py-op">=</tt> <tt class="py-string">""</tt> </tt>
+<a name="L1748"></a><tt class="py-lineno">1748</tt> <tt class="py-line"> <tt id="link-288" class="py-name" targets="Variable pyinotify.AnsiColorTheme.style_watchlist_type=pyinotify.AnsiColorTheme-class.html#style_watchlist_type,Variable pyinotify.DefaultTheme.style_watchlist_type=pyinotify.DefaultTheme-class.html#style_watchlist_type"><a title="pyinotify.AnsiColorTheme.style_watchlist_type
+pyinotify.DefaultTheme.style_watchlist_type" class="py-name" href="#" onclick="return doclink('link-288', 'style_watchlist_type', 'link-288');">style_watchlist_type</a></tt> <tt class="py-op">=</tt> <tt class="py-string">""</tt> </tt>
+<a name="L1749"></a><tt class="py-lineno">1749</tt> <tt class="py-line"> <tt id="link-289" class="py-name" targets="Variable pyinotify.AnsiColorTheme.style_watchlist_value=pyinotify.AnsiColorTheme-class.html#style_watchlist_value,Variable pyinotify.DefaultTheme.style_watchlist_value=pyinotify.DefaultTheme-class.html#style_watchlist_value"><a title="pyinotify.AnsiColorTheme.style_watchlist_value
+pyinotify.DefaultTheme.style_watchlist_value" class="py-name" href="#" onclick="return doclink('link-289', 'style_watchlist_value', 'link-289');">style_watchlist_value</a></tt> <tt class="py-op">=</tt> <tt class="py-string">""</tt> </tt>
+<a name="L1750"></a><tt class="py-lineno">1750</tt> <tt class="py-line"> <tt id="link-290" class="py-name" targets="Variable pyinotify.AnsiColorTheme.style_fail=pyinotify.AnsiColorTheme-class.html#style_fail,Variable pyinotify.DefaultTheme.style_fail=pyinotify.DefaultTheme-class.html#style_fail"><a title="pyinotify.AnsiColorTheme.style_fail
+pyinotify.DefaultTheme.style_fail" class="py-name" href="#" onclick="return doclink('link-290', 'style_fail', 'link-290');">style_fail</a></tt> <tt class="py-op">=</tt> <tt class="py-string">""</tt> </tt>
+<a name="L1751"></a><tt class="py-lineno">1751</tt> <tt class="py-line"> <tt id="link-291" class="py-name" targets="Variable pyinotify.AnsiColorTheme.style_success=pyinotify.AnsiColorTheme-class.html#style_success,Variable pyinotify.DefaultTheme.style_success=pyinotify.DefaultTheme-class.html#style_success"><a title="pyinotify.AnsiColorTheme.style_success
+pyinotify.DefaultTheme.style_success" class="py-name" href="#" onclick="return doclink('link-291', 'style_success', 'link-291');">style_success</a></tt> <tt class="py-op">=</tt> <tt class="py-string">""</tt> </tt>
+<a name="L1752"></a><tt class="py-lineno">1752</tt> <tt class="py-line"> <tt id="link-292" class="py-name" targets="Variable pyinotify.AnsiColorTheme.style_odd=pyinotify.AnsiColorTheme-class.html#style_odd,Variable pyinotify.DefaultTheme.style_odd=pyinotify.DefaultTheme-class.html#style_odd"><a title="pyinotify.AnsiColorTheme.style_odd
+pyinotify.DefaultTheme.style_odd" class="py-name" href="#" onclick="return doclink('link-292', 'style_odd', 'link-292');">style_odd</a></tt> <tt class="py-op">=</tt> <tt class="py-string">""</tt> </tt>
+<a name="L1753"></a><tt class="py-lineno">1753</tt> <tt class="py-line"> <tt id="link-293" class="py-name" targets="Variable pyinotify.AnsiColorTheme.style_even=pyinotify.AnsiColorTheme-class.html#style_even,Variable pyinotify.DefaultTheme.style_even=pyinotify.DefaultTheme-class.html#style_even"><a title="pyinotify.AnsiColorTheme.style_even
+pyinotify.DefaultTheme.style_even" class="py-name" href="#" onclick="return doclink('link-293', 'style_even', 'link-293');">style_even</a></tt> <tt class="py-op">=</tt> <tt class="py-string">""</tt> </tt>
+<a name="L1754"></a><tt class="py-lineno">1754</tt> <tt class="py-line"> <tt id="link-294" class="py-name" targets="Variable pyinotify.AnsiColorTheme.style_yellow=pyinotify.AnsiColorTheme-class.html#style_yellow,Variable pyinotify.DefaultTheme.style_yellow=pyinotify.DefaultTheme-class.html#style_yellow"><a title="pyinotify.AnsiColorTheme.style_yellow
+pyinotify.DefaultTheme.style_yellow" class="py-name" href="#" onclick="return doclink('link-294', 'style_yellow', 'link-294');">style_yellow</a></tt> <tt class="py-op">=</tt> <tt class="py-string">""</tt> </tt>
+<a name="L1755"></a><tt class="py-lineno">1755</tt> <tt class="py-line"> <tt id="link-295" class="py-name" targets="Variable pyinotify.AnsiColorTheme.style_active=pyinotify.AnsiColorTheme-class.html#style_active,Variable pyinotify.DefaultTheme.style_active=pyinotify.DefaultTheme-class.html#style_active"><a title="pyinotify.AnsiColorTheme.style_active
+pyinotify.DefaultTheme.style_active" class="py-name" href="#" onclick="return doclink('link-295', 'style_active', 'link-295');">style_active</a></tt> <tt class="py-op">=</tt> <tt class="py-string">""</tt> </tt>
+<a name="L1756"></a><tt class="py-lineno">1756</tt> <tt class="py-line"> <tt id="link-296" class="py-name" targets="Variable pyinotify.AnsiColorTheme.style_closed=pyinotify.AnsiColorTheme-class.html#style_closed,Variable pyinotify.DefaultTheme.style_closed=pyinotify.DefaultTheme-class.html#style_closed"><a title="pyinotify.AnsiColorTheme.style_closed
+pyinotify.DefaultTheme.style_closed" class="py-name" href="#" onclick="return doclink('link-296', 'style_closed', 'link-296');">style_closed</a></tt> <tt class="py-op">=</tt> <tt class="py-string">""</tt> </tt>
+<a name="L1757"></a><tt class="py-lineno">1757</tt> <tt class="py-line"> <tt id="link-297" class="py-name" targets="Variable pyinotify.AnsiColorTheme.style_left=pyinotify.AnsiColorTheme-class.html#style_left,Variable pyinotify.DefaultTheme.style_left=pyinotify.DefaultTheme-class.html#style_left"><a title="pyinotify.AnsiColorTheme.style_left
+pyinotify.DefaultTheme.style_left" class="py-name" href="#" onclick="return doclink('link-297', 'style_left', 'link-297');">style_left</a></tt> <tt class="py-op">=</tt> <tt class="py-string">""</tt> </tt>
+<a name="L1758"></a><tt class="py-lineno">1758</tt> <tt class="py-line"> <tt id="link-298" class="py-name" targets="Variable pyinotify.AnsiColorTheme.style_right=pyinotify.AnsiColorTheme-class.html#style_right,Variable pyinotify.DefaultTheme.style_right=pyinotify.DefaultTheme-class.html#style_right"><a title="pyinotify.AnsiColorTheme.style_right
+pyinotify.DefaultTheme.style_right" class="py-name" href="#" onclick="return doclink('link-298', 'style_right', 'link-298');">style_right</a></tt> <tt class="py-op">=</tt> <tt class="py-string">""</tt> </tt>
+</div><a name="L1759"></a><tt class="py-lineno">1759</tt> <tt class="py-line"> </tt>
+<a name="BlackAndWhite"></a><div id="BlackAndWhite-def"><a name="L1760"></a><tt class="py-lineno">1760</tt> <a class="py-toggle" href="#" id="BlackAndWhite-toggle" onclick="return toggle('BlackAndWhite');">-</a><tt class="py-line"><tt class="py-keyword">class</tt> <a class="py-def-name" href="pyinotify.BlackAndWhite-class.html">BlackAndWhite</a><tt class="py-op">(</tt><tt class="py-base-class">AnsiColorTheme</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
+</div><div id="BlackAndWhite-collapsed" style="display:none;" pad="++++" indent="++++"></div><div id="BlackAndWhite-expanded"><a name="L1761"></a><tt class="py-lineno">1761</tt> <tt class="py-line"> <tt class="py-keyword">pass</tt> </tt>
+</div><a name="L1762"></a><tt class="py-lineno">1762</tt> <tt class="py-line"> </tt>
+<a name="DefaultTheme"></a><div id="DefaultTheme-def"><a name="L1763"></a><tt class="py-lineno">1763</tt> <a class="py-toggle" href="#" id="DefaultTheme-toggle" onclick="return toggle('DefaultTheme');">-</a><tt class="py-line"><tt class="py-keyword">class</tt> <a class="py-def-name" href="pyinotify.DefaultTheme-class.html">DefaultTheme</a><tt class="py-op">(</tt><tt class="py-base-class">AnsiColorTheme</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
+</div><div id="DefaultTheme-collapsed" style="display:none;" pad="++++" indent="++++"></div><div id="DefaultTheme-expanded"><a name="L1764"></a><tt class="py-lineno">1764</tt> <tt class="py-line"> <tt id="link-299" class="py-name"><a title="pyinotify.AnsiColorTheme.style_normal
+pyinotify.DefaultTheme.style_normal" class="py-name" href="#" onclick="return doclink('link-299', 'style_normal', 'link-270');">style_normal</a></tt> <tt class="py-op">=</tt> <tt id="link-300" class="py-name" targets="Class pyinotify.Color=pyinotify.Color-class.html"><a title="pyinotify.Color" class="py-name" href="#" onclick="return doclink('link-300', 'Color', 'link-300');">Color</a></tt><tt class="py-op">.</tt><tt id="link-301" class="py-name"><a title="pyinotify.Color.normal" class="py-name" href="#" onclick="return doclink('link-301', 'normal', 'link-257');">normal</a></tt> </tt>
+<a name="L1765"></a><tt class="py-lineno">1765</tt> <tt class="py-line"> <tt id="link-302" class="py-name"><a title="pyinotify.AnsiColorTheme.style_prompt
+pyinotify.DefaultTheme.style_prompt" class="py-name" href="#" onclick="return doclink('link-302', 'style_prompt', 'link-278');">style_prompt</a></tt> <tt class="py-op">=</tt> <tt id="link-303" class="py-name"><a title="pyinotify.Color" class="py-name" href="#" onclick="return doclink('link-303', 'Color', 'link-300');">Color</a></tt><tt class="py-op">.</tt><tt id="link-304" class="py-name"><a title="pyinotify.Color.blue" class="py-name" href="#" onclick="return doclink('link-304', 'blue', 'link-262');">blue</a></tt><tt class="py-op">+</tt><tt id="link-305" class="py-name"><a title="pyinotify.Color" class="py-name" href="#" onclick="return doclink('link-305', 'Color', 'link-300');">Color</a></tt><tt class="py-op">.</tt><tt id="link-306" class="py-name"><a title="pyinotify.Color.bold" class="py-name" href="#" onclick="return doclink('link-306', 'bold', 'link-266');">bold</a></tt> </tt>
+<a name="L1766"></a><tt class="py-lineno">1766</tt> <tt class="py-line"> <tt id="link-307" class="py-name"><a title="pyinotify.AnsiColorTheme.style_punct
+pyinotify.DefaultTheme.style_punct" class="py-name" href="#" onclick="return doclink('link-307', 'style_punct', 'link-279');">style_punct</a></tt> <tt class="py-op">=</tt> <tt id="link-308" class="py-name"><a title="pyinotify.Color" class="py-name" href="#" onclick="return doclink('link-308', 'Color', 'link-300');">Color</a></tt><tt class="py-op">.</tt><tt id="link-309" class="py-name"><a title="pyinotify.Color.normal" class="py-name" href="#" onclick="return doclink('link-309', 'normal', 'link-257');">normal</a></tt> </tt>
+<a name="L1767"></a><tt class="py-lineno">1767</tt> <tt class="py-line"> <tt id="link-310" class="py-name"><a title="pyinotify.AnsiColorTheme.style_id
+pyinotify.DefaultTheme.style_id" class="py-name" href="#" onclick="return doclink('link-310', 'style_id', 'link-280');">style_id</a></tt> <tt class="py-op">=</tt> <tt id="link-311" class="py-name"><a title="pyinotify.Color" class="py-name" href="#" onclick="return doclink('link-311', 'Color', 'link-300');">Color</a></tt><tt class="py-op">.</tt><tt id="link-312" class="py-name"><a title="pyinotify.Color.blue" class="py-name" href="#" onclick="return doclink('link-312', 'blue', 'link-262');">blue</a></tt><tt class="py-op">+</tt><tt id="link-313" class="py-name"><a title="pyinotify.Color" class="py-name" href="#" onclick="return doclink('link-313', 'Color', 'link-300');">Color</a></tt><tt class="py-op">.</tt><tt id="link-314" class="py-name"><a title="pyinotify.Color.bold" class="py-name" href="#" onclick="return doclink('link-314', 'bold', 'link-266');">bold</a></tt> </tt>
+<a name="L1768"></a><tt class="py-lineno">1768</tt> <tt class="py-line"> <tt id="link-315" class="py-name"><a title="pyinotify.AnsiColorTheme.style_not_printable
+pyinotify.DefaultTheme.style_not_printable" class="py-name" href="#" onclick="return doclink('link-315', 'style_not_printable', 'link-281');">style_not_printable</a></tt> <tt class="py-op">=</tt> <tt id="link-316" class="py-name"><a title="pyinotify.Color" class="py-name" href="#" onclick="return doclink('link-316', 'Color', 'link-300');">Color</a></tt><tt class="py-op">.</tt><tt id="link-317" class="py-name"><a title="pyinotify.Color.grey" class="py-name" href="#" onclick="return doclink('link-317', 'grey', 'link-265');">grey</a></tt> </tt>
+<a name="L1769"></a><tt class="py-lineno">1769</tt> <tt class="py-line"> <tt id="link-318" class="py-name"><a title="pyinotify.AnsiColorTheme.style_class_name
+pyinotify.DefaultTheme.style_class_name" class="py-name" href="#" onclick="return doclink('link-318', 'style_class_name', 'link-282');">style_class_name</a></tt> <tt class="py-op">=</tt> <tt id="link-319" class="py-name"><a title="pyinotify.Color" class="py-name" href="#" onclick="return doclink('link-319', 'Color', 'link-300');">Color</a></tt><tt class="py-op">.</tt><tt id="link-320" class="py-name"><a title="pyinotify.Color.red" class="py-name" href="#" onclick="return doclink('link-320', 'red', 'link-259');">red</a></tt><tt class="py-op">+</tt><tt id="link-321" class="py-name"><a title="pyinotify.Color" class="py-name" href="#" onclick="return doclink('link-321', 'Color', 'link-300');">Color</a></tt><tt class="py-op">.</tt><tt id="link-322" class="py-name"><a title="pyinotify.Color.bold" class="py-name" href="#" onclick="return doclink('link-322', 'bold', 'link-266');">bold</a></tt> </tt>
+<a name="L1770"></a><tt class="py-lineno">1770</tt> <tt class="py-line"> <tt id="link-323" class="py-name"><a title="pyinotify.AnsiColorTheme.style_field_name
+pyinotify.DefaultTheme.style_field_name" class="py-name" href="#" onclick="return doclink('link-323', 'style_field_name', 'link-283');">style_field_name</a></tt> <tt class="py-op">=</tt> <tt id="link-324" class="py-name"><a title="pyinotify.Color" class="py-name" href="#" onclick="return doclink('link-324', 'Color', 'link-300');">Color</a></tt><tt class="py-op">.</tt><tt id="link-325" class="py-name"><a title="pyinotify.Color.blue" class="py-name" href="#" onclick="return doclink('link-325', 'blue', 'link-262');">blue</a></tt> </tt>
+<a name="L1771"></a><tt class="py-lineno">1771</tt> <tt class="py-line"> <tt id="link-326" class="py-name"><a title="pyinotify.AnsiColorTheme.style_field_value
+pyinotify.DefaultTheme.style_field_value" class="py-name" href="#" onclick="return doclink('link-326', 'style_field_value', 'link-284');">style_field_value</a></tt> <tt class="py-op">=</tt> <tt id="link-327" class="py-name"><a title="pyinotify.Color" class="py-name" href="#" onclick="return doclink('link-327', 'Color', 'link-300');">Color</a></tt><tt class="py-op">.</tt><tt id="link-328" class="py-name"><a title="pyinotify.Color.purple" class="py-name" href="#" onclick="return doclink('link-328', 'purple', 'link-263');">purple</a></tt> </tt>
+<a name="L1772"></a><tt class="py-lineno">1772</tt> <tt class="py-line"> <tt id="link-329" class="py-name"><a title="pyinotify.AnsiColorTheme.style_emph_field_name
+pyinotify.DefaultTheme.style_emph_field_name" class="py-name" href="#" onclick="return doclink('link-329', 'style_emph_field_name', 'link-285');">style_emph_field_name</a></tt> <tt class="py-op">=</tt> <tt id="link-330" class="py-name"><a title="pyinotify.Color" class="py-name" href="#" onclick="return doclink('link-330', 'Color', 'link-300');">Color</a></tt><tt class="py-op">.</tt><tt id="link-331" class="py-name"><a title="pyinotify.Color.blue" class="py-name" href="#" onclick="return doclink('link-331', 'blue', 'link-262');">blue</a></tt><tt class="py-op">+</tt><tt id="link-332" class="py-name"><a title="pyinotify.Color" class="py-name" href="#" onclick="return doclink('link-332', 'Color', 'link-300');">Color</a></tt><tt class="py-op">.</tt><tt id="link-333" class="py-name"><a title="pyinotify.Color.uline" class="py-name" href="#" onclick="return doclink('link-333', 'uline', 'link-267');">uline</a></tt><tt class="py-op">+</tt><tt id="link-334" class="py-name"><a title="pyinotify.Color" class="py-name" href="#" onclick="return doclink('link-334', 'Color', 'link-300');">Color</a></tt><tt class="py-op">.</tt><tt id="link-335" class="py-name"><a title="pyinotify.Color.bold" class="py-name" href="#" onclick="return doclink('link-335', 'bold', 'link-266');">bold</a></tt> </tt>
+<a name="L1773"></a><tt class="py-lineno">1773</tt> <tt class="py-line"> <tt id="link-336" class="py-name"><a title="pyinotify.AnsiColorTheme.style_emph_field_value
+pyinotify.DefaultTheme.style_emph_field_value" class="py-name" href="#" onclick="return doclink('link-336', 'style_emph_field_value', 'link-286');">style_emph_field_value</a></tt> <tt class="py-op">=</tt> <tt id="link-337" class="py-name"><a title="pyinotify.Color" class="py-name" href="#" onclick="return doclink('link-337', 'Color', 'link-300');">Color</a></tt><tt class="py-op">.</tt><tt id="link-338" class="py-name"><a title="pyinotify.Color.purple" class="py-name" href="#" onclick="return doclink('link-338', 'purple', 'link-263');">purple</a></tt><tt class="py-op">+</tt><tt id="link-339" class="py-name"><a title="pyinotify.Color" class="py-name" href="#" onclick="return doclink('link-339', 'Color', 'link-300');">Color</a></tt><tt class="py-op">.</tt><tt id="link-340" class="py-name"><a title="pyinotify.Color.uline" class="py-name" href="#" onclick="return doclink('link-340', 'uline', 'link-267');">uline</a></tt><tt class="py-op">+</tt><tt id="link-341" class="py-name"><a title="pyinotify.Color" class="py-name" href="#" onclick="return doclink('link-341', 'Color', 'link-300');">Color</a></tt><tt class="py-op">.</tt><tt id="link-342" class="py-name"><a title="pyinotify.Color.bold" class="py-name" href="#" onclick="return doclink('link-342', 'bold', 'link-266');">bold</a></tt> </tt>
+<a name="L1774"></a><tt class="py-lineno">1774</tt> <tt class="py-line"> <tt id="link-343" class="py-name"><a title="pyinotify.AnsiColorTheme.style_watchlist_type
+pyinotify.DefaultTheme.style_watchlist_type" class="py-name" href="#" onclick="return doclink('link-343', 'style_watchlist_type', 'link-288');">style_watchlist_type</a></tt> <tt class="py-op">=</tt> <tt id="link-344" class="py-name"><a title="pyinotify.Color" class="py-name" href="#" onclick="return doclink('link-344', 'Color', 'link-300');">Color</a></tt><tt class="py-op">.</tt><tt id="link-345" class="py-name"><a title="pyinotify.Color.blue" class="py-name" href="#" onclick="return doclink('link-345', 'blue', 'link-262');">blue</a></tt> </tt>
+<a name="L1775"></a><tt class="py-lineno">1775</tt> <tt class="py-line"> <tt id="link-346" class="py-name"><a title="pyinotify.AnsiColorTheme.style_watchlist_value
+pyinotify.DefaultTheme.style_watchlist_value" class="py-name" href="#" onclick="return doclink('link-346', 'style_watchlist_value', 'link-289');">style_watchlist_value</a></tt> <tt class="py-op">=</tt> <tt id="link-347" class="py-name"><a title="pyinotify.Color" class="py-name" href="#" onclick="return doclink('link-347', 'Color', 'link-300');">Color</a></tt><tt class="py-op">.</tt><tt id="link-348" class="py-name"><a title="pyinotify.Color.purple" class="py-name" href="#" onclick="return doclink('link-348', 'purple', 'link-263');">purple</a></tt> </tt>
+<a name="L1776"></a><tt class="py-lineno">1776</tt> <tt class="py-line"> <tt id="link-349" class="py-name"><a title="pyinotify.AnsiColorTheme.style_fail
+pyinotify.DefaultTheme.style_fail" class="py-name" href="#" onclick="return doclink('link-349', 'style_fail', 'link-290');">style_fail</a></tt> <tt class="py-op">=</tt> <tt id="link-350" class="py-name"><a title="pyinotify.Color" class="py-name" href="#" onclick="return doclink('link-350', 'Color', 'link-300');">Color</a></tt><tt class="py-op">.</tt><tt id="link-351" class="py-name"><a title="pyinotify.Color.red" class="py-name" href="#" onclick="return doclink('link-351', 'red', 'link-259');">red</a></tt><tt class="py-op">+</tt><tt id="link-352" class="py-name"><a title="pyinotify.Color" class="py-name" href="#" onclick="return doclink('link-352', 'Color', 'link-300');">Color</a></tt><tt class="py-op">.</tt><tt id="link-353" class="py-name"><a title="pyinotify.Color.bold" class="py-name" href="#" onclick="return doclink('link-353', 'bold', 'link-266');">bold</a></tt> </tt>
+<a name="L1777"></a><tt class="py-lineno">1777</tt> <tt class="py-line"> <tt id="link-354" class="py-name"><a title="pyinotify.AnsiColorTheme.style_success
+pyinotify.DefaultTheme.style_success" class="py-name" href="#" onclick="return doclink('link-354', 'style_success', 'link-291');">style_success</a></tt> <tt class="py-op">=</tt> <tt id="link-355" class="py-name"><a title="pyinotify.Color" class="py-name" href="#" onclick="return doclink('link-355', 'Color', 'link-300');">Color</a></tt><tt class="py-op">.</tt><tt id="link-356" class="py-name"><a title="pyinotify.Color.blue" class="py-name" href="#" onclick="return doclink('link-356', 'blue', 'link-262');">blue</a></tt><tt class="py-op">+</tt><tt id="link-357" class="py-name"><a title="pyinotify.Color" class="py-name" href="#" onclick="return doclink('link-357', 'Color', 'link-300');">Color</a></tt><tt class="py-op">.</tt><tt id="link-358" class="py-name"><a title="pyinotify.Color.bold" class="py-name" href="#" onclick="return doclink('link-358', 'bold', 'link-266');">bold</a></tt> </tt>
+<a name="L1778"></a><tt class="py-lineno">1778</tt> <tt class="py-line"> <tt id="link-359" class="py-name"><a title="pyinotify.AnsiColorTheme.style_even
+pyinotify.DefaultTheme.style_even" class="py-name" href="#" onclick="return doclink('link-359', 'style_even', 'link-293');">style_even</a></tt> <tt class="py-op">=</tt> <tt id="link-360" class="py-name"><a title="pyinotify.Color" class="py-name" href="#" onclick="return doclink('link-360', 'Color', 'link-300');">Color</a></tt><tt class="py-op">.</tt><tt id="link-361" class="py-name"><a title="pyinotify.Color.black" class="py-name" href="#" onclick="return doclink('link-361', 'black', 'link-258');">black</a></tt><tt class="py-op">+</tt><tt id="link-362" class="py-name"><a title="pyinotify.Color" class="py-name" href="#" onclick="return doclink('link-362', 'Color', 'link-300');">Color</a></tt><tt class="py-op">.</tt><tt id="link-363" class="py-name"><a title="pyinotify.Color.bold" class="py-name" href="#" onclick="return doclink('link-363', 'bold', 'link-266');">bold</a></tt> </tt>
+<a name="L1779"></a><tt class="py-lineno">1779</tt> <tt class="py-line"> <tt id="link-364" class="py-name"><a title="pyinotify.AnsiColorTheme.style_odd
+pyinotify.DefaultTheme.style_odd" class="py-name" href="#" onclick="return doclink('link-364', 'style_odd', 'link-292');">style_odd</a></tt> <tt class="py-op">=</tt> <tt id="link-365" class="py-name"><a title="pyinotify.Color" class="py-name" href="#" onclick="return doclink('link-365', 'Color', 'link-300');">Color</a></tt><tt class="py-op">.</tt><tt id="link-366" class="py-name"><a title="pyinotify.Color.black" class="py-name" href="#" onclick="return doclink('link-366', 'black', 'link-258');">black</a></tt> </tt>
+<a name="L1780"></a><tt class="py-lineno">1780</tt> <tt class="py-line"> <tt id="link-367" class="py-name"><a title="pyinotify.AnsiColorTheme.style_yellow
+pyinotify.DefaultTheme.style_yellow" class="py-name" href="#" onclick="return doclink('link-367', 'style_yellow', 'link-294');">style_yellow</a></tt> <tt class="py-op">=</tt> <tt id="link-368" class="py-name"><a title="pyinotify.Color" class="py-name" href="#" onclick="return doclink('link-368', 'Color', 'link-300');">Color</a></tt><tt class="py-op">.</tt><tt id="link-369" class="py-name"><a title="pyinotify.Color.yellow" class="py-name" href="#" onclick="return doclink('link-369', 'yellow', 'link-170');">yellow</a></tt> </tt>
+<a name="L1781"></a><tt class="py-lineno">1781</tt> <tt class="py-line"> <tt id="link-370" class="py-name"><a title="pyinotify.AnsiColorTheme.style_active
+pyinotify.DefaultTheme.style_active" class="py-name" href="#" onclick="return doclink('link-370', 'style_active', 'link-295');">style_active</a></tt> <tt class="py-op">=</tt> <tt id="link-371" class="py-name"><a title="pyinotify.Color" class="py-name" href="#" onclick="return doclink('link-371', 'Color', 'link-300');">Color</a></tt><tt class="py-op">.</tt><tt id="link-372" class="py-name"><a title="pyinotify.Color.black" class="py-name" href="#" onclick="return doclink('link-372', 'black', 'link-258');">black</a></tt> </tt>
+<a name="L1782"></a><tt class="py-lineno">1782</tt> <tt class="py-line"> <tt id="link-373" class="py-name"><a title="pyinotify.AnsiColorTheme.style_closed
+pyinotify.DefaultTheme.style_closed" class="py-name" href="#" onclick="return doclink('link-373', 'style_closed', 'link-296');">style_closed</a></tt> <tt class="py-op">=</tt> <tt id="link-374" class="py-name"><a title="pyinotify.Color" class="py-name" href="#" onclick="return doclink('link-374', 'Color', 'link-300');">Color</a></tt><tt class="py-op">.</tt><tt id="link-375" class="py-name"><a title="pyinotify.Color.grey" class="py-name" href="#" onclick="return doclink('link-375', 'grey', 'link-265');">grey</a></tt> </tt>
+<a name="L1783"></a><tt class="py-lineno">1783</tt> <tt class="py-line"> <tt id="link-376" class="py-name"><a title="pyinotify.AnsiColorTheme.style_left
+pyinotify.DefaultTheme.style_left" class="py-name" href="#" onclick="return doclink('link-376', 'style_left', 'link-297');">style_left</a></tt> <tt class="py-op">=</tt> <tt id="link-377" class="py-name"><a title="pyinotify.Color" class="py-name" href="#" onclick="return doclink('link-377', 'Color', 'link-300');">Color</a></tt><tt class="py-op">.</tt><tt id="link-378" class="py-name"><a title="pyinotify.Color.blue" class="py-name" href="#" onclick="return doclink('link-378', 'blue', 'link-262');">blue</a></tt><tt class="py-op">+</tt><tt id="link-379" class="py-name"><a title="pyinotify.Color" class="py-name" href="#" onclick="return doclink('link-379', 'Color', 'link-300');">Color</a></tt><tt class="py-op">.</tt><tt id="link-380" class="py-name"><a title="pyinotify.Color.invert" class="py-name" href="#" onclick="return doclink('link-380', 'invert', 'link-269');">invert</a></tt> </tt>
+<a name="L1784"></a><tt class="py-lineno">1784</tt> <tt class="py-line"> <tt id="link-381" class="py-name"><a title="pyinotify.AnsiColorTheme.style_right
+pyinotify.DefaultTheme.style_right" class="py-name" href="#" onclick="return doclink('link-381', 'style_right', 'link-298');">style_right</a></tt> <tt class="py-op">=</tt> <tt id="link-382" class="py-name"><a title="pyinotify.Color" class="py-name" href="#" onclick="return doclink('link-382', 'Color', 'link-300');">Color</a></tt><tt class="py-op">.</tt><tt id="link-383" class="py-name"><a title="pyinotify.Color.red" class="py-name" href="#" onclick="return doclink('link-383', 'red', 'link-259');">red</a></tt><tt class="py-op">+</tt><tt id="link-384" class="py-name"><a title="pyinotify.Color" class="py-name" href="#" onclick="return doclink('link-384', 'Color', 'link-300');">Color</a></tt><tt class="py-op">.</tt><tt id="link-385" class="py-name"><a title="pyinotify.Color.invert" class="py-name" href="#" onclick="return doclink('link-385', 'invert', 'link-269');">invert</a></tt> </tt>
+</div><a name="L1785"></a><tt class="py-lineno">1785</tt> <tt class="py-line"> </tt>
+<a name="L1786"></a><tt class="py-lineno">1786</tt> <tt class="py-line"><tt id="link-386" class="py-name"><a title="pyinotify.color_theme" class="py-name" href="#" onclick="return doclink('link-386', 'color_theme', 'link-91');">color_theme</a></tt> <tt class="py-op">=</tt> <tt id="link-387" class="py-name" targets="Class pyinotify.DefaultTheme=pyinotify.DefaultTheme-class.html"><a title="pyinotify.DefaultTheme" class="py-name" href="#" onclick="return doclink('link-387', 'DefaultTheme', 'link-387');">DefaultTheme</a></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>
+<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>
+<a name="command_line"></a><div id="command_line-def"><a name="L1790"></a><tt class="py-lineno">1790</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="L1791"></a><tt class="py-lineno">1791</tt> <tt class="py-line"> <tt class="py-comment">#</tt> </tt>
+<a name="L1792"></a><tt class="py-lineno">1792</tt> <tt class="py-line"><tt class="py-comment"></tt> <tt class="py-comment"># - By default the watched path is '/tmp' for all events.</tt> </tt>
+<a name="L1793"></a><tt class="py-lineno">1793</tt> <tt class="py-line"><tt class="py-comment"></tt> <tt class="py-comment"># - The monitoring execution blocks and serve forever, type c^c</tt> </tt>
+<a name="L1794"></a><tt class="py-lineno">1794</tt> <tt class="py-line"><tt class="py-comment"></tt> <tt class="py-comment"># to stop it.</tt> </tt>
+<a name="L1795"></a><tt class="py-lineno">1795</tt> <tt class="py-line"><tt class="py-comment"></tt> <tt class="py-comment">#</tt> </tt>
+<a name="L1796"></a><tt class="py-lineno">1796</tt> <tt class="py-line"><tt class="py-comment"></tt> <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="L1797"></a><tt class="py-lineno">1797</tt> <tt class="py-line"> </tt>
+<a name="L1798"></a><tt class="py-lineno">1798</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="L1799"></a><tt class="py-lineno">1799</tt> <tt class="py-line"> </tt>
+<a name="L1800"></a><tt class="py-lineno">1800</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="L1801"></a><tt class="py-lineno">1801</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="L1802"></a><tt class="py-lineno">1802</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="L1803"></a><tt class="py-lineno">1803</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="L1804"></a><tt class="py-lineno">1804</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="L1805"></a><tt class="py-lineno">1805</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="L1806"></a><tt class="py-lineno">1806</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="L1807"></a><tt class="py-lineno">1807</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="L1808"></a><tt class="py-lineno">1808</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="L1809"></a><tt class="py-lineno">1809</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="L1810"></a><tt class="py-lineno">1810</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="L1811"></a><tt class="py-lineno">1811</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="L1812"></a><tt class="py-lineno">1812</tt> <tt class="py-line"> <tt class="py-string">"see the documentation for valid options (defaults"</tt> </tt>
+<a name="L1813"></a><tt class="py-lineno">1813</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="L1814"></a><tt class="py-lineno">1814</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="L1815"></a><tt class="py-lineno">1815</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="L1816"></a><tt class="py-lineno">1816</tt> <tt class="py-line"> <tt class="py-name">help</tt><tt class="py-op">=</tt><tt class="py-string">"Display statistics"</tt><tt class="py-op">)</tt> </tt>
+<a name="L1817"></a><tt class="py-lineno">1817</tt> <tt class="py-line"> </tt>
+<a name="L1818"></a><tt class="py-lineno">1818</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="L1819"></a><tt class="py-lineno">1819</tt> <tt class="py-line"> </tt>
+<a name="L1820"></a><tt class="py-lineno">1820</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="L1821"></a><tt class="py-lineno">1821</tt> <tt class="py-line"> <tt id="link-388" class="py-name"><a title="pyinotify.log" class="py-name" href="#" onclick="return doclink('link-388', 'log', 'link-13');">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="L1822"></a><tt class="py-lineno">1822</tt> <tt class="py-line"> </tt>
-<a name="L1823"></a><tt class="py-lineno">1823</tt> <tt class="py-line"> <tt id="link-386" class="py-name"><a title="pyinotify.log" class="py-name" href="#" onclick="return doclink('link-386', 'log', 'link-1');">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="L1824"></a><tt class="py-lineno">1824</tt> <tt class="py-line"> <tt class="py-comment"># Loop forever (until sigint signal)</tt> </tt>
-<a name="L1825"></a><tt class="py-lineno">1825</tt> <tt class="py-line"><tt class="py-comment"></tt> <tt class="py-name">notifier</tt><tt class="py-op">.</tt><tt id="link-387" class="py-name"><a title="pyinotify.Notifier.loop
-pyinotify.ThreadedNotifier.loop" class="py-name" href="#" onclick="return doclink('link-387', 'loop', 'link-190');">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="L1826"></a><tt class="py-lineno">1826</tt> <tt class="py-line"> </tt>
+<a name="L1823"></a><tt class="py-lineno">1823</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="L1824"></a><tt class="py-lineno">1824</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="L1825"></a><tt class="py-lineno">1825</tt> <tt class="py-line"> <tt class="py-keyword">else</tt><tt class="py-op">:</tt> </tt>
+<a name="L1826"></a><tt class="py-lineno">1826</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="L1827"></a><tt class="py-lineno">1827</tt> <tt class="py-line"> </tt>
-<a name="L1828"></a><tt class="py-lineno">1828</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="L1829"></a><tt class="py-lineno">1829</tt> <tt class="py-line"> <tt id="link-388" 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-388', 'command_line', 'link-388');">command_line</a></tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt>
-<a name="L1830"></a><tt class="py-lineno">1830</tt> <tt class="py-line"> </tt><script type="text/javascript">
+<a name="L1828"></a><tt class="py-lineno">1828</tt> <tt class="py-line"> <tt class="py-comment"># watch manager instance</tt> </tt>
+<a name="L1829"></a><tt class="py-lineno">1829</tt> <tt class="py-line"><tt class="py-comment"></tt> <tt class="py-name">wm</tt> <tt class="py-op">=</tt> <tt id="link-389" class="py-name" targets="Class pyinotify.WatchManager=pyinotify.WatchManager-class.html"><a title="pyinotify.WatchManager" class="py-name" href="#" onclick="return doclink('link-389', 'WatchManager', 'link-389');">WatchManager</a></tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt>
+<a name="L1830"></a><tt class="py-lineno">1830</tt> <tt class="py-line"> <tt class="py-comment"># notifier instance and init</tt> </tt>
+<a name="L1831"></a><tt class="py-lineno">1831</tt> <tt class="py-line"><tt class="py-comment"></tt> <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="L1832"></a><tt class="py-lineno">1832</tt> <tt class="py-line"> <tt class="py-name">notifier</tt> <tt class="py-op">=</tt> <tt id="link-390" class="py-name"><a title="pyinotify.Notifier" class="py-name" href="#" onclick="return doclink('link-390', 'Notifier', 'link-195');">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-391" class="py-name" targets="Class pyinotify.Stats=pyinotify.Stats-class.html"><a title="pyinotify.Stats" class="py-name" href="#" onclick="return doclink('link-391', 'Stats', 'link-391');">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="L1833"></a><tt class="py-lineno">1833</tt> <tt class="py-line"> <tt class="py-keyword">else</tt><tt class="py-op">:</tt> </tt>
+<a name="L1834"></a><tt class="py-lineno">1834</tt> <tt class="py-line"> <tt class="py-name">notifier</tt> <tt class="py-op">=</tt> <tt id="link-392" class="py-name"><a title="pyinotify.Notifier" class="py-name" href="#" onclick="return doclink('link-392', 'Notifier', 'link-195');">Notifier</a></tt><tt class="py-op">(</tt><tt class="py-name">wm</tt><tt class="py-op">)</tt> </tt>
+<a name="L1835"></a><tt class="py-lineno">1835</tt> <tt class="py-line"> </tt>
+<a name="L1836"></a><tt class="py-lineno">1836</tt> <tt class="py-line"> <tt class="py-comment"># What mask to apply</tt> </tt>
+<a name="L1837"></a><tt class="py-lineno">1837</tt> <tt class="py-line"><tt class="py-comment"></tt> <tt class="py-name">mask</tt> <tt class="py-op">=</tt> <tt class="py-number">0</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-name">options</tt><tt class="py-op">.</tt><tt class="py-name">events_list</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">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="L1840"></a><tt class="py-lineno">1840</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="L1841"></a><tt class="py-lineno">1841</tt> <tt class="py-line"> <tt class="py-name">evcode</tt> <tt class="py-op">=</tt> <tt id="link-393" class="py-name"><a title="pyinotify.EventsCodes" class="py-name" href="#" onclick="return doclink('link-393', 'EventsCodes', 'link-50');">EventsCodes</a></tt><tt class="py-op">.</tt><tt id="link-394" class="py-name"><a title="pyinotify.EventsCodes.ALL_FLAGS" class="py-name" href="#" onclick="return doclink('link-394', 'ALL_FLAGS', 'link-55');">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="L1842"></a><tt class="py-lineno">1842</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="L1843"></a><tt class="py-lineno">1843</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="L1844"></a><tt class="py-lineno">1844</tt> <tt class="py-line"> <tt class="py-keyword">else</tt><tt class="py-op">:</tt> </tt>
+<a name="L1845"></a><tt class="py-lineno">1845</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="L1846"></a><tt class="py-lineno">1846</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="L1847"></a><tt class="py-lineno">1847</tt> <tt class="py-line"> <tt class="py-keyword">else</tt><tt class="py-op">:</tt> </tt>
+<a name="L1848"></a><tt class="py-lineno">1848</tt> <tt class="py-line"> <tt class="py-name">mask</tt> <tt class="py-op">=</tt> <tt id="link-395" class="py-name"><a title="pyinotify.ALL_EVENTS" class="py-name" href="#" onclick="return doclink('link-395', 'ALL_EVENTS', 'link-77');">ALL_EVENTS</a></tt> </tt>
+<a name="L1849"></a><tt class="py-lineno">1849</tt> <tt class="py-line"> </tt>
+<a name="L1850"></a><tt class="py-lineno">1850</tt> <tt class="py-line"> <tt class="py-comment"># stats</tt> </tt>
+<a name="L1851"></a><tt class="py-lineno">1851</tt> <tt class="py-line"><tt class="py-comment"></tt> <tt class="py-name">cb_fun</tt> <tt class="py-op">=</tt> <tt class="py-name">None</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">options</tt><tt class="py-op">.</tt><tt class="py-name">stats</tt><tt class="py-op">:</tt> </tt>
+<a name="L1853"></a><tt class="py-lineno">1853</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="L1854"></a><tt class="py-lineno">1854</tt> <tt class="py-line"> <tt class="py-keyword">print</tt><tt class="py-op">(</tt><tt class="py-string">'%s\n%s\n'</tt> <tt class="py-op">%</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-396" class="py-name"><a title="pyinotify.Notifier.proc_fun" class="py-name" href="#" onclick="return doclink('link-396', 'proc_fun', 'link-124');">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="L1855"></a><tt class="py-lineno">1855</tt> <tt class="py-line"> <tt class="py-name">s</tt><tt class="py-op">.</tt><tt id="link-397" class="py-name"><a title="pyinotify.Notifier.proc_fun" class="py-name" href="#" onclick="return doclink('link-397', 'proc_fun', 'link-124');">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>
+</div><a name="L1856"></a><tt class="py-lineno">1856</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="L1857"></a><tt class="py-lineno">1857</tt> <tt class="py-line"> </tt>
+<a name="L1858"></a><tt class="py-lineno">1858</tt> <tt class="py-line"> <tt id="link-398" class="py-name"><a title="pyinotify.log" class="py-name" href="#" onclick="return doclink('link-398', 'log', 'link-13');">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="L1859"></a><tt class="py-lineno">1859</tt> <tt class="py-line"> </tt>
+<a name="L1860"></a><tt class="py-lineno">1860</tt> <tt class="py-line"> <tt class="py-name">wm</tt><tt class="py-op">.</tt><tt id="link-399" class="py-name"><a title="pyinotify.WatchManager.add_watch" class="py-name" href="#" onclick="return doclink('link-399', 'add_watch', 'link-122');">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="L1861"></a><tt class="py-lineno">1861</tt> <tt class="py-line"> <tt class="py-comment"># Loop forever (until sigint signal)</tt> </tt>
+<a name="L1862"></a><tt class="py-lineno">1862</tt> <tt class="py-line"><tt class="py-comment"></tt> <tt class="py-name">notifier</tt><tt class="py-op">.</tt><tt id="link-400" class="py-name"><a title="pyinotify.Notifier.loop
+pyinotify.ThreadedNotifier.loop" class="py-name" href="#" onclick="return doclink('link-400', 'loop', 'link-203');">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="L1863"></a><tt class="py-lineno">1863</tt> <tt class="py-line"> </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">__name__</tt> <tt class="py-op">==</tt> <tt class="py-string">'__main__'</tt><tt class="py-op">:</tt> </tt>
+<a name="L1866"></a><tt class="py-lineno">1866</tt> <tt class="py-line"> <tt id="link-401" 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-401', 'command_line', 'link-401');">command_line</a></tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt>
+<a name="L1867"></a><tt class="py-lineno">1867</tt> <tt class="py-line"> </tt><script type="text/javascript">
<!--
expandto(location.href);
// -->
@@ -2077,10 +2158,11 @@ expandto(location.href);
<table border="0" cellpadding="0" cellspacing="0" width="100%%">
<tr>
<td align="left" class="footer">
- Generated by Epydoc 3.0beta1 on Sun Aug 10 13:37:39 2008
+ Generated by Epydoc 3.0.1 on Tue Jan 6 22:57:24 2009
</td>
<td align="right" class="footer">
- <a href="http://epydoc.sourceforge.net">http://epydoc.sourceforge.net</a>
+ <a target="mainFrame" href="http://epydoc.sourceforge.net"
+ >http://epydoc.sourceforge.net</a>
</td>
</tr>
</table>
@@ -2091,9 +2173,8 @@ expandto(location.href);
// 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()
+ checkCookie();
// -->
</script>
-
</body>
</html>
diff --git a/docstrings/pyinotify.AnsiColorTheme-class.html b/docstrings/pyinotify.AnsiColorTheme-class.html
index 7241d25..7d99ed9 100644
--- a/docstrings/pyinotify.AnsiColorTheme-class.html
+++ b/docstrings/pyinotify.AnsiColorTheme-class.html
@@ -55,32 +55,33 @@
</tr>
</table>
<!-- ==================== CLASS DESCRIPTION ==================== -->
-<h1 class="epydoc">Class AnsiColorTheme</h1><span class="codelink"><a href="pyinotify-pysrc.html#AnsiColorTheme">source&nbsp;code</a></span><br /><br />
+<h1 class="epydoc">Class AnsiColorTheme</h1><p class="nomargin-top"><span class="codelink"><a href="pyinotify-pysrc.html#AnsiColorTheme">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.ColorTheme&#45;class.html#__repr__" title="repr(x)" alt="" coords="101,36,184,55"/>
-<area shape="rect" href="pyinotify.ColorTheme&#45;class.html" title="pyinotify.ColorTheme" alt="" coords="100,11,185,56"/>
-<area shape="rect" href="pyinotify.AnsiColorTheme&#45;class.html#style_watchlist_value" title="pyinotify.AnsiColorTheme.style_watchlist_value" alt="" coords="72,103,213,121"/>
-<area shape="rect" href="pyinotify.AnsiColorTheme&#45;class.html#style_yellow" title="pyinotify.AnsiColorTheme.style_yellow" alt="" coords="72,121,213,140"/>
-<area shape="rect" href="pyinotify.AnsiColorTheme&#45;class.html#style_prompt" title="pyinotify.AnsiColorTheme.style_prompt" alt="" coords="72,140,213,159"/>
-<area shape="rect" href="pyinotify.AnsiColorTheme&#45;class.html#style_punct" title="pyinotify.AnsiColorTheme.style_punct" alt="" coords="72,159,213,177"/>
-<area shape="rect" href="pyinotify.AnsiColorTheme&#45;class.html#style_even" title="pyinotify.AnsiColorTheme.style_even" alt="" coords="72,177,213,196"/>
-<area shape="rect" href="pyinotify.AnsiColorTheme&#45;class.html#style_not_printable" title="pyinotify.AnsiColorTheme.style_not_printable" alt="" coords="72,196,213,215"/>
-<area shape="rect" href="pyinotify.AnsiColorTheme&#45;class.html#style_success" title="pyinotify.AnsiColorTheme.style_success" alt="" coords="72,215,213,233"/>
-<area shape="rect" href="pyinotify.AnsiColorTheme&#45;class.html#style_emph_field_name" title="pyinotify.AnsiColorTheme.style_emph_field_name" alt="" coords="72,233,213,252"/>
-<area shape="rect" href="pyinotify.AnsiColorTheme&#45;class.html#style_odd" title="pyinotify.AnsiColorTheme.style_odd" alt="" coords="72,252,213,271"/>
-<area shape="rect" href="pyinotify.AnsiColorTheme&#45;class.html#style_id" title="pyinotify.AnsiColorTheme.style_id" alt="" coords="72,271,213,289"/>
-<area shape="rect" href="pyinotify.AnsiColorTheme&#45;class.html#style_watchlist_name" title="pyinotify.AnsiColorTheme.style_watchlist_name" alt="" coords="72,289,213,308"/>
-<area shape="rect" href="pyinotify.AnsiColorTheme&#45;class.html#style_field_name" title="pyinotify.AnsiColorTheme.style_field_name" alt="" coords="72,308,213,327"/>
-<area shape="rect" href="pyinotify.AnsiColorTheme&#45;class.html#style_class_name" title="pyinotify.AnsiColorTheme.style_class_name" alt="" coords="72,327,213,345"/>
-<area shape="rect" href="pyinotify.AnsiColorTheme&#45;class.html#style_active" title="pyinotify.AnsiColorTheme.style_active" alt="" coords="72,364,213,383"/>
-<area shape="rect" href="pyinotify.AnsiColorTheme&#45;class.html#__getattr__" title="pyinotify.AnsiColorTheme.__getattr__" alt="" coords="72,385,213,404"/>
-<area shape="rect" href="pyinotify.AnsiColorTheme&#45;class.html" title="pyinotify.AnsiColorTheme" alt="" coords="71,85,215,405"/>
-<area shape="rect" href="pyinotify.BlackAndWhite&#45;class.html" title="pyinotify.BlackAndWhite" alt="" coords="16,435,120,461"/>
-<area shape="rect" href="pyinotify.DefaultTheme&#45;class.html" title="pyinotify.DefaultTheme" alt="" coords="171,435,264,461"/>
+<area shape="rect" href="pyinotify.AnsiColorTheme&#45;class.html#style_normal" title="pyinotify.AnsiColorTheme.style_normal" alt="" coords="67,103,208,121"/>
+<area shape="rect" href="pyinotify.AnsiColorTheme&#45;class.html#style_prompt" title="pyinotify.AnsiColorTheme.style_prompt" alt="" coords="67,121,208,140"/>
+<area shape="rect" href="pyinotify.AnsiColorTheme&#45;class.html#style_punct" title="pyinotify.AnsiColorTheme.style_punct" alt="" coords="67,140,208,159"/>
+<area shape="rect" href="pyinotify.AnsiColorTheme&#45;class.html#style_id" title="pyinotify.AnsiColorTheme.style_id" alt="" coords="67,159,208,177"/>
+<area shape="rect" href="pyinotify.AnsiColorTheme&#45;class.html#style_not_printable" title="pyinotify.AnsiColorTheme.style_not_printable" alt="" coords="67,177,208,196"/>
+<area shape="rect" href="pyinotify.AnsiColorTheme&#45;class.html#style_class_name" title="pyinotify.AnsiColorTheme.style_class_name" alt="" coords="67,196,208,215"/>
+<area shape="rect" href="pyinotify.AnsiColorTheme&#45;class.html#style_field_name" title="pyinotify.AnsiColorTheme.style_field_name" alt="" coords="67,215,208,233"/>
+<area shape="rect" href="pyinotify.AnsiColorTheme&#45;class.html#style_field_value" title="pyinotify.AnsiColorTheme.style_field_value" alt="" coords="67,233,208,252"/>
+<area shape="rect" href="pyinotify.AnsiColorTheme&#45;class.html#style_emph_field_name" title="pyinotify.AnsiColorTheme.style_emph_field_name" alt="" coords="67,252,208,271"/>
+<area shape="rect" href="pyinotify.AnsiColorTheme&#45;class.html#style_emph_field_value" title="pyinotify.AnsiColorTheme.style_emph_field_value" alt="" coords="67,271,208,289"/>
+<area shape="rect" href="pyinotify.AnsiColorTheme&#45;class.html#style_watchlist_name" title="pyinotify.AnsiColorTheme.style_watchlist_name" alt="" coords="67,289,208,308"/>
+<area shape="rect" href="pyinotify.AnsiColorTheme&#45;class.html#style_watchlist_type" title="pyinotify.AnsiColorTheme.style_watchlist_type" alt="" coords="67,308,208,327"/>
+<area shape="rect" href="pyinotify.AnsiColorTheme&#45;class.html#style_watchlist_value" title="pyinotify.AnsiColorTheme.style_watchlist_value" alt="" coords="67,327,208,345"/>
+<area shape="rect" href="pyinotify.AnsiColorTheme&#45;class.html#style_right" title="pyinotify.AnsiColorTheme.style_right" alt="" coords="67,364,208,383"/>
+<area shape="rect" href="pyinotify.AnsiColorTheme&#45;class.html#__getattr__" title="pyinotify.AnsiColorTheme.__getattr__" alt="" coords="67,385,208,404"/>
+<area shape="rect" href="pyinotify.AnsiColorTheme&#45;class.html" title="pyinotify.AnsiColorTheme" alt="" coords="65,85,209,405"/>
+<area shape="rect" href="pyinotify.DefaultTheme&#45;class.html" title="pyinotify.DefaultTheme" alt="" coords="16,435,109,461"/>
+<area shape="rect" href="pyinotify.BlackAndWhite&#45;class.html" title="pyinotify.BlackAndWhite" alt="" coords="160,435,264,461"/>
+<area shape="rect" href="pyinotify.ColorTheme&#45;class.html#__repr__" title="repr(x)" alt="" coords="95,36,180,55"/>
+<area shape="rect" href="pyinotify.ColorTheme&#45;class.html" title="pyinotify.ColorTheme" alt="" coords="93,11,181,56"/>
</map>
<img src="uml_class_diagram_for_pyinotif.gif" alt='' usemap="#uml_class_diagram_for_pyinotif" ismap="ismap" class="graph-without-title" />
-</center></center>
+</center>
+</center>
<hr />
<!-- ==================== INSTANCE METHODS ==================== -->
<a name="section-InstanceMethods"></a>
@@ -364,12 +365,12 @@
</td><td align="right" valign="top"
><span class="codelink"><a href="pyinotify-pysrc.html#AnsiColorTheme.__getattr__">source&nbsp;code</a></span>&nbsp;
</td>
- </table>
+ </tr></table>
<dl class="fields">
<dt>Overrides:
- <a href="pyinotify.ColorTheme-class.html#__getattr__">ColorTheme.__getattr__</a>
+ <a href="pyinotify.ColorTheme-class.html#__getattr__">ColorTheme.__getattr__</a>
</dt>
</dl>
</td></tr></table>
@@ -401,10 +402,11 @@
<table border="0" cellpadding="0" cellspacing="0" width="100%%">
<tr>
<td align="left" class="footer">
- Generated by Epydoc 3.0beta1 on Sun Aug 10 13:37:37 2008
+ Generated by Epydoc 3.0.1 on Tue Jan 6 22:57:23 2009
</td>
<td align="right" class="footer">
- <a href="http://epydoc.sourceforge.net">http://epydoc.sourceforge.net</a>
+ <a target="mainFrame" href="http://epydoc.sourceforge.net"
+ >http://epydoc.sourceforge.net</a>
</td>
</tr>
</table>
@@ -415,9 +417,8 @@
// 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()
+ checkCookie();
// -->
</script>
-
</body>
</html>
diff --git a/docstrings/pyinotify.BlackAndWhite-class.html b/docstrings/pyinotify.BlackAndWhite-class.html
index 65c8a15..f395db4 100644
--- a/docstrings/pyinotify.BlackAndWhite-class.html
+++ b/docstrings/pyinotify.BlackAndWhite-class.html
@@ -55,31 +55,32 @@
</tr>
</table>
<!-- ==================== CLASS DESCRIPTION ==================== -->
-<h1 class="epydoc">Class BlackAndWhite</h1><span class="codelink"><a href="pyinotify-pysrc.html#BlackAndWhite">source&nbsp;code</a></span><br /><br />
+<h1 class="epydoc">Class BlackAndWhite</h1><p class="nomargin-top"><span class="codelink"><a href="pyinotify-pysrc.html#BlackAndWhite">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.AnsiColorTheme&#45;class.html#style_watchlist_value" title="pyinotify.AnsiColorTheme.style_watchlist_value" alt="" coords="17,102,159,121"/>
-<area shape="rect" href="pyinotify.AnsiColorTheme&#45;class.html#style_yellow" title="pyinotify.AnsiColorTheme.style_yellow" alt="" coords="17,121,159,140"/>
-<area shape="rect" href="pyinotify.AnsiColorTheme&#45;class.html#style_prompt" title="pyinotify.AnsiColorTheme.style_prompt" alt="" coords="17,140,159,158"/>
-<area shape="rect" href="pyinotify.AnsiColorTheme&#45;class.html#style_punct" title="pyinotify.AnsiColorTheme.style_punct" alt="" coords="17,158,159,177"/>
-<area shape="rect" href="pyinotify.AnsiColorTheme&#45;class.html#style_even" title="pyinotify.AnsiColorTheme.style_even" alt="" coords="17,177,159,196"/>
-<area shape="rect" href="pyinotify.AnsiColorTheme&#45;class.html#style_not_printable" title="pyinotify.AnsiColorTheme.style_not_printable" alt="" coords="17,196,159,214"/>
-<area shape="rect" href="pyinotify.AnsiColorTheme&#45;class.html#style_success" title="pyinotify.AnsiColorTheme.style_success" alt="" coords="17,214,159,233"/>
-<area shape="rect" href="pyinotify.AnsiColorTheme&#45;class.html#style_emph_field_name" title="pyinotify.AnsiColorTheme.style_emph_field_name" alt="" coords="17,233,159,252"/>
-<area shape="rect" href="pyinotify.AnsiColorTheme&#45;class.html#style_odd" title="pyinotify.AnsiColorTheme.style_odd" alt="" coords="17,252,159,270"/>
-<area shape="rect" href="pyinotify.AnsiColorTheme&#45;class.html#style_id" title="pyinotify.AnsiColorTheme.style_id" alt="" coords="17,270,159,289"/>
+<area shape="rect" href="pyinotify.BlackAndWhite&#45;class.html" title="pyinotify.BlackAndWhite" alt="" coords="41,434,135,466"/>
+<area shape="rect" href="pyinotify.AnsiColorTheme&#45;class.html#style_normal" title="pyinotify.AnsiColorTheme.style_normal" alt="" coords="17,102,159,121"/>
+<area shape="rect" href="pyinotify.AnsiColorTheme&#45;class.html#style_prompt" title="pyinotify.AnsiColorTheme.style_prompt" alt="" coords="17,121,159,140"/>
+<area shape="rect" href="pyinotify.AnsiColorTheme&#45;class.html#style_punct" title="pyinotify.AnsiColorTheme.style_punct" alt="" coords="17,140,159,158"/>
+<area shape="rect" href="pyinotify.AnsiColorTheme&#45;class.html#style_id" title="pyinotify.AnsiColorTheme.style_id" alt="" coords="17,158,159,177"/>
+<area shape="rect" href="pyinotify.AnsiColorTheme&#45;class.html#style_not_printable" title="pyinotify.AnsiColorTheme.style_not_printable" alt="" coords="17,177,159,196"/>
+<area shape="rect" href="pyinotify.AnsiColorTheme&#45;class.html#style_class_name" title="pyinotify.AnsiColorTheme.style_class_name" alt="" coords="17,196,159,214"/>
+<area shape="rect" href="pyinotify.AnsiColorTheme&#45;class.html#style_field_name" title="pyinotify.AnsiColorTheme.style_field_name" alt="" coords="17,214,159,233"/>
+<area shape="rect" href="pyinotify.AnsiColorTheme&#45;class.html#style_field_value" title="pyinotify.AnsiColorTheme.style_field_value" alt="" coords="17,233,159,252"/>
+<area shape="rect" href="pyinotify.AnsiColorTheme&#45;class.html#style_emph_field_name" title="pyinotify.AnsiColorTheme.style_emph_field_name" alt="" coords="17,252,159,270"/>
+<area shape="rect" href="pyinotify.AnsiColorTheme&#45;class.html#style_emph_field_value" title="pyinotify.AnsiColorTheme.style_emph_field_value" alt="" coords="17,270,159,289"/>
<area shape="rect" href="pyinotify.AnsiColorTheme&#45;class.html#style_watchlist_name" title="pyinotify.AnsiColorTheme.style_watchlist_name" alt="" coords="17,289,159,308"/>
-<area shape="rect" href="pyinotify.AnsiColorTheme&#45;class.html#style_field_name" title="pyinotify.AnsiColorTheme.style_field_name" alt="" coords="17,308,159,326"/>
-<area shape="rect" href="pyinotify.AnsiColorTheme&#45;class.html#style_class_name" title="pyinotify.AnsiColorTheme.style_class_name" alt="" coords="17,326,159,345"/>
-<area shape="rect" href="pyinotify.AnsiColorTheme&#45;class.html#style_active" title="pyinotify.AnsiColorTheme.style_active" alt="" coords="17,364,159,382"/>
+<area shape="rect" href="pyinotify.AnsiColorTheme&#45;class.html#style_watchlist_type" title="pyinotify.AnsiColorTheme.style_watchlist_type" alt="" coords="17,308,159,326"/>
+<area shape="rect" href="pyinotify.AnsiColorTheme&#45;class.html#style_watchlist_value" title="pyinotify.AnsiColorTheme.style_watchlist_value" alt="" coords="17,326,159,345"/>
+<area shape="rect" href="pyinotify.AnsiColorTheme&#45;class.html#style_right" title="pyinotify.AnsiColorTheme.style_right" alt="" coords="17,364,159,382"/>
<area shape="rect" href="pyinotify.AnsiColorTheme&#45;class.html#__getattr__" title="pyinotify.AnsiColorTheme.__getattr__" alt="" coords="17,385,159,404"/>
<area shape="rect" href="pyinotify.AnsiColorTheme&#45;class.html" title="pyinotify.AnsiColorTheme" alt="" coords="16,85,160,405"/>
-<area shape="rect" href="pyinotify.BlackAndWhite&#45;class.html" title="pyinotify.BlackAndWhite" alt="" coords="41,434,135,466"/>
-<area shape="rect" href="pyinotify.ColorTheme&#45;class.html#__repr__" title="repr(x)" alt="" coords="47,36,129,54"/>
-<area shape="rect" href="pyinotify.ColorTheme&#45;class.html" title="pyinotify.ColorTheme" alt="" coords="45,10,131,56"/>
+<area shape="rect" href="pyinotify.ColorTheme&#45;class.html#__repr__" title="repr(x)" alt="" coords="45,36,131,54"/>
+<area shape="rect" href="pyinotify.ColorTheme&#45;class.html" title="pyinotify.ColorTheme" alt="" coords="44,10,132,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>
+</center>
+</center>
<hr />
<!-- ==================== INSTANCE METHODS ==================== -->
<a name="section-InstanceMethods"></a>
@@ -217,10 +218,11 @@
<table border="0" cellpadding="0" cellspacing="0" width="100%%">
<tr>
<td align="left" class="footer">
- Generated by Epydoc 3.0beta1 on Sun Aug 10 13:37:37 2008
+ Generated by Epydoc 3.0.1 on Tue Jan 6 22:57:23 2009
</td>
<td align="right" class="footer">
- <a href="http://epydoc.sourceforge.net">http://epydoc.sourceforge.net</a>
+ <a target="mainFrame" href="http://epydoc.sourceforge.net"
+ >http://epydoc.sourceforge.net</a>
</td>
</tr>
</table>
@@ -231,9 +233,8 @@
// 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()
+ checkCookie();
// -->
</script>
-
</body>
</html>
diff --git a/docstrings/pyinotify.ChainIf-class.html b/docstrings/pyinotify.ChainIf-class.html
index 55f77e2..a771161 100644
--- a/docstrings/pyinotify.ChainIf-class.html
+++ b/docstrings/pyinotify.ChainIf-class.html
@@ -55,25 +55,26 @@
</tr>
</table>
<!-- ==================== CLASS DESCRIPTION ==================== -->
-<h1 class="epydoc">Class ChainIf</h1><span class="codelink"><a href="pyinotify-pysrc.html#ChainIf">source&nbsp;code</a></span><br /><br />
+<h1 class="epydoc">Class ChainIf</h1><p class="nomargin-top"><span class="codelink"><a href="pyinotify-pysrc.html#ChainIf">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.ProcessEvent&#45;class.html#pevent" title="pyinotify.ProcessEvent.pevent" alt="" coords="17,102,228,121"/>
-<area shape="rect" href="pyinotify.ProcessEvent&#45;class.html#nested_pevent" title="pyinotify.ProcessEvent.nested_pevent" alt="" coords="17,124,228,142"/>
-<area shape="rect" href="pyinotify.ProcessEvent&#45;class.html#__call__" title="To behave like a functor the object must be callable." alt="" coords="17,142,228,161"/>
-<area shape="rect" href="pyinotify.ProcessEvent&#45;class.html#__init__" title="Enable chaining of ProcessEvent instances." alt="" coords="17,161,228,180"/>
-<area shape="rect" href="pyinotify.ProcessEvent&#45;class.html" title="Process events objects, can be specialized via subclassing, thus its behavior can be overriden:" alt="" coords="16,85,229,181"/>
-<area shape="rect" href="pyinotify.ChainIf&#45;class.html#my_init" title="Override this method when subclassing if you want to achieve custom initialization of your subclass&#39; instance." alt="" coords="41,236,204,254"/>
-<area shape="rect" href="pyinotify.ChainIf&#45;class.html#process_default" title="Default default processing event method." alt="" coords="41,254,204,273"/>
-<area shape="rect" href="pyinotify.ChainIf&#45;class.html" title="Makes conditional chaining depending on the result of the nested processing instance." alt="" coords="40,210,205,274"/>
-<area shape="rect" href="pyinotify._ProcessEvent&#45;class.html#__repr__" title="repr(x)" alt="" coords="79,36,167,54"/>
-<area shape="rect" href="pyinotify._ProcessEvent&#45;class.html" title="Abstract processing event class." alt="" coords="77,10,168,56"/>
+<area shape="rect" href="pyinotify.ChainIf&#45;class.html#my_init" title="Override this method when subclassing if you want to achieve custom &#160;initialization of your subclass&#39; instance." alt="" coords="43,236,205,254"/>
+<area shape="rect" href="pyinotify.ChainIf&#45;class.html#process_default" title="Default default processing event method." alt="" coords="43,254,205,273"/>
+<area shape="rect" href="pyinotify.ChainIf&#45;class.html" title="Makes conditional chaining depending on the result of the nested processing instance." alt="" coords="41,210,207,274"/>
+<area shape="rect" href="pyinotify.ProcessEvent&#45;class.html#pevent" title="pyinotify.ProcessEvent.pevent" alt="" coords="17,102,231,121"/>
+<area shape="rect" href="pyinotify.ProcessEvent&#45;class.html#__init__" title="Enable chaining of ProcessEvent instances." alt="" coords="17,124,231,142"/>
+<area shape="rect" href="pyinotify.ProcessEvent&#45;class.html#__call__" title="To behave like a functor the object must be callable." alt="" coords="17,142,231,161"/>
+<area shape="rect" href="pyinotify.ProcessEvent&#45;class.html#nested_pevent" title="pyinotify.ProcessEvent.nested_pevent" alt="" coords="17,161,231,180"/>
+<area shape="rect" href="pyinotify.ProcessEvent&#45;class.html" title="Process events objects, can be specialized via subclassing, thus its behavior can be overriden:" alt="" coords="16,85,232,181"/>
+<area shape="rect" href="pyinotify._ProcessEvent&#45;class.html#__repr__" title="repr(x)" alt="" coords="80,36,168,54"/>
+<area shape="rect" href="pyinotify._ProcessEvent&#45;class.html" title="Abstract processing event class." alt="" coords="79,10,169,56"/>
</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>
+</center>
+</center>
<hr />
-Makes conditional chaining depending on the result of the nested
- processing instance.<br /><br />
+<p>Makes conditional chaining depending on the result of the nested
+ processing instance.</p>
<!-- ==================== INSTANCE METHODS ==================== -->
<a name="section-InstanceMethods"></a>
@@ -100,8 +101,8 @@ Makes conditional chaining depending on the result of the nested
<tr>
<td><span class="summary-sig"><a href="pyinotify.ChainIf-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 />
- Override this method when subclassing if you want to achieve
- custom initialization of your subclass' instance.</td>
+ Override this method when subclassing if you want to achieve custom
+ initialization of your subclass' instance.</td>
<td align="right" valign="top">
<span class="codelink"><a href="pyinotify-pysrc.html#ChainIf.my_init">source&nbsp;code</a></span>
@@ -136,7 +137,7 @@ Makes conditional chaining depending on the result of the nested
<code><a href="pyinotify.ProcessEvent-class.html#__init__">__init__</a></code>,
<code><a href="pyinotify.ProcessEvent-class.html#nested_pevent">nested_pevent</a></code>
</p>
- <p class="indent-wrapped-lines"><b>Inherited from <code><a href="pyinotify._ProcessEvent-class.html">_ProcessEvent</a></code></b>:
+ <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>:
@@ -233,14 +234,18 @@ Makes conditional chaining depending on the result of the nested
</td><td align="right" valign="top"
><span class="codelink"><a href="pyinotify-pysrc.html#ChainIf.my_init">source&nbsp;code</a></span>&nbsp;
</td>
- </table>
+ </tr></table>
- Override this method when subclassing if you want to achieve custom
+ <p>Override this method when subclassing if you want to achieve custom
initialization of your subclass' instance. You MUST pass keyword
- arguments. This method does nothing by default.
+ arguments. This method does nothing by default.</p>
<dl class="fields">
+ <dt>Parameters:</dt>
+ <dd><ul class="nomargin-top">
+ <li><strong class="pname"><code>kargs</code></strong> - optional arguments delagated to template method my_init</li>
+ </ul></dd>
<dt>Overrides:
- <a href="pyinotify.ProcessEvent-class.html#my_init">ProcessEvent.my_init</a>
+ <a href="pyinotify.ProcessEvent-class.html#my_init">ProcessEvent.my_init</a>
<dd><em class="note">(inherited documentation)</em></dd>
</dt>
</dl>
@@ -259,13 +264,17 @@ Makes conditional chaining depending on the result of the nested
</td><td align="right" valign="top"
><span class="codelink"><a href="pyinotify-pysrc.html#ChainIf.process_default">source&nbsp;code</a></span>&nbsp;
</td>
- </table>
+ </tr></table>
- Default default processing event method. Print event on standart
- output.
+ <p>Default default processing event method. Print event on standart
+ output.</p>
<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>Overrides:
- <a href="pyinotify.ProcessEvent-class.html#process_default">ProcessEvent.process_default</a>
+ <a href="pyinotify.ProcessEvent-class.html#process_default">ProcessEvent.process_default</a>
<dd><em class="note">(inherited documentation)</em></dd>
</dt>
</dl>
@@ -298,10 +307,11 @@ Makes conditional chaining depending on the result of the nested
<table border="0" cellpadding="0" cellspacing="0" width="100%%">
<tr>
<td align="left" class="footer">
- Generated by Epydoc 3.0beta1 on Sun Aug 10 13:37:37 2008
+ Generated by Epydoc 3.0.1 on Tue Jan 6 22:57:23 2009
</td>
<td align="right" class="footer">
- <a href="http://epydoc.sourceforge.net">http://epydoc.sourceforge.net</a>
+ <a target="mainFrame" href="http://epydoc.sourceforge.net"
+ >http://epydoc.sourceforge.net</a>
</td>
</tr>
</table>
@@ -312,9 +322,8 @@ Makes conditional chaining depending on the result of the nested
// 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()
+ checkCookie();
// -->
</script>
-
</body>
</html>
diff --git a/docstrings/pyinotify.Color-class.html b/docstrings/pyinotify.Color-class.html
index 6a0c0d7..af8b05b 100644
--- a/docstrings/pyinotify.Color-class.html
+++ b/docstrings/pyinotify.Color-class.html
@@ -55,26 +55,27 @@
</tr>
</table>
<!-- ==================== CLASS DESCRIPTION ==================== -->
-<h1 class="epydoc">Class Color</h1><span class="codelink"><a href="pyinotify-pysrc.html#Color">source&nbsp;code</a></span><br /><br />
+<h1 class="epydoc">Class Color</h1><p class="nomargin-top"><span class="codelink"><a href="pyinotify-pysrc.html#Color">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.Color&#45;class.html#yellow" title="pyinotify.Color.yellow" alt="" coords="17,28,63,47"/>
-<area shape="rect" href="pyinotify.Color&#45;class.html#blink" title="pyinotify.Color.blink" alt="" coords="17,47,63,66"/>
-<area shape="rect" href="pyinotify.Color&#45;class.html#blue" title="pyinotify.Color.blue" alt="" coords="17,66,63,84"/>
-<area shape="rect" href="pyinotify.Color&#45;class.html#purple" title="pyinotify.Color.purple" alt="" coords="17,84,63,103"/>
-<area shape="rect" href="pyinotify.Color&#45;class.html#invert" title="pyinotify.Color.invert" alt="" coords="17,103,63,122"/>
-<area shape="rect" href="pyinotify.Color&#45;class.html#black" title="pyinotify.Color.black" alt="" coords="17,122,63,140"/>
-<area shape="rect" href="pyinotify.Color&#45;class.html#red" title="pyinotify.Color.red" alt="" coords="17,140,63,159"/>
-<area shape="rect" href="pyinotify.Color&#45;class.html#bold" title="pyinotify.Color.bold" alt="" coords="17,159,63,178"/>
-<area shape="rect" href="pyinotify.Color&#45;class.html#normal" title="pyinotify.Color.normal" alt="" coords="17,178,63,196"/>
-<area shape="rect" href="pyinotify.Color&#45;class.html#cyan" title="pyinotify.Color.cyan" alt="" coords="17,196,63,215"/>
+<area shape="rect" href="pyinotify.Color&#45;class.html#normal" title="pyinotify.Color.normal" alt="" coords="17,28,63,47"/>
+<area shape="rect" href="pyinotify.Color&#45;class.html#black" title="pyinotify.Color.black" alt="" coords="17,47,63,66"/>
+<area shape="rect" href="pyinotify.Color&#45;class.html#red" title="pyinotify.Color.red" alt="" coords="17,66,63,84"/>
+<area shape="rect" href="pyinotify.Color&#45;class.html#green" title="pyinotify.Color.green" alt="" coords="17,84,63,103"/>
+<area shape="rect" href="pyinotify.Color&#45;class.html#yellow" title="pyinotify.Color.yellow" alt="" coords="17,103,63,122"/>
+<area shape="rect" href="pyinotify.Color&#45;class.html#blue" title="pyinotify.Color.blue" alt="" coords="17,122,63,140"/>
+<area shape="rect" href="pyinotify.Color&#45;class.html#purple" title="pyinotify.Color.purple" alt="" coords="17,140,63,159"/>
+<area shape="rect" href="pyinotify.Color&#45;class.html#cyan" title="pyinotify.Color.cyan" alt="" coords="17,159,63,178"/>
+<area shape="rect" href="pyinotify.Color&#45;class.html#grey" title="pyinotify.Color.grey" alt="" coords="17,178,63,196"/>
+<area shape="rect" href="pyinotify.Color&#45;class.html#bold" title="pyinotify.Color.bold" alt="" coords="17,196,63,215"/>
<area shape="rect" href="pyinotify.Color&#45;class.html#uline" title="pyinotify.Color.uline" alt="" coords="17,215,63,234"/>
-<area shape="rect" href="pyinotify.Color&#45;class.html#grey" title="pyinotify.Color.grey" alt="" coords="17,234,63,252"/>
-<area shape="rect" href="pyinotify.Color&#45;class.html#green" title="pyinotify.Color.green" alt="" coords="17,252,63,271"/>
+<area shape="rect" href="pyinotify.Color&#45;class.html#blink" title="pyinotify.Color.blink" alt="" coords="17,234,63,252"/>
+<area shape="rect" href="pyinotify.Color&#45;class.html#invert" title="pyinotify.Color.invert" alt="" coords="17,252,63,271"/>
<area shape="rect" href="pyinotify.Color&#45;class.html" title="pyinotify.Color" alt="" coords="16,11,64,280"/>
</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>
+</center>
+</center>
<hr />
<!-- ==================== INSTANCE METHODS ==================== -->
<a name="section-InstanceMethods"></a>
@@ -270,10 +271,11 @@
<table border="0" cellpadding="0" cellspacing="0" width="100%%">
<tr>
<td align="left" class="footer">
- Generated by Epydoc 3.0beta1 on Sun Aug 10 13:37:37 2008
+ Generated by Epydoc 3.0.1 on Tue Jan 6 22:57:23 2009
</td>
<td align="right" class="footer">
- <a href="http://epydoc.sourceforge.net">http://epydoc.sourceforge.net</a>
+ <a target="mainFrame" href="http://epydoc.sourceforge.net"
+ >http://epydoc.sourceforge.net</a>
</td>
</tr>
</table>
@@ -284,9 +286,8 @@
// 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()
+ checkCookie();
// -->
</script>
-
</body>
</html>
diff --git a/docstrings/pyinotify.ColorTheme-class.html b/docstrings/pyinotify.ColorTheme-class.html
index 1f88847..0057fec 100644
--- a/docstrings/pyinotify.ColorTheme-class.html
+++ b/docstrings/pyinotify.ColorTheme-class.html
@@ -55,19 +55,20 @@
</tr>
</table>
<!-- ==================== CLASS DESCRIPTION ==================== -->
-<h1 class="epydoc">Class ColorTheme</h1><span class="codelink"><a href="pyinotify-pysrc.html#ColorTheme">source&nbsp;code</a></span><br /><br />
+<h1 class="epydoc">Class ColorTheme</h1><p class="nomargin-top"><span class="codelink"><a href="pyinotify-pysrc.html#ColorTheme">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.ColorTheme&#45;class.html#__repr__" title="repr(x)" alt="" coords="149,36,275,54"/>
+<area shape="rect" href="pyinotify.ColorTheme&#45;class.html#__getattr__" title="pyinotify.ColorTheme.__getattr__" alt="" coords="149,54,275,73"/>
+<area shape="rect" href="pyinotify.ColorTheme&#45;class.html" title="pyinotify.ColorTheme" alt="" coords="148,10,276,74"/>
<area shape="rect" href="pyinotify.AnsiColorTheme&#45;class.html" title="pyinotify.AnsiColorTheme" alt="" coords="88,104,197,130"/>
+<area shape="rect" href="pyinotify.NoTheme&#45;class.html" title="pyinotify.NoTheme" alt="" coords="248,104,317,130"/>
<area shape="rect" href="pyinotify.BlackAndWhite&#45;class.html" title="pyinotify.BlackAndWhite" alt="" coords="16,160,120,186"/>
<area shape="rect" href="pyinotify.DefaultTheme&#45;class.html" title="pyinotify.DefaultTheme" alt="" coords="171,160,264,186"/>
-<area shape="rect" href="pyinotify.NoTheme&#45;class.html" title="pyinotify.NoTheme" alt="" coords="248,104,317,130"/>
-<area shape="rect" href="pyinotify.ColorTheme&#45;class.html#__getattr__" title="pyinotify.ColorTheme.__getattr__" alt="" coords="149,36,275,54"/>
-<area shape="rect" href="pyinotify.ColorTheme&#45;class.html#__repr__" title="repr(x)" alt="" coords="149,54,275,73"/>
-<area shape="rect" href="pyinotify.ColorTheme&#45;class.html" title="pyinotify.ColorTheme" alt="" coords="148,10,276,74"/>
</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>
+</center>
+</center>
<hr />
<!-- ==================== INSTANCE METHODS ==================== -->
<a name="section-InstanceMethods"></a>
@@ -192,12 +193,12 @@
</td><td align="right" valign="top"
><span class="codelink"><a href="pyinotify-pysrc.html#ColorTheme.__repr__">source&nbsp;code</a></span>&nbsp;
</td>
- </table>
+ </tr></table>
- repr(x)
+ <p>repr(x)</p>
<dl class="fields">
<dt>Overrides:
- object.__repr__
+ object.__repr__
<dd><em class="note">(inherited documentation)</em></dd>
</dt>
</dl>
@@ -230,10 +231,11 @@
<table border="0" cellpadding="0" cellspacing="0" width="100%%">
<tr>
<td align="left" class="footer">
- Generated by Epydoc 3.0beta1 on Sun Aug 10 13:37:37 2008
+ Generated by Epydoc 3.0.1 on Tue Jan 6 22:57:23 2009
</td>
<td align="right" class="footer">
- <a href="http://epydoc.sourceforge.net">http://epydoc.sourceforge.net</a>
+ <a target="mainFrame" href="http://epydoc.sourceforge.net"
+ >http://epydoc.sourceforge.net</a>
</td>
</tr>
</table>
@@ -244,9 +246,8 @@
// 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()
+ checkCookie();
// -->
</script>
-
</body>
</html>
diff --git a/docstrings/pyinotify.DefaultTheme-class.html b/docstrings/pyinotify.DefaultTheme-class.html
index 7fb9c62..2f4b7b6 100644
--- a/docstrings/pyinotify.DefaultTheme-class.html
+++ b/docstrings/pyinotify.DefaultTheme-class.html
@@ -55,32 +55,33 @@
</tr>
</table>
<!-- ==================== CLASS DESCRIPTION ==================== -->
-<h1 class="epydoc">Class DefaultTheme</h1><span class="codelink"><a href="pyinotify-pysrc.html#DefaultTheme">source&nbsp;code</a></span><br /><br />
+<h1 class="epydoc">Class DefaultTheme</h1><p class="nomargin-top"><span class="codelink"><a href="pyinotify-pysrc.html#DefaultTheme">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.DefaultTheme&#45;class.html#style_normal" title="pyinotify.DefaultTheme.style_normal" alt="" coords="17,191,159,210"/>
+<area shape="rect" href="pyinotify.DefaultTheme&#45;class.html#style_prompt" title="pyinotify.DefaultTheme.style_prompt" alt="" coords="17,210,159,228"/>
+<area shape="rect" href="pyinotify.DefaultTheme&#45;class.html#style_punct" title="pyinotify.DefaultTheme.style_punct" alt="" coords="17,228,159,247"/>
+<area shape="rect" href="pyinotify.DefaultTheme&#45;class.html#style_id" title="pyinotify.DefaultTheme.style_id" alt="" coords="17,247,159,266"/>
+<area shape="rect" href="pyinotify.DefaultTheme&#45;class.html#style_not_printable" title="pyinotify.DefaultTheme.style_not_printable" alt="" coords="17,266,159,284"/>
+<area shape="rect" href="pyinotify.DefaultTheme&#45;class.html#style_class_name" title="pyinotify.DefaultTheme.style_class_name" alt="" coords="17,284,159,303"/>
+<area shape="rect" href="pyinotify.DefaultTheme&#45;class.html#style_field_name" title="pyinotify.DefaultTheme.style_field_name" alt="" coords="17,303,159,322"/>
+<area shape="rect" href="pyinotify.DefaultTheme&#45;class.html#style_field_value" title="pyinotify.DefaultTheme.style_field_value" alt="" coords="17,322,159,340"/>
+<area shape="rect" href="pyinotify.DefaultTheme&#45;class.html#style_emph_field_name" title="pyinotify.DefaultTheme.style_emph_field_name" alt="" coords="17,340,159,359"/>
+<area shape="rect" href="pyinotify.DefaultTheme&#45;class.html#style_emph_field_value" title="pyinotify.DefaultTheme.style_emph_field_value" alt="" coords="17,359,159,378"/>
+<area shape="rect" href="pyinotify.DefaultTheme&#45;class.html#style_watchlist_type" title="pyinotify.DefaultTheme.style_watchlist_type" alt="" coords="17,378,159,396"/>
+<area shape="rect" href="pyinotify.DefaultTheme&#45;class.html#style_watchlist_value" title="pyinotify.DefaultTheme.style_watchlist_value" alt="" coords="17,396,159,415"/>
+<area shape="rect" href="pyinotify.DefaultTheme&#45;class.html#style_fail" title="pyinotify.DefaultTheme.style_fail" alt="" coords="17,415,159,434"/>
+<area shape="rect" href="pyinotify.DefaultTheme&#45;class.html#style_right" title="pyinotify.DefaultTheme.style_right" alt="" coords="17,452,159,471"/>
+<area shape="rect" href="pyinotify.DefaultTheme&#45;class.html" title="pyinotify.DefaultTheme" alt="" coords="16,174,160,480"/>
<area shape="rect" href="pyinotify.AnsiColorTheme&#45;class.html#style_watchlist_name" title="pyinotify.AnsiColorTheme.style_watchlist_name" alt="" coords="23,103,153,122"/>
<area shape="rect" href="pyinotify.AnsiColorTheme&#45;class.html#__getattr__" title="pyinotify.AnsiColorTheme.__getattr__" alt="" coords="23,124,153,143"/>
<area shape="rect" href="pyinotify.AnsiColorTheme&#45;class.html" title="pyinotify.AnsiColorTheme" alt="" coords="21,86,155,144"/>
-<area shape="rect" href="pyinotify.DefaultTheme&#45;class.html#style_watchlist_value" title="pyinotify.DefaultTheme.style_watchlist_value" alt="" coords="17,191,159,210"/>
-<area shape="rect" href="pyinotify.DefaultTheme&#45;class.html#style_yellow" title="pyinotify.DefaultTheme.style_yellow" alt="" coords="17,210,159,228"/>
-<area shape="rect" href="pyinotify.DefaultTheme&#45;class.html#style_prompt" title="pyinotify.DefaultTheme.style_prompt" alt="" coords="17,228,159,247"/>
-<area shape="rect" href="pyinotify.DefaultTheme&#45;class.html#style_punct" title="pyinotify.DefaultTheme.style_punct" alt="" coords="17,247,159,266"/>
-<area shape="rect" href="pyinotify.DefaultTheme&#45;class.html#style_even" title="pyinotify.DefaultTheme.style_even" alt="" coords="17,266,159,284"/>
-<area shape="rect" href="pyinotify.DefaultTheme&#45;class.html#style_success" title="pyinotify.DefaultTheme.style_success" alt="" coords="17,284,159,303"/>
-<area shape="rect" href="pyinotify.DefaultTheme&#45;class.html#style_emph_field_name" title="pyinotify.DefaultTheme.style_emph_field_name" alt="" coords="17,303,159,322"/>
-<area shape="rect" href="pyinotify.DefaultTheme&#45;class.html#style_odd" title="pyinotify.DefaultTheme.style_odd" alt="" coords="17,322,159,340"/>
-<area shape="rect" href="pyinotify.DefaultTheme&#45;class.html#style_id" title="pyinotify.DefaultTheme.style_id" alt="" coords="17,340,159,359"/>
-<area shape="rect" href="pyinotify.DefaultTheme&#45;class.html#style_not_printable" title="pyinotify.DefaultTheme.style_not_printable" alt="" coords="17,359,159,378"/>
-<area shape="rect" href="pyinotify.DefaultTheme&#45;class.html#style_field_name" title="pyinotify.DefaultTheme.style_field_name" alt="" coords="17,378,159,396"/>
-<area shape="rect" href="pyinotify.DefaultTheme&#45;class.html#style_class_name" title="pyinotify.DefaultTheme.style_class_name" alt="" coords="17,396,159,415"/>
-<area shape="rect" href="pyinotify.DefaultTheme&#45;class.html#style_emph_field_value" title="pyinotify.DefaultTheme.style_emph_field_value" alt="" coords="17,415,159,434"/>
-<area shape="rect" href="pyinotify.DefaultTheme&#45;class.html#style_active" title="pyinotify.DefaultTheme.style_active" alt="" coords="17,452,159,471"/>
-<area shape="rect" href="pyinotify.DefaultTheme&#45;class.html" title="pyinotify.DefaultTheme" alt="" coords="16,174,160,480"/>
-<area shape="rect" href="pyinotify.ColorTheme&#45;class.html#__repr__" title="repr(x)" alt="" coords="47,36,129,55"/>
-<area shape="rect" href="pyinotify.ColorTheme&#45;class.html" title="pyinotify.ColorTheme" alt="" coords="45,11,131,56"/>
+<area shape="rect" href="pyinotify.ColorTheme&#45;class.html#__repr__" title="repr(x)" alt="" coords="45,36,131,55"/>
+<area shape="rect" href="pyinotify.ColorTheme&#45;class.html" title="pyinotify.ColorTheme" alt="" coords="44,11,132,56"/>
</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>
+</center>
+</center>
<hr />
<!-- ==================== INSTANCE METHODS ==================== -->
<a name="section-InstanceMethods"></a>
@@ -344,10 +345,11 @@
<table border="0" cellpadding="0" cellspacing="0" width="100%%">
<tr>
<td align="left" class="footer">
- Generated by Epydoc 3.0beta1 on Sun Aug 10 13:37:37 2008
+ Generated by Epydoc 3.0.1 on Tue Jan 6 22:57:23 2009
</td>
<td align="right" class="footer">
- <a href="http://epydoc.sourceforge.net">http://epydoc.sourceforge.net</a>
+ <a target="mainFrame" href="http://epydoc.sourceforge.net"
+ >http://epydoc.sourceforge.net</a>
</td>
</tr>
</table>
@@ -358,9 +360,8 @@
// 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()
+ checkCookie();
// -->
</script>
-
</body>
</html>
diff --git a/docstrings/pyinotify.Event-class.html b/docstrings/pyinotify.Event-class.html
index ac079ad..96002e5 100644
--- a/docstrings/pyinotify.Event-class.html
+++ b/docstrings/pyinotify.Event-class.html
@@ -55,23 +55,24 @@
</tr>
</table>
<!-- ==================== CLASS DESCRIPTION ==================== -->
-<h1 class="epydoc">Class Event</h1><span class="codelink"><a href="pyinotify-pysrc.html#Event">source&nbsp;code</a></span><br /><br />
+<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_7" name="uml_class_diagram_for_pyinotif_7">
-<area shape="rect" href="pyinotify._Event&#45;class.html#__repr__" title="Returns: String representation." alt="" coords="29,36,112,54"/>
-<area shape="rect" href="pyinotify._Event&#45;class.html" title="Event structure, represent events raised by the system." alt="" coords="28,10,113,56"/>
<area shape="rect" href="pyinotify.Event&#45;class.html#__init__" title="Concretely, this is the raw event plus inferred infos." alt="" coords="17,110,124,129"/>
<area shape="rect" href="pyinotify.Event&#45;class.html" title="This class contains all the useful informations about the observed event." alt="" coords="16,85,125,130"/>
+<area shape="rect" href="pyinotify._Event&#45;class.html#__repr__" title="Returns: &#160;String representation." alt="" coords="28,36,113,54"/>
+<area shape="rect" href="pyinotify._Event&#45;class.html" title="Event structure, represent events raised by the system." alt="" coords="27,10,115,56"/>
</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>
+</center>
+</center>
<hr />
<p>This class contains all the useful informations about the observed
event. However, the incorporation 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 useful for IN_MOVE_TO).</p>
- The possible fields are:
+ <p>The possible fields are:</p>
<ul>
<li>
wd (int): Watch Descriptor.
@@ -86,8 +87,8 @@
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
+ 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>
@@ -100,7 +101,7 @@
<li>
dir (bool): is the event raised against directory.
</li>
- </ul><br /><br />
+ </ul>
<!-- ==================== INSTANCE METHODS ==================== -->
<a name="section-InstanceMethods"></a>
@@ -139,7 +140,7 @@
</tr>
<tr>
<td colspan="2" class="summary">
- <p class="indent-wrapped-lines"><b>Inherited from <code><a href="pyinotify._Event-class.html">_Event</a></code></b>:
+ <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>:
@@ -212,12 +213,12 @@
</td><td align="right" valign="top"
><span class="codelink"><a href="pyinotify-pysrc.html#Event.__init__">source&nbsp;code</a></span>&nbsp;
</td>
- </table>
+ </tr></table>
- Concretely, this is the raw event plus inferred infos.
+ <p>Concretely, this is the raw event plus inferred infos.</p>
<dl class="fields">
<dt>Overrides:
- <a href="pyinotify._Event-class.html#__init__">_Event.__init__</a>
+ object.__init__
</dt>
</dl>
</td></tr></table>
@@ -249,10 +250,11 @@
<table border="0" cellpadding="0" cellspacing="0" width="100%%">
<tr>
<td align="left" class="footer">
- Generated by Epydoc 3.0beta1 on Sun Aug 10 13:37:37 2008
+ Generated by Epydoc 3.0.1 on Tue Jan 6 22:57:23 2009
</td>
<td align="right" class="footer">
- <a href="http://epydoc.sourceforge.net">http://epydoc.sourceforge.net</a>
+ <a target="mainFrame" href="http://epydoc.sourceforge.net"
+ >http://epydoc.sourceforge.net</a>
</td>
</tr>
</table>
@@ -263,9 +265,8 @@
// 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()
+ checkCookie();
// -->
</script>
-
</body>
</html>
diff --git a/docstrings/pyinotify.EventsCodes-class.html b/docstrings/pyinotify.EventsCodes-class.html
index 89fa1c0..feca662 100644
--- a/docstrings/pyinotify.EventsCodes-class.html
+++ b/docstrings/pyinotify.EventsCodes-class.html
@@ -55,32 +55,33 @@
</tr>
</table>
<!-- ==================== CLASS DESCRIPTION ==================== -->
-<h1 class="epydoc">Class EventsCodes</h1><span class="codelink"><a href="pyinotify-pysrc.html#EventsCodes">source&nbsp;code</a></span><br /><br />
+<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_8" name="uml_class_diagram_for_pyinotif_8">
-<area shape="rect" href="pyinotify.EventsCodes&#45;class.html#IN_MOVED_FROM" title="File was moved from X." alt="" coords="17,28,156,46"/>
-<area shape="rect" href="pyinotify.EventsCodes&#45;class.html#FLAG_COLLECTIONS" title="pyinotify.EventsCodes.FLAG_COLLECTIONS" alt="" coords="17,46,156,65"/>
-<area shape="rect" href="pyinotify.EventsCodes&#45;class.html#IN_CREATE" title="Subfile was created." alt="" coords="17,65,156,84"/>
-<area shape="rect" href="pyinotify.EventsCodes&#45;class.html#IN_MOVED_TO" title="File was moved to Y." alt="" coords="17,84,156,102"/>
-<area shape="rect" href="pyinotify.EventsCodes&#45;class.html#IN_MOVE_SELF" title="Self (watched item itself) was moved." alt="" coords="17,102,156,121"/>
-<area shape="rect" href="pyinotify.EventsCodes&#45;class.html#ALL_FLAGS" title="pyinotify.EventsCodes.ALL_FLAGS" alt="" coords="17,121,156,140"/>
-<area shape="rect" href="pyinotify.EventsCodes&#45;class.html#IN_UNMOUNT" title="Backing fs was unmounted." alt="" coords="17,140,156,158"/>
-<area shape="rect" href="pyinotify.EventsCodes&#45;class.html#IN_ONESHOT" title="Only send event once." alt="" coords="17,158,156,177"/>
-<area shape="rect" href="pyinotify.EventsCodes&#45;class.html#IN_ONLYDIR" title="only watch the path if it is a directory (new in kernel 2.6.15)." alt="" coords="17,177,156,196"/>
-<area shape="rect" href="pyinotify.EventsCodes&#45;class.html#IN_Q_OVERFLOW" title="Event queued overflowed." alt="" coords="17,196,156,214"/>
-<area shape="rect" href="pyinotify.EventsCodes&#45;class.html#IN_IGNORED" title="File was ignored." alt="" coords="17,214,156,233"/>
-<area shape="rect" href="pyinotify.EventsCodes&#45;class.html#IN_DELETE" title="Subfile was deleted." alt="" coords="17,233,156,252"/>
-<area shape="rect" href="pyinotify.EventsCodes&#45;class.html#OP_FLAGS" title="pyinotify.EventsCodes.OP_FLAGS" alt="" coords="17,252,156,270"/>
-<area shape="rect" href="pyinotify.EventsCodes&#45;class.html#IN_OPEN" title="File was opened." alt="" coords="17,289,156,308"/>
-<area shape="rect" href="pyinotify.EventsCodes&#45;class.html#maskname" title="Return the event name associated to mask." alt="" coords="17,310,156,329"/>
-<area shape="rect" href="pyinotify.EventsCodes&#45;class.html" title="Set of codes corresponding to each kind of events." alt="" coords="16,10,157,330"/>
+<area shape="rect" href="pyinotify.EventsCodes&#45;class.html#FLAG_COLLECTIONS" title="pyinotify.EventsCodes.FLAG_COLLECTIONS" alt="" coords="17,28,175,46"/>
+<area shape="rect" href="pyinotify.EventsCodes&#45;class.html#ALL_FLAGS" title="pyinotify.EventsCodes.ALL_FLAGS" alt="" coords="17,46,175,65"/>
+<area shape="rect" href="pyinotify.EventsCodes&#45;class.html#ALL_VALUES" title="pyinotify.EventsCodes.ALL_VALUES" alt="" coords="17,65,175,84"/>
+<area shape="rect" href="pyinotify.EventsCodes&#45;class.html#ALL_EVENTS" title="Alias for considering all of the events." alt="" coords="17,84,175,102"/>
+<area shape="rect" href="pyinotify.EventsCodes&#45;class.html#EVENT_FLAGS" title="pyinotify.EventsCodes.EVENT_FLAGS" alt="" coords="17,102,175,121"/>
+<area shape="rect" href="pyinotify.EventsCodes&#45;class.html#IN_ACCESS" title="File was accessed." alt="" coords="17,121,175,140"/>
+<area shape="rect" href="pyinotify.EventsCodes&#45;class.html#IN_ATTRIB" title="Metadata changed." alt="" coords="17,140,175,158"/>
+<area shape="rect" href="pyinotify.EventsCodes&#45;class.html#IN_CLOSE_NOWRITE" title="Unwrittable file closed." alt="" coords="17,158,175,177"/>
+<area shape="rect" href="pyinotify.EventsCodes&#45;class.html#IN_CLOSE_WRITE" title="Writtable file was closed." alt="" coords="17,177,175,196"/>
+<area shape="rect" href="pyinotify.EventsCodes&#45;class.html#IN_CREATE" title="Subfile was created." alt="" coords="17,196,175,214"/>
+<area shape="rect" href="pyinotify.EventsCodes&#45;class.html#IN_DELETE" title="Subfile was deleted." alt="" coords="17,214,175,233"/>
+<area shape="rect" href="pyinotify.EventsCodes&#45;class.html#IN_DELETE_SELF" title="Self (watched item itself) was deleted." alt="" coords="17,233,175,252"/>
+<area shape="rect" href="pyinotify.EventsCodes&#45;class.html#IN_DONT_FOLLOW" title="don&#39;t follow a symlink (new in kernel 2.6.15)." alt="" coords="17,252,175,270"/>
+<area shape="rect" href="pyinotify.EventsCodes&#45;class.html#SPECIAL_FLAGS" title="pyinotify.EventsCodes.SPECIAL_FLAGS" alt="" coords="17,289,175,308"/>
+<area shape="rect" href="pyinotify.EventsCodes&#45;class.html#maskname" title="Return the event name associated to mask." alt="" coords="17,310,175,329"/>
+<area shape="rect" href="pyinotify.EventsCodes&#45;class.html" title="Set of codes corresponding to each kind of events." alt="" coords="16,10,176,330"/>
</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>
+</center>
+</center>
<hr />
-Set of codes corresponding to each kind of events. Some of these flags
+<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.<br /><br />
+ userspace by inotify notifying some events.</p>
<!-- ==================== INSTANCE METHODS ==================== -->
<a name="section-InstanceMethods"></a>
@@ -313,8 +314,7 @@ Set of codes corresponding to each kind of events. Some of these flags
<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).
+ add to the mask of an already existing watch (new in kernel 2.6.14).
</td>
</tr>
<tr>
@@ -362,8 +362,7 @@ Set of codes corresponding to each kind of events. Some of these flags
<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).
+ only watch the path if it is a directory (new in kernel 2.6.15).
</td>
</tr>
<tr>
@@ -473,11 +472,11 @@ Set of codes corresponding to each kind of events. Some of these flags
</td><td align="right" valign="top"
><span class="codelink"><a href="pyinotify-pysrc.html#EventsCodes.maskname">source&nbsp;code</a></span>&nbsp;
</td>
- </table>
+ </tr></table>
- Return the event name associated to mask. IN_ISDIR is appended when
+ <p>Return the event name associated to mask. IN_ISDIR is appended when
appropriate. Note: only one event is returned, because only one is raised
- once at a time.
+ once at a time.</p>
<dl class="fields">
<dt>Parameters:</dt>
<dd><ul class="nomargin-top">
@@ -692,10 +691,11 @@ Set of codes corresponding to each kind of events. Some of these flags
<table border="0" cellpadding="0" cellspacing="0" width="100%%">
<tr>
<td align="left" class="footer">
- Generated by Epydoc 3.0beta1 on Sun Aug 10 13:37:37 2008
+ Generated by Epydoc 3.0.1 on Tue Jan 6 22:57:23 2009
</td>
<td align="right" class="footer">
- <a href="http://epydoc.sourceforge.net">http://epydoc.sourceforge.net</a>
+ <a target="mainFrame" href="http://epydoc.sourceforge.net"
+ >http://epydoc.sourceforge.net</a>
</td>
</tr>
</table>
@@ -706,9 +706,8 @@ Set of codes corresponding to each kind of events. Some of these flags
// 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()
+ checkCookie();
// -->
</script>
-
</body>
</html>
diff --git a/docstrings/pyinotify.ExcludeFilter-class.html b/docstrings/pyinotify.ExcludeFilter-class.html
index c9b44ad..80d01b7 100644
--- a/docstrings/pyinotify.ExcludeFilter-class.html
+++ b/docstrings/pyinotify.ExcludeFilter-class.html
@@ -55,17 +55,18 @@
</tr>
</table>
<!-- ==================== CLASS DESCRIPTION ==================== -->
-<h1 class="epydoc">Class ExcludeFilter</h1><span class="codelink"><a href="pyinotify-pysrc.html#ExcludeFilter">source&nbsp;code</a></span><br /><br />
+<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_9" name="uml_class_diagram_for_pyinotif_9">
-<area shape="rect" href="pyinotify.ExcludeFilter&#45;class.html#__call__" title="Returns: return True is path has been matched and should be excluded, False otherwise." alt="" coords="17,36,143,54"/>
-<area shape="rect" href="pyinotify.ExcludeFilter&#45;class.html#__init__" title="x.__init__(...) initializes x; see x.__class__.__doc__ for signature" alt="" coords="17,54,143,73"/>
+<area shape="rect" href="pyinotify.ExcludeFilter&#45;class.html#__init__" title="x.__init__(...) initializes x; see x.__class__.__doc__ for signature" alt="" coords="17,36,143,54"/>
+<area shape="rect" href="pyinotify.ExcludeFilter&#45;class.html#__call__" title="Returns: &#160;return True is path has been matched and should be excluded, False &#160;otherwise." alt="" coords="17,54,143,73"/>
<area shape="rect" href="pyinotify.ExcludeFilter&#45;class.html" title="ExcludeFilter is an exclusion filter." alt="" coords="16,10,144,74"/>
</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>
+</center>
+</center>
<hr />
-ExcludeFilter is an exclusion filter.<br /><br />
+<p>ExcludeFilter is an exclusion filter.</p>
<!-- ==================== INSTANCE METHODS ==================== -->
<a name="section-InstanceMethods"></a>
@@ -92,8 +93,7 @@ ExcludeFilter is an exclusion filter.<br /><br />
<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 />
- x.__init__(...) initializes x; see x.__class__.__doc__ for
- signature</td>
+ x.__init__(...) initializes x; see x.__class__.__doc__ for signature</td>
<td align="right" valign="top">
<span class="codelink"><a href="pyinotify-pysrc.html#ExcludeFilter.__init__">source&nbsp;code</a></span>
@@ -147,7 +147,7 @@ ExcludeFilter is an exclusion filter.<br /><br />
<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 is path has been matched and should be excluded, False
+ return True is 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>
@@ -231,19 +231,19 @@ ExcludeFilter is an exclusion filter.<br /><br />
</td><td align="right" valign="top"
><span class="codelink"><a href="pyinotify-pysrc.html#ExcludeFilter.__init__">source&nbsp;code</a></span>&nbsp;
</td>
- </table>
+ </tr></table>
- x.__init__(...) initializes x; see x.__class__.__doc__ for
- signature
+ <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>arg_lst</code></strong> (list or dict) - is either a list or dict of patterns: [pattern1, ...,
- patternn] {'filename1': (list1, listn), ...} where list1 is a
- list of patterns</li>
+ <li><strong class="pname"><code>arg_lst</code></strong> (list or dict) - is either a list or dict of patterns: [pattern1, ..., patternn]
+ {'filename1': (list1, listn), ...} where list1 is a list of
+ patterns</li>
</ul></dd>
<dt>Overrides:
- object.__init__
+ object.__init__
</dt>
</dl>
</td></tr></table>
@@ -262,7 +262,7 @@ ExcludeFilter is an exclusion filter.<br /><br />
</td><td align="right" valign="top"
><span class="codelink"><a href="pyinotify-pysrc.html#ExcludeFilter.__call__">source&nbsp;code</a></span>&nbsp;
</td>
- </table>
+ </tr></table>
<dl class="fields">
@@ -303,10 +303,11 @@ ExcludeFilter is an exclusion filter.<br /><br />
<table border="0" cellpadding="0" cellspacing="0" width="100%%">
<tr>
<td align="left" class="footer">
- Generated by Epydoc 3.0beta1 on Sun Aug 10 13:37:37 2008
+ Generated by Epydoc 3.0.1 on Tue Jan 6 22:57:23 2009
</td>
<td align="right" class="footer">
- <a href="http://epydoc.sourceforge.net">http://epydoc.sourceforge.net</a>
+ <a target="mainFrame" href="http://epydoc.sourceforge.net"
+ >http://epydoc.sourceforge.net</a>
</td>
</tr>
</table>
@@ -317,9 +318,8 @@ ExcludeFilter is an exclusion filter.<br /><br />
// 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()
+ checkCookie();
// -->
</script>
-
</body>
</html>
diff --git a/docstrings/pyinotify.NoTheme-class.html b/docstrings/pyinotify.NoTheme-class.html
index 3ba8449..3efb03b 100644
--- a/docstrings/pyinotify.NoTheme-class.html
+++ b/docstrings/pyinotify.NoTheme-class.html
@@ -55,16 +55,17 @@
</tr>
</table>
<!-- ==================== CLASS DESCRIPTION ==================== -->
-<h1 class="epydoc">Class NoTheme</h1><span class="codelink"><a href="pyinotify-pysrc.html#NoTheme">source&nbsp;code</a></span><br /><br />
+<h1 class="epydoc">Class NoTheme</h1><p class="nomargin-top"><span class="codelink"><a href="pyinotify-pysrc.html#NoTheme">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.ColorTheme&#45;class.html#__getattr__" title="pyinotify.ColorTheme.__getattr__" alt="" coords="17,36,143,55"/>
-<area shape="rect" href="pyinotify.ColorTheme&#45;class.html#__repr__" title="repr(x)" alt="" coords="17,55,143,74"/>
-<area shape="rect" href="pyinotify.ColorTheme&#45;class.html" title="pyinotify.ColorTheme" alt="" coords="16,11,144,75"/>
<area shape="rect" href="pyinotify.NoTheme&#45;class.html" title="pyinotify.NoTheme" alt="" coords="51,104,109,136"/>
+<area shape="rect" href="pyinotify.ColorTheme&#45;class.html#__repr__" title="repr(x)" alt="" coords="17,36,143,55"/>
+<area shape="rect" href="pyinotify.ColorTheme&#45;class.html#__getattr__" title="pyinotify.ColorTheme.__getattr__" alt="" coords="17,55,143,74"/>
+<area shape="rect" href="pyinotify.ColorTheme&#45;class.html" title="pyinotify.ColorTheme" alt="" coords="16,11,144,75"/>
</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>
+</center>
+</center>
<hr />
<!-- ==================== INSTANCE METHODS ==================== -->
<a name="section-InstanceMethods"></a>
@@ -154,10 +155,11 @@
<table border="0" cellpadding="0" cellspacing="0" width="100%%">
<tr>
<td align="left" class="footer">
- Generated by Epydoc 3.0beta1 on Sun Aug 10 13:37:37 2008
+ Generated by Epydoc 3.0.1 on Tue Jan 6 22:57:23 2009
</td>
<td align="right" class="footer">
- <a href="http://epydoc.sourceforge.net">http://epydoc.sourceforge.net</a>
+ <a target="mainFrame" href="http://epydoc.sourceforge.net"
+ >http://epydoc.sourceforge.net</a>
</td>
</tr>
</table>
@@ -168,9 +170,8 @@
// 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()
+ checkCookie();
// -->
</script>
-
</body>
</html>
diff --git a/docstrings/pyinotify.Notifier-class.html b/docstrings/pyinotify.Notifier-class.html
index 39b993d..bc684ff 100644
--- a/docstrings/pyinotify.Notifier-class.html
+++ b/docstrings/pyinotify.Notifier-class.html
@@ -55,23 +55,24 @@
</tr>
</table>
<!-- ==================== CLASS DESCRIPTION ==================== -->
-<h1 class="epydoc">Class Notifier</h1><span class="codelink"><a href="pyinotify-pysrc.html#Notifier">source&nbsp;code</a></span><br /><br />
+<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_11" name="uml_class_diagram_for_pyinotif_11">
-<area shape="rect" href="pyinotify.ThreadedNotifier&#45;class.html" title="This notifier inherits from threading.Thread for instantiating a separate thread, and also inherits from Notifier, because it is a threaded notifier." alt="" coords="273,198,380,224"/>
-<area shape="rect" href="pyinotify.Notifier&#45;class.html#read_events" title="Read events from device, build _RawEvents, and enqueue them." alt="" coords="17,36,636,55"/>
-<area shape="rect" href="pyinotify.Notifier&#45;class.html#stop" title="Close the inotify&#39;s instance (close its file descriptor)." alt="" coords="17,55,636,74"/>
+<area shape="rect" href="pyinotify.Notifier&#45;class.html#__init__" title="Initialization." alt="" coords="17,36,636,55"/>
+<area shape="rect" href="pyinotify.Notifier&#45;class.html#proc_fun" title="pyinotify.Notifier.proc_fun" alt="" coords="17,55,636,74"/>
<area shape="rect" href="pyinotify.Notifier&#45;class.html#check_events" title="Check for new events available to read, blocks up to timeout milliseconds." alt="" coords="17,74,636,92"/>
-<area shape="rect" href="pyinotify.Notifier&#45;class.html#proc_fun" title="pyinotify.Notifier.proc_fun" alt="" coords="17,92,636,111"/>
-<area shape="rect" href="pyinotify.Notifier&#45;class.html#loop" title="Events are read only once time every min(read_freq, timeout) seconds at best and only if the size to read is &gt;= treshold." alt="" coords="17,111,636,130"/>
-<area shape="rect" href="pyinotify.Notifier&#45;class.html#__init__" title="Initialization." alt="" coords="17,130,636,148"/>
-<area shape="rect" href="pyinotify.Notifier&#45;class.html#process_events" title="Routine for processing events from queue by calling their associated proccessing function (instance of ProcessEvent)." alt="" coords="17,148,636,167"/>
+<area shape="rect" href="pyinotify.Notifier&#45;class.html#read_events" title="Read events from device, build _RawEvents, and enqueue them." alt="" coords="17,92,636,111"/>
+<area shape="rect" href="pyinotify.Notifier&#45;class.html#process_events" title="Routine for processing events from queue by calling their associated &#160;proccessing function (instance of ProcessEvent)." alt="" coords="17,111,636,130"/>
+<area shape="rect" href="pyinotify.Notifier&#45;class.html#loop" title="Events are read only once time every min(read_freq, timeout) seconds at &#160;best and only if the size to read is &gt;= treshold." alt="" coords="17,130,636,148"/>
+<area shape="rect" href="pyinotify.Notifier&#45;class.html#stop" title="Close the inotify&#39;s instance (close its file descriptor)." alt="" coords="17,148,636,167"/>
<area shape="rect" href="pyinotify.Notifier&#45;class.html" title="Read notifications, process events." alt="" coords="16,11,637,168"/>
+<area shape="rect" href="pyinotify.ThreadedNotifier&#45;class.html" title="This notifier inherits from threading.Thread for instantiating a separate thread, and also inherits from Notifier, because it is a threaded notifier." alt="" coords="273,198,380,224"/>
</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>
+</center>
+</center>
<hr />
-Read notifications, process events.<br /><br />
+<p>Read notifications, process events.</p>
<!-- ==================== INSTANCE METHODS ==================== -->
<a name="section-InstanceMethods"></a>
@@ -170,8 +171,8 @@ Read notifications, process events.<br /><br />
<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 function (instance of ProcessEvent).</td>
+ Routine for processing events from queue by calling their associated
+ proccessing function (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>
@@ -187,7 +188,7 @@ Read notifications, process events.<br /><br />
</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">__daemonize</a>(<span class="summary-sig-arg">self</span>,
+ <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">force_kill</span>=<span class="summary-sig-default">False</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>,
@@ -230,8 +231,8 @@ Read notifications, process events.<br /><br />
<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 once time every min(read_freq, timeout)
- seconds at best and only if the size to read is &gt;= treshold.</td>
+ Events are read only once time every min(read_freq, timeout) seconds
+ at best and only if the size to read is &gt;= treshold.</td>
<td align="right" valign="top">
<span class="codelink"><a href="pyinotify-pysrc.html#Notifier.loop">source&nbsp;code</a></span>
@@ -335,29 +336,28 @@ Read notifications, process events.<br /><br />
</td><td align="right" valign="top"
><span class="codelink"><a href="pyinotify-pysrc.html#Notifier.__init__">source&nbsp;code</a></span>&nbsp;
</td>
- </table>
+ </tr></table>
- Initialization. read_freq, treshold and timeout parameters are used
- when looping.
+ <p>Initialization. read_freq, treshold 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.</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
+ <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 can be different because poll is blocking
waiting for something to read.</li>
- <li><strong class="pname"><code>treshold</code></strong> (int) - File descriptor will be read only if its size to read is &gt;=
+ <li><strong class="pname"><code>treshold</code></strong> (int) - File descriptor will be read only if its size to read is &gt;=
treshold. If != 0, you likely want to use it in combination with
read_freq because without that you keep looping without really
reading anything and that until the amount to read is &gt;=
treshold. At least with read_freq you may sleep.</li>
- <li><strong class="pname"><code>timeout</code></strong> (int) - see
- http://docs.python.org/lib/poll-objects.html#poll-objects</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__
+ object.__init__
</dt>
</dl>
</td></tr></table>
@@ -374,10 +374,10 @@ Read notifications, process events.<br /><br />
</td><td align="right" valign="top"
><span class="codelink"><a href="pyinotify-pysrc.html#Notifier.check_events">source&nbsp;code</a></span>&nbsp;
</td>
- </table>
+ </tr></table>
- Check for new events available to read, blocks up to timeout
- milliseconds.
+ <p>Check for new events available to read, blocks up to timeout
+ milliseconds.</p>
<dl class="fields">
<dt>Returns: bool</dt>
<dd>New events to read.</dd>
@@ -396,11 +396,11 @@ Read notifications, process events.<br /><br />
</td><td align="right" valign="top"
><span class="codelink"><a href="pyinotify-pysrc.html#Notifier.process_events">source&nbsp;code</a></span>&nbsp;
</td>
- </table>
+ </tr></table>
- Routine for processing events from queue by calling their associated
+ <p>Routine for processing events from queue by calling their associated
proccessing function (instance of ProcessEvent). It also do internal
- processings, to keep the system updated.
+ processings, to keep the system updated.</p>
<dl class="fields">
</dl>
</td></tr></table>
@@ -422,11 +422,11 @@ Read notifications, process events.<br /><br />
</td><td align="right" valign="top"
><span class="codelink"><a href="pyinotify-pysrc.html#Notifier.__daemonize">source&nbsp;code</a></span>&nbsp;
</td>
- </table>
+ </tr></table>
- pid_file: file to which pid will be written. force_kill: if True kill
+ <p>pid_file: file to which pid will be written. force_kill: if True kill
the process associated to pid_file. stdin, stdout, stderr: files
- associated to common streams.
+ associated to common streams.</p>
<dl class="fields">
</dl>
</td></tr></table>
@@ -446,14 +446,14 @@ Read notifications, process events.<br /><br />
</td><td align="right" valign="top"
><span class="codelink"><a href="pyinotify-pysrc.html#Notifier.loop">source&nbsp;code</a></span>&nbsp;
</td>
- </table>
+ </tr></table>
- Events are read only once time every min(read_freq, timeout) seconds
- at best and only if the size to read is &gt;= treshold.
+ <p>Events are read only once time every min(read_freq, timeout) seconds
+ at best and only if the size to read is &gt;= treshold.</p>
<dl class="fields">
<dt>Parameters:</dt>
<dd><ul class="nomargin-top">
- <li><strong class="pname"><code>callback</code></strong> (callable) - Functor called after each event processing. Expects to receive
+ <li><strong class="pname"><code>callback</code></strong> (callable) - Functor called after each event processing. Expects to receive
notifier object (self) as first parameter.</li>
<li><strong class="pname"><code>daemonize</code></strong> (boolean) - This thread is daemonized if set to True.</li>
</ul></dd>
@@ -472,10 +472,10 @@ Read notifications, process events.<br /><br />
</td><td align="right" valign="top"
><span class="codelink"><a href="pyinotify-pysrc.html#Notifier.stop">source&nbsp;code</a></span>&nbsp;
</td>
- </table>
+ </tr></table>
- Close the inotify's instance (close its file descriptor). It destroys
- all existing watches, pending events,...
+ <p>Close the inotify's instance (close its file descriptor). It destroys
+ all existing watches, pending events,...</p>
<dl class="fields">
</dl>
</td></tr></table>
@@ -507,10 +507,11 @@ Read notifications, process events.<br /><br />
<table border="0" cellpadding="0" cellspacing="0" width="100%%">
<tr>
<td align="left" class="footer">
- Generated by Epydoc 3.0beta1 on Sun Aug 10 13:37:38 2008
+ Generated by Epydoc 3.0.1 on Tue Jan 6 22:57:24 2009
</td>
<td align="right" class="footer">
- <a href="http://epydoc.sourceforge.net">http://epydoc.sourceforge.net</a>
+ <a target="mainFrame" href="http://epydoc.sourceforge.net"
+ >http://epydoc.sourceforge.net</a>
</td>
</tr>
</table>
@@ -521,9 +522,8 @@ Read notifications, process events.<br /><br />
// 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()
+ checkCookie();
// -->
</script>
-
</body>
</html>
diff --git a/docstrings/pyinotify.NotifierError-class.html b/docstrings/pyinotify.NotifierError-class.html
index efd702b..b05b691 100644
--- a/docstrings/pyinotify.NotifierError-class.html
+++ b/docstrings/pyinotify.NotifierError-class.html
@@ -55,30 +55,32 @@
</tr>
</table>
<!-- ==================== CLASS DESCRIPTION ==================== -->
-<h1 class="epydoc">Class NotifierError</h1><span class="codelink"><a href="pyinotify-pysrc.html#NotifierError">source&nbsp;code</a></span><br /><br />
+<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_12" name="uml_class_diagram_for_pyinotif_12">
-<area shape="rect" href="javascript: void(0);" title="Returns: a new object with type S, a subtype of T" alt="" coords="32,292,157,310"/>
-<area shape="rect" href="javascript: void(0);" title="Common base class for all non&#45;exit exceptions." alt="" coords="31,266,159,312"/>
-<area shape="rect" href="pyinotify.NotifierError&#45;class.html#__init__" title="x.__init__(...) initializes x; see x.__class__.__doc__ for signature" alt="" coords="39,366,151,385"/>
-<area shape="rect" href="pyinotify.NotifierError&#45;class.html" title="Notifier Exception." alt="" coords="37,341,152,386"/>
-<area shape="rect" href="javascript: void(0);" title="exceptions.BaseException.args" alt="" coords="17,28,172,46"/>
-<area shape="rect" href="javascript: void(0);" title="exception message" alt="" coords="17,46,172,65"/>
-<area shape="rect" href="javascript: void(0);" title="x.__setattr__(&#39;name&#39;, value) &lt;==&gt; x.name = value" alt="" coords="17,68,172,86"/>
-<area shape="rect" href="javascript: void(0);" title="x[i:j]" alt="" coords="17,86,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="exceptions.BaseException.__setstate__" alt="" coords="17,124,172,142"/>
-<area shape="rect" href="javascript: void(0);" title="x.__getattribute__(&#39;name&#39;) &lt;==&gt; x.name" alt="" coords="17,142,172,161"/>
-<area shape="rect" href="javascript: void(0);" title="str(x)" alt="" coords="17,161,172,180"/>
-<area shape="rect" href="javascript: void(0);" title="helper for pickle" alt="" coords="17,180,172,198"/>
-<area shape="rect" href="javascript: void(0);" title="x.__delattr__(&#39;name&#39;) &lt;==&gt; del x.name" alt="" coords="17,198,172,217"/>
-<area shape="rect" href="javascript: void(0);" title="repr(x)" alt="" coords="17,217,172,236"/>
-<area shape="rect" href="javascript: void(0);" title="Common base class for all exceptions" alt="" coords="16,10,173,237"/>
+<area shape="rect" href="pyinotify.NotifierError&#45;class.html#__init__" title="x.__init__(...) initializes x; see x.__class__.__doc__ for signature" alt="" coords="44,428,145,447"/>
+<area shape="rect" href="pyinotify.NotifierError&#45;class.html" title="Notifier Exception." alt="" coords="43,403,147,448"/>
+<area shape="rect" href="pyinotify.PyinotifyError&#45;class.html" title="Indicates exceptions raised by a Pyinotify class." alt="" coords="53,342,136,374"/>
+<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="exception message" alt="" coords="17,47,172,66"/>
+<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,106"/>
+<area shape="rect" href="javascript:void(0);" title="x[y]" alt="" coords="17,106,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,162"/>
+<area shape="rect" href="javascript:void(0);" title="repr(x)" alt="" coords="17,162,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,218"/>
+<area shape="rect" href="javascript:void(0);" title="str(x)" alt="" coords="17,218,172,236"/>
+<area shape="rect" href="javascript:void(0);" title="Common base class for all exceptions" alt="" coords="16,11,173,238"/>
+<area shape="rect" href="javascript:void(0);" title="exceptions.Exception.__new__" alt="" coords="32,292,157,311"/>
+<area shape="rect" href="javascript:void(0);" title="Common base class for all non&#45;exit exceptions." alt="" coords="31,267,159,312"/>
</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>
+</center>
+</center>
<hr />
-Notifier Exception. Raised on Notifier error.<br /><br />
+<p>Notifier Exception. Raised on Notifier error.</p>
<!-- ==================== INSTANCE METHODS ==================== -->
<a name="section-InstanceMethods"></a>
@@ -104,9 +106,8 @@ Notifier Exception. Raised on Notifier error.<br /><br />
<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">msg</span>)</span><br />
- x.__init__(...) initializes x; see x.__class__.__doc__ for
- signature</td>
+ <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>
@@ -194,23 +195,23 @@ Notifier Exception. Raised on Notifier error.<br /><br />
<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>
+ <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>
- </table>
+ </tr></table>
- x.__init__(...) initializes x; see x.__class__.__doc__ for
- signature
+ <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>err</code></strong> (string) - Exception string's description.</li>
</ul></dd>
<dt>Overrides:
- exceptions.Exception.__init__
+ object.__init__
</dt>
</dl>
</td></tr></table>
@@ -242,10 +243,11 @@ Notifier Exception. Raised on Notifier error.<br /><br />
<table border="0" cellpadding="0" cellspacing="0" width="100%%">
<tr>
<td align="left" class="footer">
- Generated by Epydoc 3.0beta1 on Sun Aug 10 13:37:38 2008
+ Generated by Epydoc 3.0.1 on Tue Jan 6 22:57:24 2009
</td>
<td align="right" class="footer">
- <a href="http://epydoc.sourceforge.net">http://epydoc.sourceforge.net</a>
+ <a target="mainFrame" href="http://epydoc.sourceforge.net"
+ >http://epydoc.sourceforge.net</a>
</td>
</tr>
</table>
@@ -256,9 +258,8 @@ Notifier Exception. Raised on Notifier error.<br /><br />
// 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()
+ checkCookie();
// -->
</script>
-
</body>
</html>
diff --git a/docstrings/pyinotify.ProcessEvent-class.html b/docstrings/pyinotify.ProcessEvent-class.html
index d591d4e..5397e6a 100644
--- a/docstrings/pyinotify.ProcessEvent-class.html
+++ b/docstrings/pyinotify.ProcessEvent-class.html
@@ -55,33 +55,34 @@
</tr>
</table>
<!-- ==================== CLASS DESCRIPTION ==================== -->
-<h1 class="epydoc">Class ProcessEvent</h1><span class="codelink"><a href="pyinotify-pysrc.html#ProcessEvent">source&nbsp;code</a></span><br /><br />
+<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_13" name="uml_class_diagram_for_pyinotif_13">
-<area shape="rect" href="pyinotify._ProcessEvent&#45;class.html#__repr__" title="repr(x)" alt="" coords="79,36,167,54"/>
-<area shape="rect" href="pyinotify._ProcessEvent&#45;class.html" title="Abstract processing event class." alt="" coords="77,10,168,56"/>
-<area shape="rect" href="pyinotify.ProcessEvent&#45;class.html#pevent" title="pyinotify.ProcessEvent.pevent" alt="" coords="17,102,228,121"/>
-<area shape="rect" href="pyinotify.ProcessEvent&#45;class.html#my_init" title="Override this method when subclassing if you want to achieve custom initialization of your subclass&#39; instance." alt="" coords="17,124,228,142"/>
-<area shape="rect" href="pyinotify.ProcessEvent&#45;class.html#nested_pevent" title="pyinotify.ProcessEvent.nested_pevent" alt="" coords="17,142,228,161"/>
-<area shape="rect" href="pyinotify.ProcessEvent&#45;class.html#process_default" title="Default default processing event method." alt="" coords="17,161,228,180"/>
-<area shape="rect" href="pyinotify.ProcessEvent&#45;class.html#__call__" title="To behave like a functor the object must be callable." alt="" coords="17,180,228,198"/>
-<area shape="rect" href="pyinotify.ProcessEvent&#45;class.html#__init__" title="Enable chaining of ProcessEvent instances." alt="" coords="17,198,228,217"/>
-<area shape="rect" href="pyinotify.ProcessEvent&#45;class.html" title="Process events objects, can be specialized via subclassing, thus its behavior can be overriden:" alt="" coords="16,85,229,218"/>
-<area shape="rect" href="pyinotify.ChainIf&#45;class.html" title="Makes conditional chaining depending on the result of the nested processing instance." alt="" coords="47,248,100,274"/>
-<area shape="rect" href="pyinotify.Stats&#45;class.html" title="pyinotify.Stats" alt="" coords="151,248,196,274"/>
+<area shape="rect" href="pyinotify.ProcessEvent&#45;class.html#pevent" title="pyinotify.ProcessEvent.pevent" alt="" coords="17,102,231,121"/>
+<area shape="rect" href="pyinotify.ProcessEvent&#45;class.html#__init__" title="Enable chaining of ProcessEvent instances." alt="" coords="17,124,231,142"/>
+<area shape="rect" href="pyinotify.ProcessEvent&#45;class.html#my_init" title="Override this method when subclassing if you want to achieve custom &#160;initialization of your subclass&#39; instance." alt="" coords="17,142,231,161"/>
+<area shape="rect" href="pyinotify.ProcessEvent&#45;class.html#__call__" title="To behave like a functor the object must be callable." alt="" coords="17,161,231,180"/>
+<area shape="rect" href="pyinotify.ProcessEvent&#45;class.html#nested_pevent" title="pyinotify.ProcessEvent.nested_pevent" alt="" coords="17,180,231,198"/>
+<area shape="rect" href="pyinotify.ProcessEvent&#45;class.html#process_default" title="Default default processing event method." alt="" coords="17,198,231,217"/>
+<area shape="rect" href="pyinotify.ProcessEvent&#45;class.html" title="Process events objects, can be specialized via subclassing, thus its behavior can be overriden:" alt="" coords="16,85,232,218"/>
+<area shape="rect" href="pyinotify.Stats&#45;class.html" title="pyinotify.Stats" alt="" coords="52,248,97,274"/>
+<area shape="rect" href="pyinotify.ChainIf&#45;class.html" title="Makes conditional chaining depending on the result of the nested processing instance." alt="" coords="148,248,201,274"/>
+<area shape="rect" href="pyinotify._ProcessEvent&#45;class.html#__repr__" title="repr(x)" alt="" coords="80,36,168,54"/>
+<area shape="rect" href="pyinotify._ProcessEvent&#45;class.html" title="Abstract processing event class." alt="" coords="79,10,169,56"/>
</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>
+</center>
+</center>
<hr />
<p>Process events objects, can be specialized via subclassing, thus its
behavior can be overriden:</p>
- Note: you should not override __init__ in your subclass instead define
+ <p>Note: you should not override __init__ in your subclass instead define
a my_init() method, this method will be called from the constructor of
- this class with optional parameters.
+ this class with optional parameters.</p>
<ol start="1">
<li>
- Provide methods, e.g. process_IN_DELETE for processing a given
- kind of event (eg. IN_DELETE in this case).
+ Provide methods, e.g. process_IN_DELETE for processing a given kind
+ of event (eg. IN_DELETE in this case).
</li>
<li>
Or/and provide methods for processing events by 'family', e.g.
@@ -90,10 +91,10 @@
process_IN_CLOSE_NOWRITE aren't defined).
</li>
<li>
- Or/and override process_default for processing the remaining kind
- of events.
+ Or/and override process_default for processing the remaining kind of
+ events.
</li>
- </ol><br /><br />
+ </ol>
<!-- ==================== INSTANCE METHODS ==================== -->
<a name="section-InstanceMethods"></a>
@@ -139,8 +140,8 @@
<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 />
- Override this method when subclassing if you want to achieve
- custom initialization of your subclass' instance.</td>
+ Override this method when subclassing if you want to achieve custom
+ initialization of your subclass' instance.</td>
<td align="right" valign="top">
<span class="codelink"><a href="pyinotify-pysrc.html#ProcessEvent.my_init">source&nbsp;code</a></span>
@@ -204,7 +205,7 @@
</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>:
+ <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>:
@@ -303,9 +304,9 @@
</td><td align="right" valign="top"
><span class="codelink"><a href="pyinotify-pysrc.html#ProcessEvent.__init__">source&nbsp;code</a></span>&nbsp;
</td>
- </table>
+ </tr></table>
- Enable chaining of ProcessEvent instances.
+ <p>Enable chaining of ProcessEvent instances.</p>
<dl class="fields">
<dt>Parameters:</dt>
<dd><ul class="nomargin-top">
@@ -314,7 +315,7 @@
<li><strong class="pname"><code>kargs</code></strong> (dict) - optional arguments delagated to template method my_init</li>
</ul></dd>
<dt>Overrides:
- object.__init__
+ object.__init__
</dt>
</dl>
</td></tr></table>
@@ -332,11 +333,11 @@
</td><td align="right" valign="top"
><span class="codelink"><a href="pyinotify-pysrc.html#ProcessEvent.my_init">source&nbsp;code</a></span>&nbsp;
</td>
- </table>
+ </tr></table>
- Override this method when subclassing if you want to achieve custom
+ <p>Override this method when subclassing if you want to achieve custom
initialization of your subclass' instance. You MUST pass keyword
- arguments. This method does nothing by default.
+ arguments. This method does nothing by default.</p>
<dl class="fields">
<dt>Parameters:</dt>
<dd><ul class="nomargin-top">
@@ -359,10 +360,10 @@
</td><td align="right" valign="top"
><span class="codelink"><a href="pyinotify-pysrc.html#ProcessEvent.__call__">source&nbsp;code</a></span>&nbsp;
</td>
- </table>
+ </tr></table>
- To behave like a functor the object must be callable. This method is a
- dispatch method. Lookup order:
+ <p>To behave like a functor the object must be callable. This method is a
+ dispatch method. Lookup order:</p>
<ol start="1">
<li>
process_MASKNAME method
@@ -375,6 +376,10 @@
</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>
@@ -383,12 +388,16 @@
executing next chained functors (see chain.py example).
</li>
<li>
- Returning True instead means do not execute next
- processing functions.
+ 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>
+ <a href="pyinotify._ProcessEvent-class.html#__call__">_ProcessEvent.__call__</a>
<dd><em class="note">(inherited documentation)</em></dd>
</dt>
</dl>
@@ -407,10 +416,10 @@
</td><td align="right" valign="top"
><span class="codelink"><a href="pyinotify-pysrc.html#ProcessEvent.process_default">source&nbsp;code</a></span>&nbsp;
</td>
- </table>
+ </tr></table>
- Default default processing event method. Print event on standart
- output.
+ <p>Default default processing event method. Print event on standart
+ output.</p>
<dl class="fields">
<dt>Parameters:</dt>
<dd><ul class="nomargin-top">
@@ -446,10 +455,11 @@
<table border="0" cellpadding="0" cellspacing="0" width="100%%">
<tr>
<td align="left" class="footer">
- Generated by Epydoc 3.0beta1 on Sun Aug 10 13:37:38 2008
+ Generated by Epydoc 3.0.1 on Tue Jan 6 22:57:24 2009
</td>
<td align="right" class="footer">
- <a href="http://epydoc.sourceforge.net">http://epydoc.sourceforge.net</a>
+ <a target="mainFrame" href="http://epydoc.sourceforge.net"
+ >http://epydoc.sourceforge.net</a>
</td>
</tr>
</table>
@@ -460,9 +470,8 @@
// 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()
+ checkCookie();
// -->
</script>
-
</body>
</html>
diff --git a/docstrings/pyinotify.ProcessEventError-class.html b/docstrings/pyinotify.ProcessEventError-class.html
index 78b6fc1..152876b 100644
--- a/docstrings/pyinotify.ProcessEventError-class.html
+++ b/docstrings/pyinotify.ProcessEventError-class.html
@@ -55,30 +55,32 @@
</tr>
</table>
<!-- ==================== CLASS DESCRIPTION ==================== -->
-<h1 class="epydoc">Class ProcessEventError</h1><span class="codelink"><a href="pyinotify-pysrc.html#ProcessEventError">source&nbsp;code</a></span><br /><br />
+<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_14" name="uml_class_diagram_for_pyinotif_14">
-<area shape="rect" href="javascript: void(0);" title="Returns: a new object with type S, a subtype of T" alt="" coords="32,292,157,310"/>
-<area shape="rect" href="javascript: void(0);" title="Common base class for all non&#45;exit exceptions." alt="" coords="31,266,159,312"/>
-<area shape="rect" href="pyinotify.ProcessEventError&#45;class.html#__init__" title="x.__init__(...) initializes x; see x.__class__.__doc__ for signature" alt="" coords="39,366,151,385"/>
-<area shape="rect" href="pyinotify.ProcessEventError&#45;class.html" title="ProcessEventError Exception." alt="" coords="37,341,152,386"/>
-<area shape="rect" href="javascript: void(0);" title="exceptions.BaseException.args" alt="" coords="17,28,172,46"/>
-<area shape="rect" href="javascript: void(0);" title="exception message" alt="" coords="17,46,172,65"/>
-<area shape="rect" href="javascript: void(0);" title="x.__setattr__(&#39;name&#39;, value) &lt;==&gt; x.name = value" alt="" coords="17,68,172,86"/>
-<area shape="rect" href="javascript: void(0);" title="x[i:j]" alt="" coords="17,86,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="exceptions.BaseException.__setstate__" alt="" coords="17,124,172,142"/>
-<area shape="rect" href="javascript: void(0);" title="x.__getattribute__(&#39;name&#39;) &lt;==&gt; x.name" alt="" coords="17,142,172,161"/>
-<area shape="rect" href="javascript: void(0);" title="str(x)" alt="" coords="17,161,172,180"/>
-<area shape="rect" href="javascript: void(0);" title="helper for pickle" alt="" coords="17,180,172,198"/>
-<area shape="rect" href="javascript: void(0);" title="x.__delattr__(&#39;name&#39;) &lt;==&gt; del x.name" alt="" coords="17,198,172,217"/>
-<area shape="rect" href="javascript: void(0);" title="repr(x)" alt="" coords="17,217,172,236"/>
-<area shape="rect" href="javascript: void(0);" title="Common base class for all exceptions" alt="" coords="16,10,173,237"/>
+<area shape="rect" href="pyinotify.ProcessEventError&#45;class.html#__init__" title="x.__init__(...) initializes x; see x.__class__.__doc__ for signature" alt="" coords="40,428,149,447"/>
+<area shape="rect" href="pyinotify.ProcessEventError&#45;class.html" title="ProcessEventError Exception." alt="" coords="39,403,151,448"/>
+<area shape="rect" href="pyinotify.PyinotifyError&#45;class.html" title="Indicates exceptions raised by a Pyinotify class." alt="" coords="53,342,136,374"/>
+<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="exception message" alt="" coords="17,47,172,66"/>
+<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,106"/>
+<area shape="rect" href="javascript:void(0);" title="x[y]" alt="" coords="17,106,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,162"/>
+<area shape="rect" href="javascript:void(0);" title="repr(x)" alt="" coords="17,162,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,218"/>
+<area shape="rect" href="javascript:void(0);" title="str(x)" alt="" coords="17,218,172,236"/>
+<area shape="rect" href="javascript:void(0);" title="Common base class for all exceptions" alt="" coords="16,11,173,238"/>
+<area shape="rect" href="javascript:void(0);" title="exceptions.Exception.__new__" alt="" coords="32,292,157,311"/>
+<area shape="rect" href="javascript:void(0);" title="Common base class for all non&#45;exit exceptions." alt="" coords="31,267,159,312"/>
</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>
+</center>
+</center>
<hr />
-ProcessEventError Exception. Raised on ProcessEvent error.<br /><br />
+<p>ProcessEventError Exception. Raised on ProcessEvent error.</p>
<!-- ==================== INSTANCE METHODS ==================== -->
<a name="section-InstanceMethods"></a>
@@ -104,9 +106,8 @@ ProcessEventError Exception. Raised on ProcessEvent error.<br /><br />
<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">msg</span>)</span><br />
- x.__init__(...) initializes x; see x.__class__.__doc__ for
- signature</td>
+ <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>
@@ -194,23 +195,23 @@ ProcessEventError Exception. Raised on ProcessEvent error.<br /><br />
<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>
+ <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>
- </table>
+ </tr></table>
- x.__init__(...) initializes x; see x.__class__.__doc__ for
- signature
+ <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>err</code></strong> (string) - Exception error description.</li>
</ul></dd>
<dt>Overrides:
- exceptions.Exception.__init__
+ object.__init__
</dt>
</dl>
</td></tr></table>
@@ -242,10 +243,11 @@ ProcessEventError Exception. Raised on ProcessEvent error.<br /><br />
<table border="0" cellpadding="0" cellspacing="0" width="100%%">
<tr>
<td align="left" class="footer">
- Generated by Epydoc 3.0beta1 on Sun Aug 10 13:37:38 2008
+ Generated by Epydoc 3.0.1 on Tue Jan 6 22:57:24 2009
</td>
<td align="right" class="footer">
- <a href="http://epydoc.sourceforge.net">http://epydoc.sourceforge.net</a>
+ <a target="mainFrame" href="http://epydoc.sourceforge.net"
+ >http://epydoc.sourceforge.net</a>
</td>
</tr>
</table>
@@ -256,9 +258,8 @@ ProcessEventError Exception. Raised on ProcessEvent error.<br /><br />
// 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()
+ checkCookie();
// -->
</script>
-
</body>
</html>
diff --git a/docstrings/pyinotify.Stats-class.html b/docstrings/pyinotify.Stats-class.html
index 91e1658..6c3917d 100644
--- a/docstrings/pyinotify.Stats-class.html
+++ b/docstrings/pyinotify.Stats-class.html
@@ -55,24 +55,25 @@
</tr>
</table>
<!-- ==================== CLASS DESCRIPTION ==================== -->
-<h1 class="epydoc">Class Stats</h1><span class="codelink"><a href="pyinotify-pysrc.html#Stats">source&nbsp;code</a></span><br /><br />
+<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.ProcessEvent&#45;class.html#pevent" title="pyinotify.ProcessEvent.pevent" alt="" coords="17,89,228,108"/>
-<area shape="rect" href="pyinotify.ProcessEvent&#45;class.html#nested_pevent" title="pyinotify.ProcessEvent.nested_pevent" alt="" coords="17,111,228,129"/>
-<area shape="rect" href="pyinotify.ProcessEvent&#45;class.html#__call__" title="To behave like a functor the object must be callable." alt="" coords="17,129,228,148"/>
-<area shape="rect" href="pyinotify.ProcessEvent&#45;class.html#__init__" title="Enable chaining of ProcessEvent instances." alt="" coords="17,148,228,167"/>
-<area shape="rect" href="pyinotify.ProcessEvent&#45;class.html" title="Process events objects, can be specialized via subclassing, thus its behavior can be overriden:" alt="" coords="16,72,229,168"/>
-<area shape="rect" href="pyinotify.Stats&#45;class.html#my_init" title="Override this method when subclassing if you want to achieve custom initialization of your subclass&#39; instance." alt="" coords="41,223,204,241"/>
-<area shape="rect" href="pyinotify.Stats&#45;class.html#dump" title="pyinotify.Stats.dump" alt="" coords="41,241,204,260"/>
-<area shape="rect" href="pyinotify.Stats&#45;class.html#__str__" title="str(x)" alt="" coords="41,260,204,279"/>
-<area shape="rect" href="pyinotify.Stats&#45;class.html#__repr__" title="pyinotify.Stats.__repr__" alt="" coords="41,279,204,297"/>
-<area shape="rect" href="pyinotify.Stats&#45;class.html#process_default" title="Default default processing event method." alt="" coords="41,297,204,316"/>
-<area shape="rect" href="pyinotify.Stats&#45;class.html" title="pyinotify.Stats" alt="" coords="40,197,205,317"/>
-<area shape="rect" href="pyinotify._ProcessEvent&#45;class.html" title="Abstract processing event class." alt="" coords="77,11,168,43"/>
+<center> <map id="uml_class_diagram_for_pyinotif_16" name="uml_class_diagram_for_pyinotif_16">
+<area shape="rect" href="pyinotify.Stats&#45;class.html#my_init" title="Override this method when subclassing if you want to achieve custom &#160;initialization of your subclass&#39; instance." alt="" coords="43,223,205,241"/>
+<area shape="rect" href="pyinotify.Stats&#45;class.html#process_default" title="Default default processing event method." alt="" coords="43,241,205,260"/>
+<area shape="rect" href="pyinotify.Stats&#45;class.html#__repr__" title="repr(x)" alt="" coords="43,260,205,279"/>
+<area shape="rect" href="pyinotify.Stats&#45;class.html#dump" title="pyinotify.Stats.dump" alt="" coords="43,279,205,297"/>
+<area shape="rect" href="pyinotify.Stats&#45;class.html#__str__" title="str(x)" alt="" coords="43,297,205,316"/>
+<area shape="rect" href="pyinotify.Stats&#45;class.html" title="pyinotify.Stats" alt="" coords="41,197,207,317"/>
+<area shape="rect" href="pyinotify.ProcessEvent&#45;class.html#pevent" title="pyinotify.ProcessEvent.pevent" alt="" coords="17,89,231,108"/>
+<area shape="rect" href="pyinotify.ProcessEvent&#45;class.html#__init__" title="Enable chaining of ProcessEvent instances." alt="" coords="17,111,231,129"/>
+<area shape="rect" href="pyinotify.ProcessEvent&#45;class.html#__call__" title="To behave like a functor the object must be callable." alt="" coords="17,129,231,148"/>
+<area shape="rect" href="pyinotify.ProcessEvent&#45;class.html#nested_pevent" title="pyinotify.ProcessEvent.nested_pevent" alt="" coords="17,148,231,167"/>
+<area shape="rect" href="pyinotify.ProcessEvent&#45;class.html" title="Process events objects, can be specialized via subclassing, thus its behavior can be overriden:" alt="" coords="16,72,232,168"/>
+<area shape="rect" href="pyinotify._ProcessEvent&#45;class.html" title="Abstract processing event class." alt="" coords="79,11,169,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>
+ <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 />
<!-- ==================== INSTANCE METHODS ==================== -->
<a name="section-InstanceMethods"></a>
@@ -98,8 +99,8 @@
<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 />
- Override this method when subclassing if you want to achieve
- custom initialization of your subclass' instance.</td>
+ Override this method when subclassing if you want to achieve custom
+ initialization of your subclass' instance.</td>
<td align="right" valign="top">
<span class="codelink"><a href="pyinotify-pysrc.html#Stats.my_init">source&nbsp;code</a></span>
@@ -149,7 +150,8 @@
</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></td>
+ <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>
@@ -293,14 +295,18 @@
</td><td align="right" valign="top"
><span class="codelink"><a href="pyinotify-pysrc.html#Stats.my_init">source&nbsp;code</a></span>&nbsp;
</td>
- </table>
+ </tr></table>
- Override this method when subclassing if you want to achieve custom
+ <p>Override this method when subclassing if you want to achieve custom
initialization of your subclass' instance. You MUST pass keyword
- arguments. This method does nothing by default.
+ arguments. This method does nothing by default.</p>
<dl class="fields">
+ <dt>Parameters:</dt>
+ <dd><ul class="nomargin-top">
+ <li><strong class="pname"><code>kargs</code></strong> - optional arguments delagated to template method my_init</li>
+ </ul></dd>
<dt>Overrides:
- <a href="pyinotify.ProcessEvent-class.html#my_init">ProcessEvent.my_init</a>
+ <a href="pyinotify.ProcessEvent-class.html#my_init">ProcessEvent.my_init</a>
<dd><em class="note">(inherited documentation)</em></dd>
</dt>
</dl>
@@ -319,13 +325,17 @@
</td><td align="right" valign="top"
><span class="codelink"><a href="pyinotify-pysrc.html#Stats.process_default">source&nbsp;code</a></span>&nbsp;
</td>
- </table>
+ </tr></table>
- Default default processing event method. Print event on standart
- output.
+ <p>Default default processing event method. Print event on standart
+ output.</p>
<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>Overrides:
- <a href="pyinotify.ProcessEvent-class.html#process_default">ProcessEvent.process_default</a>
+ <a href="pyinotify.ProcessEvent-class.html#process_default">ProcessEvent.process_default</a>
<dd><em class="note">(inherited documentation)</em></dd>
</dt>
</dl>
@@ -344,12 +354,13 @@
</td><td align="right" valign="top"
><span class="codelink"><a href="pyinotify-pysrc.html#Stats.__repr__">source&nbsp;code</a></span>&nbsp;
</td>
- </table>
-
+ </tr></table>
+ <p>repr(x)</p>
<dl class="fields">
<dt>Overrides:
- <a href="pyinotify._ProcessEvent-class.html#__repr__">_ProcessEvent.__repr__</a>
+ object.__repr__
+ <dd><em class="note">(inherited documentation)</em></dd>
</dt>
</dl>
</td></tr></table>
@@ -368,12 +379,12 @@
</td><td align="right" valign="top"
><span class="codelink"><a href="pyinotify-pysrc.html#Stats.__str__">source&nbsp;code</a></span>&nbsp;
</td>
- </table>
+ </tr></table>
- str(x)
+ <p>str(x)</p>
<dl class="fields">
<dt>Overrides:
- object.__str__
+ object.__str__
<dd><em class="note">(inherited documentation)</em></dd>
</dt>
</dl>
@@ -406,10 +417,11 @@
<table border="0" cellpadding="0" cellspacing="0" width="100%%">
<tr>
<td align="left" class="footer">
- Generated by Epydoc 3.0beta1 on Sun Aug 10 13:37:38 2008
+ Generated by Epydoc 3.0.1 on Tue Jan 6 22:57:24 2009
</td>
<td align="right" class="footer">
- <a href="http://epydoc.sourceforge.net">http://epydoc.sourceforge.net</a>
+ <a target="mainFrame" href="http://epydoc.sourceforge.net"
+ >http://epydoc.sourceforge.net</a>
</td>
</tr>
</table>
@@ -420,9 +432,8 @@
// 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()
+ checkCookie();
// -->
</script>
-
</body>
</html>
diff --git a/docstrings/pyinotify.SysCtlINotify-class.html b/docstrings/pyinotify.SysCtlINotify-class.html
index 40121c0..55118e3 100644
--- a/docstrings/pyinotify.SysCtlINotify-class.html
+++ b/docstrings/pyinotify.SysCtlINotify-class.html
@@ -55,23 +55,24 @@
</tr>
</table>
<!-- ==================== CLASS DESCRIPTION ==================== -->
-<h1 class="epydoc">Class SysCtlINotify</h1><span class="codelink"><a href="pyinotify-pysrc.html#SysCtlINotify">source&nbsp;code</a></span><br /><br />
+<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&#45;class.html#value" title="pyinotify.SysCtlINotify.value" alt="" coords="17,28,156,46"/>
-<area shape="rect" href="pyinotify.SysCtlINotify&#45;class.html#inotify_attrs" title="pyinotify.SysCtlINotify.inotify_attrs" alt="" coords="17,46,156,65"/>
-<area shape="rect" href="pyinotify.SysCtlINotify&#45;class.html#__new__" title="Returns: a new object with type S, a subtype of T" alt="" coords="17,68,156,86"/>
-<area shape="rect" href="pyinotify.SysCtlINotify&#45;class.html#set_val" title="pyinotify.SysCtlINotify.set_val" alt="" coords="17,86,156,105"/>
-<area shape="rect" href="pyinotify.SysCtlINotify&#45;class.html#get_val" title="Returns: stored value." alt="" coords="17,105,156,124"/>
-<area shape="rect" href="pyinotify.SysCtlINotify&#45;class.html#__repr__" title="repr(x)" alt="" coords="17,124,156,142"/>
-<area shape="rect" href="pyinotify.SysCtlINotify&#45;class.html#__init__" title="x.__init__(...) initializes x; see x.__class__.__doc__ for signature" alt="" coords="17,142,156,161"/>
+<center> <map id="uml_class_diagram_for_pyinotif_17" name="uml_class_diagram_for_pyinotif_17">
+<area shape="rect" href="pyinotify.SysCtlINotify&#45;class.html#inotify_attrs" title="pyinotify.SysCtlINotify.inotify_attrs" alt="" coords="17,28,156,46"/>
+<area shape="rect" href="pyinotify.SysCtlINotify&#45;class.html#value" title="pyinotify.SysCtlINotify.value" alt="" coords="17,46,156,65"/>
+<area shape="rect" href="pyinotify.SysCtlINotify&#45;class.html#__new__" title="pyinotify.SysCtlINotify.__new__" alt="" coords="17,68,156,86"/>
+<area shape="rect" href="pyinotify.SysCtlINotify&#45;class.html#__init__" title="x.__init__(...) initializes x; see x.__class__.__doc__ for signature" alt="" coords="17,86,156,105"/>
+<area shape="rect" href="pyinotify.SysCtlINotify&#45;class.html#get_val" title="Returns: &#160;stored value." alt="" coords="17,105,156,124"/>
+<area shape="rect" href="pyinotify.SysCtlINotify&#45;class.html#set_val" title="pyinotify.SysCtlINotify.set_val" alt="" coords="17,124,156,142"/>
+<area shape="rect" href="pyinotify.SysCtlINotify&#45;class.html#__repr__" title="repr(x)" alt="" coords="17,142,156,161"/>
<area shape="rect" href="pyinotify.SysCtlINotify&#45;class.html" title="Access (read, write) inotify&#39;s variables through sysctl." alt="" coords="16,10,157,162"/>
</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>
+ <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>Access (read, write) inotify's variables through sysctl.</p>
- Examples:
+ <p>Examples:</p>
<ul>
<li>
Read variable: myvar = max_queued_events.value
@@ -79,7 +80,7 @@
<li>
Update variable: max_queued_events.value = 42
</li>
- </ul><br /><br />
+ </ul>
<!-- ==================== INSTANCE METHODS ==================== -->
<a name="section-InstanceMethods"></a>
@@ -106,8 +107,7 @@
<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>
+ 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>
@@ -202,15 +202,13 @@
</tr>
<tr>
<td width="15%" align="right" valign="top" class="summary">
- <span class="summary-type">&nbsp;</span>
+ <span class="summary-type">a new object with type S, a subtype of T</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#__new__" class="summary-sig-name">__new__</a>(<span class="summary-sig-arg">cls</span>,
<span class="summary-sig-arg">*p</span>,
- <span class="summary-sig-arg">**k</span>)</span><br />
- Returns:
-a new object with type S, a subtype of T</td>
+ <span class="summary-sig-arg">**k</span>)</span></td>
<td align="right" valign="top">
<span class="codelink"><a href="pyinotify-pysrc.html#SysCtlINotify.__new__">source&nbsp;code</a></span>
@@ -267,7 +265,7 @@ a new object with type S, a subtype of T</td>
</tr>
<tr>
<td width="15%" align="right" valign="top" class="summary">
- <span class="summary-type">&nbsp;</span>
+ <span class="summary-type">int</span>
</td><td class="summary">
<a href="pyinotify.SysCtlINotify-class.html#value" class="summary-name">value</a>
</td>
@@ -313,17 +311,13 @@ a new object with type S, a subtype of T</td>
</td><td align="right" valign="top"
><span class="codelink"><a href="pyinotify-pysrc.html#SysCtlINotify.__new__">source&nbsp;code</a></span>&nbsp;
</td>
- </table>
+ </tr></table>
<dl class="fields">
- <dt>Returns:</dt>
- <dd><pre class="literalblock">
-a new object with type S, a subtype of T
-
-</pre></dd>
+ <dt>Returns: a new object with type S, a subtype of T</dt>
<dt>Overrides:
- object.__new__
+ object.__new__
<dd><em class="note">(inherited documentation)</em></dd>
</dt>
</dl>
@@ -343,13 +337,13 @@ a new object with type S, a subtype of T
</td><td align="right" valign="top"
><span class="codelink"><a href="pyinotify-pysrc.html#SysCtlINotify.__init__">source&nbsp;code</a></span>&nbsp;
</td>
- </table>
+ </tr></table>
- x.__init__(...) initializes x; see x.__class__.__doc__ for
- signature
+ <p>x.__init__(...) initializes x; see x.__class__.__doc__ for
+ signature</p>
<dl class="fields">
<dt>Overrides:
- object.__init__
+ object.__init__
<dd><em class="note">(inherited documentation)</em></dd>
</dt>
</dl>
@@ -367,7 +361,7 @@ a new object with type S, a subtype of T
</td><td align="right" valign="top"
><span class="codelink"><a href="pyinotify-pysrc.html#SysCtlINotify.get_val">source&nbsp;code</a></span>&nbsp;
</td>
- </table>
+ </tr></table>
<dl class="fields">
@@ -389,7 +383,7 @@ a new object with type S, a subtype of T
</td><td align="right" valign="top"
><span class="codelink"><a href="pyinotify-pysrc.html#SysCtlINotify.set_val">source&nbsp;code</a></span>&nbsp;
</td>
- </table>
+ </tr></table>
<dl class="fields">
@@ -413,12 +407,12 @@ a new object with type S, a subtype of T
</td><td align="right" valign="top"
><span class="codelink"><a href="pyinotify-pysrc.html#SysCtlINotify.__repr__">source&nbsp;code</a></span>&nbsp;
</td>
- </table>
+ </tr></table>
- repr(x)
+ <p>repr(x)</p>
<dl class="fields">
<dt>Overrides:
- object.__repr__
+ object.__repr__
<dd><em class="note">(inherited documentation)</em></dd>
</dt>
</dl>
@@ -491,14 +485,16 @@ a new object with type S, a subtype of T
<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">pyinotify.SysCtlINotify.get_val</a>(<span class="summary-sig-arg">self</span>)</span>
+ <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>
- Returns:
stored 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">pyinotify.SysCtlINotify.set_val</a>(<span class="summary-sig-arg">self</span>,
+ <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>
</dd>
+ <dt>Type:</dt>
+ <dd>int</dd>
</dl>
</td></tr></table>
</div>
@@ -529,10 +525,11 @@ a new object with type S, a subtype of T
<table border="0" cellpadding="0" cellspacing="0" width="100%%">
<tr>
<td align="left" class="footer">
- Generated by Epydoc 3.0beta1 on Sun Aug 10 13:37:38 2008
+ Generated by Epydoc 3.0.1 on Tue Jan 6 22:57:24 2009
</td>
<td align="right" class="footer">
- <a href="http://epydoc.sourceforge.net">http://epydoc.sourceforge.net</a>
+ <a target="mainFrame" href="http://epydoc.sourceforge.net"
+ >http://epydoc.sourceforge.net</a>
</td>
</tr>
</table>
@@ -543,9 +540,8 @@ a new object with type S, a subtype of T
// 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()
+ checkCookie();
// -->
</script>
-
</body>
</html>
diff --git a/docstrings/pyinotify.ThreadedNotifier-class.html b/docstrings/pyinotify.ThreadedNotifier-class.html
index fbbdd40..7a3ae9e 100644
--- a/docstrings/pyinotify.ThreadedNotifier-class.html
+++ b/docstrings/pyinotify.ThreadedNotifier-class.html
@@ -55,40 +55,41 @@
</tr>
</table>
<!-- ==================== CLASS DESCRIPTION ==================== -->
-<h1 class="epydoc">Class ThreadedNotifier</h1><span class="codelink"><a href="pyinotify-pysrc.html#ThreadedNotifier">source&nbsp;code</a></span><br /><br />
+<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="javascript: void(0);" title="threading.Thread.isDaemon" alt="" coords="345,97,508,116"/>
-<area shape="rect" href="javascript: void(0);" title="threading.Thread.isAlive" alt="" coords="345,116,508,134"/>
-<area shape="rect" href="javascript: void(0);" title="threading.Thread.getName" alt="" coords="345,134,508,153"/>
-<area shape="rect" href="javascript: void(0);" title="threading.Thread.start" alt="" coords="345,153,508,172"/>
-<area shape="rect" href="javascript: void(0);" title="threading.Thread.setName" alt="" coords="345,172,508,190"/>
-<area shape="rect" href="javascript: void(0);" title="threading.Thread.setDaemon" alt="" coords="345,190,508,209"/>
-<area shape="rect" href="javascript: void(0);" title="threading.Thread.join" alt="" coords="345,209,508,228"/>
-<area shape="rect" href="javascript: void(0);" title="repr(x)" alt="" coords="345,228,508,246"/>
-<area shape="rect" href="javascript: void(0);" title="threading.Thread" alt="" coords="344,72,509,248"/>
-<area shape="rect" href="pyinotify.ThreadedNotifier&#45;class.html#run" title="Start the thread&#39;s loop: read and process events until the method stop() is called." alt="" coords="17,302,639,321"/>
-<area shape="rect" href="pyinotify.ThreadedNotifier&#45;class.html#__init__" title="Initialization, initialize base classes." alt="" coords="17,321,639,340"/>
-<area shape="rect" href="pyinotify.ThreadedNotifier&#45;class.html#stop" title="Stop the notifier&#39;s loop." alt="" coords="17,340,639,358"/>
-<area shape="rect" href="pyinotify.ThreadedNotifier&#45;class.html#loop" title="Thread&#39;s main loop." alt="" coords="17,358,639,377"/>
-<area shape="rect" href="pyinotify.ThreadedNotifier&#45;class.html" title="This notifier inherits from threading.Thread for instantiating a separate thread, and also inherits from Notifier, because it is a threaded notifier." alt="" coords="16,277,640,378"/>
-<area shape="rect" href="pyinotify.Notifier&#45;class.html#read_events" title="Read events from device, build _RawEvents, and enqueue them." alt="" coords="169,134,292,153"/>
-<area shape="rect" href="pyinotify.Notifier&#45;class.html#check_events" title="Check for new events available to read, blocks up to timeout milliseconds." alt="" coords="169,153,292,172"/>
-<area shape="rect" href="pyinotify.Notifier&#45;class.html#proc_fun" title="pyinotify.Notifier.proc_fun" alt="" coords="169,172,292,190"/>
-<area shape="rect" href="pyinotify.Notifier&#45;class.html#process_events" title="Routine for processing events from queue by calling their associated proccessing function (instance of ProcessEvent)." alt="" coords="169,190,292,209"/>
-<area shape="rect" href="pyinotify.Notifier&#45;class.html" title="Read notifications, process events." alt="" coords="168,109,293,210"/>
-<area shape="rect" href="javascript: void(0);" title="threading._Verbose" alt="" coords="369,10,484,42"/>
+<center> <map id="uml_class_diagram_for_pyinotif_18" name="uml_class_diagram_for_pyinotif_18">
+<area shape="rect" href="pyinotify.ThreadedNotifier&#45;class.html#__init__" title="Initialization, initialize base classes." alt="" coords="17,302,641,321"/>
+<area shape="rect" href="pyinotify.ThreadedNotifier&#45;class.html#stop" title="Stop the notifier&#39;s loop." alt="" coords="17,321,641,340"/>
+<area shape="rect" href="pyinotify.ThreadedNotifier&#45;class.html#loop" title="Thread&#39;s main loop." alt="" coords="17,340,641,358"/>
+<area shape="rect" href="pyinotify.ThreadedNotifier&#45;class.html#run" title="Start the thread&#39;s loop: read and process events until the method stop() is called." alt="" coords="17,358,641,377"/>
+<area shape="rect" href="pyinotify.ThreadedNotifier&#45;class.html" title="This notifier inherits from threading.Thread for instantiating a separate thread, and also inherits from Notifier, because it is a threaded notifier." alt="" coords="16,277,643,378"/>
+<area shape="rect" href="javascript:void(0);" title="repr(x)" alt="" coords="148,97,313,116"/>
+<area shape="rect" href="javascript:void(0);" title="threading.Thread.start" alt="" coords="148,116,313,134"/>
+<area shape="rect" href="javascript:void(0);" title="threading.Thread.join" alt="" coords="148,134,313,153"/>
+<area shape="rect" href="javascript:void(0);" title="threading.Thread.getName" alt="" coords="148,153,313,172"/>
+<area shape="rect" href="javascript:void(0);" title="threading.Thread.setName" alt="" coords="148,172,313,190"/>
+<area shape="rect" href="javascript:void(0);" title="threading.Thread.isAlive" alt="" coords="148,190,313,209"/>
+<area shape="rect" href="javascript:void(0);" title="threading.Thread.isDaemon" alt="" coords="148,209,313,228"/>
+<area shape="rect" href="javascript:void(0);" title="threading.Thread.setDaemon" alt="" coords="148,228,313,246"/>
+<area shape="rect" href="javascript:void(0);" title="threading.Thread" alt="" coords="147,72,315,248"/>
+<area shape="rect" href="pyinotify.Notifier&#45;class.html#proc_fun" title="pyinotify.Notifier.proc_fun" alt="" coords="367,134,492,153"/>
+<area shape="rect" href="pyinotify.Notifier&#45;class.html#check_events" title="Check for new events available to read, blocks up to timeout milliseconds." alt="" coords="367,153,492,172"/>
+<area shape="rect" href="pyinotify.Notifier&#45;class.html#read_events" title="Read events from device, build _RawEvents, and enqueue them." alt="" coords="367,172,492,190"/>
+<area shape="rect" href="pyinotify.Notifier&#45;class.html#process_events" title="Routine for processing events from queue by calling their associated &#160;proccessing function (instance of ProcessEvent)." alt="" coords="367,190,492,209"/>
+<area shape="rect" href="pyinotify.Notifier&#45;class.html" title="Read notifications, process events." alt="" coords="365,109,493,210"/>
+<area shape="rect" href="javascript:void(0);" title="threading._Verbose" alt="" coords="173,10,288,42"/>
</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>
+ <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 />
<p>This notifier inherits from threading.Thread for instantiating a
separate thread, and also inherits from Notifier, because it is a
threaded notifier.</p>
- This class is only maintained for legacy reasons, everything possible
+ <p>This class is only maintained for legacy reasons, everything possible
with this class is also possible with Notifier, but Notifier is _better_
under many aspects (not threaded, can be daemonized, won't unnecessarily
- read for events).<br /><br />
+ read for events).</p>
<!-- ==================== INSTANCE METHODS ==================== -->
<a name="section-InstanceMethods"></a>
@@ -206,7 +207,7 @@
<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">_sleep</a></code>
+ <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>,
@@ -282,18 +283,18 @@
</td><td align="right" valign="top"
><span class="codelink"><a href="pyinotify-pysrc.html#ThreadedNotifier.__init__">source&nbsp;code</a></span>&nbsp;
</td>
- </table>
+ </tr></table>
- Initialization, initialize base classes. read_freq, treshold and
- timeout parameters are used when looping.
+ <p>Initialization, initialize base classes. read_freq, treshold 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.</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>treshold</code></strong> (int) - File descriptor will be read only if its size to read is &gt;=
+ <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>treshold</code></strong> (int) - File descriptor will be read only if its size to read is &gt;=
treshold. If != 0, you likely want to use it in combination with
read_freq because without that you keep looping without really
reading anything and that until the amount to read is &gt;=
@@ -303,7 +304,7 @@
it.</li>
</ul></dd>
<dt>Overrides:
- threading.Thread.__init__
+ object.__init__
</dt>
</dl>
</td></tr></table>
@@ -320,12 +321,12 @@
</td><td align="right" valign="top"
><span class="codelink"><a href="pyinotify-pysrc.html#ThreadedNotifier.stop">source&nbsp;code</a></span>&nbsp;
</td>
- </table>
+ </tr></table>
- Stop the notifier's loop. Stop notification. Join the thread.
+ <p>Stop the notifier's loop. Stop notification. Join the thread.</p>
<dl class="fields">
<dt>Overrides:
- <a href="pyinotify.Notifier-class.html#stop">Notifier.stop</a>
+ <a href="pyinotify.Notifier-class.html#stop">Notifier.stop</a>
</dt>
</dl>
</td></tr></table>
@@ -342,15 +343,21 @@
</td><td align="right" valign="top"
><span class="codelink"><a href="pyinotify-pysrc.html#ThreadedNotifier.loop">source&nbsp;code</a></span>&nbsp;
</td>
- </table>
+ </tr></table>
<p>Thread's main loop. don't meant to be called by user directly. Call
start() instead.</p>
- Events are read only once time every min(read_freq, timeout) seconds
- at best and only if the size to read is &gt;= treshold.
+ <p>Events are read only once time every min(read_freq, timeout) seconds
+ at best and only if the size to read is &gt;= treshold.</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. Expects to receive
+ notifier object (self) as first parameter.</li>
+ <li><strong class="pname"><code>daemonize</code></strong> - This thread is daemonized if set to True.</li>
+ </ul></dd>
<dt>Overrides:
- <a href="pyinotify.Notifier-class.html#loop">Notifier.loop</a>
+ <a href="pyinotify.Notifier-class.html#loop">Notifier.loop</a>
</dt>
</dl>
</td></tr></table>
@@ -367,15 +374,15 @@
</td><td align="right" valign="top"
><span class="codelink"><a href="pyinotify-pysrc.html#ThreadedNotifier.run">source&nbsp;code</a></span>&nbsp;
</td>
- </table>
+ </tr></table>
- Start the thread's loop: read and process events until the method
+ <p>Start the 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().
+ run().</p>
<dl class="fields">
<dt>Overrides:
- threading.Thread.run
+ threading.Thread.run
</dt>
</dl>
</td></tr></table>
@@ -407,10 +414,11 @@
<table border="0" cellpadding="0" cellspacing="0" width="100%%">
<tr>
<td align="left" class="footer">
- Generated by Epydoc 3.0beta1 on Sun Aug 10 13:37:38 2008
+ Generated by Epydoc 3.0.1 on Tue Jan 6 22:57:24 2009
</td>
<td align="right" class="footer">
- <a href="http://epydoc.sourceforge.net">http://epydoc.sourceforge.net</a>
+ <a target="mainFrame" href="http://epydoc.sourceforge.net"
+ >http://epydoc.sourceforge.net</a>
</td>
</tr>
</table>
@@ -421,9 +429,8 @@
// 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()
+ checkCookie();
// -->
</script>
-
</body>
</html>
diff --git a/docstrings/pyinotify.Watch-class.html b/docstrings/pyinotify.Watch-class.html
index 44a577d..78d72ae 100644
--- a/docstrings/pyinotify.Watch-class.html
+++ b/docstrings/pyinotify.Watch-class.html
@@ -55,17 +55,18 @@
</tr>
</table>
<!-- ==================== CLASS DESCRIPTION ==================== -->
-<h1 class="epydoc">Class Watch</h1><span class="codelink"><a href="pyinotify-pysrc.html#Watch">source&nbsp;code</a></span><br /><br />
+<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_18" name="uml_class_diagram_for_pyinotif_18">
-<area shape="rect" href="pyinotify.Watch&#45;class.html#__repr__" title="Returns: String representation." alt="" coords="17,36,143,54"/>
-<area shape="rect" href="pyinotify.Watch&#45;class.html#__init__" title="Initializations." alt="" coords="17,54,143,73"/>
+<center> <map id="uml_class_diagram_for_pyinotif_21" name="uml_class_diagram_for_pyinotif_21">
+<area shape="rect" href="pyinotify.Watch&#45;class.html#__init__" title="Initializations." alt="" coords="17,36,143,54"/>
+<area shape="rect" href="pyinotify.Watch&#45;class.html#__repr__" title="Returns: &#160;String representation." alt="" coords="17,54,143,73"/>
<area shape="rect" href="pyinotify.Watch&#45;class.html" title="Represent a watch, i.e." alt="" coords="16,10,144,74"/>
</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>
+ <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 />
-Represent a watch, i.e. a file or directory being watched.<br /><br />
+<p>Represent a watch, i.e. a file or directory being watched.</p>
<!-- ==================== INSTANCE METHODS ==================== -->
<a name="section-InstanceMethods"></a>
@@ -192,9 +193,9 @@ Represent a watch, i.e. a file or directory being watched.<br /><br />
</td><td align="right" valign="top"
><span class="codelink"><a href="pyinotify-pysrc.html#Watch.__init__">source&nbsp;code</a></span>&nbsp;
</td>
- </table>
+ </tr></table>
- Initializations.
+ <p>Initializations.</p>
<dl class="fields">
<dt>Parameters:</dt>
<dd><ul class="nomargin-top">
@@ -205,7 +206,7 @@ Represent a watch, i.e. a file or directory being watched.<br /><br />
<li><strong class="pname"><code>auto_add</code></strong> (bool) - Automatically add watches on new directories.</li>
</ul></dd>
<dt>Overrides:
- object.__init__
+ object.__init__
</dt>
</dl>
</td></tr></table>
@@ -223,14 +224,14 @@ Represent a watch, i.e. a file or directory being watched.<br /><br />
</td><td align="right" valign="top"
><span class="codelink"><a href="pyinotify-pysrc.html#Watch.__repr__">source&nbsp;code</a></span>&nbsp;
</td>
- </table>
+ </tr></table>
- repr(x)
+ <p>repr(x)</p>
<dl class="fields">
<dt>Returns: str</dt>
<dd>String representation.</dd>
<dt>Overrides:
- object.__repr__
+ object.__repr__
</dt>
</dl>
</td></tr></table>
@@ -262,10 +263,11 @@ Represent a watch, i.e. a file or directory being watched.<br /><br />
<table border="0" cellpadding="0" cellspacing="0" width="100%%">
<tr>
<td align="left" class="footer">
- Generated by Epydoc 3.0beta1 on Sun Aug 10 13:37:38 2008
+ Generated by Epydoc 3.0.1 on Tue Jan 6 22:57:24 2009
</td>
<td align="right" class="footer">
- <a href="http://epydoc.sourceforge.net">http://epydoc.sourceforge.net</a>
+ <a target="mainFrame" href="http://epydoc.sourceforge.net"
+ >http://epydoc.sourceforge.net</a>
</td>
</tr>
</table>
@@ -276,9 +278,8 @@ Represent a watch, i.e. a file or directory being watched.<br /><br />
// 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()
+ checkCookie();
// -->
</script>
-
</body>
</html>
diff --git a/docstrings/pyinotify.WatchManager-class.html b/docstrings/pyinotify.WatchManager-class.html
index b422948..57c5302 100644
--- a/docstrings/pyinotify.WatchManager-class.html
+++ b/docstrings/pyinotify.WatchManager-class.html
@@ -55,23 +55,24 @@
</tr>
</table>
<!-- ==================== CLASS DESCRIPTION ==================== -->
-<h1 class="epydoc">Class WatchManager</h1><span class="codelink"><a href="pyinotify-pysrc.html#WatchManager">source&nbsp;code</a></span><br /><br />
+<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_19" name="uml_class_diagram_for_pyinotif_19">
+<center> <map id="uml_class_diagram_for_pyinotif_22" name="uml_class_diagram_for_pyinotif_22">
<area shape="rect" href="pyinotify.WatchManager&#45;class.html#__init__" title="Initialization: init inotify, init watch manager dictionary." alt="" coords="17,36,732,55"/>
-<area shape="rect" href="pyinotify.WatchManager&#45;class.html#rm_watch" title="Removes watch(s)." alt="" coords="17,55,732,74"/>
-<area shape="rect" href="pyinotify.WatchManager&#45;class.html#get_wd" title="Returns the watch descriptor associated to path." alt="" coords="17,74,732,92"/>
-<area shape="rect" href="pyinotify.WatchManager&#45;class.html#update_watch" title="Update existing watch(s)." alt="" coords="17,92,732,111"/>
-<area shape="rect" href="pyinotify.WatchManager&#45;class.html#add_watch" title="Add watch(s) on given path(s) with the specified mask and optionnally with a processing function and recursive flag." alt="" coords="17,111,732,130"/>
-<area shape="rect" href="pyinotify.WatchManager&#45;class.html#get_path" title="Returns the path associated to WD, if WD is unknown None is returned." alt="" coords="17,130,732,148"/>
-<area shape="rect" href="pyinotify.WatchManager&#45;class.html#watch_transient_file" title="Watch a transient file, which will be created and deleted frequently over time (e.g." alt="" coords="17,148,732,167"/>
+<area shape="rect" href="pyinotify.WatchManager&#45;class.html#add_watch" title="Add watch(s) on given path(s) with the specified mask and optionnally with &#160;a processing function and recursive flag." alt="" coords="17,55,732,74"/>
+<area shape="rect" href="pyinotify.WatchManager&#45;class.html#update_watch" title="Update existing watch(s)." alt="" coords="17,74,732,92"/>
+<area shape="rect" href="pyinotify.WatchManager&#45;class.html#get_wd" title="Returns the watch descriptor associated to path." alt="" coords="17,92,732,111"/>
+<area shape="rect" href="pyinotify.WatchManager&#45;class.html#get_path" title="Returns the path associated to WD, if WD is unknown None is returned." alt="" coords="17,111,732,130"/>
+<area shape="rect" href="pyinotify.WatchManager&#45;class.html#rm_watch" title="Removes watch(s)." alt="" coords="17,130,732,148"/>
+<area shape="rect" href="pyinotify.WatchManager&#45;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,148,732,167"/>
<area shape="rect" href="pyinotify.WatchManager&#45;class.html" title="Provide operations for watching files and directories." alt="" coords="16,11,733,168"/>
</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>
+ <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 />
-Provide operations for watching files and directories. Integrated
- dictionary is used to reference watched items.<br /><br />
+<p>Provide operations for watching files and directories. Integrated
+ dictionary is used to reference watched items.</p>
<!-- ==================== INSTANCE METHODS ==================== -->
<a name="section-InstanceMethods"></a>
@@ -97,7 +98,7 @@ Provide operations for watching files and directories. Integrated
<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 0x84b172c&gt;</span>)</span><br />
+ <span class="summary-sig-arg">exclude_filter</span>=<span class="summary-sig-default">&lt;function &lt;lambda&gt; at 0xebe500&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>
@@ -114,13 +115,13 @@ Provide operations for watching files and directories. Integrated
</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>,
+ <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><br />
- Add a watch on path, build a Watch object and insert it in the
- watch manager dictionary.</td>
+ 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>
@@ -163,8 +164,8 @@ Provide operations for watching files and directories. Integrated
<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 given path(s) with the specified mask and
- optionnally with a processing function and recursive flag.</td>
+ Add watch(s) on given path(s) with the specified mask and optionnally
+ with a processing function and recursive flag.</td>
<td align="right" valign="top">
<span class="codelink"><a href="pyinotify-pysrc.html#WatchManager.add_watch">source&nbsp;code</a></span>
@@ -180,10 +181,10 @@ Provide operations for watching files and directories. Integrated
</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">__get_sub_rec</a>(<span class="summary-sig-arg">self</span>,
+ <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>
+ 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>
@@ -222,7 +223,7 @@ Provide operations for watching files and directories. Integrated
</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">__format_param</a>(<span class="summary-sig-arg">self</span>,
+ <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>
@@ -261,8 +262,7 @@ Provide operations for watching files and directories. Integrated
<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 None is
- returned.</td>
+ Returns the path associated to WD, if WD is unknown None is returned.</td>
<td align="right" valign="top">
<span class="codelink"><a href="pyinotify-pysrc.html#WatchManager.get_path">source&nbsp;code</a></span>
@@ -278,7 +278,7 @@ Provide operations for watching files and directories. Integrated
</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">__walk_rec</a>(<span class="summary-sig-arg">self</span>,
+ <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>
@@ -321,8 +321,8 @@ Provide operations for watching files and directories. Integrated
<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>
+ 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>
@@ -399,25 +399,25 @@ Provide operations for watching files and directories. Integrated
<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 0x84b172c&gt;</span>)</span>
+ <span class="sig-arg">exclude_filter</span>=<span class="sig-default">&lt;function &lt;lambda&gt; at 0xebe500&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>
- </table>
+ </tr></table>
- Initialization: init inotify, init watch manager dictionary. Raise
- OSError if initialization fails.
+ <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> (bool) - 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>
+ <li><strong class="pname"><code>exclude_filter</code></strong> (bool) - 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__
+ object.__init__
</dt>
</dl>
</td></tr></table>
@@ -438,10 +438,10 @@ Provide operations for watching files and directories. Integrated
</td><td align="right" valign="top"
><span class="codelink"><a href="pyinotify-pysrc.html#WatchManager.__add_watch">source&nbsp;code</a></span>&nbsp;
</td>
- </table>
+ </tr></table>
- Add a watch on path, build a Watch object and insert it in the watch
- manager dictionary. Return the wd value.
+ <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>
@@ -466,28 +466,28 @@ Provide operations for watching files and directories. Integrated
</td><td align="right" valign="top"
><span class="codelink"><a href="pyinotify-pysrc.html#WatchManager.add_watch">source&nbsp;code</a></span>&nbsp;
</td>
- </table>
+ </tr></table>
- Add watch(s) on given path(s) with the specified mask and optionnally
- with a processing function and recursive flag.
+ <p>Add watch(s) on given path(s) with the specified mask and optionnally
+ with a processing function and recursive flag.</p>
<dl class="fields">
<dt>Parameters:</dt>
<dd><ul class="nomargin-top">
- <li><strong class="pname"><code>path</code></strong> (string or list of string) - 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>path</code></strong> (string or list of string) - 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).</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).</li>
<li><strong class="pname"><code>auto_add</code></strong> (bool) - Automatically add watches on newly created directories in the
watch's path.</li>
<li><strong class="pname"><code>do_glob</code></strong> (bool) - Do globbing on pathname.</li>
<li><strong class="pname"><code>quiet</code></strong> (bool) - if True raise an WatchManagerError exception on error. See
example not_quiet.py</li>
- <li><strong class="pname"><code>exclude_filter</code></strong> (bool) - boolean function, returns True if current path must be
- excluded from being watched. Has precedence on exclude_filter
- defined into __init__.</li>
+ <li><strong class="pname"><code>exclude_filter</code></strong> (bool) - boolean function, returns True if current path must be excluded
+ from being watched. Has precedence on exclude_filter defined into
+ __init__.</li>
</ul></dd>
<dt>Returns: dict of {str: int}</dt>
<dd>dict of paths associated to watch descriptors. A wd value is
@@ -510,10 +510,10 @@ Provide operations for watching files and directories. Integrated
</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>
- </table>
+ </tr></table>
- 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>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">
@@ -542,10 +542,10 @@ Provide operations for watching files and directories. Integrated
</td><td align="right" valign="top"
><span class="codelink"><a href="pyinotify-pysrc.html#WatchManager.update_watch">source&nbsp;code</a></span>&nbsp;
</td>
- </table>
+ </tr></table>
- Update existing watch(s). Both the mask and the processing object can
- be modified.
+ <p>Update existing watch(s). Both the mask and the processing object can
+ be modified.</p>
<dl class="fields">
<dt>Parameters:</dt>
<dd><ul class="nomargin-top">
@@ -562,8 +562,8 @@ Provide operations for watching files and directories. Integrated
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
+ <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>
@@ -581,7 +581,7 @@ Provide operations for watching files and directories. Integrated
</td><td align="right" valign="top"
><span class="codelink"><a href="pyinotify-pysrc.html#WatchManager.__format_param">source&nbsp;code</a></span>&nbsp;
</td>
- </table>
+ </tr></table>
<dl class="fields">
@@ -607,11 +607,11 @@ Provide operations for watching files and directories. Integrated
</td><td align="right" valign="top"
><span class="codelink"><a href="pyinotify-pysrc.html#WatchManager.get_wd">source&nbsp;code</a></span>&nbsp;
</td>
- </table>
+ </tr></table>
- Returns the watch descriptor associated to path. This method has an
+ <p>Returns the watch descriptor associated to path. This method has an
prohibitive cost, always prefer to keep the WD. If path is unknown None
- is returned.
+ is returned.</p>
<dl class="fields">
<dt>Parameters:</dt>
<dd><ul class="nomargin-top">
@@ -635,10 +635,10 @@ Provide operations for watching files and directories. Integrated
</td><td align="right" valign="top"
><span class="codelink"><a href="pyinotify-pysrc.html#WatchManager.get_path">source&nbsp;code</a></span>&nbsp;
</td>
- </table>
+ </tr></table>
- Returns the path associated to WD, if WD is unknown None is
- returned.
+ <p>Returns the path associated to WD, if WD is unknown None is
+ returned.</p>
<dl class="fields">
<dt>Parameters:</dt>
<dd><ul class="nomargin-top">
@@ -663,10 +663,10 @@ Provide operations for watching files and directories. Integrated
</td><td align="right" valign="top"
><span class="codelink"><a href="pyinotify-pysrc.html#WatchManager.__walk_rec">source&nbsp;code</a></span>&nbsp;
</td>
- </table>
+ </tr></table>
- Yields each subdirectories of top, doesn't follow symlinks. If rec is
- false, only yield top.
+ <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">
@@ -693,9 +693,9 @@ Provide operations for watching files and directories. Integrated
</td><td align="right" valign="top"
><span class="codelink"><a href="pyinotify-pysrc.html#WatchManager.rm_watch">source&nbsp;code</a></span>&nbsp;
</td>
- </table>
+ </tr></table>
- Removes watch(s).
+ <p>Removes watch(s).</p>
<dl class="fields">
<dt>Parameters:</dt>
<dd><ul class="nomargin-top">
@@ -707,8 +707,8 @@ Provide operations for watching files and directories. Integrated
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
+ <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>
@@ -728,17 +728,17 @@ Provide operations for watching files and directories. Integrated
</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>
- </table>
+ </tr></table>
- Watch a transient file, which will be created and deleted frequently
- over time (e.g. pid file).
+ <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
+ <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: See add_watch().</dt>
@@ -773,10 +773,11 @@ Provide operations for watching files and directories. Integrated
<table border="0" cellpadding="0" cellspacing="0" width="100%%">
<tr>
<td align="left" class="footer">
- Generated by Epydoc 3.0beta1 on Sun Aug 10 13:37:38 2008
+ Generated by Epydoc 3.0.1 on Tue Jan 6 22:57:24 2009
</td>
<td align="right" class="footer">
- <a href="http://epydoc.sourceforge.net">http://epydoc.sourceforge.net</a>
+ <a target="mainFrame" href="http://epydoc.sourceforge.net"
+ >http://epydoc.sourceforge.net</a>
</td>
</tr>
</table>
@@ -787,9 +788,8 @@ Provide operations for watching files and directories. Integrated
// 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()
+ checkCookie();
// -->
</script>
-
</body>
</html>
diff --git a/docstrings/pyinotify.WatchManagerError-class.html b/docstrings/pyinotify.WatchManagerError-class.html
index a4e5c54..11156ff 100644
--- a/docstrings/pyinotify.WatchManagerError-class.html
+++ b/docstrings/pyinotify.WatchManagerError-class.html
@@ -55,31 +55,32 @@
</tr>
</table>
<!-- ==================== CLASS DESCRIPTION ==================== -->
-<h1 class="epydoc">Class WatchManagerError</h1><span class="codelink"><a href="pyinotify-pysrc.html#WatchManagerError">source&nbsp;code</a></span><br /><br />
+<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_20" name="uml_class_diagram_for_pyinotif_20">
-<area shape="rect" href="javascript: void(0);" title="Returns: a new object with type S, a subtype of T" alt="" coords="32,292,157,310"/>
-<area shape="rect" href="javascript: void(0);" title="Common base class for all non&#45;exit exceptions." alt="" coords="31,266,159,312"/>
+<center> <map id="uml_class_diagram_for_pyinotif_23" name="uml_class_diagram_for_pyinotif_23">
<area shape="rect" href="pyinotify.WatchManagerError&#45;class.html#__init__" title="x.__init__(...) initializes x; see x.__class__.__doc__ for signature" alt="" coords="21,366,168,385"/>
<area shape="rect" href="pyinotify.WatchManagerError&#45;class.html" title="WatchManager Exception." alt="" coords="20,341,169,386"/>
-<area shape="rect" href="javascript: void(0);" title="exceptions.BaseException.args" alt="" coords="17,28,172,46"/>
-<area shape="rect" href="javascript: void(0);" title="exception message" alt="" coords="17,46,172,65"/>
-<area shape="rect" href="javascript: void(0);" title="x.__setattr__(&#39;name&#39;, value) &lt;==&gt; x.name = value" alt="" coords="17,68,172,86"/>
-<area shape="rect" href="javascript: void(0);" title="x[i:j]" alt="" coords="17,86,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="exceptions.BaseException.__setstate__" alt="" coords="17,124,172,142"/>
-<area shape="rect" href="javascript: void(0);" title="x.__getattribute__(&#39;name&#39;) &lt;==&gt; x.name" alt="" coords="17,142,172,161"/>
-<area shape="rect" href="javascript: void(0);" title="str(x)" alt="" coords="17,161,172,180"/>
-<area shape="rect" href="javascript: void(0);" title="helper for pickle" alt="" coords="17,180,172,198"/>
-<area shape="rect" href="javascript: void(0);" title="x.__delattr__(&#39;name&#39;) &lt;==&gt; del x.name" alt="" coords="17,198,172,217"/>
-<area shape="rect" href="javascript: void(0);" title="repr(x)" alt="" coords="17,217,172,236"/>
-<area shape="rect" href="javascript: void(0);" title="Common base class for all exceptions" alt="" coords="16,10,173,237"/>
+<area shape="rect" href="javascript:void(0);" title="exceptions.Exception.__new__" alt="" coords="32,292,157,310"/>
+<area shape="rect" href="javascript:void(0);" title="Common base class for all non&#45;exit exceptions." alt="" coords="31,266,159,312"/>
+<area shape="rect" href="javascript:void(0);" title="exceptions.BaseException.args" alt="" coords="17,28,172,46"/>
+<area shape="rect" href="javascript:void(0);" title="exception message" alt="" coords="17,46,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,86"/>
+<area shape="rect" href="javascript:void(0);" title="x.__getattribute__(&#39;name&#39;) &lt;==&gt; x.name" alt="" coords="17,86,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,142"/>
+<area shape="rect" href="javascript:void(0);" title="helper for pickle" alt="" coords="17,142,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,198"/>
+<area shape="rect" href="javascript:void(0);" title="exceptions.BaseException.__setstate__" alt="" coords="17,198,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="Common base class for all exceptions" alt="" coords="16,10,173,237"/>
</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>
+ <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 />
-WatchManager Exception. Raised on error encountered on watches
- operations.<br /><br />
+<p>WatchManager Exception. Raised on error encountered on watches
+ operations.</p>
<!-- ==================== INSTANCE METHODS ==================== -->
<a name="section-InstanceMethods"></a>
@@ -107,8 +108,7 @@ WatchManager Exception. Raised on error encountered on watches
<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>
+ 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>
@@ -203,10 +203,10 @@ WatchManager Exception. Raised on error encountered on watches
</td><td align="right" valign="top"
><span class="codelink"><a href="pyinotify-pysrc.html#WatchManagerError.__init__">source&nbsp;code</a></span>&nbsp;
</td>
- </table>
+ </tr></table>
- x.__init__(...) initializes x; see x.__class__.__doc__ for
- signature
+ <p>x.__init__(...) initializes x; see x.__class__.__doc__ for
+ signature</p>
<dl class="fields">
<dt>Parameters:</dt>
<dd><ul class="nomargin-top">
@@ -216,7 +216,7 @@ WatchManager Exception. Raised on error encountered on watches
exception.</li>
</ul></dd>
<dt>Overrides:
- exceptions.Exception.__init__
+ object.__init__
</dt>
</dl>
</td></tr></table>
@@ -248,10 +248,11 @@ WatchManager Exception. Raised on error encountered on watches
<table border="0" cellpadding="0" cellspacing="0" width="100%%">
<tr>
<td align="left" class="footer">
- Generated by Epydoc 3.0beta1 on Sun Aug 10 13:37:38 2008
+ Generated by Epydoc 3.0.1 on Tue Jan 6 22:57:24 2009
</td>
<td align="right" class="footer">
- <a href="http://epydoc.sourceforge.net">http://epydoc.sourceforge.net</a>
+ <a target="mainFrame" href="http://epydoc.sourceforge.net"
+ >http://epydoc.sourceforge.net</a>
</td>
</tr>
</table>
@@ -262,9 +263,8 @@ WatchManager Exception. Raised on error encountered on watches
// 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()
+ checkCookie();
// -->
</script>
-
</body>
</html>
diff --git a/docstrings/pyinotify._Event-class.html b/docstrings/pyinotify._Event-class.html
index f8aeb7b..0db8ffa 100644
--- a/docstrings/pyinotify._Event-class.html
+++ b/docstrings/pyinotify._Event-class.html
@@ -55,20 +55,29 @@
</tr>
</table>
<!-- ==================== CLASS DESCRIPTION ==================== -->
-<h1 class="epydoc">Class _Event</h1><span class="codelink"><a href="pyinotify-pysrc.html#_Event">source&nbsp;code</a></span><br /><br />
+<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_21" name="uml_class_diagram_for_pyinotif_21">
-<area shape="rect" href="pyinotify.Event&#45;class.html" title="This class contains all the useful informations about the observed event." alt="" coords="16,104,61,130"/>
-<area shape="rect" href="pyinotify._Event&#45;class.html#__repr__" title="Returns: String representation." alt="" coords="37,36,152,54"/>
-<area shape="rect" href="pyinotify._Event&#45;class.html#__init__" title="Attach attributes (contained in dict_) to self." alt="" coords="37,54,152,73"/>
+ <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&#45;class.html#__init__" title="Attach attributes (contained in dict_) to self." alt="" coords="37,36,152,54"/>
+<area shape="rect" href="pyinotify._Event&#45;class.html#__repr__" title="Returns: &#160;String representation." alt="" coords="37,54,152,73"/>
<area shape="rect" href="pyinotify._Event&#45;class.html" title="Event structure, represent events raised by the system." alt="" coords="36,10,153,74"/>
+<area shape="rect" href="pyinotify.Event&#45;class.html" title="This class contains all the useful informations about the observed event." alt="" coords="16,104,61,130"/>
<area shape="rect" href="pyinotify._RawEvent&#45;class.html" title="Raw event, it contains only the informations provided by the system." alt="" coords="112,104,189,130"/>
</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>
+ <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&#45;class.html#__init__" title="Attach attributes (contained in dict_) to self." alt="" coords="17,36,132,54"/>
+<area shape="rect" href="pyinotify._Event&#45;class.html#__repr__" title="Returns: &#160;String representation." alt="" coords="17,54,132,73"/>
+<area shape="rect" href="pyinotify._Event&#45;class.html" title="Event structure, represent events raised by the system." alt="" coords="16,10,133,74"/>
+<area shape="rect" href="pyinotify.Event&#45;class.html" title="This class contains all the useful informations about the observed event." alt="" coords="52,104,97,130"/>
+</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 />
-Event structure, represent events raised by the system. This is the
- base class and should be subclassed.<br /><br />
+<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>
@@ -195,12 +204,12 @@ Event structure, represent events raised by the system. This is the
</td><td align="right" valign="top"
><span class="codelink"><a href="pyinotify-pysrc.html#_Event.__init__">source&nbsp;code</a></span>&nbsp;
</td>
- </table>
+ </tr></table>
- Attach attributes (contained in dict_) to self.
+ <p>Attach attributes (contained in dict_) to self.</p>
<dl class="fields">
<dt>Overrides:
- object.__init__
+ object.__init__
</dt>
</dl>
</td></tr></table>
@@ -218,14 +227,14 @@ Event structure, represent events raised by the system. This is the
</td><td align="right" valign="top"
><span class="codelink"><a href="pyinotify-pysrc.html#_Event.__repr__">source&nbsp;code</a></span>&nbsp;
</td>
- </table>
+ </tr></table>
- repr(x)
+ <p>repr(x)</p>
<dl class="fields">
<dt>Returns: str</dt>
<dd>String representation.</dd>
<dt>Overrides:
- object.__repr__
+ object.__repr__
</dt>
</dl>
</td></tr></table>
@@ -257,10 +266,11 @@ Event structure, represent events raised by the system. This is the
<table border="0" cellpadding="0" cellspacing="0" width="100%%">
<tr>
<td align="left" class="footer">
- Generated by Epydoc 3.0beta1 on Sun Aug 10 13:37:38 2008
+ Generated by Epydoc 3.0.1 on Tue Jan 6 22:57:24 2009
</td>
<td align="right" class="footer">
- <a href="http://epydoc.sourceforge.net">http://epydoc.sourceforge.net</a>
+ <a target="mainFrame" href="http://epydoc.sourceforge.net"
+ >http://epydoc.sourceforge.net</a>
</td>
</tr>
</table>
@@ -271,9 +281,8 @@ Event structure, represent events raised by the system. This is the
// 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()
+ checkCookie();
// -->
</script>
-
</body>
</html>
diff --git a/docstrings/pyinotify._ProcessEvent-class.html b/docstrings/pyinotify._ProcessEvent-class.html
index 8215277..7f9df62 100644
--- a/docstrings/pyinotify._ProcessEvent-class.html
+++ b/docstrings/pyinotify._ProcessEvent-class.html
@@ -55,21 +55,32 @@
</tr>
</table>
<!-- ==================== CLASS DESCRIPTION ==================== -->
-<h1 class="epydoc">Class _ProcessEvent</h1><span class="codelink"><a href="pyinotify-pysrc.html#_ProcessEvent">source&nbsp;code</a></span><br /><br />
+<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_22" name="uml_class_diagram_for_pyinotif_22">
-<area shape="rect" href="pyinotify.ProcessEvent&#45;class.html" title="Process events objects, can be specialized via subclassing, thus its behavior can be overriden:" alt="" coords="45,104,139,130"/>
-<area shape="rect" href="pyinotify.ChainIf&#45;class.html" title="Makes conditional chaining depending on the result of the nested processing instance." alt="" coords="16,160,69,186"/>
-<area shape="rect" href="pyinotify.Stats&#45;class.html" title="pyinotify.Stats" alt="" coords="120,160,165,186"/>
-<area shape="rect" href="pyinotify._ProcessEvent&#45;class.html#__repr__" title="repr(x)" alt="" coords="111,36,231,54"/>
-<area shape="rect" href="pyinotify._ProcessEvent&#45;class.html#__call__" title="To behave like a functor the object must be callable." alt="" coords="111,54,231,73"/>
-<area shape="rect" href="pyinotify._ProcessEvent&#45;class.html" title="Abstract processing event class." alt="" coords="109,10,232,74"/>
-<area shape="rect" href="pyinotify._SysProcessEvent&#45;class.html" title="There is three kind of processing according to each event:" alt="" coords="189,104,312,130"/>
+ <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&#45;class.html#__call__" title="To behave like a functor the object must be callable." alt="" coords="108,36,228,54"/>
+<area shape="rect" href="pyinotify._ProcessEvent&#45;class.html#__repr__" title="repr(x)" alt="" coords="108,54,228,73"/>
+<area shape="rect" href="pyinotify._ProcessEvent&#45;class.html" title="Abstract processing event class." alt="" coords="107,10,229,74"/>
+<area shape="rect" href="pyinotify.ProcessEvent&#45;class.html" title="Process events objects, can be specialized via subclassing, thus its behavior can be overriden:" alt="" coords="41,104,135,130"/>
+<area shape="rect" href="pyinotify._SysProcessEvent&#45;class.html" title="There is three kind of processing according to each event:" alt="" coords="185,104,311,130"/>
+<area shape="rect" href="pyinotify.Stats&#45;class.html" title="pyinotify.Stats" alt="" coords="16,160,61,186"/>
+<area shape="rect" href="pyinotify.ChainIf&#45;class.html" title="Makes conditional chaining depending on the result of the nested processing instance." alt="" coords="112,160,165,186"/>
</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>
+ <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&#45;class.html#__call__" title="To behave like a functor the object must be callable." alt="" coords="28,36,148,54"/>
+<area shape="rect" href="pyinotify._ProcessEvent&#45;class.html#__repr__" title="repr(x)" alt="" coords="28,54,148,73"/>
+<area shape="rect" href="pyinotify._ProcessEvent&#45;class.html" title="Abstract processing event class." alt="" coords="27,10,149,74"/>
+<area shape="rect" href="pyinotify.ProcessEvent&#45;class.html" title="Process events objects, can be specialized via subclassing, thus its behavior can be overriden:" alt="" coords="41,104,135,130"/>
+<area shape="rect" href="pyinotify.Stats&#45;class.html" title="pyinotify.Stats" alt="" coords="16,160,61,186"/>
+<area shape="rect" href="pyinotify.ChainIf&#45;class.html" title="Makes conditional chaining depending on the result of the nested processing instance." alt="" coords="112,160,165,186"/>
+</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 />
-Abstract processing event class.<br /><br />
+<p>Abstract processing event class.</p>
<!-- ==================== INSTANCE METHODS ==================== -->
<a name="section-InstanceMethods"></a>
@@ -196,10 +207,10 @@ Abstract processing event class.<br /><br />
</td><td align="right" valign="top"
><span class="codelink"><a href="pyinotify-pysrc.html#_ProcessEvent.__call__">source&nbsp;code</a></span>&nbsp;
</td>
- </table>
+ </tr></table>
- To behave like a functor the object must be callable. This method is a
- dispatch method. Lookup order:
+ <p>To behave like a functor the object must be callable. This method is a
+ dispatch method. Lookup order:</p>
<ol start="1">
<li>
process_MASKNAME method
@@ -224,8 +235,8 @@ Abstract processing event class.<br /><br />
executing next chained functors (see chain.py example).
</li>
<li>
- Returning True instead means do not execute next
- processing functions.
+ Returning True instead means do not execute next processing
+ functions.
</li>
</ul></dd>
<dt>Raises:</dt>
@@ -248,12 +259,12 @@ Abstract processing event class.<br /><br />
</td><td align="right" valign="top"
><span class="codelink"><a href="pyinotify-pysrc.html#_ProcessEvent.__repr__">source&nbsp;code</a></span>&nbsp;
</td>
- </table>
+ </tr></table>
- repr(x)
+ <p>repr(x)</p>
<dl class="fields">
<dt>Overrides:
- object.__repr__
+ object.__repr__
<dd><em class="note">(inherited documentation)</em></dd>
</dt>
</dl>
@@ -286,10 +297,11 @@ Abstract processing event class.<br /><br />
<table border="0" cellpadding="0" cellspacing="0" width="100%%">
<tr>
<td align="left" class="footer">
- Generated by Epydoc 3.0beta1 on Sun Aug 10 13:37:39 2008
+ Generated by Epydoc 3.0.1 on Tue Jan 6 22:57:24 2009
</td>
<td align="right" class="footer">
- <a href="http://epydoc.sourceforge.net">http://epydoc.sourceforge.net</a>
+ <a target="mainFrame" href="http://epydoc.sourceforge.net"
+ >http://epydoc.sourceforge.net</a>
</td>
</tr>
</table>
@@ -300,9 +312,8 @@ Abstract processing event class.<br /><br />
// 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()
+ checkCookie();
// -->
</script>
-
</body>
</html>
diff --git a/docstrings/pyinotify._RawEvent-class.html b/docstrings/pyinotify._RawEvent-class.html
index e6120ec..bd61777 100644
--- a/docstrings/pyinotify._RawEvent-class.html
+++ b/docstrings/pyinotify._RawEvent-class.html
@@ -55,19 +55,20 @@
</tr>
</table>
<!-- ==================== CLASS DESCRIPTION ==================== -->
-<h1 class="epydoc">Class _RawEvent</h1><span class="codelink"><a href="pyinotify-pysrc.html#_RawEvent">source&nbsp;code</a></span><br /><br />
+<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_23" name="uml_class_diagram_for_pyinotif_23">
-<area shape="rect" href="pyinotify._Event&#45;class.html#__repr__" title="Returns: String representation." alt="" coords="91,36,173,54"/>
-<area shape="rect" href="pyinotify._Event&#45;class.html" title="Event structure, represent events raised by the system." alt="" coords="89,10,175,56"/>
+<center> <map id="uml_class_diagram_for_pyinotif_28" name="uml_class_diagram_for_pyinotif_28">
<area shape="rect" href="pyinotify._RawEvent&#45;class.html#__init__" title="Attach attributes (contained in dict_) to self." alt="" coords="17,110,247,129"/>
<area shape="rect" href="pyinotify._RawEvent&#45;class.html" title="Raw event, it contains only the informations provided by the system." alt="" coords="16,85,248,130"/>
+<area shape="rect" href="pyinotify._Event&#45;class.html#__repr__" title="Returns: &#160;String representation." alt="" coords="89,36,175,54"/>
+<area shape="rect" href="pyinotify._Event&#45;class.html" title="Event structure, represent events raised by the system." alt="" coords="88,10,176,56"/>
</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>
+ <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 />
-Raw event, it contains only the informations provided by the system.
- It doesn't infer anything.<br /><br />
+<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>
@@ -109,7 +110,7 @@ Raw event, it contains only the informations provided by the system.
</tr>
<tr>
<td colspan="2" class="summary">
- <p class="indent-wrapped-lines"><b>Inherited from <code><a href="pyinotify._Event-class.html">_Event</a></code></b>:
+ <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>:
@@ -185,9 +186,9 @@ Raw event, it contains only the informations provided by the system.
</td><td align="right" valign="top"
><span class="codelink"><a href="pyinotify-pysrc.html#_RawEvent.__init__">source&nbsp;code</a></span>&nbsp;
</td>
- </table>
+ </tr></table>
- Attach attributes (contained in dict_) to self.
+ <p>Attach attributes (contained in dict_) to self.</p>
<dl class="fields">
<dt>Parameters:</dt>
<dd><ul class="nomargin-top">
@@ -200,7 +201,7 @@ Raw event, it contains only the informations provided by the system.
itself.</li>
</ul></dd>
<dt>Overrides:
- <a href="pyinotify._Event-class.html#__init__">_Event.__init__</a>
+ object.__init__
</dt>
</dl>
</td></tr></table>
@@ -232,10 +233,11 @@ Raw event, it contains only the informations provided by the system.
<table border="0" cellpadding="0" cellspacing="0" width="100%%">
<tr>
<td align="left" class="footer">
- Generated by Epydoc 3.0beta1 on Sun Aug 10 13:37:39 2008
+ Generated by Epydoc 3.0.1 on Tue Jan 6 22:57:24 2009
</td>
<td align="right" class="footer">
- <a href="http://epydoc.sourceforge.net">http://epydoc.sourceforge.net</a>
+ <a target="mainFrame" href="http://epydoc.sourceforge.net"
+ >http://epydoc.sourceforge.net</a>
</td>
</tr>
</table>
@@ -246,9 +248,8 @@ Raw event, it contains only the informations provided by the system.
// 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()
+ checkCookie();
// -->
</script>
-
</body>
</html>
diff --git a/docstrings/pyinotify._SysProcessEvent-class.html b/docstrings/pyinotify._SysProcessEvent-class.html
index e88bfe5..f55baaf 100644
--- a/docstrings/pyinotify._SysProcessEvent-class.html
+++ b/docstrings/pyinotify._SysProcessEvent-class.html
@@ -55,27 +55,28 @@
</tr>
</table>
<!-- ==================== CLASS DESCRIPTION ==================== -->
-<h1 class="epydoc">Class _SysProcessEvent</h1><span class="codelink"><a href="pyinotify-pysrc.html#_SysProcessEvent">source&nbsp;code</a></span><br /><br />
+<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_24" name="uml_class_diagram_for_pyinotif_24">
-<area shape="rect" href="pyinotify._ProcessEvent&#45;class.html#__repr__" title="repr(x)" alt="" coords="95,36,215,54"/>
-<area shape="rect" href="pyinotify._ProcessEvent&#45;class.html#__call__" title="To behave like a functor the object must be callable." alt="" coords="95,54,215,73"/>
-<area shape="rect" href="pyinotify._ProcessEvent&#45;class.html" title="Abstract processing event class." alt="" coords="93,10,216,74"/>
-<area shape="rect" href="pyinotify._SysProcessEvent&#45;class.html#process_IN_IGNORED" title="The watch descriptor raised by this event is now ignored (forever), it can be safely deleted from watch manager dictionary." alt="" coords="17,129,292,148"/>
-<area shape="rect" href="pyinotify._SysProcessEvent&#45;class.html#process_default" title="Common handling for the following events:" alt="" coords="17,148,292,166"/>
-<area shape="rect" href="pyinotify._SysProcessEvent&#45;class.html#process_IN_MOVE_SELF" title="STATUS: the following bug has been fixed in the recent kernels (fixme: which version ?)." alt="" coords="17,166,292,185"/>
-<area shape="rect" href="pyinotify._SysProcessEvent&#45;class.html#process_IN_Q_OVERFLOW" title="Only signal overflow, most of the common flags are irrelevant for this event (path, wd, name)." alt="" coords="17,185,292,204"/>
-<area shape="rect" href="pyinotify._SysProcessEvent&#45;class.html#process_IN_MOVED_FROM" title="Map the cookie with the source path (+ date for cleaning)." alt="" coords="17,204,292,222"/>
-<area shape="rect" href="pyinotify._SysProcessEvent&#45;class.html#process_IN_CREATE" title="If the event concerns 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 attributes&#39;s values than those of this watch." alt="" coords="17,222,292,241"/>
-<area shape="rect" href="pyinotify._SysProcessEvent&#45;class.html#process_IN_MOVED_TO" title="Map the source path with the destination path (+ date for cleaning)." alt="" coords="17,241,292,260"/>
-<area shape="rect" href="pyinotify._SysProcessEvent&#45;class.html#cleanup" title="Cleanup (delete) old (&gt;1mn) records contained in self._mv_cookie and self._mv." alt="" coords="17,260,292,278"/>
-<area shape="rect" href="pyinotify._SysProcessEvent&#45;class.html#__init__" title="x.__init__(...) initializes x; see x.__class__.__doc__ for signature" alt="" coords="17,278,292,297"/>
+<center> <map id="uml_class_diagram_for_pyinotif_29" name="uml_class_diagram_for_pyinotif_29">
+<area shape="rect" href="pyinotify._SysProcessEvent&#45;class.html#__init__" title="x.__init__(...) initializes x; see x.__class__.__doc__ for signature" alt="" coords="17,129,292,148"/>
+<area shape="rect" href="pyinotify._SysProcessEvent&#45;class.html#cleanup" title="Cleanup (delete) old (&gt;1mn) records contained in self._mv_cookie and &#160;self._mv." alt="" coords="17,148,292,166"/>
+<area shape="rect" href="pyinotify._SysProcessEvent&#45;class.html#process_IN_CREATE" title="If the event concerns 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 attributes&#39;s values than those of this watch." alt="" coords="17,166,292,185"/>
+<area shape="rect" href="pyinotify._SysProcessEvent&#45;class.html#process_IN_MOVED_FROM" title="Map the cookie with the source path (+ date for cleaning)." alt="" coords="17,185,292,204"/>
+<area shape="rect" href="pyinotify._SysProcessEvent&#45;class.html#process_IN_MOVED_TO" title="Map the source path with the destination path (+ date for cleaning)." alt="" coords="17,204,292,222"/>
+<area shape="rect" href="pyinotify._SysProcessEvent&#45;class.html#process_IN_MOVE_SELF" title="STATUS: the following bug has been fixed in the recent kernels (fixme: &#160;which version ?)." alt="" coords="17,222,292,241"/>
+<area shape="rect" href="pyinotify._SysProcessEvent&#45;class.html#process_IN_Q_OVERFLOW" title="Only signal overflow, most of the common flags are irrelevant for this &#160;event (path, wd, name)." alt="" coords="17,241,292,260"/>
+<area shape="rect" href="pyinotify._SysProcessEvent&#45;class.html#process_IN_IGNORED" title="The watch descriptor raised by this event is now ignored (forever), it can &#160;be safely deleted from watch manager dictionary." alt="" coords="17,260,292,278"/>
+<area shape="rect" href="pyinotify._SysProcessEvent&#45;class.html#process_default" title="Common handling for the following events:" alt="" coords="17,278,292,297"/>
<area shape="rect" href="pyinotify._SysProcessEvent&#45;class.html" title="There is three kind of processing according to each event:" alt="" coords="16,104,293,298"/>
+<area shape="rect" href="pyinotify._ProcessEvent&#45;class.html#__call__" title="To behave like a functor the object must be callable." alt="" coords="95,36,215,54"/>
+<area shape="rect" href="pyinotify._ProcessEvent&#45;class.html#__repr__" title="repr(x)" alt="" coords="95,54,215,73"/>
+<area shape="rect" href="pyinotify._ProcessEvent&#45;class.html" title="Abstract processing event class." alt="" coords="93,10,216,74"/>
</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></center>
+ <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 />
-There is three kind of processing according to each event:
+<p>There is three kind of processing according to each event:</p>
<ol start="1">
<li>
special handling (deletion from internal container, bug, ...).
@@ -90,7 +91,7 @@ There is three kind of processing according to each event:
event, he is not processed as the others events, instead, its value
is captured and appropriately aggregated to dst event.
</li>
- </ol><br /><br />
+ </ol>
<!-- ==================== INSTANCE METHODS ==================== -->
<a name="section-InstanceMethods"></a>
@@ -118,8 +119,7 @@ There is three kind of processing according to each event:
<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>
+ 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>
@@ -136,8 +136,8 @@ There is three kind of processing according to each event:
<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>
+ 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>
@@ -194,8 +194,7 @@ There is three kind of processing according to each event:
<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>
+ 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>
@@ -251,9 +250,8 @@ There is three kind of processing according to each event:
<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 watch manager
- dictionary.</td>
+ The watch descriptor raised by this event is now ignored (forever),
+ it can be safely deleted from 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>
@@ -284,7 +282,7 @@ There is three kind of processing according to each event:
</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>:
+ <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>
@@ -359,10 +357,10 @@ There is three kind of processing according to each event:
</td><td align="right" valign="top"
><span class="codelink"><a href="pyinotify-pysrc.html#_SysProcessEvent.__init__">source&nbsp;code</a></span>&nbsp;
</td>
- </table>
+ </tr></table>
- x.__init__(...) initializes x; see x.__class__.__doc__ for
- signature
+ <p>x.__init__(...) initializes x; see x.__class__.__doc__ for
+ signature</p>
<dl class="fields">
<dt>Parameters:</dt>
<dd><ul class="nomargin-top">
@@ -370,7 +368,7 @@ There is three kind of processing according to each event:
<li><strong class="pname"><code>notifier</code></strong> (Instance of Notifier.) - notifier.</li>
</ul></dd>
<dt>Overrides:
- object.__init__
+ object.__init__
</dt>
</dl>
</td></tr></table>
@@ -388,15 +386,15 @@ There is three kind of processing according to each event:
</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>
- </table>
+ </tr></table>
<p>STATUS: the following bug has been fixed in the recent kernels (fixme:
which version ?). Now it raises IN_DELETE_SELF instead.</p>
- Old kernels are bugged, this event is raised when the watched item was
+ <p>Old kernels are bugged, this event is raised when the watched item was
moved, so we must update its path, but under some circumstances it can be
impossible: if its parent directory and its destination directory aren't
watched. The kernel (see include/linux/fsnotify.h) doesn't bring us
- enough informations like the destination path of moved items.
+ enough informations like the destination path of moved items.</p>
<dl class="fields">
</dl>
</td></tr></table>
@@ -414,12 +412,12 @@ There is three kind of processing according to each event:
</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>
- </table>
+ </tr></table>
- The watch descriptor raised by this event is now ignored (forever), it
+ <p>The watch descriptor raised by this event is now ignored (forever), it
can be safely deleted from watch manager dictionary. After this event we
can be sure that neither the event queue neither the system will raise an
- event associated to this wd.
+ event associated to this wd.</p>
<dl class="fields">
</dl>
</td></tr></table>
@@ -438,11 +436,11 @@ There is three kind of processing according to each event:
</td><td align="right" valign="top"
><span class="codelink"><a href="pyinotify-pysrc.html#_SysProcessEvent.process_default">source&nbsp;code</a></span>&nbsp;
</td>
- </table>
+ </tr></table>
<p>Common handling for the following events:</p>
- IN_ACCESS, IN_MODIFY, IN_ATTRIB, IN_CLOSE_WRITE, IN_CLOSE_NOWRITE,
- IN_OPEN, IN_DELETE, IN_DELETE_SELF, IN_UNMOUNT.
+ <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>
@@ -474,10 +472,11 @@ There is three kind of processing according to each event:
<table border="0" cellpadding="0" cellspacing="0" width="100%%">
<tr>
<td align="left" class="footer">
- Generated by Epydoc 3.0beta1 on Sun Aug 10 13:37:39 2008
+ Generated by Epydoc 3.0.1 on Tue Jan 6 22:57:24 2009
</td>
<td align="right" class="footer">
- <a href="http://epydoc.sourceforge.net">http://epydoc.sourceforge.net</a>
+ <a target="mainFrame" href="http://epydoc.sourceforge.net"
+ >http://epydoc.sourceforge.net</a>
</td>
</tr>
</table>
@@ -488,9 +487,8 @@ There is three kind of processing according to each event:
// 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()
+ checkCookie();
// -->
</script>
-
</body>
</html>
diff --git a/docstrings/redirect.html b/docstrings/redirect.html
index 72b59e0..2535088 100644
--- a/docstrings/redirect.html
+++ b/docstrings/redirect.html
@@ -7,7 +7,7 @@
<body>
<script type="text/javascript">
<!--
-var pages = ["pyinotify.ProcessEventError-c", "pyinotify.WatchManagerError-c", "pyinotify.ThreadedNotifier-c", "pyinotify._SysProcessEvent-c", "pyinotify.AnsiColorTheme-c", "pyinotify.BlackAndWhite-c", "pyinotify.ExcludeFilter-c", "pyinotify.NotifierError-c", "pyinotify.SysCtlINotify-c", "pyinotify._ProcessEvent-c", "pyinotify.DefaultTheme-c", "pyinotify.ProcessEvent-c", "pyinotify.WatchManager-c", "pyinotify.EventsCodes-c", "pyinotify.ColorTheme-c", "pyinotify._RawEvent-c", "pyinotify.Notifier-c", "pyinotify.ChainIf-c", "pyinotify.NoTheme-c", "pyinotify._Event-c", "pyinotify.Color-c", "pyinotify.Event-c", "pyinotify.Stats-c", "pyinotify.Watch-c", "pyinotify-m"];
+var pages = ["pyinotify.UnsupportedPythonVersionError-c", "pyinotify.UnsupportedLibcVersionError-c", "pyinotify.ProcessEventError-c", "pyinotify.WatchManagerError-c", "pyinotify.ThreadedNotifier-c", "pyinotify._SysProcessEvent-c", "pyinotify.AnsiColorTheme-c", "pyinotify.PyinotifyError-c", "pyinotify.BlackAndWhite-c", "pyinotify.ExcludeFilter-c", "pyinotify.NotifierError-c", "pyinotify.SysCtlINotify-c", "pyinotify._ProcessEvent-c", "pyinotify.DefaultTheme-c", "pyinotify.ProcessEvent-c", "pyinotify.WatchManager-c", "pyinotify.EventsCodes-c", "pyinotify.ColorTheme-c", "pyinotify._RawEvent-c", "pyinotify.Notifier-c", "pyinotify.ChainIf-c", "pyinotify.NoTheme-c", "pyinotify._Event-c", "pyinotify.Color-c", "pyinotify.Event-c", "pyinotify.Stats-c", "pyinotify.Watch-c", "pyinotify-m"];
var dottedName = get_anchor();
if (dottedName) {
var target = redirect_url(dottedName);
diff --git a/docstrings/toc-everything.html b/docstrings/toc-everything.html
index 81e6225..1487b44 100644
--- a/docstrings/toc-everything.html
+++ b/docstrings/toc-everything.html
@@ -27,10 +27,13 @@
>pyinotify.Notifier</a><br /> <a target="mainFrame" href="pyinotify.NotifierError-class.html"
>pyinotify.NotifierError</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.Stats-class.html"
+ >pyinotify.ProcessEventError</a><br /> <a target="mainFrame" href="pyinotify.PyinotifyError-class.html"
+ >pyinotify.PyinotifyError</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.Watch-class.html"
+ >pyinotify.ThreadedNotifier</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">
@@ -74,7 +77,9 @@
>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#color_theme"
+ >pyinotify.LIBC</a><br /> <a target="mainFrame" href="pyinotify-module.html#LIBC_VERSION"
+ >pyinotify.LIBC_VERSION</a><br /> <a target="mainFrame" href="pyinotify-module.html#__author__"
+ >pyinotify.__author__</a><br /> <a target="mainFrame" href="pyinotify-module.html#color_theme"
>pyinotify.color_theme</a><br /> <a target="mainFrame" href="pyinotify-module.html#console_handler"
>pyinotify.console_handler</a><br /> <a target="mainFrame" href="pyinotify-module.html#flagc"
>pyinotify.flagc</a><br /> <a target="mainFrame" href="pyinotify-module.html#i"
@@ -96,9 +101,8 @@
// 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()
+ checkCookie();
// -->
</script>
-
</body>
</html>
diff --git a/docstrings/toc-pyinotify-module.html b/docstrings/toc-pyinotify-module.html
index 75180fa..5460849 100644
--- a/docstrings/toc-pyinotify-module.html
+++ b/docstrings/toc-pyinotify-module.html
@@ -27,10 +27,13 @@
>Notifier</a><br /> <a target="mainFrame" href="pyinotify.NotifierError-class.html"
>NotifierError</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.Stats-class.html"
+ >ProcessEventError</a><br /> <a target="mainFrame" href="pyinotify.PyinotifyError-class.html"
+ >PyinotifyError</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.Watch-class.html"
+ >ThreadedNotifier</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">
@@ -74,7 +77,9 @@
>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#color_theme"
+ >LIBC</a><br /> <a target="mainFrame" href="pyinotify-module.html#LIBC_VERSION"
+ >LIBC_VERSION</a><br /> <a target="mainFrame" href="pyinotify-module.html#__author__"
+ >__author__</a><br /> <a target="mainFrame" href="pyinotify-module.html#color_theme"
>color_theme</a><br /> <a target="mainFrame" href="pyinotify-module.html#console_handler"
>console_handler</a><br /> <a target="mainFrame" href="pyinotify-module.html#flagc"
>flagc</a><br /> <a target="mainFrame" href="pyinotify-module.html#i"
@@ -96,9 +101,8 @@
// 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()
+ checkCookie();
// -->
</script>
-
</body>
</html>
diff --git a/docstrings/toc.html b/docstrings/toc.html
index e37a4b0..a08ff58 100644
--- a/docstrings/toc.html
+++ b/docstrings/toc.html
@@ -26,9 +26,8 @@
// 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()
+ checkCookie();
// -->
</script>
-
</body>
</html>
diff --git a/docstrings/uml_class_diagram_for_pyinotif.gif b/docstrings/uml_class_diagram_for_pyinotif.gif
index 4261c78..96cb1de 100644
--- a/docstrings/uml_class_diagram_for_pyinotif.gif
+++ b/docstrings/uml_class_diagram_for_pyinotif.gif
Binary files differ
diff --git a/docstrings/uml_class_diagram_for_pyinotif_10.gif b/docstrings/uml_class_diagram_for_pyinotif_10.gif
index 04bd672..83414c4 100644
--- a/docstrings/uml_class_diagram_for_pyinotif_10.gif
+++ b/docstrings/uml_class_diagram_for_pyinotif_10.gif
Binary files differ
diff --git a/docstrings/uml_class_diagram_for_pyinotif_11.gif b/docstrings/uml_class_diagram_for_pyinotif_11.gif
index 84b0c80..cf8bfde 100644
--- a/docstrings/uml_class_diagram_for_pyinotif_11.gif
+++ b/docstrings/uml_class_diagram_for_pyinotif_11.gif
Binary files differ
diff --git a/docstrings/uml_class_diagram_for_pyinotif_12.gif b/docstrings/uml_class_diagram_for_pyinotif_12.gif
index ce4cfdf..9a0696b 100644
--- a/docstrings/uml_class_diagram_for_pyinotif_12.gif
+++ b/docstrings/uml_class_diagram_for_pyinotif_12.gif
Binary files differ
diff --git a/docstrings/uml_class_diagram_for_pyinotif_13.gif b/docstrings/uml_class_diagram_for_pyinotif_13.gif
index 69b1d58..6d09455 100644
--- a/docstrings/uml_class_diagram_for_pyinotif_13.gif
+++ b/docstrings/uml_class_diagram_for_pyinotif_13.gif
Binary files differ
diff --git a/docstrings/uml_class_diagram_for_pyinotif_14.gif b/docstrings/uml_class_diagram_for_pyinotif_14.gif
index d597fbd..7e68bc9 100644
--- a/docstrings/uml_class_diagram_for_pyinotif_14.gif
+++ b/docstrings/uml_class_diagram_for_pyinotif_14.gif
Binary files differ
diff --git a/docstrings/uml_class_diagram_for_pyinotif_15.gif b/docstrings/uml_class_diagram_for_pyinotif_15.gif
index 7c609c0..d8a95a9 100644
--- a/docstrings/uml_class_diagram_for_pyinotif_15.gif
+++ b/docstrings/uml_class_diagram_for_pyinotif_15.gif
Binary files differ
diff --git a/docstrings/uml_class_diagram_for_pyinotif_16.gif b/docstrings/uml_class_diagram_for_pyinotif_16.gif
index fdfb522..51b1cbe 100644
--- a/docstrings/uml_class_diagram_for_pyinotif_16.gif
+++ b/docstrings/uml_class_diagram_for_pyinotif_16.gif
Binary files differ
diff --git a/docstrings/uml_class_diagram_for_pyinotif_17.gif b/docstrings/uml_class_diagram_for_pyinotif_17.gif
index d9d5f4f..d83e137 100644
--- a/docstrings/uml_class_diagram_for_pyinotif_17.gif
+++ b/docstrings/uml_class_diagram_for_pyinotif_17.gif
Binary files differ
diff --git a/docstrings/uml_class_diagram_for_pyinotif_18.gif b/docstrings/uml_class_diagram_for_pyinotif_18.gif
index 097dece..32a19eb 100644
--- a/docstrings/uml_class_diagram_for_pyinotif_18.gif
+++ b/docstrings/uml_class_diagram_for_pyinotif_18.gif
Binary files differ
diff --git a/docstrings/uml_class_diagram_for_pyinotif_19.gif b/docstrings/uml_class_diagram_for_pyinotif_19.gif
index 54ad551..c292ad2 100644
--- a/docstrings/uml_class_diagram_for_pyinotif_19.gif
+++ b/docstrings/uml_class_diagram_for_pyinotif_19.gif
Binary files differ
diff --git a/docstrings/uml_class_diagram_for_pyinotif_2.gif b/docstrings/uml_class_diagram_for_pyinotif_2.gif
index 73d33fa..307ceab 100644
--- a/docstrings/uml_class_diagram_for_pyinotif_2.gif
+++ b/docstrings/uml_class_diagram_for_pyinotif_2.gif
Binary files differ
diff --git a/docstrings/uml_class_diagram_for_pyinotif_20.gif b/docstrings/uml_class_diagram_for_pyinotif_20.gif
index 7717909..5f25f70 100644
--- a/docstrings/uml_class_diagram_for_pyinotif_20.gif
+++ b/docstrings/uml_class_diagram_for_pyinotif_20.gif
Binary files differ
diff --git a/docstrings/uml_class_diagram_for_pyinotif_21.gif b/docstrings/uml_class_diagram_for_pyinotif_21.gif
index 798be6a..fadcce4 100644
--- a/docstrings/uml_class_diagram_for_pyinotif_21.gif
+++ b/docstrings/uml_class_diagram_for_pyinotif_21.gif
Binary files differ
diff --git a/docstrings/uml_class_diagram_for_pyinotif_22.gif b/docstrings/uml_class_diagram_for_pyinotif_22.gif
index 44ed4a6..fdecc89 100644
--- a/docstrings/uml_class_diagram_for_pyinotif_22.gif
+++ b/docstrings/uml_class_diagram_for_pyinotif_22.gif
Binary files differ
diff --git a/docstrings/uml_class_diagram_for_pyinotif_23.gif b/docstrings/uml_class_diagram_for_pyinotif_23.gif
index 431c5cf..3e1c25f 100644
--- a/docstrings/uml_class_diagram_for_pyinotif_23.gif
+++ b/docstrings/uml_class_diagram_for_pyinotif_23.gif
Binary files differ
diff --git a/docstrings/uml_class_diagram_for_pyinotif_24.gif b/docstrings/uml_class_diagram_for_pyinotif_24.gif
index 337dbd0..887111b 100644
--- a/docstrings/uml_class_diagram_for_pyinotif_24.gif
+++ b/docstrings/uml_class_diagram_for_pyinotif_24.gif
Binary files differ
diff --git a/docstrings/uml_class_diagram_for_pyinotif_3.gif b/docstrings/uml_class_diagram_for_pyinotif_3.gif
index f68562d..18a3cdc 100644
--- a/docstrings/uml_class_diagram_for_pyinotif_3.gif
+++ b/docstrings/uml_class_diagram_for_pyinotif_3.gif
Binary files differ
diff --git a/docstrings/uml_class_diagram_for_pyinotif_4.gif b/docstrings/uml_class_diagram_for_pyinotif_4.gif
index 8a75fbf..5cac0d5 100644
--- a/docstrings/uml_class_diagram_for_pyinotif_4.gif
+++ b/docstrings/uml_class_diagram_for_pyinotif_4.gif
Binary files differ
diff --git a/docstrings/uml_class_diagram_for_pyinotif_5.gif b/docstrings/uml_class_diagram_for_pyinotif_5.gif
index 2104bd8..da33d59 100644
--- a/docstrings/uml_class_diagram_for_pyinotif_5.gif
+++ b/docstrings/uml_class_diagram_for_pyinotif_5.gif
Binary files differ
diff --git a/docstrings/uml_class_diagram_for_pyinotif_6.gif b/docstrings/uml_class_diagram_for_pyinotif_6.gif
index d454d6e..6bd270b 100644
--- a/docstrings/uml_class_diagram_for_pyinotif_6.gif
+++ b/docstrings/uml_class_diagram_for_pyinotif_6.gif
Binary files differ
diff --git a/docstrings/uml_class_diagram_for_pyinotif_7.gif b/docstrings/uml_class_diagram_for_pyinotif_7.gif
index 47d28db..8c4aaed 100644
--- a/docstrings/uml_class_diagram_for_pyinotif_7.gif
+++ b/docstrings/uml_class_diagram_for_pyinotif_7.gif
Binary files differ
diff --git a/docstrings/uml_class_diagram_for_pyinotif_8.gif b/docstrings/uml_class_diagram_for_pyinotif_8.gif
index 8281a92..10c61cc 100644
--- a/docstrings/uml_class_diagram_for_pyinotif_8.gif
+++ b/docstrings/uml_class_diagram_for_pyinotif_8.gif
Binary files differ
diff --git a/docstrings/uml_class_diagram_for_pyinotif_9.gif b/docstrings/uml_class_diagram_for_pyinotif_9.gif
index d0ca00f..fa9e491 100644
--- a/docstrings/uml_class_diagram_for_pyinotif_9.gif
+++ b/docstrings/uml_class_diagram_for_pyinotif_9.gif
Binary files differ