[issue11624] distutils should support a custom list of exported symbols for Windows dlls.

2012-07-13 Thread Daniel Holth

Daniel Holth dho...@fastmail.fm added the comment:

I must have missed the export_symbols keyword argument to Extension(), or it 
was added.

--
resolution:  - invalid
status: open - closed

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11624
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue11624] distutils should support a custom list of exported symbols for Windows dlls.

2011-03-21 Thread dholth

New submission from dholth dho...@fastmail.fm:

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.)

--
assignee: tarek
components: Distutils2
messages: 131677
nosy: alexis, dholth, eric.araujo, tarek
priority: normal
severity: normal
status: open
title: distutils should support a custom list of exported symbols for Windows 
dlls.
type: feature request
versions: Python 3.3

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11624
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue11624] distutils should support a custom list of exported symbols for Windows dlls.

2011-03-21 Thread Éric Araujo

Éric Araujo mer...@netwok.org added the comment:

Would you like to work on a patch?

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11624
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com