atom-community / atom-community/ide-python
Pyflakes generating error on interpolated string
- 主要言語
- JavaScript
- スター
- 238
- フォーク
- 40
- PR マージ指標
- 30日以内にマージされた PR はありません
説明
Pyflakes reports errors on interpolated string syntax.
```
print("")
print(f"") # Error reported here
```
I believe the problem is related to whether Pyflakes run with Python 3 vs Python 2. See log below where it behaves differently when run with Python3 even when same version is reported.
Should ide-python be running Pyflakes with Python3?
My system, atom, and ide-python are all up to date. And I have reinstalled pyflakes to ensure latest version in python3.
```
4pi:flask juan$ python -m pyflakes --version
2.1.1 Python 2.7.15 on Darwin
4pi:flask juan$ python -m pyflakes foo.py
foo.py:2:9: invalid syntax
print(f"")
^
4pi:flask juan$ python3 -m pyflakes --version
2.1.1 Python 3.7.3 on Darwin
4pi:flask juan$ python3 -m pyflakes foo.py
4pi:flask juan$
```
コントリビューションガイド
調査の方向性
まず、示されている foo.py の例で報告を再現し、ide-python が Pyflakes をどのように呼び出しているかを調べます。Issue 内の Python 2 と Python 3 のコマンドを比較します。補間文字列が Python 3 で誤った構文エラーなしにチェックされれば完了です。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- javascript, python
- 領域
- developer-experience, tooling
- issue の種類
- バグ
- 難易度
- 3/5
- 見積もり時間
- 1〜2日
- 活発さ
- 停滞
- 明瞭さ
- おおむね明確
- 初心者へのやさしさ
- 42/100