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 terry.reedy
Recipients aroberge, terry.reedy
Date 2021-06-20.02:21:30
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1624155691.41.0.995235053073.issue43476@roundup.psfhosted.org>
In-reply-to
Content
The comment should be "# For 3rd party use.  See issue 43476."
Updates to the pypi url, now https://pypi.org/project/friendly/ should be recorded here on this issue. 

The undocumented name 'cache' is excluded from linecache.__all__ and therefore private.  We use it at our own risk (which should be extremely minimal).

I cannot think of anyway that adding another '<...>' pseudoname entry could hurt.  The only possibility is adding another copy of an entry, but they are small.

But are you sure that this is value for the key?  We could instead make the pseudotext be anything we want, such as a serialized version of the exception instance itself, including the error line.  Why reproduce the error instead of fetching it?  (If you do reproduce, you have to make sure you use the same compile options.)
History
Date User Action Args
2021-06-20 02:21:31terry.reedysetrecipients: + terry.reedy, aroberge
2021-06-20 02:21:31terry.reedysetmessageid: <1624155691.41.0.995235053073.issue43476@roundup.psfhosted.org>
2021-06-20 02:21:31terry.reedylinkissue43476 messages
2021-06-20 02:21:30terry.reedycreate