[Python-Dev] microsoft dlls apparently don't support data. implications: PyAPI functions required to access data across modules. (original) (raw)
Luke Kenneth Casson Leighton lkcl at lkcl.net
Sun Jan 25 17:33:54 CET 2009
- Previous message: [Python-Dev] microsoft dlls apparently don't support data. implications: PyAPI functions required to access data across modules.
- Next message: [Python-Dev] microsoft dlls apparently don't support data. implications: PyAPI functions required to access data across modules.
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
here is a starting list of data items which will require "getter" functions, found just by creating a posixmodule.pyd:
_Info: resolving _PyNoneStruct by linking to imp_PyNoneStruct (auto-import)
by no small coincidence, every single module with which we've had difficulties in the mingw port - _sre, thread, operator, locale, winreg, signal and have been forced to put them into python2N.dll - all of them happen to directly reference the _PyNone_Struct data variable.
surpriiise.
that means that the Py_None macro must call the "getter" function.
l.
- Previous message: [Python-Dev] microsoft dlls apparently don't support data. implications: PyAPI functions required to access data across modules.
- Next message: [Python-Dev] microsoft dlls apparently don't support data. implications: PyAPI functions required to access data across modules.
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]