Raymond Hettinger <rhettin...@users.sourceforge.net> added the comment:
[Benjamin Peterson] > I think we should just drop the Python implementations. There's no point > in trying to keep two implementations around. I disagree. I've found great value in keeping a pure python version around for things I've converted to C. The former serves as documentation, as a tool for other implementations (like PyPy IronPython, and Jython), and as a precise spec. The latter case is especially valuable (otherwise, the spec becomes whatever CPython happens to do). Also, I've found that once the two are in-sync, keeping it that way isn't hard. And, there effort for keeping them in-sync is a good way to find bugs. In the heapqmodule, we do a little magic in the test suite to make sure the tests are run against both. It's not hard. Raymond ---------- nosy: +rhettinger _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue4565> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com