Skip to content
Myr

Merge branch '7.x'

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by David Lord · committed by David Lord · parents 11abf2b, 6245807 · Browse files · 3 files+7 added−1 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

3 files+7 added−1 removed

  • other:+7 added−1 removed

3 files+7 added−1 removed

modified:click/_compat.py+2 added-1 removed
6 unmodified lines
789PY2 = sys.version_info[0] == 210CYGWIN = sys.platform.startswith('cygwin')11MSYS2 = sys.platform.startswith('win') and ('GCC' in sys.version)12# Determine local App Engine environment, per Google's own suggestion13APP_ENGINE = ('APPENGINE_RUNTIME' in os.environ and14 'Development/' in os.environ['SERVER_SOFTWARE'])14WIN = sys.platform.startswith('win') and not APP_ENGINE15WIN = sys.platform.startswith('win') and not APP_ENGINE and not MSYS216DEFAULT_COLUMNS = 80171819_ansi_re = re.compile(r'\033\[((?:\d|;)*)([a-zA-Z])')
695 unmodified lines
modified:docs/options.rst+4 added
347 unmodified lines
348349 Choices should be unique after considering the effects of350 ``case_sensitive`` and any specified token normalization function.351352.. versionchanged:: 7.1353 The resulting value from an option will always be on the of the354 originally passed choices regardless of ``case_sensitive``.355356.. _option-prompting:357358Prompting359---------
449 unmodified lines
modified:CHANGES.rst+1 added
29 unmodified lines
30 :issue:`1116`31- Fix output on Windows Python 2.7 built with MSVC 14. :pr:`1342`32- Always return of of the passed choices for ``click.Choice``33 :issue:`1277`, :pr:`1318`34- Fix ``OSError`` when running in MSYS2. :issue:`1338`353637Version 7.038-----------
541 unmodified lines