This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author TheRobotCarlson
Recipients TheRobotCarlson
Date 2021-12-14.16:38:49
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
Test file linked. When unparsing the output from ast.parse on a simple class, unparse throws an error: 'FunctionDef' object has no attribute 'lineno' for a valid class and valid AST. It fails when programmatically building the module AST as well.

It seems to be from this function:
Date User Action Args
2021-12-14 16:38:50TheRobotCarlsonsetrecipients: + TheRobotCarlson
2021-12-14 16:38:50TheRobotCarlsonsetmessageid: <>
2021-12-14 16:38:50TheRobotCarlsonlinkissue46073 messages
2021-12-14 16:38:50TheRobotCarlsoncreate