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 dominic108
Recipients dominic108, eric.smith, r.david.murray
Date 2017-04-01.05:40:18
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1491025218.83.0.59957529419.issue29947@psf.upfronthosting.co.za>
In-reply-to
Content
I am a bit ashamed that I missed that. Still, the intent in the current code, the name of the parameter, the examples, etc. is that we pass the handler class. This is more than its __init__ function and less than a generic factory  method. An important difference, which could become important, is that with a factory the handler type could depend on the request.  As pointed out by Eric, passing the class was perhaps the intent in the early days. Now, perhaps many use it differently and pass a factory method, not a class, but it still appears as a hack that does not respect the intent. One could legitimately worry that this hack will not be supported in future versions, because it is not documented.
History
Date User Action Args
2017-04-01 05:40:18dominic108setrecipients: + dominic108, eric.smith, r.david.murray
2017-04-01 05:40:18dominic108setmessageid: <1491025218.83.0.59957529419.issue29947@psf.upfronthosting.co.za>
2017-04-01 05:40:18dominic108linkissue29947 messages
2017-04-01 05:40:18dominic108create