Skip to content

avoid using a shell in ctypes.util: replace os.popen with subprocess #66826

@vstinner

Description

@vstinner
BPO 22636
Nosy @warsaw, @vstinner, @vadmium, @serhiy-storchaka, @koobs
Files
  • ctypes_util_popen.patch
  • ctypes_util_popen-2.patch
  • ctypes_util_popen-3.py3.patch
  • ctypes_util_popen-3.py2.patch
  • dump: /usr/ccs/bin/dump
  • ldconfig: /sbin/ldconfig -r (BSD)
  • crle: /usr/bin/crle
  • ctypes_util_popen-4.py2.patch
  • ctypes_util_popen-5.py3.patch
  • ctypes_util_popen-5.py2.patch
  • ctypes_util_popen-6.py2.patch
  • Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.

    Show more details

    GitHub fields:

    assignee = None
    closed_at = <Date 2016-06-18.03:19:15.452>
    created_at = <Date 2014-10-14.22:32:55.866>
    labels = ['ctypes', 'type-bug']
    title = 'avoid using a shell in ctypes.util: replace os.popen with subprocess'
    updated_at = <Date 2016-06-18.06:05:44.654>
    user = 'https://github.com/vstinner'

    bugs.python.org fields:

    activity = <Date 2016-06-18.06:05:44.654>
    actor = 'vstinner'
    assignee = 'none'
    closed = True
    closed_date = <Date 2016-06-18.03:19:15.452>
    closer = 'martin.panter'
    components = ['ctypes']
    creation = <Date 2014-10-14.22:32:55.866>
    creator = 'vstinner'
    dependencies = []
    files = ['36923', '36946', '42796', '42797', '42798', '42799', '42800', '43326', '43329', '43383', '43387']
    hgrepos = []
    issue_num = 22636
    keywords = ['patch']
    message_count = 25.0
    messages = ['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']
    nosy_count = 7.0
    nosy_names = ['barry', 'vstinner', 'Arfrever', 'python-dev', 'martin.panter', 'serhiy.storchaka', 'koobs']
    pr_nums = []
    priority = 'normal'
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = 'behavior'
    url = 'https://bugs.python.org/issue22636'
    versions = ['Python 2.7', 'Python 3.5', 'Python 3.6']

    Metadata

    Metadata

    Assignees

    No one assigned

      Labels

      Projects

      No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions