Skip to content
Myr

Merge branch '6.x-maintenance'

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 · parents bbcac04, 5701c40 · 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
26 unmodified lines
2728- Disabled sys._getframes() on Python interpreters that don't support it. See29 #728.30- Fix bug in test runner when calling ``sys.exit`` with ``None``. See #739.31- Fix crash on Windows console, see #744.3233Version 6.734-----------35
342 unmodified lines