From Python on Solaris to Python on LINUX

Cameron Simpson cs at zip.com.au
Fri Sep 16 00:54:40 CEST 2011


On 15Sep2011 17:30, Genevi�ve Diagorn <Genevieve.Diagorn at open-groupe.com> wrote:
| I work on projects developed in Python 2.3 on Solaris. The customer asks us
| to pass on LINUX in a recent version of Python.
| 
| Is it someone has already realized this modification? What are the traps to
| be avoided?
| 
| Is it a long and difficult phase?

Aside from the very minor things mentioned by others, only two things
occur to me:

  - if you use the struct module and you're moving from SPARC to Intel the
    endianness of some things may change

  - if you call external shell commands, there are (usually minor)
    differences between the Solaris and GNU toolsets

Neither seems likely to be a big problem and of course both are "outside
Python" in a sense. Cheers,
-- 
Cameron Simpson <cs at zip.com.au> DoD#743
http://www.cskk.ezoshosting.com/cs/

Do not taunt Happy Fun Coder.



More information about the Python-list mailing list