+2
−0
+15
−6
+6
−6
+5
−2
+11
−6
Loading
Replace support for file objects with a more generic support for any object providing a fileno() method and for file descriptors (integers). This also helps us to port to Python 3, where the previously used PyFile_ functions are not available anymore.