console polling loop and inotify

Ivan Krstić krstic at solarsail.hcs.harvard.edu
Thu Mar 29 14:50:01 EDT 2007


Neal Norwitz wrote:
> I'm missing a bit of context.  Ivan is correct that we probably
> wouldn't want an inotify module in the core.  However, there can
> certainly be a module created to provide access to inotify from
> python.  I'm not sure what the goal is.

Sorry, I misread Will's message and thought the interpreter was doing
something stupid. Will's actual complaint is with end-user behavior, not
the Python core, and there's a set of good python inotify bindings that
we could be using to avoid the issue:

    http://pyinotify.sourceforge.net/

Will, would you file a bug in Trac about using inotify, and attach a
list of places you see us polling currently?

Thanks,

-- 
Ivan Krstić <krstic at solarsail.hcs.harvard.edu> | GPG: 0x147C722D



More information about the Devel mailing list