GeezerVisonThe World Wide Web, restored to 800 pixels of glory. | ||||||||
| Home|About|Gaming cabinet|Archives|How it works|Starter sites | ||||||||
GeezerVison is showing github.com — gh-60115: Support frozen modules for linecache.getline() by gaogaotiantian · Pull Request #131638 · python/cpython Conversation
|
|
Not sure if a whatsnew entry should be added for 3.14. Is this a significant enough change? |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
Just some small nits. Maybe a test with a frozen module with some content or do we have no way to do it easily?
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
Co-authored-by: Bénédikt Tran <[email protected]>
The difficult part is to get the module global of it. It's not trivial to get the frame of a frozen module in linecache tests. However, after this, I'll polish pdb and I'll add more tests there to cover the real case. It's much easier (and practical) to do it in pdb. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
|
Hey @iritkatriel , do you mind taking a quick look at this? |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
LGTM, though I wouldn't backport this.
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
I don't plan to backport this. I think it's a new feature. Should we put something in the whatsnew entry? |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
Might as well, in case someone is surprised by something. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
Not sure if my claim is entirely correct. There might be cases when |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
I don't know. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
Okay I updated the documentation, which should clear things up a bit. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
Successfully merging this pull request may close these issues.
There was an error while loading. Please reload this page.