[Python-Dev] fopenRF() - defunct MacOS 9 thing?

Skip Montanaro skip at pobox.com
Sat Jun 5 21:07:32 EDT 2004


I was messing around in fileobject.c today and came across this:

    #ifdef HAVE_FOPENRF
            if (*mode == '*') {
                    FILE *fopenRF();
                    f->f_fp = fopenRF(name, mode+1);
            }
            else
    #endif

Googling for fopenRF() indicated it is a way to open resource forks on Macs
(all the Google hits were Python-related).  Is that something that should
have been deleted with the demise of MacOS 9 support?

Skip



More information about the Python-Dev mailing list