Message130144
| Author |
twouters |
| Recipients |
twouters |
| Date |
2011-03-06.06:14:01 |
| SpamBayes Score |
8.0572363e-07 |
| Marked as misclassified |
No |
| Message-id |
<1299392042.51.0.448268863102.issue11410@psf.upfronthosting.co.za> |
| In-reply-to |
|
| Content |
This patch adds support for the GCC visibility attributes to the PyAPI_* macros (currently only used for Windows.) GCC's default visibility is 'public', but can be changed to 'hidden' with the '-fvisibility=hidden' argument; see http://gcc.gnu.org/wiki/Visibility. This patch does not make the build use that, it merely makes Python function correctly when the default visibility *is* changed. (The benefit of building Python with -fvisibility=hidden is very small, as it causes only a handful of symbols to not be exported. When embedding Python, though, this can make a lot of difference.)
The patch also fixes a few modules that don't use PyMODINIT_FUNC for their module-init function definitions, like they should. |
|
History
|
|---|
| Date |
User |
Action |
Args |
| 2011-03-06 06:14:09 | twouters | unlink | issue11410 messages |
| 2011-03-06 06:14:02 | twouters | set | recipients:
+ twouters |
| 2011-03-06 06:14:02 | twouters | set | messageid: <1299392042.51.0.448268863102.issue11410@psf.upfronthosting.co.za> |
| 2011-03-06 06:14:01 | twouters | link | issue11410 messages |
| 2011-03-06 06:14:01 | twouters | create | |
|