[Python-Dev] io module types (original) (raw)
Matt Joiner anacrolix at gmail.com
Wed Jan 25 06:32:43 CET 2012
- Previous message: [Python-Dev] Counting collisions w/ no need for a fatal exception
- Next message: [Python-Dev] distutils 'depends' management
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Can calls to the C types in the io module be made into module lookups more akin to how it would work were it written in Python? The C implementation for io_open invokes the C type objects for FileIO, and friends, instead of looking them up on the io or _io modules. This makes it difficult to subclass and/or modify the behaviour of those classes from Python.
http://hg.python.org/cpython/file/0bec943f6778/Modules/_io/_iomodule.c#l413
- Previous message: [Python-Dev] Counting collisions w/ no need for a fatal exception
- Next message: [Python-Dev] distutils 'depends' management
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]