why not to keep previous function (and all the comments/docstring) and just extend with python3-specific kwargs handling?