Skip to content
Myr

remove msys2 detection

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 · parent af1e8d4 · Browse files · 2 files+2 added−2 removed
This commit

State

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

Diff stats

2 files+2 added−2 removed

  • other:+2 added−2 removed

2 files+2 added−2 removed

modified:src/click/_compat.py+1 added-2 removed
5 unmodified lines
6import typing as t7from weakref import WeakKeyDictionary89CYGWIN = sys.platform.startswith("cygwin")10MSYS2 = sys.platform.startswith("win") and ("GCC" in sys.version)10# Determine local App Engine environment, per Google's own suggestion11APP_ENGINE = "APPENGINE_RUNTIME" in os.environ and "Development/" in os.environ.get(12 "SERVER_SOFTWARE", ""13)15WIN = sys.platform.startswith("win") and not APP_ENGINE and not MSYS214WIN = sys.platform.startswith("win") and not APP_ENGINE15auto_wrap_for_ansi: t.Optional[t.Callable[[t.TextIO], t.TextIO]] = None16_ansi_re = re.compile(r"\033\[[;?0-9]*[a-zA-Z]")1718
604 unmodified lines
modified:CHANGES.rst+1 added
26 unmodified lines
27- Make the decorators returned by ``@argument()`` and ``@option()`` reusable when the28 ``cls`` parameter is used. :issue:`2294`29- Don't fail when writing filenames to streams with strict errors. Replace invalid30 bytes with the replacement character (``�``). :issue:`2395`31- Remove unnecessary attempt to detect MSYS2 environment. :issue:`2355`323334Version 8.1.335-------------
1040 unmodified lines