saghul / pycares

Python interface for c-ares
https://pypi.org/project/pycares/
MIT License
165 stars 73 forks source link

core: fix parsing TXT records with invalid UTF-8 chars #57

Closed saghul closed 7 years ago

saghul commented 7 years ago

Return a the assembled bytes object instead. This also saves a bytes -> string conversion, which is a good thing.

Fixes: https://github.com/saghul/aiodns/issues/32