Skip to content

ctypes.util.find_library fails when ldconfig/glibc not available (e.g., AIX) #70626

@aixtools

Description

@aixtools
BPO 26439
Nosy @vstinner, @ned-deily, @haubi, @vadmium, @aixtools, @Mariatta
PRs
  • bpo-26439 Fix ctypes.util.find_library failure on AIX #4507
  • bpo-26439: Convert %s to f-strings. #4986
  • Dependencies
  • bpo-22636: avoid using a shell in ctypes.util: replace os.popen with subprocess
  • Files
  • python.Lib.ctypes.160309.patch
  • python.Lib.ctypes.160317.patch
  • python.Lib.ctypes.160317.patch: Regenerated with Mercurial
  • python.Lib.ctypes.160504.patch: New patches to init.py and util.py as described in message
  • aixutil.py: proposed ctypes.aixutil Library code to support ctypes.cdll and ctypes.util
  • python.Lib.ctypes.160504.patch: Regenerated, including aixutil
  • python.Lib.ctypes.160509.patch
  • aixutil.py: aixutil.py for Lib/ctypes
  • PythonX.Lib.ctypes.aixutil.py.160510: Lib/ctypes/aixutil.py addition
  • Python2.Lib.ctypes.160510.patch: Python2/Lib/ctypes pathces
  • Python2.Modules._ctypes.160510.patch: Python2/Modules/_ctypes/_ctype.c patch to export RTLD_MEMBER and RTLD_NOW
  • Python3.Lib.ctypes.160510.patch: Python3/Lib/ctypes patches
  • Python3.Modules._ctypes.160510.patch: Python3/Modules/_ctypes/_ctype.c patch to export RTLD_MEMBER and RTLD_NOW
  • Python3.issue26439.160511.patch: new patch for Python3 - specific for this issue
  • Python2.issue26439.160511.patch: new patch for Python2 - specific for this issue
  • aixutil.py: aixutil.py for Lib/ctypes - updated
  • Python2.Lib.ctypes.160531.patch: Python2/Lib/ctypes patch
  • _aixutil.py
  • python.Lib.ctypes.160608.patch: diff -ru results for Python-2.7.11/Lib/ctypes
  • _aixutil.py: revised _aixutil.py for review
  • Python2.Lib.ctypes.160611.patch: revised ctypes/Lib patches based on Python 2.7
  • Python2.Lib.ctypes.160611.patch: Regenerated for Rietveld
  • Python3.6.Lib.ctypes.160823.patch: Add support for AIX platform to Lib/ctypes
  • Python3.6.Modules._ctypes.160823.patch: Add RTLD_MEMBER to Modules/_ctypes
  • Python3.6.ctypes.160823.patch: Combined, regenerated
  • Python3.6.Lib.ctypes.160904.patch: patch compared to prevous patch (dated 160823)
  • Python3.6.Lib.ctypes.160926.patch: delta from Python3.6.0b1 to provide find_library() support compareable to Linux
  • aix-library.161001.patch
  • aix-modules.161004.patch: update to _ctypes.c to add RTLD_MEMBER
  • aix-library.161004.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 2018-07-18.20:57:26.917>
    created_at = <Date 2016-02-25.15:10:23.154>
    labels = ['ctypes', 'type-bug', '3.7']
    title = 'ctypes.util.find_library fails when ldconfig/glibc not available (e.g., AIX)'
    updated_at = <Date 2018-07-18.20:57:26.916>
    user = 'https://github.com/aixtools'

    bugs.python.org fields:

    activity = <Date 2018-07-18.20:57:26.916>
    actor = 'vstinner'
    assignee = 'none'
    closed = True
    closed_date = <Date 2018-07-18.20:57:26.917>
    closer = 'vstinner'
    components = ['ctypes']
    creation = <Date 2016-02-25.15:10:23.154>
    creator = 'Michael.Felt'
    dependencies = ['22636']
    files = ['42094', '42193', '42634', '42712', '42713', '42776', '42789', '42790', '42801', '42802', '42803', '42804', '42805', '42811', '42812', '43073', '43074', '43311', '43312', '43425', '43426', '43479', '44205', '44206', '44237', '44366', '44831', '44902', '44962', '44963']
    hgrepos = ['359']
    issue_num = 26439
    keywords = ['patch']
    message_count = 90.0
    messages = ['260861', '260862', '260863', '260864', '260885', '260890', '260982', '260999', '261010', '261012', '261013', '261392', '261932', '261934', '264150', '264391', '264392', '264405', '264406', '264451', '264458', '264514', '264544', '264806', '264807', '265112', '265115', '265194', '265195', '265253', '265278', '265291', '265302', '265304', '265305', '265306', '265435', '266132', '266211', '266527', '266718', '266783', '266784', '267254', '267420', '267900', '267902', '267903', '268083', '268203', '268214', '268355', '268401', '268696', '268697', '268699', '268884', '268885', '271742', '271816', '273503', '273505', '273762', '273977', '274335', '274354', '274374', '277428', '277491', '277801', '278066', '278083', '278086', '278087', '278092', '278675', '285395', '285396', '307421', '308636', '308638', '308746', '308759', '308773', '308860', '308948', '308954', '315311', '321916', '321917']
    nosy_count = 9.0
    nosy_names = ['vstinner', 'ned.deily', 'haubi', 'python-dev', 'martin.panter', 'David.Edelsohn', 'Michael.Felt', '[email protected]', 'Mariatta']
    pr_nums = ['4507', '4986']
    priority = 'normal'
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = 'behavior'
    url = 'https://bugs.python.org/issue26439'
    versions = ['Python 3.7']

    Metadata

    Metadata

    Assignees

    No one assigned

      Labels

      Projects

      No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions