bug fix on dayslash for Python 3.x