pytdb: Port to Python 3
authorPetr Viktorin <pviktori@redhat.com>
Fri, 22 May 2015 15:10:34 +0000 (17:10 +0200)
committerAndreas Schneider <asn@cryptomilk.org>
Tue, 21 Jul 2015 17:04:15 +0000 (19:04 +0200)
commit11eb2e4e3d92cd41236f81ded67735ba9c0ce31b
tree60d61f039453536577c415464af104e1e1e40236
parentd2552311f1d4962d0dcea0788b1db889d3da7647
pytdb: Port to Python 3

- Use bytes for all data, text strings for repr()
- Use PyLong instead of PyInt on py3
- Use new module initialization
- Update tests
- Run tests in "make test"

Signed-off-by: Petr Viktorin <pviktori@redhat.com>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
lib/tdb/pytdb.c
lib/tdb/python/tests/simple.py
lib/tdb/wscript