Antoine Pitrou <pit...@free.fr> added the comment: > Is this still the state of the art? What about parsing overhead?
The io module has three modules: - io.py just imports everything from _io - _io is the default C implementation - _pyio.py must be imported explicitly to get the pure Python implementation => no parsing overhead for the default case of importing the C implementation > Is there direct regrtest support for this? You can take a look at test_io, test_memoryio or test_heapq for inspiration. ---------- nosy: +pitrou _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue7989> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com