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 amaury.forgeotdarc
Recipients amaury.forgeotdarc, jaraco, jnoller, theller
Date 2009-02-17.00:27:40
SpamBayes Score 3.6706704e-05
Marked as misclassified No
Message-id <1234830482.01.0.305739824643.issue5049@psf.upfronthosting.co.za>
In-reply-to
Content
the "case 'u':" in Module/_ctypes/_ctypes.c (function SimpleType_new)
seems misplaced: u is a scalar type, not a pointer.
Maybe a 's' was intended instead?

Index: Modules/_ctypes/_ctypes.c
===================================================================
--- Modules/_ctypes/_ctypes.c   (revision 68667)
+++ Modules/_ctypes/_ctypes.c   (working copy)
@@ -1951,7 +1951,7 @@
                        ml = &c_void_p_method;
                        stgdict->flags |= TYPEFLAG_ISPOINTER;
                        break;
-               case 'u':
+               case 's':
                case 'X':
                case 'O':
                        ml = NULL;
History
Date User Action Args
2009-02-17 00:28:02amaury.forgeotdarcsetrecipients: + amaury.forgeotdarc, theller, jaraco, jnoller
2009-02-17 00:28:02amaury.forgeotdarcsetmessageid: <1234830482.01.0.305739824643.issue5049@psf.upfronthosting.co.za>
2009-02-17 00:27:40amaury.forgeotdarclinkissue5049 messages
2009-02-17 00:27:40amaury.forgeotdarccreate