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

Some new-style classes are reported as old-style #24

Closed
pylint-bot opened this issue Mar 25, 2014 · 1 comment
Closed

Some new-style classes are reported as old-style #24

pylint-bot opened this issue Mar 25, 2014 · 1 comment
Labels

Comments

@pylint-bot
Copy link

Originally reported by: Choongmin Lee (BitBucket: clee704, GitHub: @clee704?)


#!python

from wtforms.form import Form
from astroid import MANAGER
MANAGER.ast_from_class(Form).newstyle

The last line returns False, although wtforms.form.Form is a new-style class.


@pylint-bot
Copy link
Author

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


resolved on astroid's tip

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