please test the new PyPI (now in beta)

Steven D'Aprano steve+comp.lang.python at pearwood.info
Tue Mar 27 07:50:06 EDT 2018


On 2018年3月27日 22:25:44 +1100, Chris Angelico wrote:
> On Tue, Mar 27, 2018 at 9:49 PM, Steven D'Aprano
> <steve+comp.lang.python at pearwood.info> wrote:
>> As an extra bonus, even when searching is not reliant on Javascript,
>> mangling the text in the search box often is, so unless I'm extra
>> careful, whenever I want to search for (say) "aardvarks", I invariably
>> end up searching for "searaardvarksch".
>>>> At least the new PyPI search box is better than that. They get a point.
>>>>> "Mangling the text" should never be necessary. The HTML5 <input> tag has
> a 'placeholder' attribute for a reason.

You're assuming the page is using HTML5. I've used a lot of these that 
did it in Javascript, and didn't degrade gracefully if Javascript was 
disabled.
-- 
Steve


More information about the Python-list mailing list

AltStyle によって変換されたページ (->オリジナル) /