[PATCH] Harden uses of os.system

Bryan O'Sullivan bos at serpentine.com
Sat Jun 25 23:58:17 UTC 2005


On Sat, 2005-06-25 at 16:22 -0700, Matt Mackall wrote:

> Are you using hgeditor? It basically does that, but without the GUI
> bits.

No, I literally started using hg this morning, so I'm just bumbling
around in the dark.

> As it happens, I was just tinkering with a GUI this morning. But mine
> uses GTK+ and GLADE. Sigh.

We could let the first committer win, or we could have a (hopefully
mercifully brief) toolkit discussion beforehand.  Here's my $.02:

wxPython: portable, but the API is yucky.

PyQt: portable.  Has a sane API.

PyGtk: portable, but on a Mac, requires an X server and much pain
tolerance.  Has a sane API.

I wouldn't go near wx with a bargepole.

I'm biased towards PyQt, because I already write reams of code in it,
and it Just Works on a Mac.

I'd be OK with PyGtk, though unfamiliarity would slow me down.

	<b




More information about the Mercurial mailing list