fixed unicode support
minor simplification of PyList support