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 dholth
Recipients alexis, dholth, eric.araujo, tarek
Date 2011-03-21.17:31:45
SpamBayes Score 5.8618934e-07
Marked as misclassified No
Message-id <1300728706.6.0.163969255982.issue11624@psf.upfronthosting.co.za>
In-reply-to
Content
I would like to be able to use distutils to compile a shared library with a different set of exported symbols than the default.

In Windows, distutils only exports certain symbols needed for the Python module initialization API when it compiles a shared module. It does this by passing a file to the C compiler that lists those symbols. In Linux all symbols are exported/visible by default because that's just how the linker has traditionally worked.

I would like to be able to override or augment this list of symbols. Probably by just providing my own 'symbols to export' file.

distutils is definitely the poor man's compiler frontend but this feature would make it easier for me to support Windows (Python's secret shame.)
History
Date User Action Args
2011-03-21 17:31:46dholthsetrecipients: + dholth, tarek, eric.araujo, alexis
2011-03-21 17:31:46dholthsetmessageid: <1300728706.6.0.163969255982.issue11624@psf.upfronthosting.co.za>
2011-03-21 17:31:46dholthlinkissue11624 messages
2011-03-21 17:31:45dholthcreate