Simplify get_el_sp.
Automatic Py3k merge for testing