Message316130
Yes, the comment needs to be updated, but as you said, no guaranties about undocumented dunder attribute. We tried to preserve as much of the API as possible in 3.7 after PEP 560, but something needs to be sacrificed (especially in the purely internal API you used).
You may instead use `typing_inspect` library on PyPI, I am not 100% sure it will help in your case, but it has `is_tuple_type` function that should work across several versions of `typing`. |
|
Date |
User |
Action |
Args |
2018-05-03 18:51:00 | levkivskyi | set | recipients:
+ levkivskyi, gvanrossum, apaszke |
2018-05-03 18:51:00 | levkivskyi | set | messageid: <1525373460.47.0.682650639539.issue33420@psf.upfronthosting.co.za> |
2018-05-03 18:51:00 | levkivskyi | link | issue33420 messages |
2018-05-03 18:51:00 | levkivskyi | create | |
|