[issue12348] case sensitivity in packaging.pypi.simple.Crawler

Filip Gruszczyński report at bugs.python.org
Fri Jun 17 21:07:50 CEST 2011


Filip Gruszczyński <gruszczy at gmail.com> added the comment:

When I started looking at this I noticed following behaviour:

>>> from packaging.pypi.simple import Crawler
>>> client = Crawler()
>>> client.get_releases('webob')
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/home/gruszczy/Projects/python/Lib/packaging/pypi/simple.py", line 192, in get_releases
    self._process_index_page(predicate.name)
packaging.pypi.errors.ProjectNotFound
>>> client.search_projects('webob')
[<Project "WebOb">, <Project "webob_view">, <Project "yafowil.webob">]
>>> client.get_releases('webob')
<Project "WebOb">

Shouldn't this be made consistent?

----------
nosy: +gruszczy

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


More information about the Python-bugs-list mailing list