Skip to content
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

TypeError, due to definition of __call__ method through Proxy class #17

Closed
pylint-bot opened this issue Feb 16, 2014 · 1 comment
Closed
Labels

Comments

@pylint-bot
Copy link

Originally reported by: BitBucket: dirkbaechle, GitHub: @dirkbaechle?


Hi there,

the attached script BuilderTests.py throws a TypeError

#!python

  TypeError: '_Yes' object is not iterable

when run through pylint (see attached issue.log for the full output), while the normal invocation with "python BuilderTests.py" shows the expected results.

Output of "pylint --version" is (installed from latest sources):

#!python

  No config file found, using default configuration
  pylint 1.1.0, 
  astroid 1.0.1, common 0.61.0
  Python 2.7.3 (default, Sep 26 2013, 20:03:06) 
  [GCC 4.6.3]

The given setup of classes and methods has a practical application, it's used in several unit tests for the build system SCons (www.scons.org).

Best regards,

Dirk


@pylint-bot
Copy link
Author

Original comment by Sylvain Thénault (BitBucket: sthenault, GitHub: @sthenault?):


fix crash when class has some call method that is not inferable. Closes #17

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant