atlas: quick draft to enable Python 2/3 forward compatibility.