Re: "with" statement in the python gio wrapper ?
- From: Alexander Larsson <alexl redhat com>
- To: David Versmisse <david versmisse itaapy com>
- Cc: gvfs-list gnome org
- Subject: Re: "with" statement in the python gio wrapper ?
- Date: Mon, 25 May 2009 10:52:39 +0200
On Fri, 2009-05-22 at 10:51 +0200, David Versmisse wrote:
> Hello,
>
> I don't know if i'm on the good mailing list, sorry if not.
>
> I have a question about the python wrapper of gio.
>
> Do you plan to use the new "with" statement with all the gio objects. By
> example:
>
> g_file = File('foo.txt')
> with g_file.replace('', False) as f:
> ....
>
> Naturally, it's just a question to organize our development.
>
> By advance, thank you for your answer, and thank you for your library!
I don't know if any python developers are on this list, but i don't see
how your question affects the gio python code, it seems more about
python code that uses the python gio library.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]