FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

gh-122170: Handle `ValueError` raised by `os.stat` in `linecache` by picnixz · Pull Request #122176 · python/cpython · GitHub

/ cpython Public

gh-122170: Handle ValueError raised by os.stat in linecache - #122176

Merged
serhiy-storchaka merged 8 commits into
python:mainfrom
picnixz:fix-linecache-valueerror
Jul 27, 2024
Merged

gh-122170: Handle ValueError raised by os.stat in linecache#122176
serhiy-storchaka merged 8 commits into
python:mainfrom
picnixz:fix-linecache-valueerror

Conversation

picnixz commented Jul 23, 2024
edited by bedevere-app Bot
Loading

Copy link
Copy Markdown
Member

picnixz changed the title gh-122170: Handle long filenames on Windows platforms in linecache gh-122170: Handle ValueError raised by os.stat in linecache Jul 24, 2024
picnixz requested a review from serhiy-storchaka July 24, 2024 14:24
picnixz added the stdlib Standard Library Python modules in the Lib/ directory label Jul 25, 2024
Comment thread Lib/test/test_linecache.py Outdated
Comment thread Lib/test/test_linecache.py Outdated
Comment thread Lib/linecache.py Outdated

serhiy-storchaka left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

LGTM.

serhiy-storchaka enabled auto-merge (squash) July 27, 2024 10:02
serhiy-storchaka merged commit 7a6d4cc into python:main Jul 27, 2024
picnixz deleted the fix-linecache-valueerror branch July 27, 2024 10:18

picnixz commented Jul 27, 2024

Copy link
Copy Markdown
Member Author

@serhiy-storchaka Should I backport this one to 3.12 and 3.13? (I would say yes)

serhiy-storchaka added needs backport to 3.12 only security fixes needs backport to 3.13 bugs and security fixes labels Jul 27, 2024

Copy link
Copy Markdown

Thanks @picnixz for the PR, and @serhiy-storchaka for merging it 🌮🎉.. I'm working now to backport this PR to: 3.13.
🐍🍒⛏🤖

Copy link
Copy Markdown

Thanks @picnixz for the PR, and @serhiy-storchaka for merging it 🌮🎉.. I'm working now to backport this PR to: 3.12.
🐍🍒⛏🤖

miss-islington pushed a commit to miss-islington/cpython that referenced this pull request Jul 27, 2024
…ythonGH-122176)

(cherry picked from commit 7a6d4cc)

Co-authored-by: Bénédikt Tran <10796600+picnixz@users.noreply.github.com>

bedevere-app Bot commented Jul 27, 2024

Copy link
Copy Markdown

GH-122348 is a backport of this pull request to the 3.13 branch.

bedevere-app Bot removed the needs backport to 3.13 bugs and security fixes label Jul 27, 2024
miss-islington pushed a commit to miss-islington/cpython that referenced this pull request Jul 27, 2024
…ythonGH-122176)

(cherry picked from commit 7a6d4cc)

Co-authored-by: Bénédikt Tran <10796600+picnixz@users.noreply.github.com>

bedevere-app Bot commented Jul 27, 2024

Copy link
Copy Markdown

GH-122349 is a backport of this pull request to the 3.12 branch.

bedevere-app Bot removed the needs backport to 3.12 only security fixes label Jul 27, 2024

Copy link
Copy Markdown
Member

Yes, this can be considered as a bug fix, although very minor.

serhiy-storchaka pushed a commit that referenced this pull request Jul 27, 2024
…H-122176) (GH-122349)

(cherry picked from commit 7a6d4cc)

Co-authored-by: Bénédikt Tran <10796600+picnixz@users.noreply.github.com>
serhiy-storchaka pushed a commit that referenced this pull request Jul 27, 2024
…H-122176) (GH-122348)

(cherry picked from commit 7a6d4cc)

Co-authored-by: Bénédikt Tran <10796600+picnixz@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

stdlib Standard Library Python modules in the Lib/ directory

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants


Back | FazBrowse Home | New Git URL