Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Python > Durability and backward compatibility over 10 years...

Thread Tools

Durability and backward compatibility over 10 years...

Philippe DAVID
Posts: n/a

I would like to use python to write some scripts for a system that will be used
for more than 10 years. My problem is the following:
In 10 years, if the OS evolves and ships with the latest stable version of
python, is there a chance for my 10 year old scripts to run on the new system ?
(I am using the following imports: os, sys, md5, getopt, socket, UserDict).
Currently we are using a RHEL linux, it includes python 2, 2.3 and 2.5. How old
is this python 2 ?

I don't need to be 100% sure that it will work, but avoiding upgrades of the
scripts would be a significant plus.

Otherwise, is it possible to do something similar like static compiling in C ? I
mean having one file, or a little set of files that contain my scripts and what
is needed from the python libs to run them ? This way I could ship the scripts
and some executables and be pretty much confident it will run even on new
systems for a long time.


Reply With Quote

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
HTML and Backward compatibility v4vijayakumar HTML 1 07-24-2007 08:49 AM
WPA2 backward compatibility with WPA: TKIP and/or AES? =?Utf-8?B?U2NvdCBCYWxmb3Vy?= Wireless Networking 0 10-05-2005 06:15 PM
Backward compatibility problem JimD Wireless Networking 3 11-28-2004 05:50 AM
Backward North America still...backward! Richard DVD Video 17 08-19-2004 04:55 AM
stdbool.h and backward compatibility Tristan Miller C Programming 1 12-13-2003 04:03 PM