René's URL Explorer Experiment


Title: bpo-44808: fixes test for interactive inspect getsource of a class by akulakov · Pull Request #27571 · python/cpython · GitHub

Open Graph Title: bpo-44808: fixes test for interactive inspect getsource of a class by akulakov · Pull Request #27571 · python/cpython

X Title: bpo-44808: fixes test for interactive inspect getsource of a class by akulakov · Pull Request #27571 · python/cpython

Description: The Python programming language. Contribute to python/cpython development by creating an account on GitHub.

Open Graph Description: Fixes unsafe test that was added in #27171 https://bugs.python.org/issue44808

X Description: Fixes unsafe test that was added in #27171 https://bugs.python.org/issue44808

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

X: @github

direct link

Domain: github.com

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322
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:aea493b2-7211-1c57-b57a-2dd5cdd158a8
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idBFC0:399E4B:386038E:4AC5F47:6B020840
html-safe-noncec995ae198dc7dc8d6abc588a507f74a91a7dbd5ec8582372ca07164da0335ddf
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCRkMwOjM5OUU0QjozODYwMzhFOjRBQzVGNDc6NkIwMjA4NDAiLCJ2aXNpdG9yX2lkIjoiNTg4MzA3MjU1NDAzMzM1MDcyMCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac1b5b47cb557ef1d49606aa35e612cd93f037c6f70d87641041a380f35f944634
hovercard-subject-tagpull_request:701891649
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/27571/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/c4241b8766606433b2b9941ac45a54e218aaf7f78cb6f9252b853b89dedb3a47/python/cpython/pull/27571
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/c4241b8766606433b2b9941ac45a54e218aaf7f78cb6f9252b853b89dedb3a47/python/cpython/pull/27571
og:image:altFixes unsafe test that was added in #27171 https://bugs.python.org/issue44808
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameakulakov
hostnamegithub.com
expected-hostnamegithub.com
None87e774ee7c6b3bee0490394e4d3e57ec9dbc956f74b87ea685dc8996c1676456
turbo-cache-controlno-cache
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
release423dbb54c5e7bfecc838eb387c1435eb3d0e760d
ui-targetcanary-1
theme-color#1e2327
color-schemelight dark
react-app-namepull-requests

Links:

Skip to contenthttps://github.com/python/cpython/pull/27571#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F27571
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
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
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://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/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F27571
Sign uphttps://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/27571
Reloadhttps://github.com/python/cpython/pull/27571
Reloadhttps://github.com/python/cpython/pull/27571
pythonhttps://github.com/python
cpythonhttps://github.com/python/cpython
Codehttps://github.com/python/cpython
Issues5k+ (5k+)https://github.com/python/cpython/issues
Pull requests2.4k (2.4k)https://github.com/python/cpython/pulls
Actionshttps://github.com/python/cpython/actions
Projectshttps://github.com/python/cpython/projects
Security and qualityhttps://github.com/python/cpython/security
Insightshttps://github.com/python/cpython/insights
https://github.com/python/cpython
ambvhttps://github.com/ambv
python:mainhttps://github.com/python/cpython/tree/main
akulakov:44808-Fix-test-inspect-getsource-for-class2https://github.com/akulakov/cpython/tree/44808-Fix-test-inspect-getsource-for-class2
Conversationhttps://github.com/python/cpython/pull/27571
Commits7 (7)https://github.com/python/cpython/pull/27571/commits
Checkshttps://github.com/python/cpython/pull/27571/checks
Files changedhttps://github.com/python/cpython/pull/27571/files
bpo-44808: fixes test for interactive inspect getsource of a classhttps://github.com/python/cpython/pull/27571#top
ambvhttps://github.com/ambv
python:mainhttps://github.com/python/cpython/tree/main
akulakov:44808-Fix-test-inspect-getsource-for-class2https://github.com/akulakov/cpython/tree/44808-Fix-test-inspect-getsource-for-class2
https://github.com/akulakov
akulakovhttps://github.com/akulakov
Aug 3, 2021https://github.com/python/cpython/pull/27571#issue-958642256
Please reload this pagehttps://github.com/python/cpython/pull/27571
#27171https://github.com/python/cpython/pull/27171
https://bugs.python.org/issue44808https://bugs.python.org/issue44808
Please reload this pagehttps://github.com/python/cpython/pull/27571
akulakovhttps://github.com/akulakov
July 15, 2021 16:41https://github.com/python/cpython/pull/27571#commits-pushed-bd8ab7e
https://github.com/akulakov
Fix error type in inspect.getsource() in interactive sessionhttps://github.com/python/cpython/pull/27571/commits/bd8ab7e1c0a1d6d181ca6594e06d69a6ab703eca
bd8ab7ehttps://github.com/python/cpython/pull/27571/commits/bd8ab7e1c0a1d6d181ca6594e06d69a6ab703eca
https://github.com/akulakov
news entryhttps://github.com/python/cpython/pull/27571/commits/cd2700954be78fbe58ffe5cd3b3c5336a4e002b9
cd27009https://github.com/python/cpython/pull/27571/commits/cd2700954be78fbe58ffe5cd3b3c5336a4e002b9
https://github.com/akulakov
fix unit test to check for the right error msghttps://github.com/python/cpython/pull/27571/commits/d230183c3d97b66a4e56e56accf759239d5986e1
d230183https://github.com/python/cpython/pull/27571/commits/d230183c3d97b66a4e56e56accf759239d5986e1
https://github.com/akulakov
fixed test to avoid global effect on sys.moduleshttps://github.com/python/cpython/pull/27571/commits/e92fa9f798f53549b471f6dfd9f583aacae49a10
e92fa9fhttps://github.com/python/cpython/pull/27571/commits/e92fa9f798f53549b471f6dfd9f583aacae49a10
https://github.com/akulakov
Merge remote-tracking branch 'origin/main' into 44808-Fix-test-inspec…https://github.com/python/cpython/pull/27571/commits/a4a185075bb75829d9983908608d03c6942e4844
a4a1850https://github.com/python/cpython/pull/27571/commits/a4a185075bb75829d9983908608d03c6942e4844
https://github.com/bedevere-bot
bedevere-bothttps://github.com/bedevere-bot
awaiting review https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20review%22
Aug 3, 2021https://github.com/python/cpython/pull/27571#event-5102046331
https://github.com/the-knights-who-say-ni
the-knights-who-say-nihttps://github.com/the-knights-who-say-ni
CLA signed https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22CLA%20signed%22
Aug 3, 2021https://github.com/python/cpython/pull/27571#event-5102046351
https://github.com/bedevere-bot
bedevere-bothttps://github.com/bedevere-bot
tests https://github.com/python/cpython/issues?q=state%3Aopen%20label%3Atests
Aug 3, 2021https://github.com/python/cpython/pull/27571#event-5102046376
https://github.com/akulakov
akulakovhttps://github.com/akulakov
Aug 3, 2021https://github.com/python/cpython/pull/27571#event-5102047303
https://github.com/akulakov
remove unneeded parenshttps://github.com/python/cpython/pull/27571/commits/92ebacb345c2c6f7223ea40198905920d34d45d4
92ebacbhttps://github.com/python/cpython/pull/27571/commits/92ebacb345c2c6f7223ea40198905920d34d45d4
https://github.com/ambv
ambvhttps://github.com/ambv
Aug 3, 2021 https://github.com/python/cpython/pull/27571#pullrequestreview-721031809
View reviewed changes https://github.com/python/cpython/pull/27571/files/92ebacb345c2c6f7223ea40198905920d34d45d4
ambvhttps://github.com/ambv
https://github.com/python/cpython/pull/27571#pullrequestreview-721031809
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/cpython/pull/27571
Lib/test/test_inspect.pyhttps://github.com/python/cpython/pull/27571/files/92ebacb345c2c6f7223ea40198905920d34d45d4#diff-cd0b5ed704ccdad2d507d4f756ac2a9b391e0c9bbb5554baf851dbebd8b5e618
Please reload this pagehttps://github.com/python/cpython/pull/27571
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 review https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20review%22
Aug 3, 2021https://github.com/python/cpython/pull/27571#event-5103923044
https://github.com/ambv
ambvhttps://github.com/ambv
skip news https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22skip%20news%22
Aug 3, 2021https://github.com/python/cpython/pull/27571#event-5103923848
https://github.com/akulakov
https://github.com/ambv
Update Lib/test/test_inspect.pyhttps://github.com/python/cpython/pull/27571/commits/4cf77b0b35ef02a4a1ee869a520d6a5e6bc16d11
4cf77b0https://github.com/python/cpython/pull/27571/commits/4cf77b0b35ef02a4a1ee869a520d6a5e6bc16d11
https://github.com/akulakov
akulakovhttps://github.com/akulakov
Aug 3, 2021https://github.com/python/cpython/pull/27571#issuecomment-891791316
Please reload this pagehttps://github.com/python/cpython/pull/27571
https://github.com/ambv
ambvhttps://github.com/ambv
needs backport to 3.9 https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22needs%20backport%20to%203.9%22
Aug 3, 2021https://github.com/python/cpython/pull/27571#event-5104586634
https://github.com/ambv
ambvhttps://github.com/ambv
5832597https://github.com/python/cpython/commit/58325971de0faf330c9c38269dae8315a0746e59
Aug 3, 2021https://github.com/python/cpython/pull/27571#event-5104587506
https://github.com/miss-islington
miss-islingtonhttps://github.com/miss-islington
Aug 3, 2021https://github.com/python/cpython/pull/27571#issuecomment-891818646
@akulakovhttps://github.com/akulakov
@ambvhttps://github.com/ambv
Please reload this pagehttps://github.com/python/cpython/pull/27571
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
Aug 3, 2021https://github.com/python/cpython/pull/27571#event-5104587712
https://github.com/miss-islington
miss-islingtonhttps://github.com/miss-islington
Aug 3, 2021https://github.com/python/cpython/pull/27571#issuecomment-891818728
@akulakovhttps://github.com/akulakov
@ambvhttps://github.com/ambv
cherry_pickerhttps://pypi.org/project/cherry-picker/
Please reload this pagehttps://github.com/python/cpython/pull/27571
https://github.com/bedevere-bot
bedevere-bothttps://github.com/bedevere-bot
Aug 3, 2021https://github.com/python/cpython/pull/27571#issuecomment-891818730
GH-27578https://github.com/python/cpython/pull/27578
3.10 branchhttps://github.com/python/cpython/tree/3.10
Please reload this pagehttps://github.com/python/cpython/pull/27571
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
Aug 3, 2021https://github.com/python/cpython/pull/27571#event-5104588287
https://github.com/miss-islington
miss-islingtonhttps://github.com/miss-islington
ambvhttps://github.com/ambv
Aug 3, 2021https://github.com/python/cpython/pull/27571#event-5104588353
miss-islingtonhttps://github.com/miss-islington
Aug 3, 2021 https://github.com/python/cpython/pull/27571#ref-commit-a5f7fb9
https://github.com/akulakov
https://github.com/miss-islington
bpo-44808: fixes test for interactive inspect getsource of a class (https://github.com/miss-islington/cpython/commit/a5f7fb951608fb25b03ffc7c7a4603c0812e63ac
p…https://github.com/python/cpython/pull/27571
a5f7fb9https://github.com/miss-islington/cpython/commit/a5f7fb951608fb25b03ffc7c7a4603c0812e63ac
…ythonGH-27571https://github.com/python/cpython/pull/27571
5832597https://github.com/miss-islington/cpython/commit/58325971de0faf330c9c38269dae8315a0746e59
https://github.com/ambv
ambvhttps://github.com/ambv
needs backport to 3.9 https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22needs%20backport%20to%203.9%22
Aug 3, 2021https://github.com/python/cpython/pull/27571#event-5104592766
https://github.com/ambv
ambvhttps://github.com/ambv
Aug 3, 2021https://github.com/python/cpython/pull/27571#issuecomment-891819435
Please reload this pagehttps://github.com/python/cpython/pull/27571
miss-islingtonhttps://github.com/miss-islington
Aug 3, 2021 https://github.com/python/cpython/pull/27571#ref-commit-bc2841c
https://github.com/miss-islington
https://github.com/akulakov
bpo-44808https://bugs.python.org/issue?@action=redirect&bpo=44808
: fixes test for interactive inspect getsource of a class (https://github.com/python/cpython/commit/bc2841c7a9fe2b05ef77ebdf77701188dc83b2ce
G…https://github.com/python/cpython/pull/27571
bc2841chttps://github.com/python/cpython/commit/bc2841c7a9fe2b05ef77ebdf77701188dc83b2ce
…H-27571https://github.com/python/cpython/pull/27571
5832597https://github.com/python/cpython/commit/58325971de0faf330c9c38269dae8315a0746e59
https://github.co/hiddenchars
https://github.com/python/cpython/pull/{{ revealButtonHref }}
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%2F27571
https://github.com/ambv
ambv https://github.com/ambv
https://github.com/python/cpython/pull/27571/files/92ebacb345c2c6f7223ea40198905920d34d45d4
Please reload this pagehttps://github.com/python/cpython/pull/27571
https://github.com/ambv
ambv https://github.com/ambv
skip news https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22skip%20news%22
tests https://github.com/python/cpython/issues?q=state%3Aopen%20label%3Atests
Please reload this pagehttps://github.com/python/cpython/pull/27571
https://github.com/akulakov
https://github.com/miss-islington
https://github.com/bedevere-bot
https://github.com/ambv
https://github.com/the-knights-who-say-ni
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.