Serhiy Storchaka added the comment:

I added comments on Rietveld.

Yet one thing. For now the html module is very simple and has no dependencies. 
The patch adds an import of re and html.escapes and relative heavy re.compile 
operations. Due to the fact that the html module is implicitly imported when 
any of the html submodules is imported, this can affect a code which doesn't 
use unescape(). However a cure for this problem (lazy import and 
initialization) may be worse than the problem itself, perhaps we should live 
with it.

----------
nosy: +serhiy.storchaka

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

Reply via email to