[Python-Dev] MacPython - access to FinderInfo of a directory

Jack Jansen Jack.Jansen at cwi.nl
Mon Oct 13 05:52:34 EDT 2003


On Sunday, October 12, 2003, at 03:13 AM, Greg Ewing wrote:

> I discovered recently that the File Manager wrappings in
> MacPython don't seem to provide any way of getting at the
> FinderInfo of a directory, because GetFInfo/SetFInfo only
> work on files, and access to the finderInfo field of the
> FSCatalogInfo structure hasn't been implemented.
>
> I have come up with a patch to _Filemodule.c to remedy
> this, but patching this file directly probably isn't the
> right thing to do, because it seems to have been generated
> automatically using bgen. Unfortunately I don't know
> enough about bgen to fix this properly.

Greg,
there's an SF bug for this one: #706585. If you could attach your
patch to this one I'll do the magic to work it around to bgen.
--
Jack Jansen, <Jack.Jansen at cwi.nl>, http://www.cwi.nl/~jack
If I can't dance I don't want to be part of your revolution -- Emma 
Goldman




More information about the Python-Dev mailing list