A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from http://mail.python.org/pipermail/python-dev/2005-October/057725.html below:

[Python-Dev] Help with inotify

[Python-Dev] Help with inotify [Python-Dev] Help with inotifyNeal Becker ndbecker2 at gmail.com
Fri Oct 28 01:32:23 CEST 2005
"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 posix_fdopen, PyFile_FromFile,
> fill_file_fields.
> 
> 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.

More information about the Python-Dev mailing list

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4