Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Python: Dev

PyPI front page

 

 

Python dev RSS feed   Index | Next | Previous | View Threaded


solipsis at pitrou

Nov 12, 2009, 4:52 PM

Post #1 of 5 (627 views)
Permalink
PyPI front page

Ben Finney <ben+python <at> benfinney.id.au> writes:
>
> There's a problem with the poll's placement: on the front page of the
> PyPI website.

Speaking of which, why is it that http://pypi.python.org/pypi and
http://pypi.python.org/pypi/ (note the ending slash) return different contents
(the latter being very voluminous)? I always mistake one for the other when
entering the URL directly.

cheers

Antoine.


_______________________________________________
Python-Dev mailing list
Python-Dev [at] python
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: http://mail.python.org/mailman/options/python-dev/list-python-dev%40lists.gossamer-threads.com


ianb at colorstudy

Nov 12, 2009, 5:33 PM

Post #2 of 5 (592 views)
Permalink
Re: PyPI front page [In reply to]

On Thu, Nov 12, 2009 at 7:52 PM, Antoine Pitrou <solipsis [at] pitrou> wrote:

> Ben Finney <ben+python <at> benfinney.id.au> writes:
> >
> > There's a problem with the poll's placement: on the front page of the
> > PyPI website.
>
> Speaking of which, why is it that http://pypi.python.org/pypi and
> http://pypi.python.org/pypi/ (note the ending slash) return different
> contents
> (the latter being very voluminous)? I always mistake one for the other when
> entering the URL directly.
>

easy_install replied on the behavior of /pypi/ (it uses the long list to do
case-insensitive searches). Someone changed it, easy_install broke, and a
compromise was to keep /pypi/ the way it was (but not /pypi).

Probably this could be removed, as the /simple/ index is already
case-insensitive, so easy_install shouldn't have to hit /pypi/ at all.

--
Ian Bicking | http://blog.ianbicking.org |
http://topplabs.org/civichacker


martin at v

Nov 12, 2009, 11:35 PM

Post #3 of 5 (590 views)
Permalink
Re: PyPI front page [In reply to]

> Ben Finney <ben+python <at> benfinney.id.au> writes:
>> There's a problem with the poll's placement: on the front page of the
>> PyPI website.
>
> Speaking of which, why is it that http://pypi.python.org/pypi and
> http://pypi.python.org/pypi/ (note the ending slash) return different contents
> (the latter being very voluminous)? I always mistake one for the other when
> entering the URL directly.

As Ian says: setuptools relies on it. It's part of the specification of
the package index.

Regards,
Martin
_______________________________________________
Python-Dev mailing list
Python-Dev [at] python
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: http://mail.python.org/mailman/options/python-dev/list-python-dev%40lists.gossamer-threads.com


techtonik at gmail

Nov 13, 2009, 8:14 AM

Post #4 of 5 (580 views)
Permalink
Re: PyPI front page [In reply to]

On Fri, Nov 13, 2009 at 9:35 AM, "Martin v. Löwis" <martin [at] v> wrote:
>> Ben Finney <ben+python <at> benfinney.id.au> writes:
>>> There's a problem with the poll's placement: on the front page of the
>>> PyPI website.
>>
>> Speaking of which, why is it that http://pypi.python.org/pypi and
>> http://pypi.python.org/pypi/ (note the ending slash) return different contents
>> (the latter being very voluminous)? I always mistake one for the other when
>> entering the URL directly.
>
> As Ian says: setuptools relies on it. It's part of the specification of
> the package index.

Where is that specification? Does it require only
http://pypi.python.org/pypi/ to be voluminous or also
http://pypi.python.org/pypi to provide some search interface for
automatic processing? There should be no problem in moving search page
to the root http://pypi.python.org/ if spec is silent about the
latter.

--
anatoly t.
_______________________________________________
Python-Dev mailing list
Python-Dev [at] python
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: http://mail.python.org/mailman/options/python-dev/list-python-dev%40lists.gossamer-threads.com


pje at telecommunity

Nov 14, 2009, 6:39 AM

Post #5 of 5 (562 views)
Permalink
Re: PyPI front page [In reply to]

At 08:33 PM 11/12/2009 -0500, Ian Bicking wrote:
>On Thu, Nov 12, 2009 at 7:52 PM, Antoine Pitrou
><<mailto:solipsis [at] pitrou>solipsis [at] pitrou> wrote:
>Ben Finney <ben+python <at> <http://benfinney.id.au>benfinney.id.au> writes:
> >
> > There's a problem with the poll's placement: on the front page of the
> > PyPI website.
>
>Speaking of which, why is it that
><http://pypi.python.org/pypi>http://pypi.python.org/pypi and
><http://pypi.python.org/pypi/>http://pypi.python.org/pypi/ (note the
>ending slash) return different contents
>(the latter being very voluminous)? I always mistake one for the other when
>entering the URL directly.
>
>
>easy_install replied on the behavior of /pypi/ (it uses the long
>list to do case-insensitive searches). Someone changed it,
>easy_install broke, and a compromise was to keep /pypi/ the way it
>was (but not /pypi).
>
>Probably this could be removed, as the /simple/ index is already
>case-insensitive, so easy_install shouldn't have to hit /pypi/ at all.

This was changed over a year ago; easy_install *does* use /simple by
default. I would guess enough people are upgraded by now that PyPI
need no longer continue to support it.

_______________________________________________
Python-Dev mailing list
Python-Dev [at] python
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: http://mail.python.org/mailman/options/python-dev/list-python-dev%40lists.gossamer-threads.com

Python dev RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.