Essentially, functools.partial is almost good enough for specifying some of 
the parameters of an object's initializer, but the partial object doesn't 
respond properly to issubclass.  Please consider adding something like 
partialclass described here:

https://stackoverflow.com/questions/38911146/python-equivalent-of-functools-partial-for-a-class-constructor

I ended up doing the same thing here:

https://stackoverflow.com/questions/50143864/is-there-a-nice-way-to-partially-bind-class-parameters-in-python/50143893#50143893

Adding functools.partialclass would be similar to the addition of 
partialmethod in 3.4.

Best,

Neil
_______________________________________________
Python-ideas mailing list
Python-ideas@python.org
https://mail.python.org/mailman/listinfo/python-ideas
Code of Conduct: http://python.org/psf/codeofconduct/

Reply via email to