Sam McCandlish
Sam McCandlish
## Description of new feature, or changes Initializing `colorama` wraps stdout and stderr, and causes color-printing to no longer work in jupyter. Since `colorama` is only necessary on Windows, this...
Proposed fix for https://github.com/python-hyper/wsproto/issues/182 Fail instead of silently reporting success when a local-only close code is specified.
Currently, if you close a websocket with code 1006 (which is not allowed), the result is a 1000-code closure: https://github.com/python-hyper/wsproto/blob/main/src/wsproto/frame_protocol.py#L576-L577 I suspect this should instead be either a 1002 error...