Skip to content
Myr

remove app engine 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 8f019ba · Browse files · 2 files+2 added−5 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−5 removed

  • other:+2 added−5 removed

2 files+2 added−5 removed

modified:src/click/_compat.py+1 added-5 removed
5 unmodified lines
6import typing as t7from weakref import WeakKeyDictionary89CYGWIN = sys.platform.startswith("cygwin")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)14WIN = sys.platform.startswith("win") and not APP_ENGINE10WIN = sys.platform.startswith("win")11auto_wrap_for_ansi: t.Optional[t.Callable[[t.TextIO], t.TextIO]] = None12_ansi_re = re.compile(r"\033\[[;?0-9]*[a-zA-Z]")1314
604 unmodified lines
modified:CHANGES.rst+1 added
27 unmodified lines
28 ``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`32- Remove outdated and unnecessary detection of App Engine environment. :pr:`2554`333435Version 8.1.336-------------
1040 unmodified lines