Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

[bug] while not x and not y or z:

オープン
#326 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
30/100
issue の種類
バグ
明瞭さ
説明が足りない
活発さ
停滞
技術スタック
python

調査の方向性

Reproduce the failure from the supplied Python snippet using the decompile3 command against bug1.pyc, then inspect the parse error at bytecode offset 20. Done means the bytecode decompiles successfully into equivalent source for the while condition; the issue does not specify an expected output beyond avoiding the decompilation failure.

索引モデルが issue の本文から書いたものです。

説明

Control Flow Python 3.8 Volunteer wanted Works on decompyle3

How to Reproduce

def func():
    while not x and not y or z:
        print(x)

Expected behavior

Environment

windows 10
python 3.8.2
decompile3 3.3.2

Additional Environment or Context

C:\Python38\Scripts\decompyle3.exe -o . bug1.pyc
Instruction context:

 L.   3        12  LOAD_GLOBAL              print
                  14  LOAD_GLOBAL              x
                  16  CALL_FUNCTION_1       1  ''
                  18  POP_TOP
->                20  JUMP_BACK             0  'to 0'


# file bug1.pyc
# Deparsing stopped due to parse error
bug1.pyc --
# decompile failed
主要言語
Python
スター
4.3k
フォーク
465
平均マージ
10時間 7分
マージ済み PR(30日)
1

環境構築

このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

rocky/python-uncompyle6 のほかの issue

rocky/python-uncompyle6 の issue をすべて見る

似ている issue

Python の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。