A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from http://mail.python.org/pipermail/python-dev/2009-July/090430.html below:

[Python-Dev] PEP 376 - get_egginfo_files

[Python-Dev] PEP 376 - get_egginfo_files [Python-Dev] PEP 376 - get_egginfo_filesTarek Ziadé ziade.tarek at gmail.com
Sun Jul 5 20:37:45 CEST 2009
2009/7/5 P.J. Eby <pje at telecommunity.com>:
> At 05:26 PM 7/5/2009 +0100, Paul Moore wrote:
>>
>> def get_distribution(name):
>>    for d in get_distributions():
>>        if d.name == name:
>>            return d
>>    return None
>
> Btw, this is broken code anyway, because it's not handling
> case-insensitivity or name canonicalization.  (I've mentioned these issue
> previously on the distutils-sig.)

Yes thanks, we need to fix that, the case-insensitivity or name
canonicalization functions are present, just to be used
in that function too


>
>



-- 
Tarek Ziadé | http://ziade.org
More information about the Python-Dev mailing list

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4