Skip to content

sys.executable: wrong location if zeroth command argument is modified. #52022

@tarekziade

Description

@tarekziade
BPO 7774
Nosy @ronaldoussoren, @pitrou, @vstinner, @tarekziade, @ezio-melotti, @florentx, @cjerdonek
PRs
  • bpo-28552: Fix distutils.sysconfig for empty sys.executable #12875
  • [3.7] bpo-28552: Fix distutils.sysconfig for empty sys.executable (GH-12875) #12948
  • [2.7] bpo-28552: Fix distutils.sysconfig for empty sys.executable (GH-12875) #12949
  • Files
  • issue7774_sysconfig.diff: Patch, apply to 2.x
  • getpath.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 2010-03-22.00:33:15.957>
    created_at = <Date 2010-01-24.23:23:20.116>
    labels = ['interpreter-core', 'type-bug']
    title = 'sys.executable: wrong location if zeroth command argument is modified.'
    updated_at = <Date 2019-04-25.11:16:06.933>
    user = 'https://github.com/tarekziade'

    bugs.python.org fields:

    activity = <Date 2019-04-25.11:16:06.933>
    actor = 'vstinner'
    assignee = 'none'
    closed = True
    closed_date = <Date 2010-03-22.00:33:15.957>
    closer = 'vstinner'
    components = ['Interpreter Core']
    creation = <Date 2010-01-24.23:23:20.116>
    creator = 'tarek'
    dependencies = []
    files = ['16521', '16523']
    hgrepos = []
    issue_num = 7774
    keywords = ['patch']
    message_count = 27.0
    messages = ['98257', '98258', '98259', '98261', '98282', '98283', '98284', '98285', '99203', '100820', '100822', '100827', '100828', '100829', '100830', '100838', '100843', '100849', '100850', '100851', '100934', '101425', '101472', '172434', '340828', '340832', '340834']
    nosy_count = 10.0
    nosy_names = ['ronaldoussoren', 'pitrou', 'vstinner', 'schmir', 'tarek', 'jnoller', 'ezio.melotti', 'Arfrever', 'flox', 'chris.jerdonek']
    pr_nums = ['12875', '12948', '12949']
    priority = 'normal'
    resolution = 'fixed'
    stage = 'needs patch'
    status = 'closed'
    superseder = None
    type = 'behavior'
    url = 'https://bugs.python.org/issue7774'
    versions = ['Python 2.6', 'Python 2.5', 'Python 3.1', 'Python 2.7', 'Python 3.2']

    Metadata

    Metadata

    Assignees

    No one assigned

      Labels

      interpreter-core(Objects, Python, Grammar, and Parser dirs)type-bugAn unexpected behavior, bug, or error

      Projects

      No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions