R. David Murray <rdmur...@bitdance.com> added the comment:

If I understand correctly, the problem with doing an import in a function is 
that there is an import lock which can cause various problem depending on how 
an application imports various things.  I've added Brett to the nosy list to 
see if he has a definitive opinion on this.

Note that this code is not duplicated in the py3 codebase.  It is probably best 
to just live with the code duplication in 2.7.  People may be importing unquote 
from the "wrong" module, and removing it would break their code.

----------
nosy: +brett.cannon, r.david.murray

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

Reply via email to