def redirectStdErr():
    sys.stderr = StringIO.StringIO()
This methods allow use to redirect messages sent to stderr into a string
dataset/ETHPy150Open baseblack/ReproWeb/3rdParty/python/fapws/base.py/redirectStdErr