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
Domain: github.com
{"@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-profiling | 0 |
| react-import-map | react,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-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:a33d0754-de5a-9598-5f6e-5a203ccfc70d |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | BAA2:22E601:D56DAC:11E7930:6B00536C |
| html-safe-nonce | caa55405606090419f10b0df88e6f3d725e016eba612f5024849acbddf50dd6e |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCQUEyOjIyRTYwMTpENTZEQUM6MTFFNzkzMDo2QjAwNTM2QyIsInZpc2l0b3JfaWQiOiI0ODIxODYzOTU5OTk5MDQyNDEyIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | a62053799c9c4eca7ee3d0c0fe17c69b2abdfaec71600a9f6740fb523a12adff |
| hovercard-subject-tag | issue:1198926880 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/python/cpython/66826/issue_layout |
| twitter:image | https://opengraph.githubassets.com/47ba280c718852de1107c0a626af3436e19d6617d0fb10dfb231215957d8b3ec/python/cpython/issues/66826 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/47ba280c718852de1107c0a626af3436e19d6617d0fb10dfb231215957d8b3ec/python/cpython/issues/66826 |
| og:image:alt | 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... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | vstinner |
| hostname | github.com |
| expected-hostname | github.com |
| None | f420f4996e6b1ff1ccd6d7683f8134f4b5f0f8a50124c210dbfe7490e5644abb |
| turbo-cache-control | no-preview |
| go-import | github.com/python/cpython git https://github.com/python/cpython.git |
| octolytics-dimension-user_id | 1525981 |
| octolytics-dimension-user_login | python |
| octolytics-dimension-repository_id | 81598961 |
| octolytics-dimension-repository_nwo | python/cpython |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 81598961 |
| octolytics-dimension-repository_network_root_nwo | python/cpython |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 26e00df917aba0f128135dc073ea0c5e33a70d40 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width