PyTables/PyTables — pull request #188 by takluyver (2012-09-30 17:09:21+00:00)
Title: Py3 work

This probably shouldn't be merged as it is, but bits of it might be useful. I just set out to fix errors with installing and importing pytables on Python 3. With these changes it imports, but the test suite still segfaults.

In particular, I converted lots of the `PyString*` functions in Cython code to `PyBytes*`, although I suspect some of it will need to handle unicode on Python 3. I was more careful in the pure C code, using the preprocessor to get the different APIs. I'm not so familiar with Cython, so I don't know what the best way to abstract away the difference is.