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 schmir
Recipients schmir
Date 2008-10-14.13:39:07
SpamBayes Score 0.0002280898
Marked as misclassified No
Message-id <1223991548.86.0.809237615427.issue4122@psf.upfronthosting.co.za>
In-reply-to
Content
unicodeobject.h contains the following code:

extern const unsigned char _Py_ascii_whitespace[];

#define Py_UNICODE_ISSPACE(ch) \
	((ch) < 128U ? _Py_ascii_whitespace[(ch)] : _PyUnicode_IsWhitespace(ch))

When linking a module which uses the Py_UNICODE_ISSPACE macro, I get an
error "undefined reference to _Py_ascii_whitespace" (on windows using
the mingw compiler, linux works without problems).

The symbol should most probably be exported with the PyAPI_DATA macro...

This happens with python 2.6.
History
Date User Action Args
2008-10-14 13:39:09schmirsetrecipients: + schmir
2008-10-14 13:39:08schmirsetmessageid: <1223991548.86.0.809237615427.issue4122@psf.upfronthosting.co.za>
2008-10-14 13:39:08schmirlinkissue4122 messages
2008-10-14 13:39:07schmircreate