Tags: farsightsec/pywdns
Tags
Merge pull request #18 from farsightsec/py3-only Py3 only
8000
Release 0.10.0 (#16) * Copyright updates, changelog updates for 0.10.0 release. * Python 3 compatibility This version includes a major version bump, Python 3 compatibility changes wrt to types (bytes, const), setup.py improvements, copyright updates and unit tests for all functions. Authored-by: Jeff Murphy <jcmurphy@jeffmurphy.org> Co-authored-by: Allan LeSage <alesage@fsi.io>
domain_to_str(): PyString_FromStringAndSize -> PyString_FromString this fixes a regression introduced in d04d391. wdns_domain_to_str() does not return the number of bytes written to dst, it returns the number of bytes read from src. dst is guaranteed to be NUL-terminated after a call to wdns_domain_to_str(), so switch back to using PyString_FromString() to convert dst to a python string.
PreviousNext