fix for python3
rename
add common.TextReader
use TextReader
mod interface
obj