News for hackers. Stuff that matters.
Re:Notset: A Do-Not-Care value for Python by gizmo686 on Saturday November 10, 2012 @10:09PM (#4768651)
Their is no way to tell that the example function is not a method of a Person class.

The code: "def update(person, name=None, age=None):"

is equivelent to the code: "def update(self, name=None, age=None):"

although if you chose to name the 'self' variable something other than 'self', you probably deserve to have problems.

Re:Notset: A Do-Not-Care value for Python by shmeedogg on Saturday November 10, 2012 @10:17PM (#4768664)
Agreed, I think the distinction between a bound method or a function is irrelevant here.

If we want explicit kwargs (a big 'if' since many of the suggestions in this thread are to give up on that idea), then we need some value to distinguish it from None.