Package: python-gobject
Version: 2.14.2-1
Severity: normal
Tags: patch
When doing a call to get_buffer_size() on a IOChannel object
one gets:
RuntimeError: more argument specifiers than keyword list entries
this is because of a typo that looks like a copy/paste error
from set_buffer_size() in pygiochannel.c
patch is attached that fixes this problem
-- System Information:
Debian Release: 5.0.1
APT prefers stable
APT policy: (500, 'stable')
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.26-1-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Versions of packages python-gobject depends on:
ii libc6 2.7-18 GNU C Library: Shared libraries
ii libffi5 3.0.7-1 Foreign Function Interface library
ii libglib2.0-0 2.16.6-1+lenny1 The GLib library of C routines
ii python 2.5.2-3 An interactive high-level object-o
ii python-support 0.8.4 automated rebuilding support for P
ii python2.5 2.5.2-15 An interactive high-level object-o
python-gobject recommends no packages.
Versions of packages python-gobject suggests:
pn python-gobject-dbg <none> (no description available)
-- no debconf information
--- gobject/pygiochannel.c.orig 2009-05-13 05:04:44.000000000 +0200
+++ gobject/pygiochannel.c 2009-05-13 05:04:58.000000000 +0200
@@ -111,7 +111,7 @@
static char *kwlist[] = { NULL };
int size;
- if (!PyArg_ParseTupleAndKeywords(args, kwargs, "i:gobject.IOChannel.get_buffer_size", kwlist))
+ if (!PyArg_ParseTupleAndKeywords(args, kwargs, ":gobject.IOChannel.get_buffer_size", kwlist))
return NULL;
size = g_io_channel_get_buffer_size(self->channel);