{"issue":{"title":"Fixing pyflakes errors from sympy.utilities (GCI)","user":{"id":1214007,"login":"jcreus","url":"https://api.github.com/users/jcreus","gravatar_id":"2c780d2a843cc987a37af13ad65cd024","avatar_url":"https://secure.gravatar.com/avatar/2c780d2a843cc987a37af13ad65cd024?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png"},"milestone":null,"created_at":"2011-12-21T20:17:59Z","labels":[],"state":"open","updated_at":"2011-12-22T19:09:04Z","id":2629121,"pull_request":{"patch_url":"https://github.com/sympy/sympy/pull/873.patch","html_url":"https://github.com/sympy/sympy/pull/873","diff_url":"https://github.com/sympy/sympy/pull/873.diff"},"html_url":"https://github.com/sympy/sympy/issues/873","closed_at":null,"body":"I've cleared of errors the utilities module. (GCI Task: http://www.google-melange.com/gci/task/view/google/gci2011/7134380 ). I've used setup.py audit.\r\n\r\nThe warnings present aren't applicable/ok as they are. Here's the list.\r\n\r\n```\r\nsympy/utilities/pytest.py:53: redefinition of unused 'Skipped' from line 11\r\nsympy/utilities/pytest.py:74: redefinition of unused 'skip' from line 13\r\nsympy/utilities/pytest.py:146: redefinition of function 'XFAIL' from line 56\r\nsympy/utilities/cythonutils.py:16: redefinition of function 'cythonized' from line 8\r\nsympy/utilities/autowrap.py:253: local variable 'prototype_c' is assigned to but never used\r\nsympy/utilities/iterables.py:6: 'cartes' imported but unused\r\nsympy/utilities/lambdify.py:7: 'import_module' imported but unused\r\nsympy/utilities/runtests.py:56: undefined name 'sys_case_insensitive'\r\nsympy/utilities/runtests.py:844: local variable 'msg' is assigned to but never used\r\nsympy/utilities/compilef.py:421: '_exp' imported but unused\r\nsympy/utilities/compilef.py:421: '_cos' imported but unused\r\nsympy/utilities/compilef.py:548: redefinition of unused '_exp' from line 421\r\nsympy/utilities/compilef.py:548: redefinition of unused '_cos' from line 421\r\nsympy/utilities/compilef.py:548: 'diff' imported but unused\r\nsympy/utilities/decorator.py:7: 'Add' imported but unused\r\n```\r\nIn many occasions, it is due to that some classes are written inside if/else, so according to PyFlakes they are \"redefined\". Others are simply necessary and errors appear without them.","number":873,"url":"https://api.github.com/repos/sympy/sympy/issues/873","comments":7,"assignee":null},"comment":{"user":{"id":71486,"login":"asmeurer","url":"https://api.github.com/users/asmeurer","gravatar_id":"0383e4cae325f65a1bbd906be4be2276","avatar_url":"https://secure.gravatar.com/avatar/0383e4cae325f65a1bbd906be4be2276?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png"},"created_at":"2011-12-22T19:09:03Z","updated_at":"2011-12-22T19:09:03Z","id":3253476,"body":"**SymPy Bot Summary:** There were test failures.\n\n@jcreus: Please fix the test failures.\n\nTest results html report: http://reviews.sympy.org/report/agZzeW1weTNyDAsSBFRhc2sYrPwIDA\n\n*Interpreter:*   /sw/bin/python  (3.2.2-final-0)\n*Architecture:* Darwin (64-bit)\n*Cache:*        yes\n*Test command:* setup.py test\n*master hash*: 33b86c46c77c891400901e19f4c2a9e7f06498a9\n*branch hash*: ad69f6ce28faeb527425ae3e36e79ebf19a820a0\n\nAutomatic review by [SymPy Bot](https://github.com/sympy/sympy-bot).","url":"https://api.github.com/repos/sympy/sympy/issues/comments/3253476"},"action":"created"}