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

Deprecation notice on inspect.getargvalues() is incorrect #73000

Closed
ncoghlan opened this issue Nov 27, 2016 · 6 comments
Closed

Deprecation notice on inspect.getargvalues() is incorrect #73000

ncoghlan opened this issue Nov 27, 2016 · 6 comments
Labels
3.7 (EOL) end of life docs Documentation in the Doc dir type-feature A feature request or enhancement

Comments

@ncoghlan
Copy link
Contributor

BPO 28814
Nosy @ncoghlan, @berkerpeksag, @1st1, @Carreau
PRs
  • bpo-28814: Undeprecate inadvertantly deprecated inspect function. #122
  • [3.6] bpo-28814: Undeprecate inadvertently deprecated inspect functions. (#122) #243
  • [3.5] bpo-28814: Undeprecate inadvertently deprecated inspect functions. (#122) #244
  • 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 2017-02-23.15:46:55.839>
    created_at = <Date 2016-11-27.13:07:32.829>
    labels = ['type-feature', '3.7', 'docs']
    title = 'Deprecation notice on inspect.getargvalues() is incorrect'
    updated_at = <Date 2017-03-24.23:50:35.811>
    user = 'https://github.com/ncoghlan'

    bugs.python.org fields:

    activity = <Date 2017-03-24.23:50:35.811>
    actor = 'ncoghlan'
    assignee = 'docs@python'
    closed = True
    closed_date = <Date 2017-02-23.15:46:55.839>
    closer = 'ncoghlan'
    components = ['Documentation']
    creation = <Date 2016-11-27.13:07:32.829>
    creator = 'ncoghlan'
    dependencies = []
    files = []
    hgrepos = []
    issue_num = 28814
    keywords = []
    message_count = 6.0
    messages = ['281824', '288333', '288456', '288466', '290421', '290424']
    nosy_count = 5.0
    nosy_names = ['ncoghlan', 'docs@python', 'berker.peksag', 'yselivanov', 'mbussonn']
    pr_nums = ['122', '243', '244']
    priority = 'normal'
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = 'enhancement'
    url = 'https://bugs.python.org/issue28814'
    versions = ['Python 3.5', 'Python 3.6', 'Python 3.7']

    @ncoghlan
    Copy link
    Contributor Author

    inspect.getargvalues() and inspect.formatargvalues() were deprecated in Python 3.5 as part of implementing bpo-20438

    This is incorrect, as these are *frame* introspection related functions, not callable introspection ones. The documentation and implementation layout is confusing though, as they're interleaved with the callable introspection operations.

    @ncoghlan ncoghlan added the 3.7 (EOL) end of life label Nov 27, 2016
    @ncoghlan ncoghlan added docs Documentation in the Doc dir type-feature A feature request or enhancement labels Nov 27, 2016
    @berkerpeksag
    Copy link
    Member

    New changeset 0899b98 by Berker Peksag in branch 'master':
    bpo-28814: Undeprecate inadvertently deprecated inspect functions. (#122)
    0899b98

    @ncoghlan
    Copy link
    Contributor Author

    Thanks mbusson, berker.peksag!

    @Carreau
    Copy link
    Mannequin

    Carreau mannequin commented Feb 23, 2017

    Thanks Nick for finding this !

    @ncoghlan
    Copy link
    Contributor Author

    New changeset 0246422 by Nick Coghlan (Berker Peksag) in branch '3.5':
    bpo-28814: Undeprecate inadvertently deprecated inspect functions. (#122) (#244)
    0246422

    @ncoghlan
    Copy link
    Contributor Author

    New changeset 2197eac by Nick Coghlan (Berker Peksag) in branch '3.6':
    bpo-28814: Undeprecate inadvertently deprecated inspect functions. (#122) (#243)
    2197eac

    @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
    3.7 (EOL) end of life docs Documentation in the Doc dir type-feature A feature request or enhancement
    Projects
    None yet
    Development

    No branches or pull requests

    2 participants