Are *.pyd's universal?

Christian Heimes lists at cheimes.de
Thu Oct 29 20:41:48 EDT 2009


Lawrence D'Oliveiro schrieb:
> In message <mailman.2268.1256841007.2807.python-list at python.org>, Christian 
> Heimes wrote:
> 
>> On Linux and several other Unices the suffix is .so and not .pyd.
> 
> Why is that? Or conversely, why isn't it .dll under Windows?

.so is the common suffix of shared libraries on Linux. IIRC Python
extensions have .pyd on Mac OS X. On Windows it used to be .dll, too.
The suffix was changed to avoid issues with other dlls and name clashes.

Christian




More information about the Python-list mailing list