• Bouke Haarsma's avatar
    Fixed #21389 -- Accept most valid language codes · 2bab9d6d
    Bouke Haarsma yazdı
    By removing the 'supported' keyword from the detection methods and only relying
    on a cached settings.LANGUAGES, the speed of said methods has been improved;
    around 4x raw performance. This allows us to stop checking Python's incomplete
    list of locales, and rely on a less restrictive regular expression for
    accepting certain locales.
    
    HTTP Accept-Language is defined as being case-insensitive, based on this fact
    extra performance improvements have been made; it wouldn't make sense to
    check for case differences.
    2bab9d6d
Adı
Son kayıt (commit)
Son güncelleme
..
_ext Loading commit data...
_theme Loading commit data...
faq Loading commit data...
howto Loading commit data...
internals Loading commit data...
intro Loading commit data...
man Loading commit data...
misc Loading commit data...
ref Loading commit data...
releases Loading commit data...
topics Loading commit data...
Makefile Loading commit data...
README Loading commit data...
conf.py Loading commit data...
contents.txt Loading commit data...
glossary.txt Loading commit data...
index.txt Loading commit data...
make.bat Loading commit data...