This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author temoto
Recipients IROV, amaury.forgeotdarc, temoto
Date 2011-01-11.20:51:56
SpamBayes Score 0.05797854
Marked as misclassified No
Message-id <1294779118.18.0.80550361061.issue10880@psf.upfronthosting.co.za>
In-reply-to
Content
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 ' ':
History
Date User Action Args
2011-01-11 20:51:58temotosetrecipients: + temoto, amaury.forgeotdarc, IROV
2011-01-11 20:51:58temotosetmessageid: <1294779118.18.0.80550361061.issue10880@psf.upfronthosting.co.za>
2011-01-11 20:51:56temotolinkissue10880 messages
2011-01-11 20:51:56temotocreate