[issue14565] is_cgi doesn't function as documented for cgi_directories

Pierre Quentel report at bugs.python.org
Tue May 8 08:22:49 CEST 2012


Pierre Quentel <pierre.quentel at gmail.com> added the comment:

Hi Glenn,

My proposal was not about optimization, I just thought that "if x==y" is simpler than "if len(x)==len(y) and x==y". Since we don't expect that there will be many directories in the list, I don't think optimizing is so important. But it doesn't matter to me really, the most important is to have the bug fixed

Can you propose a diff file so that the committers can review it ?

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue14565>
_______________________________________


More information about the Python-bugs-list mailing list