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 BTaskaya
Recipients BTaskaya, cheryl.sabella, gvanrossum, kebab-mai-haddi
Date 2021-01-14.19:12:27
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1610651547.29.0.257354369066.issue42920@roundup.psfhosted.org>
In-reply-to
Content
It is actually much easier now, considering that we are operating on the AST instead of the token stream. You probably only have to add a new field to Function/Class classes for end_lineno and access .end_lineno attribute here just like how we do for .lineno 
https://github.com/python/cpython/blob/971235827754eee6c0d9f7d39b52fecdfd4cb7b4/Lib/pyclbr.py#L212-L214
History
Date User Action Args
2021-01-14 19:12:27BTaskayasetrecipients: + BTaskaya, gvanrossum, cheryl.sabella, kebab-mai-haddi
2021-01-14 19:12:27BTaskayasetmessageid: <1610651547.29.0.257354369066.issue42920@roundup.psfhosted.org>
2021-01-14 19:12:27BTaskayalinkissue42920 messages
2021-01-14 19:12:27BTaskayacreate