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 vstinner
Recipients David.Edelsohn, dellair.jie, vstinner
Date 2013-11-21.02:26:28
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1385000788.6.0.791064277246.issue19661@psf.upfronthosting.co.za>
In-reply-to
Content
This warning is interesting:

 "/aix/Modules/_ssl.c", line 262.17: 1506-196 (W) Initialization between types "void*" and "struct _object*(*)(struct {...}*)" is not allowed.

It looks like the following line:

static PyType_Slot sslerror_type_slots[] = {
    {Py_tp_base, NULL},  /* Filled out in module init as it's not a constant */ <===== HERE =====
    {Py_tp_doc, SSLError_doc},
    {Py_tp_str, SSLError_str},
    {0, 0},
};

NULL is replaced in PyInit__ssl():

    sslerror_type_slots[0].pfunc = PyExc_OSError;
History
Date User Action Args
2013-11-21 02:26:28vstinnersetrecipients: + vstinner, David.Edelsohn, dellair.jie
2013-11-21 02:26:28vstinnersetmessageid: <1385000788.6.0.791064277246.issue19661@psf.upfronthosting.co.za>
2013-11-21 02:26:28vstinnerlinkissue19661 messages
2013-11-21 02:26:28vstinnercreate