according to the wikipedia entry on dlls, dlls do not support data,
only functions.  which would explain two things:
1) why certain modules are forcibly linked into pythonNN.dll
2) why attempts to move them out of pythonNN.dll cause runtime crashes.
so i will continue the experiment, and remove all the "data"
references from the pythonNN.def that i added, and deal with the
knock-on consequences, which will involve adding "get" functions.

for example, PyAPI_FUNC(char*) _PyStructSequence_Get_UnnamedField(void)

use of such functions will allow various bits and pieces - such as
PyStructSequence_UnnamedField - to be converted back to static in
their respective c files.

any objections, speak now, because this will involve quite a bit of work.

l.
_______________________________________________
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com

Reply via email to