New submission from Geoff Clements: I have used ctypes to create a binding to libdvdread but I am getting some bad values back from libdvdread when using python. I have used ctypeslib to generate the python bindings, i.e. h2xml and xml2py and, as far as I can tell, the bind is a faithful representation of the h files.
In order to demonstrate this I have created a small C program and a small Python3 program both doing the same thing. When run they should produce the same output but they do not. In order to run these you need a DVD inserted in a DVD drive, I've hard-coded the device path to the DVD drive as /dev/sr0 in both programs so this may need to be changed. ---------- components: ctypes files: dvdtest.tar.gz messages: 230453 nosy: Geoff.Clements priority: normal severity: normal status: open title: ctypes: Differing results between Python and C. versions: Python 3.4 Added file: http://bugs.python.org/file37101/dvdtest.tar.gz _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue22781> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com