Fixed in fcb0695ec986

On Wed, Apr 9, 2014 at 11:32 AM, Alex Gaynor <alex.gay...@gmail.com> wrote:

> It fails under CPython 2.7 as well, I guess we should fix it.
>
> Alex
>
>
> On Wed, Apr 9, 2014 at 2:29 PM, Dima Tisnek <dim...@gmail.com> wrote:
>
>> it fails on py 2.7 (with a bug), fails correctly in py 3.3 and
>> succeeds in pypy 2.2:
>>
>> >>>> import os
>> >>>> os.open("/", os.O_RDONLY)
>> 3
>> >>>> os.fdopen(3, "r")
>> <open file '<fdopen>', mode 'r' at 0x0000000105b71830>
>> >>>> f = _
>> >>>> f.read(1)
>> Traceback (most recent call last):
>>   File "<stdin>", line 1, in <module>
>> IOError: [Errno 21] Is a directory: '<fdopen>'
>> >>>>
>> _______________________________________________
>> pypy-dev mailing list
>> pypy-dev@python.org
>> https://mail.python.org/mailman/listinfo/pypy-dev
>>
>
>
>
> --
> "I disapprove of what you say, but I will defend to the death your right
> to say it." -- Evelyn Beatrice Hall (summarizing Voltaire)
> "The people's good is the highest law." -- Cicero
> GPG Key fingerprint: 125F 5C67 DFE9 4084
>
> _______________________________________________
> pypy-dev mailing list
> pypy-dev@python.org
> https://mail.python.org/mailman/listinfo/pypy-dev
>
>
_______________________________________________
pypy-dev mailing list
pypy-dev@python.org
https://mail.python.org/mailman/listinfo/pypy-dev

Reply via email to