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.

Title: Missing getlines func documentation from linecache module
Type: Stage: resolved
Components: Documentation Versions: Python 3.8
Status: closed Resolution: duplicate
Dependencies: Superseder:
Assigned To: docs@python Nosy List: docs@python, khalidmammadov, xtreak
Priority: normal Keywords: patch

Created on 2020-01-01 14:29 by khalidmammadov, last changed 2022-04-11 14:59 by admin. This issue is now closed.

Pull Requests
URL Status Linked Edit
PR 17784 closed khalidmammadov, 2020-01-01 15:16
Messages (4)
msg359159 - (view) Author: Karthikeyan Singaravelan (xtreak) * (Python committer) Date: 2020-01-01 14:38
As a note getlines is not exposed via __all__ :
msg362472 - (view) Author: Khalid Mammadov (khalidmammadov) * Date: 2020-02-22 19:33
How to find if it was intentional or over-site?
msg362473 - (view) Author: Ammar Askar (ammar2) * (Python committer) Date: 2020-02-22 19:36
A good place to start is looking at the blame to find the commit that introduced it. Which was:

and if we browse to the state of the file before that commit we see:

which indicates that it used to be exposed but was maybe overlooked when __all__ was added.
msg362474 - (view) Author: Khalid Mammadov (khalidmammadov) * Date: 2020-02-22 19:44
Looks like it's not meant to be made public as the module is meant to be working on a single line. So closing the issue and PR
Date User Action Args
2022-04-11 14:59:24adminsetgithub: 83361
2020-02-22 19:47:28khalidmammadovsetresolution: duplicate
2020-02-22 19:44:30khalidmammadovsetstatus: open -> closed

nosy: - ammar2
messages: + msg362474

stage: patch review -> resolved
2020-02-22 19:36:21ammar2setnosy: + ammar2
messages: + msg362473
2020-02-22 19:33:38khalidmammadovsetmessages: + msg362472
2020-01-01 15:16:12khalidmammadovsetkeywords: + patch
stage: patch review
pull_requests: + pull_request17216
2020-01-01 14:38:56xtreaksetnosy: + xtreak
messages: + msg359159
2020-01-01 14:29:09khalidmammadovcreate