Please consider adding partialclass to functools

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-... I ended up doing the same thing here: https://stackoverflow.com/questions/50143864/is-there-a-nice-way-to-partiall... Adding functools.partialclass would be similar to the addition of partialmethod in 3.4. Best, Neil

On Wed, May 02, 2018 at 02:46:09PM -0700, Neil Girdhar wrote:
I think that ought to be an uncontroversial enough change that it can be taken to the bug tracker. I think you should just raise a feature enhancement request for 3.8 on the tracker, and link to this thread on the mailing list archives in case some discussion follows. -- Steve

Done: https://bugs.python.org/issue33419 On Wed, May 2, 2018 at 10:42 PM Steven D'Aprano <steve@pearwood.info> wrote:

On 5/3/2018 2:34 PM, Neil Girdhar wrote:
I agree with Steven. Add the functools 'experts' as nosy. And add links to the SO items.
-- Terry Jan Reedy

On Wed, May 02, 2018 at 02:46:09PM -0700, Neil Girdhar wrote:
I think that ought to be an uncontroversial enough change that it can be taken to the bug tracker. I think you should just raise a feature enhancement request for 3.8 on the tracker, and link to this thread on the mailing list archives in case some discussion follows. -- Steve

Done: https://bugs.python.org/issue33419 On Wed, May 2, 2018 at 10:42 PM Steven D'Aprano <steve@pearwood.info> wrote:

On 5/3/2018 2:34 PM, Neil Girdhar wrote:
I agree with Steven. Add the functools 'experts' as nosy. And add links to the SO items.
-- Terry Jan Reedy
participants (3)
-
Neil Girdhar
-
Steven D'Aprano
-
Terry Reedy