Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

mangled if tests #3

Open
rocky opened this issue Apr 8, 2018 · 0 comments
Open

mangled if tests #3

rocky opened this issue Apr 8, 2018 · 0 comments

Comments

@rocky
Copy link

rocky commented Apr 8, 2018

# From 3.2 text_file.py
def readline(self, line):
    while True:
        if self.join_lines:
            if line:
                continue
            if self:
                continue

        return line

while __name__ != '__main__':
    b = 4

when compiled and decompiled with unpyc3 is:

def readline(self, line):
    if line:
        continue
    if self.join_lines and self:
        continue
    return line

while __name__ != '__main__':
    b = 4
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant