Re: [PATCH] python: remove more instances of sys.version_info

2020-05-29 Thread Philippe Mathieu-Daudé
On 5/14/20 5:52 AM, John Snow wrote: > We guarantee 3.5+ everywhere; remove more dead checks. In general, try > to avoid using version checks and instead prefer to attempt behavior > when possible. > > Signed-off-by: John Snow > --- > scripts/analyze-migration.py | 5 - >

Re: [PATCH] python: remove more instances of sys.version_info

2020-05-14 Thread Philippe Mathieu-Daudé
On 5/14/20 5:52 AM, John Snow wrote: We guarantee 3.5+ everywhere; remove more dead checks. In general, try to avoid using version checks and instead prefer to attempt behavior when possible. Signed-off-by: John Snow --- scripts/analyze-migration.py | 5 -

[PATCH] python: remove more instances of sys.version_info

2020-05-13 Thread John Snow
We guarantee 3.5+ everywhere; remove more dead checks. In general, try to avoid using version checks and instead prefer to attempt behavior when possible. Signed-off-by: John Snow --- scripts/analyze-migration.py | 5 - scripts/decodetree.py| 25