Skip to content

The doc say all globals are copied on eval(), but only __builtins__ is copied #66255

@amishne

Description

@amishne
mannequin
BPO 22057
Nosy @rhettinger, @berkerpeksag, @vadmium, @ztane, @miss-islington
PRs
  • bpo-22057: Clarify eval() documentation #8812
  • [3.7] bpo-22057: Clarify eval() documentation (GH-8812) #8818
  • [3.6] bpo-22057: Clarify eval() documentation (GH-8812) #8819
  • Files
  • evalglobals2.patch
  • evalglobals3.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/rhettinger'
    closed_at = <Date 2018-08-19.10:53:32.047>
    created_at = <Date 2014-07-24.13:59:49.925>
    labels = ['3.8', 'type-bug', '3.7', 'docs']
    title = 'The doc say all globals are copied on eval(), but only __builtins__ is copied'
    updated_at = <Date 2018-08-19.10:53:32.046>
    user = 'https://bugs.python.org/amishne'

    bugs.python.org fields:

    activity = <Date 2018-08-19.10:53:32.046>
    actor = 'berker.peksag'
    assignee = 'rhettinger'
    closed = True
    closed_date = <Date 2018-08-19.10:53:32.047>
    closer = 'berker.peksag'
    components = ['Documentation']
    creation = <Date 2014-07-24.13:59:49.925>
    creator = 'amishne'
    dependencies = []
    files = ['36128', '36129']
    hgrepos = []
    issue_num = 22057
    keywords = ['patch']
    message_count = 12.0
    messages = ['223837', '223971', '224112', '224113', '242083', '242105', '282262', '323736', '323748', '323749', '323751', '323752']
    nosy_count = 7.0
    nosy_names = ['rhettinger', 'docs@python', 'berker.peksag', 'martin.panter', 'ztane', 'amishne', 'miss-islington']
    pr_nums = ['8812', '8818', '8819']
    priority = 'normal'
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = 'behavior'
    url = 'https://bugs.python.org/issue22057'
    versions = ['Python 2.7', 'Python 3.6', 'Python 3.7', 'Python 3.8']

    Metadata

    Metadata

    Assignees

    Labels

    3.7 (EOL)end of life3.8 (EOL)end of lifedocsDocumentation in the Doc dirtype-bugAn unexpected behavior, bug, or error

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions