refined python_join