can any one help me to create safearray in python

Python has list, tuple, and array containers.
What is your definition of a safearray?

You can easily write a a small container class inheriting from the list container and adding your safe requirements.