Message289017
> Are typing.ChainMap and others actually abstract classes?
They are abstract classes in the sense that they are instances of abc.ABCMeta. However, for some reasons inspect checks __flags__ attribute. The latter probably reflects the fact that Deque etc. do not have abstract methods (they still need to be instances of abc.ABCMeta because they need to be generic).
I don't think that we need to change behaviour of inspect because it could be backward incompatible. I would either make changes to refleak or typing (adding few more cleanups in either place). |
|
Date |
User |
Action |
Args |
2017-03-05 16:03:27 | levkivskyi | set | recipients:
+ levkivskyi, gvanrossum, rhettinger, vstinner, stutzbach, serhiy.storchaka |
2017-03-05 16:03:27 | levkivskyi | set | messageid: <1488729807.21.0.757874039404.issue29638@psf.upfronthosting.co.za> |
2017-03-05 16:03:27 | levkivskyi | link | issue29638 messages |
2017-03-05 16:03:26 | levkivskyi | create | |
|