Remove `new' module usage (deprecated since Python version 2.6)
Python 3 compatibility
Minor change