Hi All.

The new Python release have an interesting feature regarding extensions.


they want to support one lib directory for multiple python versions.

Python compiles its libraries, and each compilation is 
interpreter-version-specific,

so in the previous release, they made sure the the compiled files are 
added the
interpreter version.
mylib.py => mylib-32.pyc
that way each interpreter get its own files.

now they took it one step farther: the dynamic libraries compiled for 
python
(like Perl's XS) include the version. (and some compiling flag)
so instead of mydll.so, they will have mydll.py32u.so

I'm not sure how they manage the problem of compiling the DLLs for all the
python versions that exists on the machine.

Anyway, very nice idea.

Shmuel.
_______________________________________________
Perl mailing list
[email protected]
http://mail.perl.org.il/mailman/listinfo/perl

Reply via email to