This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author rhettinger
Recipients ncoghlan, python-dev, rhettinger, serhiy.storchaka
Date 2015-01-04.10:56:51
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1420369011.6.0.813477509788.issue23132@psf.upfronthosting.co.za>
In-reply-to
Content
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.
History
Date User Action Args
2015-01-04 10:56:51rhettingersetrecipients: + rhettinger, ncoghlan, python-dev, serhiy.storchaka
2015-01-04 10:56:51rhettingersetmessageid: <1420369011.6.0.813477509788.issue23132@psf.upfronthosting.co.za>
2015-01-04 10:56:51rhettingerlinkissue23132 messages
2015-01-04 10:56:51rhettingercreate