Fix a Python 3 compatibility issue.

Always create the context for PY3 if not specified; this matches standard
Python library behaviour.