[Python-Dev] PEP 384 status

Antoine Pitrou solipsis at pitrou.net
Tue Aug 31 12:03:13 CEST 2010


> > So it means that, for example, a FileIO object couldn't be shared
> > between runtimes either? How about a socket object?
> > Do you want to forbid FileIO and socket objects as part of the API?
> 
> Python objects don't have this concern: all methods of FileIO are implemented
> in a single file (fileio.c), linked to a single C runtime.

Ah, right. But you still can call the fileno() method.

Regards

Antoine.




More information about the Python-Dev mailing list