Re: [pygtk] Re: API freeze break request



On Fri, 2005-01-14 at 18:34 +0100, Murray Cumming wrote:
> On Fri, 2005-01-14 at 16:12 +0000, Mark McLoughlin wrote:
> > Hi,
> > 	The python GConf binding is missing a wrapping for GConfEngine, which
> > isn't used very often but I came across a need for it while writing a
> > little admin tool for GConf.
> > 
> > 	See the patch below. The pygtk maintainers seem to be okay about
> > including it, so long as the release team approve.
> > 
> > 	See:
> > 
> >   http://bugzilla.gnome.org/show_bug.cgi?id=164059
> > 
> > 	for more details. Patch appended. Its pretty straightforward and
> > shouldn't impact any existing APIs.
> 
> Can't you work around this in some way? For instance, can't you include
> your own local wrapper of this class? I'm not happy about adding a whole
> class after an API freeze, because we'll have no chance to fix it if
> it's not perfect.

  This is not such an issue for bindings as it is for C libraries.  In
python bindings, we generate .defs from scanning header files, so the
API is already well defined.  Unless h2def screws up, but when it does
it is pretty obvious.  We don't have much flexibility to change the API
besides making some arguments optional and changing their default
values.

  In my opinion, this is a low risk API addition.  But we'll respect
whatever is decided by the release team.

  Regards.

-- 
Gustavo J. A. M. Carneiro
<gjc inescporto pt> <gustavo users sourceforge net>
The universe is always one step beyond logic.

Attachment: smime.p7s
Description: S/MIME cryptographic signature



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]