Handling of Python files is different in Python 3, to the point that it is unwieldy to try to write native C API calls in places that need to use files. A new type of python object PythonFile is created to wrap these implementation details, and the various swig typemaps are updated to use this wrapper instead of the native API calls.
Details
Details
Diff Detail
Diff Detail