def softspace(file, newvalue):
    oldvalue = 0
    try:
        oldvalue = file.softspace
    except AttributeError:
        pass
    try:
        file.softspace = newvalue
    except (__HOLE__, TypeError):
        # "attribute-less object" or "read-only attributes"
        pass
    return oldvalue
dataset/ETHPy150Open babble/babble/include/jython/Lib/code.py/softspace