On Tue, Nov 6, 2018 at 8:09 AM Victor Stinner <vstin...@redhat.com> wrote: > I don't understand the difference between Py_BUILD_CORE and > Py_BUILD_CORE_BUILTIN defines. Do we need to have two different > defines? Can't we compile _json with Py_BUILD_CORE? > > [snip] > > Is it a problem of the visibility/scope of symbols in the python DLL on > Windows?
Yep. I added Py_BUILD_CORE_BUILTIN as a workaround for building on Windows. For extension modules on Windows there's a conflict between Py_BUILD_CORE and some of the Windows symbols that get defined. My Windows build knowledge is pretty limited so that's about as far as I can go. :) Steve might be able to give you more info. -eric _______________________________________________ Python-Dev mailing list Python-Dev@python.org https://mail.python.org/mailman/listinfo/python-dev Unsubscribe: https://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com