Skip to content

__builtins__ propagation is misleading described in exec and eval documentation #70551

@xcombelle

Description

@xcombelle
mannequin
BPO 26363
Nosy @berkerpeksag, @vadmium, @eryksun, @JulienPalard
Superseder
  • bpo-22057: The doc say all globals are copied on eval(), but only builtins is copied
  • Files
  • issue26363.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 2018-08-19.00:07:47.743>
    created_at = <Date 2016-02-15.10:35:57.811>
    labels = ['3.8', 'type-bug', '3.7', 'docs']
    title = '__builtins__ propagation is misleading described in exec and eval documentation'
    updated_at = <Date 2018-08-19.00:07:47.603>
    user = 'https://bugs.python.org/xcombelle'

    bugs.python.org fields:

    activity = <Date 2018-08-19.00:07:47.603>
    actor = 'berker.peksag'
    assignee = 'docs@python'
    closed = True
    closed_date = <Date 2018-08-19.00:07:47.743>
    closer = 'berker.peksag'
    components = ['Documentation']
    creation = <Date 2016-02-15.10:35:57.811>
    creator = 'xcombelle'
    dependencies = []
    files = ['45652']
    hgrepos = []
    issue_num = 26363
    keywords = ['patch']
    message_count = 10.0
    messages = ['260306', '281775', '282055', '282108', '282131', '282165', '282206', '282208', '282263', '323739']
    nosy_count = 6.0
    nosy_names = ['docs@python', 'berker.peksag', 'martin.panter', 'eryksun', 'xcombelle', 'mdk']
    pr_nums = []
    priority = 'normal'
    resolution = 'duplicate'
    stage = 'resolved'
    status = 'closed'
    superseder = '22057'
    type = 'behavior'
    url = 'https://bugs.python.org/issue26363'
    versions = ['Python 2.7', 'Python 3.6', 'Python 3.7', 'Python 3.8']

    Metadata

    Metadata

    Assignees

    No one assigned

      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