René's URL Explorer Experiment


Title: Fix __signature__ support if object has a __file__ by gpotter2 · Pull Request #992 · bpython/bpython · GitHub

Open Graph Title: Fix __signature__ support if object has a __file__ by gpotter2 · Pull Request #992 · bpython/bpython

X Title: Fix __signature__ support if object has a __file__ by gpotter2 · Pull Request #992 · bpython/bpython

Description: Followup to #932. I missed an edge-case :( If a class uses exotic __signature__ typings, but also has a __file__ (that inspect.getsourcelines finds), then it is ignored whenever _fix_default_values...

Open Graph Description: Followup to #932. I missed an edge-case :( If a class uses exotic __signature__ typings, but also has a __file__ (that inspect.getsourcelines finds), then it is ignored whenever _fix_default_values...

X Description: Followup to #932. I missed an edge-case :( If a class uses exotic __signature__ typings, but also has a __file__ (that inspect.getsourcelines finds), then it is ignored whenever _fix_default_values...

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

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:4ed5791b-be6c-7a9d-582b-c82ffb7455aa
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idB9AA:1B44C2:75EFC8:A56A52:6967BEED
html-safe-nonce88a0e324bbd74e85949f83661f3d9bcfe5dc23ce63898b58dcb2305fce48f80a
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCOUFBOjFCNDRDMjo3NUVGQzg6QTU2QTUyOjY5NjdCRUVEIiwidmlzaXRvcl9pZCI6IjEwNzE4NjU0NTMzNDEwMzIxNzMiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac5df0d4cc9c79210cebe2ddc0baf25b5966aac06652f03f740bbcdd134e415005
hovercard-subject-tagpull_request:1426336304
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/992/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/a48da7eee904f6a1bca83b43ce5e5d26d92cd89ef88b7e9c790e843c317b619e/bpython/bpython/pull/992
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/a48da7eee904f6a1bca83b43ce5e5d26d92cd89ef88b7e9c790e843c317b619e/bpython/bpython/pull/992
og:image:altFollowup to #932. I missed an edge-case :( If a class uses exotic __signature__ typings, but also has a __file__ (that inspect.getsourcelines finds), then it is ignored whenever _fix_default_values...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamegpotter2
hostnamegithub.com
expected-hostnamegithub.com
Nonef27e5738f0e93d9d0da6c41e1486a0f558fca67f18307a983ff194cc1c8c539e
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
release20159b55658342e030f9962b46067461bb92df9b
ui-targetcanary-2
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/bpython/bpython/pull/992#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fbpython%2Fbpython%2Fpull%2F992
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%2F992
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/992
Reloadhttps://github.com/bpython/bpython/pull/992
Reloadhttps://github.com/bpython/bpython/pull/992
bpython https://github.com/bpython
bpythonhttps://github.com/bpython/bpython
Please reload this pagehttps://github.com/bpython/bpython/pull/992
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/992
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/992#issue-comment-box
sebastinashttps://github.com/sebastinas
bpython:mainhttps://github.com/bpython/bpython/tree/main
gpotter2:mainhttps://github.com/gpotter2/bpython/tree/main
Fix __signature__ support if object has a __file__ https://github.com/bpython/bpython/pull/992#top
sebastinashttps://github.com/sebastinas
bpython:mainhttps://github.com/bpython/bpython/tree/main
gpotter2:mainhttps://github.com/gpotter2/bpython/tree/main
Conversation 3 https://github.com/bpython/bpython/pull/992
Commits 1 https://github.com/bpython/bpython/pull/992/commits
Checks 0 https://github.com/bpython/bpython/pull/992/checks
Files changed https://github.com/bpython/bpython/pull/992/files
Please reload this pagehttps://github.com/bpython/bpython/pull/992
https://github.co/hiddenchars
https://github.com/bpython/bpython/pull/{{ revealButtonHref }}
https://github.com/gpotter2
gpotter2https://github.com/gpotter2
Jul 9, 2023https://github.com/bpython/bpython/pull/992#issue-1795437157
#932https://github.com/bpython/bpython/pull/932
Please reload this pagehttps://github.com/bpython/bpython/pull/992
https://github.com/codecov-commenter
codecov-commenterhttps://github.com/codecov-commenter
Jul 9, 2023https://github.com/bpython/bpython/pull/992#issuecomment-1627739253
Please reload this pagehttps://github.com/bpython/bpython/pull/992
Codecovhttps://app.codecov.io/gh/bpython/bpython/pull/992?src=pr&el=h1&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=bpython
#992https://app.codecov.io/gh/bpython/bpython/pull/992?src=pr&el=desc&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=bpython
7424efehttps://github.com/bpython/bpython/commit/7424efee25bdf8f9f6e3c6c381d6339550ed75df
mainhttps://app.codecov.io/gh/bpython/bpython/commit/26fc2b580c774c824d1f234b32a3be0f404db6be?el=desc&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=bpython
26fc2b5https://github.com/bpython/bpython/commit/26fc2b580c774c824d1f234b32a3be0f404db6be
install the Github App Integrationhttps://github.com/apps/codecov
Read morehttps://about.codecov.io/blog/codecov-is-updating-its-github-integration/?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=bpython
Impacted Fileshttps://app.codecov.io/gh/bpython/bpython/pull/992?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=bpython
bpython/inspection.pyhttps://app.codecov.io/gh/bpython/bpython/pull/992?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=bpython#diff-YnB5dGhvbi9pbnNwZWN0aW9uLnB5
bpython/test/test_repl.pyhttps://app.codecov.io/gh/bpython/bpython/pull/992?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=bpython#diff-YnB5dGhvbi90ZXN0L3Rlc3RfcmVwbC5weQ==
1 file with indirect coverage changeshttps://app.codecov.io/gh/bpython/bpython/pull/992/indirect-changes?src=pr&el=tree-more&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=bpython
Please reload this pagehttps://github.com/bpython/bpython/pull/992
https://github.com/gpotter2
Fix __signature__ support if object has a __file__https://github.com/bpython/bpython/pull/992/commits/7424efee25bdf8f9f6e3c6c381d6339550ed75df
7424efehttps://github.com/bpython/bpython/pull/992/commits/7424efee25bdf8f9f6e3c6c381d6339550ed75df
https://github.com/gpotter2
gpotter2https://github.com/gpotter2
force-pushedhttps://github.com/bpython/bpython/compare/82094c1bdca8ff8c1faac45ab28d91de29e09f29..7424efee25bdf8f9f6e3c6c381d6339550ed75df
82094c1https://github.com/bpython/bpython/commit/82094c1bdca8ff8c1faac45ab28d91de29e09f29
7424efehttps://github.com/bpython/bpython/commit/7424efee25bdf8f9f6e3c6c381d6339550ed75df
Compare https://github.com/bpython/bpython/compare/82094c1bdca8ff8c1faac45ab28d91de29e09f29..7424efee25bdf8f9f6e3c6c381d6339550ed75df
July 9, 2023 17:42https://github.com/bpython/bpython/pull/992#event-9767610552
https://github.com/sebastinas
sebastinashttps://github.com/sebastinas
Jul 9, 2023https://github.com/bpython/bpython/pull/992#issuecomment-1627812620
Please reload this pagehttps://github.com/bpython/bpython/pull/992
https://github.com/gpotter2
gpotter2https://github.com/gpotter2
Jul 18, 2023https://github.com/bpython/bpython/pull/992#issuecomment-1641011142
Please reload this pagehttps://github.com/bpython/bpython/pull/992
https://github.com/gpotter2
gpotter2https://github.com/gpotter2
Jul 18, 2023 https://github.com/bpython/bpython/pull/992#ref-pullrequest-1810748402
Scapy terminal improvements secdev/scapy#4073 https://github.com/secdev/scapy/pull/4073
https://github.com/sebastinas
sebastinashttps://github.com/sebastinas
d58e392https://github.com/bpython/bpython/commit/d58e392f188118b3f6d3c964041492dbb2cd3694
Jul 20, 2023https://github.com/bpython/bpython/pull/992#event-9878229865
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%2F992
Please reload this pagehttps://github.com/bpython/bpython/pull/992
https://github.com/gpotter2
https://github.com/codecov-commenter
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.