26 Jan
2007
26 Jan
'07
11:30 p.m.
"Jan Kanis"
I hope we agree that the problem we're trying to solve is that while
def f(inlist=None): inlist = inlist if (inlist is not None) else []
works in the current python, it's non-intuitive and ugly, and it would be nice to have python do 'the right thing' if we can find a nice way to make it do that.
I'm going to have to disagree on the 'non-intuitive and ugly' claim. We are just going to have to agree to disagree. - Josiah