[Python-Dev] Help with inotify (original) (raw)
Neal Becker ndbecker2 at gmail.com
Fri Oct 28 01:32:23 CEST 2005
- Previous message: [Python-Dev] Help with inotify
- Next message: [Python-Dev] Help with inotify
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
"Martin v. Löwis" wrote:
I see. Python is making up the EISDIR, looking at the stat result. In Objects/fileobject.c:dircheck generates the EISDIR error, which apparently comes from posixfdopen, PyFileFromFile, fillfilefields.
Python simply does not support file objects which stat(2) as directories.
OK, does python have a C API that would allow me to create a python file object from my C (C++) code? Then instead of using python's fdopen I could just do it myself.
- Previous message: [Python-Dev] Help with inotify
- Next message: [Python-Dev] Help with inotify
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]