Skip to content

Three undefined names #190

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

Closed
cclauss opened this issue Sep 19, 2017 · 0 comments
Closed

Three undefined names #190

cclauss opened this issue Sep 19, 2017 · 0 comments

Comments

@cclauss
Copy link
Contributor

cclauss commented Sep 19, 2017

flake8 testing of https://github.com/yidao620c/python3-cookbook on Python 3.6.3

$ flake8 . --count --select=E901,E999,F821,F822,F823 --show-source --statistics

./cookbook/c04/p16_iterate_while.py:11:11: F821 undefined name 'data'
    print(data)
          ^

./cookbook/c12/p01_start_stop_thread.py:51:9: F821 undefined name 'sock'
        sock.settimeout(5)   # set timeout period
        ^

./cookbook/c12/p01_start_stop_thread.py:55:24: F821 undefined name 'sock'
                data = sock.recv(8192)
                       ^
@cclauss cclauss changed the title Syntax Errors and Undefined Names Three undefined names Dec 10, 2017
@cclauss cclauss closed this as completed Mar 7, 2019
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