Should it be possible to subclass TextIO without implementing all abstract methods? #112
Labels
resolution: out of scope
The idea or discussion was out of scope for this repository
topic: feature
Discussions about new features for Python's type annotations
Currently this fails:
The instantiation fails with
TypeError: Can't instantiate abstract class MyTextFile with abstract methods <long list of methods>
.Mark Shannon pointed this out. I have to think about whether this is important to support; a simple work-around is to use TextIO.register() instead:
The text was updated successfully, but these errors were encountered: