On Wed, May 12, 2010 at 10:56 PM, Giampaolo Rodolà <g.rod...@gmail.com> wrote:
> 2010/5/12 Gabriel Genellina <gagsl-...@yahoo.com.ar>:
>> open() in Python 3 does a lot of things; it's like a mix of codecs.open() +
>> builtin open() + os.fdopen() from 2.x all merged together. It does different
>> things depending on the type and quantity of its arguments, and even returns
>> objects of different types.
>>
>> In particular, open(some_integer) assumes some_integer is a file descriptor
>> and return some variant of file object using the given file descriptor.
>
> Interesting. I wasn't aware of this.
> Is it documented somewhere?
>

http://docs.python.org/py3k/library/functions.html#open

-- 
regards,
kushal
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to