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 zach.ware
Recipients SimonG, amaury.forgeotdarc, belopolsky, meador.inge, paul.moore, steve.dower, tim.golden, zach.ware
Date 2016-03-22.04:34:59
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1458621302.2.0.272532036768.issue26598@psf.upfronthosting.co.za>
In-reply-to
Content
I am also unable to reproduce.  I've attached the exact code I used, and built it with:

cl /I "C:\Program Files\Python35\include" embtest.c /link /libpath:"C:\Program Files\Python35\libs"

Output is the expected result of 'import ctypes;print(dir(ctypes))'.

Simon: If you run this code (including PyErr_Print();), what output do you get?  Are you sure that _ctypes.pyd is also available?  What happens if you import unittest instead of ctypes?  Or winsound?

Steve: I notice that the embeddable zip does not include 'include' or 'libs' dirs, was this deliberate?  I just noticed because it caused me to jump through an extra hoop to test this after I mistakenly downloaded the 32-bit embeddable zip on the first try, then had to go back for the 64-bit (or a 32-bit installer).  If it's deliberate (and preferably documented somewhere that I didn't check for), that's fine; I'm just curious.
History
Date User Action Args
2016-03-22 04:35:02zach.waresetrecipients: + zach.ware, paul.moore, amaury.forgeotdarc, belopolsky, tim.golden, meador.inge, steve.dower, SimonG
2016-03-22 04:35:02zach.waresetmessageid: <1458621302.2.0.272532036768.issue26598@psf.upfronthosting.co.za>
2016-03-22 04:35:02zach.warelinkissue26598 messages
2016-03-22 04:34:59zach.warecreate