anatoly techtonik <techto...@gmail.com> added the comment:

About importance to have a maintainable pure libraries and speedups for them. 
Believe it or not, but the only reason why Python 2.x did not get RFC 3339 
implementation in standard library is that datetime module is in C. I hope 
everybody understands the importance of RFC 3339 nowadays.

About maintenance of C vs Python modules. Mercurial and Dulwich have notion of 
optional "speedups" for pure Python modules and it is a way to go for standard 
reference Python implementation. Such separation serves these projects very 
well, especially on Windows with no installed compiler to be able to insert 
debug statements into C code.

To easy maintenance I can see that only critical sections should be delegated 
to speedups, there should be 100% test coverage for both execution routes and 
performance benchmarks out of the box (i.e. developers should not think about 
how to compare code coverage or measure performance).

----------

_______________________________________
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

Reply via email to