On Mon, Oct 19, 2015 at 8:09 AM, Luis San Martin <lsanmart...@gmail.com> wrote: > Hello, > > I've tried pep8 and flake8 on python 3.6.0a0 though both will not work. > > pathcl@sid:~/src$ flake8 > Traceback (most recent call last): > File "/home/pathcl/.pyenv/versions/3.6-dev/bin/flake8", line 7, in <module> > from flake8.main import main > File > "/home/pathcl/.pyenv/versions/3.6-dev/lib/python3.6/site-packages/flake8/main.py", > line 8, in <module> > from flake8.engine import get_parser, get_style_guide > File > "/home/pathcl/.pyenv/versions/3.6-dev/lib/python3.6/site-packages/flake8/engine.py", > line 6, in <module> > import pep8 > File > "/home/pathcl/.pyenv/versions/3.6-dev/lib/python3.6/site-packages/pep8.py", > line 1204, in <module> > init_checks_registry() > File > "/home/pathcl/.pyenv/versions/3.6-dev/lib/python3.6/site-packages/pep8.py", > line 1203, in init_checks_registry > register_check(function) > File > "/home/pathcl/.pyenv/versions/3.6-dev/lib/python3.6/site-packages/pep8.py", > line 1186, in register_check > args = inspect.getargspec(check)[0] > AttributeError: module 'inspect' has no attribute 'getargspec' > > > it seems getargspec is going to be deprecated. > https://docs.python.org/3.6/whatsnew/3.6.html#removed
Hi Luis, pep8 has a fix for this in master but it is not a priority to make a release containing this since Python 3.6 will not be released for approximately another year and a half. Please check closed issues and pull requests in the future for this information. -- Ian _______________________________________________ code-quality mailing list code-quality@python.org https://mail.python.org/mailman/listinfo/code-quality