twisted / treq

Python requests like API built on top of Twisted's HTTP client.
Other
587 stars 140 forks source link

drop support for py2.7 via application of pyupgrade #292

Closed graingert closed 4 years ago

graingert commented 4 years ago

@twm this is just a demo of what a pyupgraded version would look like when you want to drop py2.7 support

graingert commented 4 years ago

@twm I'd recommend merging 5ecb90f though

twm commented 4 years ago

Hi @graingert,

I'm afraid that I'm not interested in this sort of change-for-change's-sake PRs. They consume my very limited maintainer bandwidth and risk regressions (as occurred in #290) for no user-visible gain. I welcome minor syntactic updates as part of other improvements, but otherwise I'd prefer to leave valid syntax as it is.