[issue38307] Provide Class' end line in readmodule module

2019-10-08 Thread Brandt Bucher


Change by Brandt Bucher :


--
nosy: +brandtbucher

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue38307] Provide Class' end line in readmodule module

2019-10-08 Thread Aviral


Change by Aviral :


--
keywords: +patch
pull_requests: +16249
stage:  -> patch review
pull_request: https://github.com/python/cpython/pull/16466

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue38307] Provide Class' end line in readmodule module

2019-09-28 Thread Steven D'Aprano


Steven D'Aprano  added the comment:

What `readmodule` are you referring to?

3.6 is in feature-freeze. The earliest that any enhancement could be added is 
version 3.9.

Can you explain how having an ending line number as well as the starting line 
number can be used to check which imports are used in a class?

--
nosy: +steven.daprano
versions: +Python 3.9 -Python 3.6

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue38307] Provide Class' end line in readmodule module

2019-09-28 Thread Aviral


New submission from Aviral :

Currently, the `readmodule` returns the starting line of the classes but not 
the end line. This should be provided as well in order to get the scope of the 
class, mainly to help check what all imports were used in a class.

--
components: Library (Lib)
messages: 353467
nosy: aviral
priority: normal
severity: normal
status: open
title: Provide Class' end line in readmodule module
type: enhancement
versions: Python 3.6

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com