Message45276
Logged In: YES user_id=591851 This API is seriously broken. datetime.h says static PyDateTime_CAPI *PyDateTimeAPI; which means that including this file from two C (or C++) files leads to two independent PyDateTimeAPI symbols - calling PyDateTime_IMPORT in one file still leaves PyDateTimeAPI being 0 in the other! I double checked, and this happens with both C and C++. This needs to be revised so that there is indeed only one PyDateTimeAPI symbol, no matter how many files include that file. s/static/extern/ and defining "PyDateTime_CAPI *PyDateTimeAPI;" in one of the c files in python. | |
| Date | User | Action | Args | | 2007-08-23 15:31:58 | admin | link | issue876130 messages | | 2007-08-23 15:31:58 | admin | create | | |