Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

distutils doesn't notice --with-pydebug #43743

Closed
collinwinter mannequin opened this issue Jul 29, 2006 · 3 comments
Closed

distutils doesn't notice --with-pydebug #43743

collinwinter mannequin opened this issue Jul 29, 2006 · 3 comments
Labels
stdlib Python modules in the Lib dir

Comments

@collinwinter
Copy link
Mannequin

collinwinter mannequin commented Jul 29, 2006

BPO 1530959
Nosy @birkenfeld
Files
  • build.py.diff: Against r51046
  • NEWS.diff: Against r51046
  • 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 2008-01-21.17:42:49.512>
    created_at = <Date 2006-07-29.17:45:03.000>
    labels = ['library']
    title = "distutils doesn't notice --with-pydebug"
    updated_at = <Date 2008-01-21.17:42:49.510>
    user = 'https://bugs.python.org/collinwinter'

    bugs.python.org fields:

    activity = <Date 2008-01-21.17:42:49.510>
    actor = 'georg.brandl'
    assignee = 'none'
    closed = True
    closed_date = <Date 2008-01-21.17:42:49.512>
    closer = 'georg.brandl'
    components = ['Library (Lib)']
    creation = <Date 2006-07-29.17:45:03.000>
    creator = 'collinwinter'
    dependencies = []
    files = ['2086', '2087']
    hgrepos = []
    issue_num = 1530959
    keywords = []
    message_count = 3.0
    messages = ['29374', '29375', '61427']
    nosy_count = 2.0
    nosy_names = ['georg.brandl', 'collinwinter']
    pr_nums = []
    priority = 'normal'
    resolution = 'accepted'
    stage = None
    status = 'closed'
    superseder = None
    type = None
    url = 'https://bugs.python.org/issue1530959'
    versions = ['Python 2.5']

    @collinwinter
    Copy link
    Mannequin Author

    collinwinter mannequin commented Jul 29, 2006

    As it stands (as of r50921), building a C extension
    module first with a debug build of Python (built with
    --with-pydebug), then with a regular Python build
    (without --with-pydebug) does not cause distutils to
    recompile the extension module as it should. This leads
    to undefined symbol errors at runtime when the module
    is loaded.

    The attached patch against
    Lib/distutils/command/build.py causes
    distutils.command.build to append '-pydebug' to the
    platform-specific directory name (e.g.,
    'linux-i686-2.5') if Python was compiled with
    --with-pydebug.

    @collinwinter collinwinter mannequin added stdlib Python modules in the Lib dir labels Jul 29, 2006
    @collinwinter
    Copy link
    Mannequin Author

    collinwinter mannequin commented Aug 2, 2006

    Logged In: YES
    user_id=1344176

    I've updated the patch to r51046. Also attached is an entry
    for Misc/NEWS.

    @birkenfeld
    Copy link
    Member

    Committed as r60166.

    @ezio-melotti ezio-melotti transferred this issue from another repository Apr 10, 2022
    Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
    Labels
    stdlib Python modules in the Lib dir
    Projects
    None yet
    Development

    No branches or pull requests

    1 participant