Implement use of utils.ord_() for Python 3 compatibility