Raymond Hettinger added the comment:

I don't see "creating new functions" as an advantage.  ABCs don't do this, nor 
does any other subclassing.   It seems like an attempt to create a false 
illusion about where the code resides.  This feels like feature creep with no 
real advantage that anyone cares about.  

In the non-templating version, the code is simple and it is clear where it 
came-from (i.e. a code inspector can find it).

IMO, the factory functions just make it harder to grok this code.  Please 
resist the urge invent new magic and stick with the simplest Python that gets 
the job done.

----------
assignee:  -> rhettinger

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue23132>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to