René's URL Explorer Experiment


Title: gh-108191: Add support of positional argument in SimpleNamespace constructor by serhiy-storchaka · Pull Request #108195 · python/cpython · GitHub

Open Graph Title: gh-108191: Add support of positional argument in SimpleNamespace constructor by serhiy-storchaka · Pull Request #108195 · python/cpython

X Title: gh-108191: Add support of positional argument in SimpleNamespace constructor by serhiy-storchaka · Pull Request #108195 · python/cpython

Description: SimpleNamespace({'a': 1, 'b': 2}) and SimpleNamespace([('a', 1), ('b', 2)]) are now the same as SimpleNamespace(a=1, b=2). Issue: gh-108191 📚 Documentation preview 📚: https://cpython-previews--108195.org.readthedocs.build/

Open Graph Description: SimpleNamespace({'a': 1, 'b': 2}) and SimpleNamespace([('a', 1), ('b', 2)]) are now the same as SimpleNamespace(a=1, b=2). Issue: gh-108191 📚 Documentation pre...

X Description: SimpleNamespace({'a': 1, 'b': 2}) and SimpleNamespace([('a', 1), ('b', 2)]) are now the same as SimpleNamespace(a=1, b=2). Issue: g...

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

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/:user_id/:repository/pull/:id/files(.:format)
route-controllerpull_requests
route-actionfiles
fetch-noncev2:8cd06386-5af0-10b1-b08d-e4c4e33d6dfc
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-id99F6:22F32B:12F087:1AAA32:6B0064F2
html-safe-nonce0fe8e5355501bf1ea6f40d3becaebaae906759badd3dbd7dfe88f59d8fa1e5ef
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5OUY2OjIyRjMyQjoxMkYwODc6MUFBQTMyOjZCMDA2NEYyIiwidmlzaXRvcl9pZCI6IjcyMjk2OTgxNTMxMzY1NDcwNTgiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac9d09d0c8533402a6c36d0337f68a8c44b9e6396b2c1cc3456c7f59e039bcf530
hovercard-subject-tagpull_request:1482357403
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///pull_requests/show/files
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/python/cpython/pull/108195/files
twitter:imagehttps://avatars.githubusercontent.com/u/3659035?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/u/3659035?s=400&v=4
og:image:altSimpleNamespace({'a': 1, 'b': 2}) and SimpleNamespace([('a', 1), ('b', 2)]) are now the same as SimpleNamespace(a=1, b=2). Issue: gh-108191 📚 Documentation pre...
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
None25854482a1773a7c1ebb8be3d2bc1c6e61d82d78126be63b5044474a86d44d9e
turbo-cache-controlno-preview
diff-viewunified
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 full-width
disable-turbotrue
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
releasee4f5c239e31f1f680e6bbc419ff92d774da616ec
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/python/cpython/pull/108195/files#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F108195%2Ffiles
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%2F108195%2Ffiles
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fpull_requests%2Fshow%2Ffiles&source=header-repo&source_repo=python%2Fcpython
Reloadhttps://github.com/python/cpython/pull/108195/files
Reloadhttps://github.com/python/cpython/pull/108195/files
Reloadhttps://github.com/python/cpython/pull/108195/files
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
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
serhiy-storchakahttps://github.com/serhiy-storchaka
python:mainhttps://github.com/python/cpython/tree/main
serhiy-storchaka:SimpleNamespace-pos-arghttps://github.com/serhiy-storchaka/cpython/tree/SimpleNamespace-pos-arg
Conversation 47 https://github.com/python/cpython/pull/108195
Commits 17 https://github.com/python/cpython/pull/108195/commits
Checks 0 https://github.com/python/cpython/pull/108195/checks
Files changed https://github.com/python/cpython/pull/108195/files
Please reload this pagehttps://github.com/python/cpython/pull/108195/files
gh-108191: Add support of positional argument in SimpleNamespace constructor https://github.com/python/cpython/pull/108195/files#top
Show all changes 17 commits https://github.com/python/cpython/pull/108195/files
c761180 gh-108191: Add support of positional argument in SimpleNamespace cons… serhiy-storchaka Aug 21, 2023 https://github.com/python/cpython/pull/108195/commits/c761180d17405d0ddb8ae8058ac6b4a98dc9686f
06197a2 Update Objects/namespaceobject.c serhiy-storchaka Aug 22, 2023 https://github.com/python/cpython/pull/108195/commits/06197a2459b105b90d8035ae34db8b6ab0ea110d
1127a87 Simplify the code. serhiy-storchaka Aug 24, 2023 https://github.com/python/cpython/pull/108195/commits/1127a873ef50e17f9df3a47b36cf3c3f0601b6a6
bc7ee1c Update Objects/namespaceobject.c serhiy-storchaka Aug 24, 2023 https://github.com/python/cpython/pull/108195/commits/bc7ee1ce28c2ae1da5b3e9ab038dd5b76ae74034
7338b2b Merge branch 'main' into SimpleNamespace-pos-arg serhiy-storchaka Aug 26, 2023 https://github.com/python/cpython/pull/108195/commits/7338b2b91c822e70901f363ea9eb46f801156d51
e94e97a Polishing. serhiy-storchaka Aug 26, 2023 https://github.com/python/cpython/pull/108195/commits/e94e97afd1b0c3cac2fe3138a86fbf7b3802c7cb
f176567 Extend tests. serhiy-storchaka Aug 26, 2023 https://github.com/python/cpython/pull/108195/commits/f1765679a437327bfcfee3e210510f31d0e555a9
cf7ac97 Apply suggestions from code review serhiy-storchaka Aug 29, 2023 https://github.com/python/cpython/pull/108195/commits/cf7ac97fcae88335f50d4169395aee88c16dcdb2
0476011 Apply suggestions from code review serhiy-storchaka Sep 13, 2023 https://github.com/python/cpython/pull/108195/commits/04760112d5ebd475cc44bca3308ab8f330afb8f6
0c32cf2 Merge branch 'main' into SimpleNamespace-pos-arg JelleZijlstra Jan 11, 2024 https://github.com/python/cpython/pull/108195/commits/0c32cf2f6e04ede224083ae53db1dd11177b0ac6
299d437 Apply suggestions from code review serhiy-storchaka Mar 7, 2024 https://github.com/python/cpython/pull/108195/commits/299d437f02fc1332f9c9a4f773875a93280c69cc
3e9f572 Merge branch 'main' into SimpleNamespace-pos-arg serhiy-storchaka Mar 7, 2024 https://github.com/python/cpython/pull/108195/commits/3e9f5723accaf092de7e8a71ee1e506d7477dc9c
3c2002d Update tests. serhiy-storchaka Mar 7, 2024 https://github.com/python/cpython/pull/108195/commits/3c2002dc5ec4b3441e35e11b8ef249f65f40f87c
e7ad7be Update Objects/namespaceobject.c serhiy-storchaka Mar 7, 2024 https://github.com/python/cpython/pull/108195/commits/e7ad7be0a76caacabd2d26f3c203dd8c90d92737
772b708 Extend errors tests. serhiy-storchaka Mar 7, 2024 https://github.com/python/cpython/pull/108195/commits/772b708452a7e37de6bf52754847a28c39b6d406
54b2acf Fix typo. serhiy-storchaka Mar 7, 2024 https://github.com/python/cpython/pull/108195/commits/54b2acf9c1bf819e013fe4d44dacb947a0529681
06b68ad Merge branch 'main' into SimpleNamespace-pos-arg JelleZijlstra Apr 24, 2024 https://github.com/python/cpython/pull/108195/commits/06b68adbce6b4bfed9eb780ab912a69d95d58c46
Clear filters https://github.com/python/cpython/pull/108195/files
Please reload this pagehttps://github.com/python/cpython/pull/108195/files
Please reload this pagehttps://github.com/python/cpython/pull/108195/files
types.rst https://github.com/python/cpython/pull/108195/files#diff-7e97b120d167c2934073a25f75d388264323e0ad712d589d1e8912b7e7dc6b1f
3.13.rst https://github.com/python/cpython/pull/108195/files#diff-0eef04c1aae0cf8389945464f271ff6789259ef8985f5fdbb21c9a99c4b5021f
test_types.py https://github.com/python/cpython/pull/108195/files#diff-d5154ccf7a97612e4a8b06a6f0f48f15554e426e72e698f246d17d3dd8e3a75a
2023-08-21-10-34-43.gh-issue-108191.GZM3mv.rst https://github.com/python/cpython/pull/108195/files#diff-99ba18b514e39c59c65d4443919e5284193bd80dc9d4c366542b477681e40a2d
namespaceobject.c https://github.com/python/cpython/pull/108195/files#diff-b3ba6c9311e0a50e14133a1e17c661712ebe5293f1c511967add86d423c47db2
Doc/library/types.rsthttps://github.com/python/cpython/pull/108195/files#diff-7e97b120d167c2934073a25f75d388264323e0ad712d589d1e8912b7e7dc6b1f
View file https://github.com/serhiy-storchaka/cpython/blob/06b68adbce6b4bfed9eb780ab912a69d95d58c46/Doc/library/types.rst
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/python/cpython/pull/108195/{{ revealButtonHref }}
https://github.com/python/cpython/pull/108195/files#diff-7e97b120d167c2934073a25f75d388264323e0ad712d589d1e8912b7e7dc6b1f
Please reload this pagehttps://github.com/python/cpython/pull/108195/files
https://github.com/python/cpython/pull/108195/files#diff-7e97b120d167c2934073a25f75d388264323e0ad712d589d1e8912b7e7dc6b1f
https://github.com/python/cpython/pull/108195/files#diff-7e97b120d167c2934073a25f75d388264323e0ad712d589d1e8912b7e7dc6b1f
https://github.com/python/cpython/blob/main/.github/CODEOWNERS#L116
Doc/whatsnew/3.13.rsthttps://github.com/python/cpython/pull/108195/files#diff-0eef04c1aae0cf8389945464f271ff6789259ef8985f5fdbb21c9a99c4b5021f
View file https://github.com/serhiy-storchaka/cpython/blob/06b68adbce6b4bfed9eb780ab912a69d95d58c46/Doc/whatsnew/3.13.rst
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/python/cpython/pull/108195/{{ revealButtonHref }}
https://github.com/python/cpython/pull/108195/files#diff-0eef04c1aae0cf8389945464f271ff6789259ef8985f5fdbb21c9a99c4b5021f
https://github.com/python/cpython/pull/108195/files#diff-0eef04c1aae0cf8389945464f271ff6789259ef8985f5fdbb21c9a99c4b5021f
https://github.com/python/cpython/blob/main/.github/CODEOWNERS#L633
Lib/test/test_types.pyhttps://github.com/python/cpython/pull/108195/files#diff-d5154ccf7a97612e4a8b06a6f0f48f15554e426e72e698f246d17d3dd8e3a75a
View file https://github.com/serhiy-storchaka/cpython/blob/06b68adbce6b4bfed9eb780ab912a69d95d58c46/Lib/test/test_types.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/python/cpython/pull/108195/{{ revealButtonHref }}
https://github.com/python/cpython/pull/108195/files#diff-d5154ccf7a97612e4a8b06a6f0f48f15554e426e72e698f246d17d3dd8e3a75a
https://github.com/python/cpython/pull/108195/files#diff-d5154ccf7a97612e4a8b06a6f0f48f15554e426e72e698f246d17d3dd8e3a75a
https://github.com/python/cpython/pull/108195/files#diff-d5154ccf7a97612e4a8b06a6f0f48f15554e426e72e698f246d17d3dd8e3a75a
https://github.com/python/cpython/pull/108195/files#diff-d5154ccf7a97612e4a8b06a6f0f48f15554e426e72e698f246d17d3dd8e3a75a
Misc/NEWS.d/next/Library/2023-08-21-10-34-43.gh-issue-108191.GZM3mv.rsthttps://github.com/python/cpython/pull/108195/files#diff-99ba18b514e39c59c65d4443919e5284193bd80dc9d4c366542b477681e40a2d
View file https://github.com/serhiy-storchaka/cpython/blob/06b68adbce6b4bfed9eb780ab912a69d95d58c46/Misc/NEWS.d/next/Library/2023-08-21-10-34-43.gh-issue-108191.GZM3mv.rst
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/python/cpython/pull/108195/{{ revealButtonHref }}
Objects/namespaceobject.chttps://github.com/python/cpython/pull/108195/files#diff-b3ba6c9311e0a50e14133a1e17c661712ebe5293f1c511967add86d423c47db2
View file https://github.com/serhiy-storchaka/cpython/blob/06b68adbce6b4bfed9eb780ab912a69d95d58c46/Objects/namespaceobject.c
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/python/cpython/pull/108195/{{ revealButtonHref }}
https://github.com/python/cpython/pull/108195/files#diff-b3ba6c9311e0a50e14133a1e17c661712ebe5293f1c511967add86d423c47db2
Please reload this pagehttps://github.com/python/cpython/pull/108195/files
https://github.com/python/cpython/pull/108195/files#diff-b3ba6c9311e0a50e14133a1e17c661712ebe5293f1c511967add86d423c47db2
https://github.com/python/cpython/pull/108195/files#diff-b3ba6c9311e0a50e14133a1e17c661712ebe5293f1c511967add86d423c47db2
https://github.com/python/cpython/pull/108195/files#diff-b3ba6c9311e0a50e14133a1e17c661712ebe5293f1c511967add86d423c47db2
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.