Hello,

This bug  [0] is due  to swig upgrade.  Actually, pyme builds  fine with
swig <  1.3.28. In swig 1.3.28,  there is a new  option, namely 'match',
for typemaps.

I have attached the patch which  fixes this bug. I have built and tested
pyme successfully using this patch.  Could you please make an upgrade of
pyme for  swig 1.3.28 ? Thanks  a lot to  Manuel Menal for his  help for
tracking the bug.

Regards,
Arnaud Fontaine

[0] http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=358648

--- gpgme.i.old 2006-04-02 16:23:02.000000000 +0200
+++ gpgme.i     2006-04-02 15:43:27.000000000 +0200
@@ -23,7 +23,7 @@
 
 // Allow use of None for strings.
 
-%typemap(python,in) const char * {
+%typemap(match="in") const char * {
   if ($input == Py_None)
     $1 = NULL;
   else if (PyString_Check($input))

Reply via email to