Sergey Shepelev <temo...@gmail.com> added the comment:

Here's patch against 2.6


--- a/Python/modsupport.c       Tue Aug 24 18:19:58 2010 +0200
+++ b/Python/modsupport.c       Tue Jan 11 23:50:40 2011 +0300
@@ -459,6 +459,16 @@
             return v;
         }
 
+        case '?':
+        {
+            int n;
+            n = va_arg(*p_va, int);
+            if (n == 0)
+                Py_RETURN_FALSE;
+            else
+                Py_RETURN_TRUE;
+        }
+
         case ':':
         case ',':
         case ' ':

----------
nosy: +temoto

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue10880>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to