Jeff Robbins <je...@livedata.com> added the comment:

Editing one line in structseq.h seems to fix the issue.

I changed this

extern char* PyStructSequence_UnnamedField;

to

PyAPI_DATA(char*) PyStructSequence_UnnamedField;

rebuilt, and now my C extension can use PyStructSequence_UnnamedField.

----------
Added file: https://bugs.python.org/file48551/structseq.h

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue37886>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to