FILE object in Python3.0 extension modules
Gabriel Genellina
gagsl-py2 at yahoo.com.ar
Sat May 30 00:11:33 EDT 2009
En Fri, 29 May 2009 23:24:32 -0300, Benjamin Peterson
<benjamin at python.org> escribió:
> Gabriel Genellina <gagsl-py2 <at> yahoo.com.ar> writes:
>> But you have to import the io module first, don't you? That's not
>> usually
>> necesary for most built in types -- e.g. PyFloat_Check just checks for a
>> float object.
>
> Well, in 3.x, file is not longer a builtin type.
Ok, seems the old "file" type has been demoted and atomized...
--
Gabriel Genellina
More information about the Python-list
mailing list