Message306433
Hi,
$ python3
Python 3.5.3 (default, Jan 19 2017, 14:11:04)
>>> import abc
>>> class Foo(abc.ABC):
... pass
...
>>> Foo()
<__main__.Foo object at 0x7f253e6dcb38>
I think declaring a class as ABC without declaring any abstract method is an error.
I've tried searching if this was already discussed, but did not find it. Maybe it is related to https://bugs.python.org/issue9731
Cheers,
Álex |
|
| Date |
User |
Action |
Args |
| 2017-11-17 12:35:55 | Alex Corcoles | set | recipients:
+ Alex Corcoles |
| 2017-11-17 12:35:55 | Alex Corcoles | set | messageid: <1510922155.04.0.213398074469.issue32060@psf.upfronthosting.co.za> |
| 2017-11-17 12:35:54 | Alex Corcoles | link | issue32060 messages |
| 2017-11-17 12:35:54 | Alex Corcoles | create | |
|