Closed twm closed 11 months ago
There are tons of unions of concrete types in the APIs because treq does tons of isinstance() checks internally. It's pretty gross.
isinstance()
This targets Python 3.8 for MyPy to match what Twisted uses, so the 3.7 build is busted.
Fixes #302.
Also if you're feeling reciprocal I could really use some reviews on:
There are tons of unions of concrete types in the APIs because treq does tons of
isinstance()
checks internally. It's pretty gross.This targets Python 3.8 for MyPy to match what Twisted uses, so the 3.7 build is busted.
Fixes #302.