Skip to content

RecursionError on this small Django snippet #1285

@bors-ltd

Description

@bors-ltd

Hi,

Steps to reproduce

  1. virtualenv -p /usr/bin/python3 temp # Works with Python 2
  2. cd temp
  3. pylint test.py # See attachment

Current behavior

RecursionError: maximum recursion depth exceeded while calling a Python object

You would understand I don't paste the whole traceback. ^^"

Expected behavior

The same versions of pylint, astroid, mccabe... but on the Python 2 venv

produce the expected result.

pylint --version output

$ pylint --version No config file found, using default configuration pylint 1.6.5, astroid 1.4.9 Python 3.6.0 (default, Jan 16 2017, 12:12:55) [GCC 6.3.1 20170109]

Plus mccabe 0.6.0.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions