[New-bugs-announce] [issue26816] Make concurrent.futures.Executor an abc

Xiang Zhang report at bugs.python.org
Thu Apr 21 07:01:52 EDT 2016

New submission from Xiang Zhang:

The documentation tells that concurrent.futures.Executor is an abstract class. Also PEP3148 tells so and says concurrent.futures.Executor.submit is an abstract method and must be implemented by Executor subclasses. I think using abc.ABCMeta here is a good choice.

I propose a patch. The patch also remove some unnecessary object base class.

files: make_concurrent_futures_Executor_an_abc.patch
keywords: patch
messages: 263911
nosy: bquinlan, xiang.zhang
priority: normal
severity: normal
status: open
title: Make concurrent.futures.Executor an abc
Added file: http://bugs.python.org/file42551/make_concurrent_futures_Executor_an_abc.patch

Python tracker <report at bugs.python.org>

More information about the New-bugs-announce mailing list