open(False) in python3

Jan Kaliszewski zuo at chopin.edu.pl
Wed May 12 19:07:15 EDT 2010


Terry Reedy dixit (2010-05-12, 14:26):

> On 5/12/2010 1:26 PM, Giampaolo Rodolà wrote:
> >2010/5/12 Gabriel Genellina<gagsl-py2 at 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.
> 
> The change actually happened, according to 'What's new', in 2.6 when
> 'open' was made a synonym for the new io.open.

It did happened in 3.0, not in 2.6.

Regards,
*j



More information about the Python-list mailing list