Skip to content
Myr

Fix #744

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

authored by Markus Unterwaditzer · committed by Markus Unterwaditzer · parent 3dfbb98 · Browse files · 2 files+2 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

2 files+2 added−1 removed

  • other:+2 added−1 removed

2 files+2 added−1 removed

modified:click/_winconsole.py+1 added-1 removed
259 unmodified lines
260 hasattr(f, 'isatty') and f.isatty():261 func = _stream_factories.get(f.fileno())262 if func is not None:263 if not PY2:264 f = getattr(f, 'buffer')264 f = getattr(f, 'buffer', None)265 if f is None:266 return None267 else:268 # If we are on Python 2 we need to set the stream that we
5 unmodified lines
modified:CHANGES+1 added
9 unmodified lines
1011- Disabled sys._getframes() on Python interpreters that don't support it. See12 #728.13- Fix bug in test runner when calling ``sys.exit`` with ``None``. See #739.14- Fix crash on Windows console, see #744.1516Version 6.717-----------18
343 unmodified lines