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

warns vars() assignment as well as locals() #49449

Closed
ocean-city mannequin opened this issue Feb 10, 2009 · 2 comments
Closed

warns vars() assignment as well as locals() #49449

ocean-city mannequin opened this issue Feb 10, 2009 · 2 comments
Assignees
Labels
docs Documentation in the Doc dir

Comments

@ocean-city
Copy link
Mannequin

ocean-city mannequin commented Feb 10, 2009

BPO 5199
Nosy @birkenfeld
Files
  • warn_vars_assignment.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 = 'https://github.com/birkenfeld'
    closed_at = <Date 2009-03-30.22:12:35.362>
    created_at = <Date 2009-02-10.07:46:05.780>
    labels = ['docs']
    title = 'warns vars() assignment as well as locals()'
    updated_at = <Date 2009-03-30.22:12:35.361>
    user = 'https://bugs.python.org/ocean-city'

    bugs.python.org fields:

    activity = <Date 2009-03-30.22:12:35.361>
    actor = 'georg.brandl'
    assignee = 'georg.brandl'
    closed = True
    closed_date = <Date 2009-03-30.22:12:35.362>
    closer = 'georg.brandl'
    components = ['Documentation']
    creation = <Date 2009-02-10.07:46:05.780>
    creator = 'ocean-city'
    dependencies = []
    files = ['13008']
    hgrepos = []
    issue_num = 5199
    keywords = ['patch']
    message_count = 2.0
    messages = ['81534', '84681']
    nosy_count = 2.0
    nosy_names = ['georg.brandl', 'ocean-city']
    pr_nums = []
    priority = 'normal'
    resolution = 'fixed'
    stage = None
    status = 'closed'
    superseder = None
    type = None
    url = 'https://bugs.python.org/issue5199'
    versions = []

    @ocean-city
    Copy link
    Mannequin Author

    ocean-city mannequin commented Feb 10, 2009

    This comes from bpo-5197. Maybe we can emphasize a behavior of
    assignment to vars() is undefined if decorated with red block of
    *warning* as well as locals(). This patch is for release26-maint.

    @ocean-city ocean-city mannequin assigned birkenfeld Feb 10, 2009
    @ocean-city ocean-city mannequin added the docs Documentation in the Doc dir label Feb 10, 2009
    @birkenfeld
    Copy link
    Member

    Fixed in r70765.

    @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
    docs Documentation in the Doc dir
    Projects
    None yet
    Development

    No branches or pull requests

    1 participant