Skip to content

Use __attribute__((deprecated)) to warn usage of deprecated functions and macros #63768

@vstinner

Description

@vstinner
BPO 19569
Nosy @pitrou, @vstinner, @ezio-melotti, @methane, @serhiy-storchaka, @eryksun, @aixtools, @ZackerySpytz, @miss-islington
PRs
  • bpo-19569: Add a macro to suppress deprecation warnings (counterpart of Py_DEPRECATED()) #9004
  • [3.9] bpo-19569: Add a macro to suppress deprecation warnings (GH-9004) #20907
  • Files
  • mark-deprecated-functions.patch
  • mark-deprecated-functions-2.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 2019-05-28.15:20:34.724>
    created_at = <Date 2013-11-13.13:11:16.776>
    labels = ['interpreter-core', 'type-feature', '3.8', 'build']
    title = 'Use __attribute__((deprecated)) to warn usage of deprecated functions and macros'
    updated_at = <Date 2020-06-17.03:18:10.715>
    user = 'https://github.com/vstinner'

    bugs.python.org fields:

    activity = <Date 2020-06-17.03:18:10.715>
    actor = 'miss-islington'
    assignee = 'none'
    closed = True
    closed_date = <Date 2019-05-28.15:20:34.724>
    closer = 'vstinner'
    components = ['Build', 'Interpreter Core']
    creation = <Date 2013-11-13.13:11:16.776>
    creator = 'vstinner'
    dependencies = []
    files = ['45365', '45370']
    hgrepos = []
    issue_num = 19569
    keywords = ['patch']
    message_count = 23.0
    messages = ['202740', '202743', '227674', '227676', '227695', '227727', '227822', '277248', '280102', '280110', '280134', '280150', '280154', '280192', '280195', '280221', '280329', '281257', '281258', '293932', '343791', '371611', '371708']
    nosy_count = 11.0
    nosy_names = ['pitrou', 'vstinner', 'ezio.melotti', 'Arfrever', 'methane', 'python-dev', 'serhiy.storchaka', 'eryksun', 'Michael.Felt', 'ZackerySpytz', 'miss-islington']
    pr_nums = ['9004', '20907']
    priority = 'normal'
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = 'enhancement'
    url = 'https://bugs.python.org/issue19569'
    versions = ['Python 3.8']

    Metadata

    Metadata

    Assignees

    No one assigned

      Labels

      3.8 (EOL)end of lifebuildThe build process and cross-buildinterpreter-core(Objects, Python, Grammar, and Parser dirs)type-featureA feature request or enhancement

      Projects

      No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions