René's URL Explorer Experiment


Title: avoid using a shell in ctypes.util: replace os.popen with subprocess · Issue #66826 · python/cpython · GitHub

Open Graph Title: avoid using a shell in ctypes.util: replace os.popen with subprocess · Issue #66826 · python/cpython

X Title: avoid using a shell in ctypes.util: replace os.popen with subprocess · Issue #66826 · python/cpython

Description: BPO 22636 Nosy @warsaw, @vstinner, @vadmium, @serhiy-storchaka, @koobs Files ctypes_util_popen.patchctypes_util_popen-2.patchctypes_util_popen-3.py3.patchctypes_util_popen-3.py2.patchdump: /usr/ccs/bin/dumpldconfig: /sbin/ldconfig -r (BS...

Open Graph Description: BPO 22636 Nosy @warsaw, @vstinner, @vadmium, @serhiy-storchaka, @koobs Files ctypes_util_popen.patchctypes_util_popen-2.patchctypes_util_popen-3.py3.patchctypes_util_popen-3.py2.patchdump: /usr/ccs...

X Description: BPO 22636 Nosy @warsaw, @vstinner, @vadmium, @serhiy-storchaka, @koobs Files ctypes_util_popen.patchctypes_util_popen-2.patchctypes_util_popen-3.py3.patchctypes_util_popen-3.py2.patchdump: /usr/ccs...

Opengraph URL: https://github.com/python/cpython/issues/66826

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"avoid using a shell in ctypes.util: replace os.popen with subprocess","articleBody":"BPO | [22636](https://bugs.python.org/issue22636)\n--- | :---\nNosy | @warsaw, @vstinner, @vadmium, @serhiy-storchaka, @koobs\nFiles | \u003cli>[ctypes_util_popen.patch](https://bugs.python.org/file36923/ctypes_util_popen.patch \"Uploaded as text/plain at 2014-10-14.22:32:55 by @vstinner\")\u003c/li>\u003cli>[ctypes_util_popen-2.patch](https://bugs.python.org/file36946/ctypes_util_popen-2.patch \"Uploaded as text/plain at 2014-10-16.10:16:52 by @vstinner\")\u003c/li>\u003cli>[ctypes_util_popen-3.py3.patch](https://bugs.python.org/file42796/ctypes_util_popen-3.py3.patch \"Uploaded as text/plain at 2016-05-10.12:01:46 by @vadmium\")\u003c/li>\u003cli>[ctypes_util_popen-3.py2.patch](https://bugs.python.org/file42797/ctypes_util_popen-3.py2.patch \"Uploaded as text/plain at 2016-05-10.12:42:42 by @vadmium\")\u003c/li>\u003cli>[dump](https://bugs.python.org/file42798/dump \"Uploaded as text/plain at 2016-05-10.12:51:38 by @vadmium\"): /usr/ccs/bin/dump\u003c/li>\u003cli>[ldconfig](https://bugs.python.org/file42799/ldconfig \"Uploaded as text/plain at 2016-05-10.12:53:21 by @vadmium\"): /sbin/ldconfig -r (BSD)\u003c/li>\u003cli>[crle](https://bugs.python.org/file42800/crle \"Uploaded as text/plain at 2016-05-10.12:54:10 by @vadmium\"): /usr/bin/crle\u003c/li>\u003cli>[ctypes_util_popen-4.py2.patch](https://bugs.python.org/file43326/ctypes_util_popen-4.py2.patch \"Uploaded as text/plain at 2016-06-10.04:16:34 by @vadmium\")\u003c/li>\u003cli>[ctypes_util_popen-5.py3.patch](https://bugs.python.org/file43329/ctypes_util_popen-5.py3.patch \"Uploaded as text/plain at 2016-06-10.06:20:23 by @vadmium\")\u003c/li>\u003cli>[ctypes_util_popen-5.py2.patch](https://bugs.python.org/file43383/ctypes_util_popen-5.py2.patch \"Uploaded as text/plain at 2016-06-14.03:30:56 by @vadmium\")\u003c/li>\u003cli>[ctypes_util_popen-6.py2.patch](https://bugs.python.org/file43387/ctypes_util_popen-6.py2.patch \"Uploaded as text/plain at 2016-06-14.09:56:14 by @vadmium\")\u003c/li>\n\n\u003csup>*Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.*\u003c/sup>\n\n\u003cdetails>\u003csummary>Show more details\u003c/summary>\u003cp>\n\nGitHub fields:\n```python\nassignee = None\nclosed_at = \u003cDate 2016-06-18.03:19:15.452>\ncreated_at = \u003cDate 2014-10-14.22:32:55.866>\nlabels = ['ctypes', 'type-bug']\ntitle = 'avoid using a shell in ctypes.util: replace os.popen with subprocess'\nupdated_at = \u003cDate 2016-06-18.06:05:44.654>\nuser = 'https://github.com/vstinner'\n```\n\nbugs.python.org fields:\n```python\nactivity = \u003cDate 2016-06-18.06:05:44.654>\nactor = 'vstinner'\nassignee = 'none'\nclosed = True\nclosed_date = \u003cDate 2016-06-18.03:19:15.452>\ncloser = 'martin.panter'\ncomponents = ['ctypes']\ncreation = \u003cDate 2014-10-14.22:32:55.866>\ncreator = 'vstinner'\ndependencies = []\nfiles = ['36923', '36946', '42796', '42797', '42798', '42799', '42800', '43326', '43329', '43383', '43387']\nhgrepos = []\nissue_num = 22636\nkeywords = ['patch']\nmessage_count = 25.0\nmessages = ['229363', '229520', '255522', '255552', '255635', '265111', '265242', '265243', '265244', '266051', '268081', '268085', '268087', '268092', '268094', '268098', '268505', '268508', '268510', '268516', '268548', '268668', '268754', '268755', '268766']\nnosy_count = 7.0\nnosy_names = ['barry', 'vstinner', 'Arfrever', 'python-dev', 'martin.panter', 'serhiy.storchaka', 'koobs']\npr_nums = []\npriority = 'normal'\nresolution = 'fixed'\nstage = 'resolved'\nstatus = 'closed'\nsuperseder = None\ntype = 'behavior'\nurl = 'https://bugs.python.org/issue22636'\nversions = ['Python 2.7', 'Python 3.5', 'Python 3.6']\n```\n\n\u003c/p>\u003c/details>\n","author":{"url":"https://github.com/vstinner","@type":"Person","name":"vstinner"},"datePublished":"2014-10-14T22:32:56Z","url":"https://github.com/python/cpython/issues/66826"}

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/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:a33d0754-de5a-9598-5f6e-5a203ccfc70d
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idBAA2:22E601:D56DAC:11E7930:6B00536C
html-safe-noncecaa55405606090419f10b0df88e6f3d725e016eba612f5024849acbddf50dd6e
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCQUEyOjIyRTYwMTpENTZEQUM6MTFFNzkzMDo2QjAwNTM2QyIsInZpc2l0b3JfaWQiOiI0ODIxODYzOTU5OTk5MDQyNDEyIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmaca62053799c9c4eca7ee3d0c0fe17c69b2abdfaec71600a9f6740fb523a12adff
hovercard-subject-tagissue:1198926880
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/python/cpython/66826/issue_layout
twitter:imagehttps://opengraph.githubassets.com/47ba280c718852de1107c0a626af3436e19d6617d0fb10dfb231215957d8b3ec/python/cpython/issues/66826
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/47ba280c718852de1107c0a626af3436e19d6617d0fb10dfb231215957d8b3ec/python/cpython/issues/66826
og:image:altBPO 22636 Nosy @warsaw, @vstinner, @vadmium, @serhiy-storchaka, @koobs Files ctypes_util_popen.patchctypes_util_popen-2.patchctypes_util_popen-3.py3.patchctypes_util_popen-3.py2.patchdump: /usr/ccs...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamevstinner
hostnamegithub.com
expected-hostnamegithub.com
Nonef420f4996e6b1ff1ccd6d7683f8134f4b5f0f8a50124c210dbfe7490e5644abb
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
release26e00df917aba0f128135dc073ea0c5e33a70d40
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-nameissues

Links:

Skip to contenthttps://github.com/python/cpython/issues/66826#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fissues%2F66826
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%2Fissues%2F66826
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%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=python%2Fcpython
Reloadhttps://github.com/python/cpython/issues/66826
Reloadhttps://github.com/python/cpython/issues/66826
Reloadhttps://github.com/python/cpython/issues/66826
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
New issuehttps://github.com/login?return_to=https://github.com/python/cpython/issues/66826
New issuehttps://github.com/login?return_to=https://github.com/python/cpython/issues/66826
avoid using a shell in ctypes.util: replace os.popen with subprocesshttps://github.com/python/cpython/issues/66826#top
topic-ctypeshttps://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22topic-ctypes%22
type-bugAn unexpected behavior, bug, or errorhttps://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22type-bug%22
https://github.com/vstinner
vstinnerhttps://github.com/vstinner
on Oct 14, 2014https://github.com/python/cpython/issues/66826#issue-1198926880
22636https://bugs.python.org/issue22636
@warsawhttps://github.com/warsaw
@vstinnerhttps://github.com/vstinner
@vadmiumhttps://github.com/vadmium
@serhiy-storchakahttps://github.com/serhiy-storchaka
@koobshttps://github.com/koobs
ctypes_util_popen.patchhttps://bugs.python.org/file36923/ctypes_util_popen.patch
ctypes_util_popen-2.patchhttps://bugs.python.org/file36946/ctypes_util_popen-2.patch
ctypes_util_popen-3.py3.patchhttps://bugs.python.org/file42796/ctypes_util_popen-3.py3.patch
ctypes_util_popen-3.py2.patchhttps://bugs.python.org/file42797/ctypes_util_popen-3.py2.patch
dumphttps://bugs.python.org/file42798/dump
ldconfighttps://bugs.python.org/file42799/ldconfig
crlehttps://bugs.python.org/file42800/crle
ctypes_util_popen-4.py2.patchhttps://bugs.python.org/file43326/ctypes_util_popen-4.py2.patch
ctypes_util_popen-5.py3.patchhttps://bugs.python.org/file43329/ctypes_util_popen-5.py3.patch
ctypes_util_popen-5.py2.patchhttps://bugs.python.org/file43383/ctypes_util_popen-5.py2.patch
ctypes_util_popen-6.py2.patchhttps://bugs.python.org/file43387/ctypes_util_popen-6.py2.patch
Nexthttps://github.com/python/cpython/issues/66826?timeline_page=1
https://github.com/vstinner
vstinnerhttps://github.com/vstinner
on Oct 14, 2014https://github.com/python/cpython/issues/66826#issuecomment-1093666962
vstinnerhttps://github.com/vstinner
type-featureA feature request or enhancementhttps://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22type-feature%22
on Oct 14, 2014https://github.com/python/cpython/issues/66826#event-6403316229
https://github.com/vstinner
vstinnerhttps://github.com/vstinner
on Oct 16, 2014https://github.com/python/cpython/issues/66826#issuecomment-1093666963
https://github.com/vadmium
vadmiumhttps://github.com/vadmium
on Nov 28, 2015https://github.com/python/cpython/issues/66826#issuecomment-1093666965
bpo-25751https://bugs.python.org/issue?@action=redirect&bpo=25751
vadmiumhttps://github.com/vadmium
topic-ctypeshttps://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22topic-ctypes%22
on Nov 28, 2015https://github.com/python/cpython/issues/66826#event-6403316231
https://github.com/vadmium
vadmiumhttps://github.com/vadmium
on Nov 28, 2015https://github.com/python/cpython/issues/66826#issuecomment-1093666967
https://github.com/vadmium
vadmiumhttps://github.com/vadmium
on Dec 1, 2015https://github.com/python/cpython/issues/66826#issuecomment-1093666968
bpo-25751https://bugs.python.org/issue?@action=redirect&bpo=25751
vadmiumhttps://github.com/vadmium
type-bugAn unexpected behavior, bug, or errorhttps://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22type-bug%22
type-featureA feature request or enhancementhttps://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22type-feature%22
on Dec 1, 2015https://github.com/python/cpython/issues/66826#event-6403316232
https://github.com/vadmium
vadmiumhttps://github.com/vadmium
on May 8, 2016https://github.com/python/cpython/issues/66826#issuecomment-1093666969
https://github.com/vadmium
vadmiumhttps://github.com/vadmium
on May 10, 2016https://github.com/python/cpython/issues/66826#issuecomment-1093666970
bpo-4861https://bugs.python.org/issue?@action=redirect&bpo=4861
https://github.com/vadmium
vadmiumhttps://github.com/vadmium
on May 10, 2016https://github.com/python/cpython/issues/66826#issuecomment-1093666972
bpo-11258https://bugs.python.org/issue?@action=redirect&bpo=11258
https://github.com/vadmium
vadmiumhttps://github.com/vadmium
on May 10, 2016https://github.com/python/cpython/issues/66826#issuecomment-1093666974
https://github.com/vadmium
vadmiumhttps://github.com/vadmium
on May 22, 2016https://github.com/python/cpython/issues/66826#issuecomment-1093666975
https://mail.python.org/pipermail/python-dev/2016-May/144502.html\>https://mail.python.org/pipermail/python-dev/2016-May/144502.html%5C%3E
https://github.com/vadmium
vadmiumhttps://github.com/vadmium
on Jun 10, 2016https://github.com/python/cpython/issues/66826#issuecomment-1093666976
bpo-26439https://bugs.python.org/issue?@action=redirect&bpo=26439
https://github.com/vadmium
vadmiumhttps://github.com/vadmium
on Jun 10, 2016https://github.com/python/cpython/issues/66826#issuecomment-1093666980
https://github.com/vstinner
vstinnerhttps://github.com/vstinner
on Jun 10, 2016https://github.com/python/cpython/issues/66826#issuecomment-1093666982
https://github.com/vadmium
vadmiumhttps://github.com/vadmium
on Jun 10, 2016https://github.com/python/cpython/issues/66826#issuecomment-1093666983
https://github.com/serhiy-storchaka
serhiy-storchakahttps://github.com/serhiy-storchaka
on Jun 10, 2016https://github.com/python/cpython/issues/66826#issuecomment-1093666984
on Jun 14, 2016https://github.com/python/cpython/issues/66826#issuecomment-1093666985
bpo-22636https://bugs.python.org/issue?@action=redirect&bpo=22636
https://hg.python.org/cpython/rev/0715d403cae2https://hg.python.org/cpython/rev/0715d403cae2
bpo-22636https://bugs.python.org/issue?@action=redirect&bpo=22636
https://hg.python.org/cpython/rev/60613ecad578https://hg.python.org/cpython/rev/60613ecad578
https://github.com/vadmium
vadmiumhttps://github.com/vadmium
on Jun 14, 2016https://github.com/python/cpython/issues/66826#issuecomment-1093666987
https://github.com/vadmium
vadmiumhttps://github.com/vadmium
on Jun 14, 2016https://github.com/python/cpython/issues/66826#issuecomment-1093666988
on Jun 14, 2016https://github.com/python/cpython/issues/66826#issuecomment-1093666990
bpo-22636https://bugs.python.org/issue?@action=redirect&bpo=22636
https://hg.python.org/cpython/rev/96d297e9a8a8https://hg.python.org/cpython/rev/96d297e9a8a8
bpo-22636https://bugs.python.org/issue?@action=redirect&bpo=22636
https://hg.python.org/cpython/rev/a6a36bb6ee50https://hg.python.org/cpython/rev/a6a36bb6ee50
https://github.com/vadmium
vadmiumhttps://github.com/vadmium
on Jun 14, 2016https://github.com/python/cpython/issues/66826#issuecomment-1093666991
https://github.com/serhiy-storchaka
serhiy-storchakahttps://github.com/serhiy-storchaka
on Jun 16, 2016https://github.com/python/cpython/issues/66826#issuecomment-1093666992
on Jun 18, 2016https://github.com/python/cpython/issues/66826#issuecomment-1093666993
bpo-22636https://bugs.python.org/issue?@action=redirect&bpo=22636
https://hg.python.org/cpython/rev/a09ae70f3489https://hg.python.org/cpython/rev/a09ae70f3489
https://github.com/vadmium
vadmiumhttps://github.com/vadmium
on Jun 18, 2016https://github.com/python/cpython/issues/66826#issuecomment-1093666994
vadmiumhttps://github.com/vadmium
completedhttps://github.com/python/cpython/issues?q=is%3Aissue%20state%3Aclosed%20archived%3Afalse%20reason%3Acompleted
on Jun 18, 2016https://github.com/python/cpython/issues/66826#event-6403316240
https://github.com/vstinner
vstinnerhttps://github.com/vstinner
on Jun 18, 2016https://github.com/python/cpython/issues/66826#issuecomment-1093666995
ezio-melottihttps://github.com/ezio-melotti
https://github.com/python/cpython/issues/undefined
on Apr 10, 2022https://github.com/python/cpython/issues/66826#event-6403316245
Sign up for freehttps://github.com/signup?return_to=https://github.com/python/cpython/issues/66826
Sign in to commenthttps://github.com/login?return_to=https://github.com/python/cpython/issues/66826
topic-ctypeshttps://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22topic-ctypes%22
type-bugAn unexpected behavior, bug, or errorhttps://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22type-bug%22
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.