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 mifik
Recipients dstufft, eric.araujo, mifik, paul.moore, steve.dower, tim.golden, zach.ware
Date 2016-12-04.12:14:37
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1480853677.86.0.114330805471.issue28865@psf.upfronthosting.co.za>
In-reply-to
Content
Windows 10 x64
Python 3.4, 3.5, Anaconda3 4.2  - x64
SWIG 3.0.8, 3.0.10
MinGW32/64  - TDM-GCC-64 5.1.0-2, x86_64-5.3.0-win32-sjlj-rt_v4-rev0, x86_64-6.2.0-win32-sjlj-rt_v5-rev1  

The code in C compiles fine, there are no warnings. But then, in the finished module, do not work C-API functions such as:

PyList_Check
PyDict_Check
PyDict_Next

PyObject *result = PyList_New(1);
printf("%i \n", PyList_Check(result));

Check always returns zero, even if the object is created in the previous line.
But PyMapping_Check works fine
History
Date User Action Args
2016-12-04 12:14:37mifiksetrecipients: + mifik, paul.moore, tim.golden, eric.araujo, zach.ware, steve.dower, dstufft
2016-12-04 12:14:37mifiksetmessageid: <1480853677.86.0.114330805471.issue28865@psf.upfronthosting.co.za>
2016-12-04 12:14:37mifiklinkissue28865 messages
2016-12-04 12:14:37mifikcreate