zulip-terminal icon indicating copy to clipboard operation
zulip-terminal copied to clipboard

Consider changes needed/possible when Python 3.7 reaches end of life

Open neiljp opened this issue 3 years ago • 4 comments

This is the next iteration of https://github.com/zulip/zulip-terminal/issues/984, and is mainly for tracking. See that issue or those prior for potentially useful tools.

3.7 is due to reach end of life on 27 Jun 2023 according to https://endoflife.date/python or more officially https://devguide.python.org/#status-of-python-branches

neiljp avatar May 19 '22 18:05 neiljp

Python 3.8 features to consider:

  • Walrus syntax (unclear of benefits; was controversial?)
  • Positional-only parameters
  • Self-documenting f-strings (mainly for debugging?)
  • TypedDict, Literal, Protocol, Final - are all in the standard library, not externally

Python 3.8 should also be generally faster at regular operations, based on the simple benchmark introduced: https://docs.python.org/3/whatsnew/3.8.html

neiljp avatar Mar 17 '23 17:03 neiljp

This will also unblock (if appropriate) isort 5.12.

neiljp avatar Apr 05 '23 20:04 neiljp

pygments 2.18.0 (unreleased) will depend upon 3.8.

neiljp avatar Dec 22 '23 00:12 neiljp

pygments 2.18 is now released and supports Lean 4, which may be relevant to many users.

neiljp avatar May 11 '24 16:05 neiljp