Johan Dahlin | 16 Jul 10:36
Favicon

ANNOUNCE: PyGObject 2.15.1

I am pleased to announce version 2.15.1 of the Python bindings for GObject.

The new release is available from ftp.gnome.org as and its mirrors
as soon as its synced correctly:

   http://download.gnome.org/sources/pygobject/2.15/

There are two new significant features in this release series, initial
bindings for GIO. Note that these are not complete, please report
missing API in Bugzilla so we know what people are missing.
Codegen has been moved from PyGTK and can now be used without
depending on GTK+, which should be useful for GObject based libraries.

What's new since PyGObject 2.15.1?
         - Rename pygtk-codegen-2.0 to pygobject-codegen-2.0 to avoid
           conflicting with PyGTK (Paul Pogonyshev)

Blurb:

GObject is a object system library used by GTK+ and GStreamer.

PyGObject provides a convenient wrapper for the GObject+ library for use
in Python programs, and takes care of many of the boring details such as
managing memory and type casting.  When combined with PyGTK, PyORBit and
gnome-python, it can be used to write full featured Gnome applications.

Like the GObject library itself PyGObject is licensed under the
GNU LGPL, so is suitable for use in both free software and proprietary
applications.  It is already in use in many applications ranging
from small single purpose scripts up to large full
(Continue reading)

Murray Cumming | 16 Jul 14:38

Re: ANNOUNCE: PyGObject 2.15.1

On Wed, 2008-07-16 at 10:38 +0200, Johan Dahlin wrote:
> I am pleased to announce version 2.15.1 of the Python bindings for GObject.
> 
> The new release is available from ftp.gnome.org as and its mirrors
> as soon as its synced correctly:
> 
>    http://download.gnome.org/sources/pygobject/2.15/
> 
> There are two new significant features in this release series, initial
> bindings for GIO. Note that these are not complete, please report
> missing API in Bugzilla so we know what people are missing.

Do you have some online documentation for this API?

This was a big job for the C++ bindings due to the strange parameter
orders, the many optional parameters, and the need to guess sensible
default paramter values. So I'm interested in how you did it for Python.

> Codegen has been moved from PyGTK and can now be used without
> depending on GTK+, which should be useful for GObject based libraries.
> 
> What's new since PyGObject 2.15.1?
>          - Rename pygtk-codegen-2.0 to pygobject-codegen-2.0 to avoid
>            conflicting with PyGTK (Paul Pogonyshev)
> 
> Blurb:
> 
> GObject is a object system library used by GTK+ and GStreamer.
> 
> PyGObject provides a convenient wrapper for the GObject+ library for use
(Continue reading)

Johan Dahlin | 16 Jul 16:22

Re: ANNOUNCE: PyGObject 2.15.1

Murray Cumming wrote:
> On Wed, 2008-07-16 at 10:38 +0200, Johan Dahlin wrote:
>> I am pleased to announce version 2.15.1 of the Python bindings for GObject.
>>
>> The new release is available from ftp.gnome.org as and its mirrors
>> as soon as its synced correctly:
>>
>>    http://download.gnome.org/sources/pygobject/2.15/
>>
>> There are two new significant features in this release series, initial
>> bindings for GIO. Note that these are not complete, please report
>> missing API in Bugzilla so we know what people are missing.
> 
> Do you have some online documentation for this API?

A guy showed up and started to write GIO documentation. I have not seen the 
initial work which he did, I'll let you know when I get my hands on it.

> This was a big job for the C++ bindings due to the strange parameter
> orders, the many optional parameters, and the need to guess sensible
> default paramter values. So I'm interested in how you did it for Python.

We're not binding the complete API, but from my head these are the 
differences between the python and the C api:
* Add default values, NULL/0 etc where it make sense
* Swap argument order for cancellable arguments, so we can have a default 
value of NULL. This makes it possible to do things such as: 
gfile.read_async(callback)
* gfile.read() uses a return value instead of out parameter, just like
the builtin read method on file.
(Continue reading)

Murray Cumming | 16 Jul 16:38

Re: ANNOUNCE: PyGObject 2.15.1

On Wed, 2008-07-16 at 16:22 +0200, Johan Dahlin wrote:
> Murray Cumming wrote:
> > On Wed, 2008-07-16 at 10:38 +0200, Johan Dahlin wrote:
> >> I am pleased to announce version 2.15.1 of the Python bindings for GObject.
> >>
> >> The new release is available from ftp.gnome.org as and its mirrors
> >> as soon as its synced correctly:
> >>
> >>    http://download.gnome.org/sources/pygobject/2.15/
> >>
> >> There are two new significant features in this release series, initial
> >> bindings for GIO. Note that these are not complete, please report
> >> missing API in Bugzilla so we know what people are missing.
> > 
> > Do you have some online documentation for this API?
> 
> A guy showed up and started to write GIO documentation. I have not seen the 
> initial work which he did, I'll let you know when I get my hands on it.

Surely you have some way to at least put the generated reference
documentation online, even if there are no human-generated descriptions?

> > This was a big job for the C++ bindings due to the strange parameter
> > orders, the many optional parameters, and the need to guess sensible
> > default paramter values. So I'm interested in how you did it for Python.
> 
> We're not binding the complete API, but from my head these are the 
> differences between the python and the C api:
> * Add default values, NULL/0 etc where it make sense
> * Swap argument order for cancellable arguments, so we can have a default 
(Continue reading)


Gmane