some uglyness in Python imho
Robin Becker
robin at jessikat.fsnet.co.uk
Sat Sep 9 10:24:25 EDT 2000
In article <8pdcoj$huq$1 at nnrp1.deja.com>, effbot at pythonware.com writes
....
>
>And who's gonna make sure the DEF file is always kept
>100% up to date?
>
>Earlier versions of Python tried this approach. Didn't
>work. Since most development is done on Unix, important
>functions were always missing from the Windows DLL's.
>
Agreed it's a nightmare to do by hand, but there are tools that can
create a .def file automatically. Tcl at least used that approach and it
seemed to work.
The macro method seems most fragile when building and linking together a
number of DLLs so if A imports B then during the build of A it has to
export itself and import B and that seems to require two types of
declaration and presumably two macros.
--
Robin Becker
More information about the Python-list
mailing list