Raymond Hettinger mentions this briefly in his original ActiveState recipe:
Thanks to Peter Kovac pointing-out deficiencies in the keyword argument checking. Because of his comments, the recipe has evolved to its current exec-style where we get all of Python's high-speed builtin argument checking for free. The new style of building and exec-ing a template made both the
__new__
and__repr__
functions faster and cleaner than in previous versions of this recipe.