Antoine Pitrou added the comment:

I think I'm -1 to run doctests as part of regrtest. Documentation examples are 
meant to be read, not executed: it is fine for them to omit unimportant 
information or trivial boilerplate (such as imports).

Any complication in the way doc examples must be written will deter us from 
actually writing examples.

Furthermore, spreading unit tests in the doc files instead of Lib/test files 
will make maintenance of tests more tedious as well.

----------
nosy: +pitrou

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue15629>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to