[Ml-yokadi] IO handler (was :Re: import fix (die utils.py die die))

Sébastien Renard Sebastien.Renard
Dim 8 Fév 12:56:19 CET 2009


Le lundi 26 janvier 2009, Aurélien Gâteau a écrit :
> (Sorry for the late answer)
>
> It looks good, thanks! I think it can go in master. My only nitpick
> would be to avoid naming the output stream yio, for two reasons:
> - It's only about output, not input

It could be also about input... But yes for now it's only about stdout and 
stderr.

> - tui.py is generic enough to be useful outside Yokadi, so I'd prefer to
> avoid Yokadi references in it.

Right.  We have some other (yokadi exception for instance). 

> What about just naming it stdout? Usage would be tui.stdout, which is
> quite similar to sys.stdout.

I rename yio to io and make direct access to stdout and stderr. So tui.stdout 
and tui.stderr are directly accessible.

Windows branch has been merged in master. Thanks Marc-Antoine for your work. I 
tested it with windows XP and python 2.5. Could you check that everything is 
ok your side ?

Next step is to merge Marc-Antoine works on yokadid as a windows service.

a+
-- 
Sébastien


Plus d'informations sur la liste de diffusion Ml-yokadi