Message324251
> Could we revert abstract types in `typing` to respond True to `isinstance(..., type)` again?
No, making them classes will cause significant performance penalty (I don't remember numbers now, but importing `typing` may be twice slower). Plus this will re-introduce some bugs and inconsistencies.
> I don't want singledispatch, or any other library like it, to have to special-case typing.
I didn't propose this. I proposed to allow all objects that pretend to be types but are not actually instances of `type`. |
|
Date |
User |
Action |
Args |
2018-08-28 13:20:27 | levkivskyi | set | recipients:
+ levkivskyi, gvanrossum, rhettinger, lukasz.langa, Dutcho, enedil |
2018-08-28 13:20:27 | levkivskyi | set | messageid: <1535462427.44.0.56676864532.issue34498@psf.upfronthosting.co.za> |
2018-08-28 13:20:27 | levkivskyi | link | issue34498 messages |
2018-08-28 13:20:27 | levkivskyi | create | |
|