Skip to content

Add context manager to temporarily disable GC #75537

Open
@rhettinger

Description

@rhettinger
BPO 31356
Nosy @rhettinger, @gpshead, @ncoghlan, @pitrou, @ned-deily, @pmp-p, @ericsnowcurrently, @serhiy-storchaka, @1st1, @MojoVampire, @YoSTEALTH, @bharel, @lisroach, @pablogsal, @sweeneyde, @Jongy
PRs
  • bpo-31356: Add context manager to temporarily disable GC #4224
  • bpo-31356: Fixing PyErr_WarnEx might error out. #5456
  • bpo-31356: Fix multiple errors in gc.ensure_disabled() #5462
  • Revert "bpo-31356: Add context manager to temporarily disable GC #4224 #5495
  • [3.7] Revert "bpo-31356: Add context manager to temporarily disable GC GH-5495 #5496
  • 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 = None
    created_at = <Date 2017-09-05.23:47:23.956>
    labels = ['interpreter-core', '3.8', 'type-feature', 'library']
    title = 'Add context manager to temporarily disable GC'
    updated_at = <Date 2021-05-01.15:07:54.862>
    user = 'https://github.com/rhettinger'

    bugs.python.org fields:

    activity = <Date 2021-05-01.15:07:54.862>
    actor = 'Yonatan Goldschmidt'
    assignee = 'none'
    closed = False
    closed_date = None
    closer = None
    components = ['Interpreter Core', 'Library (Lib)']
    creation = <Date 2017-09-05.23:47:23.956>
    creator = 'rhettinger'
    dependencies = []
    files = []
    hgrepos = []
    issue_num = 31356
    keywords = ['patch']
    message_count = 52.0
    messages = ['301407', '301633', '301636', '301644', '301645', '301710', '301720', '302903', '305402', '306053', '306054', '306071', '306072', '306076', '311167', '311300', '311305', '311312', '311331', '311337', '311340', '311342', '311343', '311344', '311347', '311348', '311350', '311351', '311352', '311356', '311357', '311360', '311362', '311363', '311366', '311372', '311396', '311397', '311402', '311444', '311491', '311494', '311495', '311508', '311512', '311513', '311514', '311566', '311635', '311646', '385213', '385214']
    nosy_count = 16.0
    nosy_names = ['rhettinger', 'gregory.p.smith', 'ncoghlan', 'pitrou', 'ned.deily', 'pmpp', 'eric.snow', 'serhiy.storchaka', 'yselivanov', 'josh.r', 'YoSTEALTH', 'bar.harel', 'lisroach', 'pablogsal', 'Dennis Sweeney', 'Yonatan Goldschmidt']
    pr_nums = ['4224', '5456', '5462', '5495', '5496']
    priority = 'normal'
    resolution = None
    stage = 'needs patch'
    status = 'open'
    superseder = None
    type = 'enhancement'
    url = 'https://bugs.python.org/issue31356'
    versions = ['Python 3.8']

    Metadata

    Metadata

    Assignees

    No one assigned

      Labels

      interpreter-core(Objects, Python, Grammar, and Parser dirs)stdlibPython modules in the Lib dirtype-featureA feature request or enhancement

      Projects

      No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions