Sorry, wasn't thinking. This
def func(x=_default):
if x = _default:
x = DEFAULT
should say
def func(x=_default):
if x is _default:
x = DEFAULT
Terry
Sorry, wasn't thinking. This
def func(x=_default):
if x = _default:
x = DEFAULT
should say
def func(x=_default):
if x is _default:
x = DEFAULT
Terry