Aha, so that is the rationale.  Because the export table on unix is so
generous, we force ourselves to be generous on windows too?
I did some unix programming back in the day.  IRIX, actually (a Sys V 
derivative).  I'm pretty
sure we had to explicitly specify our .so exports.  But I might be mistaken.

K

> -----Original Message-----
> From: python-dev-bounces+kristjan=ccpgames....@python.org
> [mailto:python-dev-bounces+kristjan=ccpgames....@python.org] On
> Behalf Of "Martin v. Löwis"
> Sent: 24. apríl 2012 07:28
> To: Mark Shannon
> Cc: Python Dev

> Subject: Re: [Python-Dev] What do PyAPI_FUNC & PyAPI_DATA mean?
> Even though it's strictly needed on Windows, and strictly only for API that we
> do want to expose, we apply it to all API that is public on Unix (i.e. all Py*
> API), in order to avoid API being available on Unix but not on Windows.


_______________________________________________
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