python-hyper / wsproto

Sans-IO WebSocket protocol implementation
https://wsproto.readthedocs.io/
MIT License
261 stars 38 forks source link

mypyc progress #176

Open pgjones opened 2 years ago

pgjones commented 2 years ago

At the current time the events.py and frame_protocol.py files cannot be mypyc compiled. The former is probably due to Generic dataclasses and the latter is probably related to https://github.com/mypyc/mypyc/issues/721 - also note that iterating over NamedTuples fail but can be coded without the for.

Without the frame_protocol.py the benchmark doesn't change, so no point producing wheels as yet.

See also https://github.com/psf/black/commit/e7b967132fdbb9e2e4c4e9916530d238848ab183

Kriechi commented 6 months ago

mypyc looks abandoned, with last commits 3 years ago - is this issue here still relevant or can we close it?

pgjones commented 6 months ago

It was merged into the mypy codebase and looks fairly active. I'll try take a new look at this soon