> type(foo)==type("") any reason we cannot just make this work, whether foo contains 8-bit or 16-bit data? btw, the preferred syntax is: isinstance(foo, type("")) I think it's okay only the latter works, for now (which can be solved by a simple and stupid hack, while waiting for a real type hierarchy...) Cheers /F