René's URL Explorer Experiment


Title: Remember the source of interactively defined functions by michaelmulley · Pull Request #515 · bpython/bpython · GitHub

Open Graph Title: Remember the source of interactively defined functions by michaelmulley · Pull Request #515 · bpython/bpython

X Title: Remember the source of interactively defined functions by michaelmulley · Pull Request #515 · bpython/bpython

Description: Patches the linecache module to achieve this inspect.getsource() works for functions defined on the console tracebacks show code for frames inside interactively defined functions fixes #229

Open Graph Description: Patches the linecache module to achieve this inspect.getsource() works for functions defined on the console tracebacks show code for frames inside interactively defined functions fixes #229

X Description: Patches the linecache module to achieve this inspect.getsource() works for functions defined on the console tracebacks show code for frames inside interactively defined functions fixes #229

Opengraph URL: https://github.com/bpython/bpython/pull/515

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:0d7c223f-a6dc-a428-9a9e-84e0c5278cc6
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idA07E:3366C1:293A9C1:3532981:696CA2A0
html-safe-nonce588e77011f86baffc45f09951d62ffb6ca04461f95033d90fa51e22c15418502
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBMDdFOjMzNjZDMToyOTNBOUMxOjM1MzI5ODE6Njk2Q0EyQTAiLCJ2aXNpdG9yX2lkIjoiNTA1NzkxMDY4NTM0MTM2MDgwMCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmacab43bd98444116b5a32c760c84e37d0c30db4222bb51914d7ca4638dab9a7695
hovercard-subject-tagpull_request:31962035
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/bpython/bpython/515/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/bb8edf2fea78d099392c01d34452187512c163ad864a27459f795b0593b27911/bpython/bpython/pull/515
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/bb8edf2fea78d099392c01d34452187512c163ad864a27459f795b0593b27911/bpython/bpython/pull/515
og:image:altPatches the linecache module to achieve this inspect.getsource() works for functions defined on the console tracebacks show code for frames inside interactively defined functions fixes #229
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamemichaelmulley
hostnamegithub.com
expected-hostnamegithub.com
None5f99f7c1d70f01da5b93e5ca90303359738944d8ab470e396496262c66e60b8d
turbo-cache-controlno-preview
go-importgithub.com/bpython/bpython git https://github.com/bpython/bpython.git
octolytics-dimension-user_id8071396
octolytics-dimension-user_loginbpython
octolytics-dimension-repository_id21508865
octolytics-dimension-repository_nwobpython/bpython
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id21508865
octolytics-dimension-repository_network_root_nwobpython/bpython
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
release38f4d3209478aaeff3ef254f1919defede86af41
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/bpython/bpython/pull/515#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fbpython%2Fbpython%2Fpull%2F515
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%2Fbpython%2Fbpython%2Fpull%2F515
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=bpython%2Fbpython
Reloadhttps://github.com/bpython/bpython/pull/515
Reloadhttps://github.com/bpython/bpython/pull/515
Reloadhttps://github.com/bpython/bpython/pull/515
bpython https://github.com/bpython
bpythonhttps://github.com/bpython/bpython
Please reload this pagehttps://github.com/bpython/bpython/pull/515
Notifications https://github.com/login?return_to=%2Fbpython%2Fbpython
Fork 252 https://github.com/login?return_to=%2Fbpython%2Fbpython
Star 2.8k https://github.com/login?return_to=%2Fbpython%2Fbpython
Code https://github.com/bpython/bpython
Issues 143 https://github.com/bpython/bpython/issues
Pull requests 4 https://github.com/bpython/bpython/pulls
Actions https://github.com/bpython/bpython/actions
Projects 0 https://github.com/bpython/bpython/projects
Wiki https://github.com/bpython/bpython/wiki
Security Uh oh! There was an error while loading. Please reload this page. https://github.com/bpython/bpython/security
Please reload this pagehttps://github.com/bpython/bpython/pull/515
Insights https://github.com/bpython/bpython/pulse
Code https://github.com/bpython/bpython
Issues https://github.com/bpython/bpython/issues
Pull requests https://github.com/bpython/bpython/pulls
Actions https://github.com/bpython/bpython/actions
Projects https://github.com/bpython/bpython/projects
Wiki https://github.com/bpython/bpython/wiki
Security https://github.com/bpython/bpython/security
Insights https://github.com/bpython/bpython/pulse
Sign up for GitHub https://github.com/signup?return_to=%2Fbpython%2Fbpython%2Fissues%2Fnew%2Fchoose
terms of servicehttps://docs.github.com/terms
privacy statementhttps://docs.github.com/privacy
Sign inhttps://github.com/login?return_to=%2Fbpython%2Fbpython%2Fissues%2Fnew%2Fchoose
Jump to bottomhttps://github.com/bpython/bpython/pull/515#issue-comment-box
sebastinashttps://github.com/sebastinas
bpython:masterhttps://github.com/bpython/bpython/tree/master
michaelmulley:feature/remember-console-codehttps://github.com/michaelmulley/bpython/tree/feature/remember-console-code
Remember the source of interactively defined functions https://github.com/bpython/bpython/pull/515#top
sebastinashttps://github.com/sebastinas
bpython:masterhttps://github.com/bpython/bpython/tree/master
michaelmulley:feature/remember-console-codehttps://github.com/michaelmulley/bpython/tree/feature/remember-console-code
Conversation 4 https://github.com/bpython/bpython/pull/515
Commits 3 https://github.com/bpython/bpython/pull/515/commits
Checks 0 https://github.com/bpython/bpython/pull/515/checks
Files changed https://github.com/bpython/bpython/pull/515/files
Please reload this pagehttps://github.com/bpython/bpython/pull/515
https://github.co/hiddenchars
https://github.com/bpython/bpython/pull/{{ revealButtonHref }}
https://github.com/michaelmulley
michaelmulleyhttps://github.com/michaelmulley
Mar 25, 2015https://github.com/bpython/bpython/pull/515#issue-64364413
#229https://github.com/bpython/bpython/issues/229
Please reload this pagehttps://github.com/bpython/bpython/pull/515
https://github.com/michaelmulley
Remember the source of interactively defined functionshttps://github.com/bpython/bpython/pull/515/commits/38f1ed6bc30283ce036bc069ca9b3d8d8de28278
38f1ed6https://github.com/bpython/bpython/pull/515/commits/38f1ed6bc30283ce036bc069ca9b3d8d8de28278
bpython#229https://github.com/bpython/bpython/issues/229
sebastinashttps://github.com/sebastinas
Mar 25, 2015 https://github.com/bpython/bpython/pull/515#discussion-diff-27166682
View reviewed changes https://github.com/bpython/bpython/pull/515/files/38f1ed6bc30283ce036bc069ca9b3d8d8de28278#diff-6bbba7a3f4c78886e4c7d2b17fa4a12027cc850df186d89525a254869359bdec
bpython/history.pyhttps://github.com/bpython/bpython/pull/515/files#diff-6bbba7a3f4c78886e4c7d2b17fa4a12027cc850df186d89525a254869359bdec
sebastinashttps://github.com/sebastinas
Mar 25, 2015https://github.com/bpython/bpython/pull/515#discussion_r27166682
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/bpython/bpython/pull/515
michaelmulleyhttps://github.com/michaelmulley
March 25, 2015 17:40https://github.com/bpython/bpython/pull/515#commits-pushed-7ca380d
https://github.com/michaelmulley
Move linecache code to new file, use super()https://github.com/bpython/bpython/pull/515/commits/7ca380d12e3e5b56653d5a321991b29dd87f63e7
7ca380dhttps://github.com/bpython/bpython/pull/515/commits/7ca380d12e3e5b56653d5a321991b29dd87f63e7
https://github.com/michaelmulley
No need to catch this AttributeError in test codehttps://github.com/bpython/bpython/pull/515/commits/92e9b0b3b8b8a528af94a085df5e7a23df1697e2
92e9b0bhttps://github.com/bpython/bpython/pull/515/commits/92e9b0b3b8b8a528af94a085df5e7a23df1697e2
https://github.com/michaelmulley
michaelmulleyhttps://github.com/michaelmulley
Mar 25, 2015https://github.com/bpython/bpython/pull/515#issuecomment-86228591
Please reload this pagehttps://github.com/bpython/bpython/pull/515
https://github.com/sebastinas
sebastinashttps://github.com/sebastinas
92e9b0bhttps://github.com/bpython/bpython/commit/92e9b0b3b8b8a528af94a085df5e7a23df1697e2
Mar 26, 2015https://github.com/bpython/bpython/pull/515#event-266278923
Sign up for freehttps://github.com/join?source=comment-repo
Sign in to commenthttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fbpython%2Fbpython%2Fpull%2F515
patch inspect.getsource so that I can get the source of interactively defined functions https://github.com/bpython/bpython/issues/229
Please reload this pagehttps://github.com/bpython/bpython/pull/515
https://github.com/michaelmulley
https://github.com/sebastinas
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.