exercism / exercism/python-representer

Add Additional Smoke Tests for Newer Python Features from `3.9`, `3.10`, `3.11`, and `3.12`

未关闭
#50 9 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
Python
星标
6
派生
11
PR 合并指标
30 天内没有已合并 PR

描述

We are largely "safe", now that we've stopped using [astor](https://github.com/berkerpeksag/astor), but we should for completeness add additional smoke tests for features such as:

- [x] [walrus operator](https://docs.python.org/3/whatsnew/3.8.html#assignment-expressions)--> [`PR#51`](https://github.com/exercism/python-representer/pull/51)
- [ ] [positional-only operators](https://docs.python.org/3/whatsnew/3.8.html#positional-only-parameters)
- [ ] [continue statements in finally blocks](https://docs.python.org/3/whatsnew/3.8.html#other-language-changes)
- [x] [union operators for dictionaries](https://docs.python.org/3/library/stdtypes.html#typesmapping) --> [`PR#53`](https://github.com/exercism/python-representer/pull/53)
- [x] [Parenthesized context managers](https://docs.python.org/3/whatsnew/3.10.html#parenthesized-context-managers) --> [`PR#52`](https://github.com/exercism/python-representer/pull/52)
- [ ] [dataclasses](https://docs.python.org/3/whatsnew/3.10.html#dataclasses)
- [ ] [itertools.pairwise()](https://docs.python.org/3/library/itertools.html#itertools.pairwise)
- [ ] [exception groups](https://docs.python.org/3/whatsnew/3.11.html#pep-654-exception-groups-and-except)
- [ ] [exception notes](https://docs.python.org/3/whatsnew/3.11.html#pep-678-exceptions-can-be-enriched-with-notes)

贡献指南

这个仓库没有索引到贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。