support int(str, basbase)