trac-id__10276 10276
type__defect defect
reporter__clokep clokep
priority__low low
milestone__None None
branch__
branch_author__
status__new new
resolution__None None
component__core core
keywords__None None
time__1637067738920446 1637067738920446
changetime__1637067738920446 1637067738920446
version__None None
owner__None None
I believe the type hints on
IHostnameResolver.resolveHostNameare incorrect in two places:addressTypesneeds to be an iterable ofIAddresstypes, not instances. (I don't think it needs to be a sequence, but not 100% sure on that.)IResolutionReceiver(one of the input arguments), but at least theGAIResolverimplementation returns an instance ofIHostResolution. So something funky is going on.Found while adding type hints to Synapse: matrix-org/synapse#11328
Searchable metadata