An alternative construction of wrapper for Python < 2.6