astvisitor.derive_class_name throws exception on call syntax in base classes
Bug #460715 reported by
ryan.freckleton
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Pythoscope |
Fix Released
|
Medium
|
Michal Kwiatkowski |
Bug Description
When attempting to initialize pythoscope against a file such as urlparse.py in the standard library, an ASTError("Unknown node type: (") exception is raised. This can easily be reproduced by runing pythoscope -i on the following class:
class Example(
pass
The exception is raised on line 76 of astvisitor.py.
Attached is debug output with a detailed stack trace and the exact node that caused the problem. I've also attached a patch to test/test_
Changed in pythoscope: | |
importance: | Undecided → Medium |
status: | New → Confirmed |
assignee: | nobody → Michal Kwiatkowski (ruby) |
To post a comment you must log in.
Fixed in trunk r307.