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
Version 0.11.0 breaks with AttributeError #152
Comments
On it. |
@SethMMorton any chance you can narrow down the snippet of code that's being analyzed and causing this to explode? I can see the issue, but I'd like to include something in the test suite to avoid future regressions. |
We are seeing this on Python 3.6 so the title should be corrected |
Can you share a snippet of code that reproduces this regardless of Python version? That's far more important |
I am working on a snippet, but I cannot just share my company's code so please be patient. I realize it wasn't only Python 3.7 - sorry I added that. |
I've figured out what's going on here. It happens with the |
Here is a minimal snippet. Remove the setter and it works. class Foo:
def __init__(self):
self._bar = None
@property
def foo(self):
return self._bar
@foo.setter
def foo(self, val):
self._bar = val |
Version 0.11.1 has just been released with a fix for this. Sorry about this, and thanks for your help and patience tracking it down! |
Thank you for the quick turnaround. I have been in your shoes (except that the release happened before I went to bed, so the badness stagnated for 8 hours) and know how stress inducing it can be. Many thanks. |
When I run flake8 with the new pep8-naming version 0.11.0, I get an
AttributeError
frompep8ext_naming.py
My guess is that it is not only Python 3.7, but that is all I've tried.
The text was updated successfully, but these errors were encountered: