saghul / pycares

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

core: CPython implementation TTL parsing issue #56

Closed ghost closed 7 years ago

ghost commented 7 years ago

CPython implementation was interpreting the TTL data as a float, returning invalid data. CFFI implementation had no problems.

Also improved unit test to verify the types and constraints of the TTL data type

saghul commented 7 years ago

Good catch, cheers!