[Biopython-dev] stdout/stderr handling oddity

Peter Cock p.j.a.cock at googlemail.com
Thu Mar 28 22:11:11 UTC 2013


> On 29 March 2013 02:24, Lenna Peterson <arklenna at gmail.com> wrote:
>> Hi Peter,
>>
>> On Mac OS X, opening os.devnull with mode 'w' on lines 418 and 422 of the
>> Application __init__.py causes the tests to pass for me.
>>
>> Lenna

On Thu, Mar 28, 2013 at 8:57 PM, Saket Choudhary <saketkc at gmail.com> wrote:
> Yes.
> And the reason is this
> :http://stackoverflow.com/questions/2368967/bad-file-descriptor-error
>

Thank you both - I am kicking myself now - maybe I should have
taken another sick day this week instead of returning to work? ;)

Fixed:
https://github.com/biopython/biopython/commit/bba2acbf3d690ad7b99e94ac8ead6763b1d05ab8

I guess no one had bothered to using this option to send stderr
to /dev/null - or if they had never reported this error. The only
thing which puzzles me is why this worked for stdout. Odd.

Cheers,

Peter



More information about the Biopython-dev mailing list