René's URL Explorer Experiment


Title: gh-101517: bdb should not lookup linecache with lineno=None by iritkatriel · Pull Request #101787 · python/cpython · GitHub

Open Graph Title: gh-101517: bdb should not lookup linecache with lineno=None by iritkatriel · Pull Request #101787 · python/cpython

X Title: gh-101517: bdb should not lookup linecache with lineno=None by iritkatriel · Pull Request #101787 · python/cpython

Description: The root cause of gh-101517 is that the line number was missing in the bytecode, but pdb should not have failed the way it did. This PR makes bdb check that the lineno is not None before looking it...

Open Graph Description: The root cause of gh-101517 is that the line number was missing in the bytecode, but pdb should not have failed the way it did. This PR makes bdb check that the lineno is not None before looking it...

X Description: The root cause of gh-101517 is that the line number was missing in the bytecode, but pdb should not have failed the way it did. This PR makes bdb check that the lineno is not None before looking it...

Opengraph URL: https://github.com/python/cpython/pull/101787

X: @github

direct link

Domain: github.com

route-pattern/_view_fragments/voltron/pull_requests/show/:user_id/:repository/:id/pull_request_layout(.:format)
route-controllervoltron_pull_requests_fragments
route-actionpull_request_layout
fetch-noncev2:259f9bea-68d4-405e-d46f-9da5a2a5b194
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idB84A:10A5B6:77E060:A39AE7:6969DB6B
html-safe-nonce87b3badae80f6162cda8120754c8f0060e451d7817f21ad3f5762149890f7c7d
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCODRBOjEwQTVCNjo3N0UwNjA6QTM5QUU3OjY5NjlEQjZCIiwidmlzaXRvcl9pZCI6IjU5MDAxMjc1Mjk4MzY2MDAxNzEiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmace2529e329f424c0ab7127d7b20f0f476cde23c2ab5577097810c0bb351d7e7f5
hovercard-subject-tagpull_request:1236917774
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/pull_requests_fragments/pull_request_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/voltron/pull_requests/show/python/cpython/101787/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/cb52e66047a17f76b87db8c270558ff496797f78bb6111929fd7855f69badb9b/python/cpython/pull/101787
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/cb52e66047a17f76b87db8c270558ff496797f78bb6111929fd7855f69badb9b/python/cpython/pull/101787
og:image:altThe root cause of gh-101517 is that the line number was missing in the bytecode, but pdb should not have failed the way it did. This PR makes bdb check that the lineno is not None before looking it...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameiritkatriel
hostnamegithub.com
expected-hostnamegithub.com
None7b32f1c7c4549428ee399213e8345494fc55b5637195d3fc5f493657579235e8
turbo-cache-controlno-preview
go-importgithub.com/python/cpython git https://github.com/python/cpython.git
octolytics-dimension-user_id1525981
octolytics-dimension-user_loginpython
octolytics-dimension-repository_id81598961
octolytics-dimension-repository_nwopython/cpython
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id81598961
octolytics-dimension-repository_network_root_nwopython/cpython
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
releasebdde15ad1b403e23b08bbd89b53fbe6bdf688cad
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/python/cpython/pull/101787#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F101787
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub SparkBuild and deploy intelligent appshttps://github.com/features/spark
GitHub ModelsManage and compare promptshttps://github.com/features/models
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
GitHub SponsorsFund open source developershttps://github.com/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/accelerator
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://github.com/security/advanced-security
Copilot for BusinessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F101787
Sign up https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fpull_requests_fragments%2Fpull_request_layout&source=header-repo&source_repo=python%2Fcpython
Reloadhttps://github.com/python/cpython/pull/101787
Reloadhttps://github.com/python/cpython/pull/101787
Reloadhttps://github.com/python/cpython/pull/101787
python https://github.com/python
cpythonhttps://github.com/python/cpython
Please reload this pagehttps://github.com/python/cpython/pull/101787
Notifications https://github.com/login?return_to=%2Fpython%2Fcpython
Fork 33.9k https://github.com/login?return_to=%2Fpython%2Fcpython
Star 71.1k https://github.com/login?return_to=%2Fpython%2Fcpython
Code https://github.com/python/cpython
Issues 5k+ https://github.com/python/cpython/issues
Pull requests 2.1k https://github.com/python/cpython/pulls
Actions https://github.com/python/cpython/actions
Projects 31 https://github.com/python/cpython/projects
Security Uh oh! There was an error while loading. Please reload this page. https://github.com/python/cpython/security
Please reload this pagehttps://github.com/python/cpython/pull/101787
Insights https://github.com/python/cpython/pulse
Code https://github.com/python/cpython
Issues https://github.com/python/cpython/issues
Pull requests https://github.com/python/cpython/pulls
Actions https://github.com/python/cpython/actions
Projects https://github.com/python/cpython/projects
Security https://github.com/python/cpython/security
Insights https://github.com/python/cpython/pulse
Sign up for GitHub https://github.com/signup?return_to=%2Fpython%2Fcpython%2Fissues%2Fnew%2Fchoose
terms of servicehttps://docs.github.com/terms
privacy statementhttps://docs.github.com/privacy
Sign inhttps://github.com/login?return_to=%2Fpython%2Fcpython%2Fissues%2Fnew%2Fchoose
Jump to bottomhttps://github.com/python/cpython/pull/101787#issue-comment-box
iritkatrielhttps://github.com/iritkatriel
python:mainhttps://github.com/python/cpython/tree/main
iritkatriel:bdb_bughttps://github.com/iritkatriel/cpython/tree/bdb_bug
gh-101517: bdb should not lookup linecache with lineno=None https://github.com/python/cpython/pull/101787#top
iritkatrielhttps://github.com/iritkatriel
python:mainhttps://github.com/python/cpython/tree/main
iritkatriel:bdb_bughttps://github.com/iritkatriel/cpython/tree/bdb_bug
Conversation 3 https://github.com/python/cpython/pull/101787
Commits 2 https://github.com/python/cpython/pull/101787/commits
Checks 0 https://github.com/python/cpython/pull/101787/checks
Files changed https://github.com/python/cpython/pull/101787/files
Please reload this pagehttps://github.com/python/cpython/pull/101787
https://github.co/hiddenchars
https://github.com/python/cpython/pull/{{ revealButtonHref }}
https://github.com/iritkatriel
iritkatrielhttps://github.com/iritkatriel
Feb 10, 2023https://github.com/python/cpython/pull/101787#issue-1579932609
gh-101517https://github.com/python/cpython/issues/101517
Please reload this pagehttps://github.com/python/cpython/pull/101787
https://github.com/iritkatriel
pythongh-101517https://github.com/python/cpython/issues/101517
: bdb should not lookup linecache with lineno=Nonehttps://github.com/python/cpython/pull/101787/commits/c33144a3ef4e1af56e04ffc2a1b43c01c070c8a8
c33144ahttps://github.com/python/cpython/pull/101787/commits/c33144a3ef4e1af56e04ffc2a1b43c01c070c8a8
https://github.com/bedevere-bot
bedevere-bothttps://github.com/bedevere-bot
awaiting core review https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20core%20review%22
Feb 10, 2023https://github.com/python/cpython/pull/101787#event-8491294863
https://github.com/bedevere-bot
bedevere-bothttps://github.com/bedevere-bot
Feb 10, 2023 https://github.com/python/cpython/pull/101787#ref-issue-1568330545
Bug in linecache when raising exceptiongroup that contains ZeroDivisionError + other exception. #101517 https://github.com/python/cpython/issues/101517
https://github.com/iritkatriel
iritkatrielhttps://github.com/iritkatriel
type-bug https://github.com/python/cpython/issues?q=state%3Aopen%20label%3Atype-bug
needs backport to 3.10 https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22needs%20backport%20to%203.10%22
stdlib https://github.com/python/cpython/issues?q=state%3Aopen%20label%3Astdlib
needs backport to 3.11 https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22needs%20backport%20to%203.11%22
Feb 10, 2023https://github.com/python/cpython/pull/101787#event-8491394767
https://github.com/apps/blurb-it
📜🤖 Added by blurb_it.https://github.com/python/cpython/pull/101787/commits/8d770b19254d53ca1260361ede11073331eb153a
8d770b1https://github.com/python/cpython/pull/101787/commits/8d770b19254d53ca1260361ede11073331eb153a
https://github.com/kumaraditya303
kumaraditya303https://github.com/kumaraditya303
Feb 10, 2023 https://github.com/python/cpython/pull/101787#pullrequestreview-1293534848
View reviewed changes https://github.com/python/cpython/pull/101787/files/8d770b19254d53ca1260361ede11073331eb153a
https://github.com/bedevere-bot
bedevere-bothttps://github.com/bedevere-bot
awaiting merge https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20merge%22
awaiting core review https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20core%20review%22
Feb 10, 2023https://github.com/python/cpython/pull/101787#event-8491729688
https://github.com/iritkatriel
iritkatrielhttps://github.com/iritkatriel
366b949https://github.com/python/cpython/commit/366b94905869d680b3f1d4801fb497e78811e511
Feb 10, 2023https://github.com/python/cpython/pull/101787#event-8491866633
https://github.com/miss-islington
miss-islingtonhttps://github.com/miss-islington
Feb 10, 2023https://github.com/python/cpython/pull/101787#issuecomment-1426075443
@iritkatrielhttps://github.com/iritkatriel
Please reload this pagehttps://github.com/python/cpython/pull/101787
https://github.com/bedevere-bot
bedevere-bothttps://github.com/bedevere-bot
awaiting merge https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20merge%22
Feb 10, 2023https://github.com/python/cpython/pull/101787#event-8491867096
https://github.com/bedevere-bot
bedevere-bothttps://github.com/bedevere-bot
Feb 10, 2023https://github.com/python/cpython/pull/101787#issuecomment-1426075632
GH-101793https://github.com/python/cpython/pull/101793
3.11 branchhttps://github.com/python/cpython/tree/3.11
Please reload this pagehttps://github.com/python/cpython/pull/101787
https://github.com/bedevere-bot
bedevere-bothttps://github.com/bedevere-bot
needs backport to 3.11 https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22needs%20backport%20to%203.11%22
Feb 10, 2023https://github.com/python/cpython/pull/101787#event-8491868556
https://github.com/bedevere-bot
bedevere-bothttps://github.com/bedevere-bot
Feb 10, 2023https://github.com/python/cpython/pull/101787#issuecomment-1426075715
GH-101794https://github.com/python/cpython/pull/101794
3.10 branchhttps://github.com/python/cpython/tree/3.10
Please reload this pagehttps://github.com/python/cpython/pull/101787
https://github.com/bedevere-bot
bedevere-bothttps://github.com/bedevere-bot
needs backport to 3.10 https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22needs%20backport%20to%203.10%22
Feb 10, 2023https://github.com/python/cpython/pull/101787#event-8491869310
miss-islingtonhttps://github.com/miss-islington
Feb 10, 2023 https://github.com/python/cpython/pull/101787#ref-commit-21424c9
https://github.com/iritkatriel
https://github.com/miss-islington
pythongh-101517https://github.com/python/cpython/issues/101517
: make bdb avoid looking up in linecache with lineno=N…https://github.com/miss-islington/cpython/commit/21424c9f29dc4bf6ccfb67fc27d989246ee494c5
21424c9https://github.com/miss-islington/cpython/commit/21424c9f29dc4bf6ccfb67fc27d989246ee494c5
pythonGH-101787https://github.com/python/cpython/pull/101787
366b949https://github.com/miss-islington/cpython/commit/366b94905869d680b3f1d4801fb497e78811e511
miss-islingtonhttps://github.com/miss-islington
Feb 10, 2023 https://github.com/python/cpython/pull/101787#ref-commit-31cf719
https://github.com/iritkatriel
https://github.com/miss-islington
pythongh-101517https://github.com/python/cpython/issues/101517
: make bdb avoid looking up in linecache with lineno=N…https://github.com/miss-islington/cpython/commit/31cf719ed2d3ed2351a9cc38e8fcdb4d34a57937
31cf719https://github.com/miss-islington/cpython/commit/31cf719ed2d3ed2351a9cc38e8fcdb4d34a57937
pythonGH-101787https://github.com/python/cpython/pull/101787
366b949https://github.com/miss-islington/cpython/commit/366b94905869d680b3f1d4801fb497e78811e511
miss-islingtonhttps://github.com/miss-islington
Feb 10, 2023 https://github.com/python/cpython/pull/101787#ref-commit-6d8ef96
https://github.com/miss-islington
https://github.com/iritkatriel
gh-101517https://github.com/python/cpython/issues/101517
: make bdb avoid looking up in linecache with lineno=None (https://github.com/python/cpython/commit/6d8ef9680689823229106c22aa74e1c549a250ec
G…https://github.com/python/cpython/pull/101787
6d8ef96https://github.com/python/cpython/commit/6d8ef9680689823229106c22aa74e1c549a250ec
…H-101787https://github.com/python/cpython/pull/101787
366b949https://github.com/python/cpython/commit/366b94905869d680b3f1d4801fb497e78811e511
miss-islingtonhttps://github.com/miss-islington
Feb 10, 2023 https://github.com/python/cpython/pull/101787#ref-commit-b0bba7a
https://github.com/miss-islington
https://github.com/iritkatriel
gh-101517https://github.com/python/cpython/issues/101517
: make bdb avoid looking up in linecache with lineno=None (https://github.com/python/cpython/commit/b0bba7ad14a7f1774339032feae0a95af0f56483
G…https://github.com/python/cpython/pull/101787
b0bba7ahttps://github.com/python/cpython/commit/b0bba7ad14a7f1774339032feae0a95af0f56483
…H-101787https://github.com/python/cpython/pull/101787
366b949https://github.com/python/cpython/commit/366b94905869d680b3f1d4801fb497e78811e511
carljmhttps://github.com/carljm
Feb 10, 2023 https://github.com/python/cpython/pull/101787#ref-commit-36b2917
https://github.com/carljm
Merge branch 'main' into inlinecomp2https://github.com/carljm/cpython/commit/36b291737a8c5398c6fe5c0c737d1bb5155c82b1
36b2917https://github.com/carljm/cpython/commit/36b291737a8c5398c6fe5c0c737d1bb5155c82b1
python#101296https://github.com/python/cpython/pull/101296
python#101782https://github.com/python/cpython/pull/101782
pythongh-101763https://github.com/python/cpython/issues/101763
pythonGH-101784https://github.com/python/cpython/pull/101784
pythongh-101517https://github.com/python/cpython/issues/101517
python#101787https://github.com/python/cpython/pull/101787
pythongh-101759https://github.com/python/cpython/issues/101759
python#101762https://github.com/python/cpython/pull/101762
pythongh-101277https://github.com/python/cpython/issues/101277
pythonGH-101305https://github.com/python/cpython/pull/101305
pythongh-101759https://github.com/python/cpython/issues/101759
python#101761https://github.com/python/cpython/pull/101761
iritkatrielhttps://github.com/iritkatriel
Mar 17, 2023 https://github.com/python/cpython/pull/101787#ref-commit-3cb1bf2
https://github.com/iritkatriel
Revert "https://github.com/iritkatriel/cpython/commit/3cb1bf2757fb6ae700c557c7e6e9acd39def8392
pythongh-101517https://github.com/python/cpython/issues/101517
: make bdb avoid looking up in linecache with …https://github.com/iritkatriel/cpython/commit/3cb1bf2757fb6ae700c557c7e6e9acd39def8392
3cb1bf2https://github.com/iritkatriel/cpython/commit/3cb1bf2757fb6ae700c557c7e6e9acd39def8392
python#101787https://github.com/python/cpython/pull/101787
366b949https://github.com/iritkatriel/cpython/commit/366b94905869d680b3f1d4801fb497e78811e511
iritkatrielhttps://github.com/iritkatriel
Mar 18, 2023 https://github.com/python/cpython/pull/101787#ref-commit-019ed40
https://github.com/iritkatriel
Revert "https://github.com/iritkatriel/cpython/commit/019ed40edb5526dae4a295d0a5a3f011b3fc6311
pythongh-101517https://github.com/python/cpython/issues/101517
: make bdb avoid looking up in linecache with …https://github.com/iritkatriel/cpython/commit/019ed40edb5526dae4a295d0a5a3f011b3fc6311
019ed40https://github.com/iritkatriel/cpython/commit/019ed40edb5526dae4a295d0a5a3f011b3fc6311
python#101787https://github.com/python/cpython/pull/101787
366b949https://github.com/iritkatriel/cpython/commit/366b94905869d680b3f1d4801fb497e78811e511
https://github.com/iritkatriel
iritkatrielhttps://github.com/iritkatriel
April 3, 2023 17:45https://github.com/python/cpython/pull/101787#event-8915700048
Sign up for freehttps://github.com/join?source=comment-repo
Sign in to commenthttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F101787
https://github.com/kumaraditya303
kumaraditya303 https://github.com/kumaraditya303
https://github.com/python/cpython/pull/101787/files/8d770b19254d53ca1260361ede11073331eb153a
stdlib https://github.com/python/cpython/issues?q=state%3Aopen%20label%3Astdlib
type-bug https://github.com/python/cpython/issues?q=state%3Aopen%20label%3Atype-bug
Please reload this pagehttps://github.com/python/cpython/pull/101787
https://github.com/iritkatriel
https://github.com/miss-islington
https://github.com/bedevere-bot
https://github.com/kumaraditya303
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.