GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — warnings should use a ContextVar to manage filters/registry · Issue #81785 · python/cpython

warnings should use a ContextVar to manage filters/registry #81785

New issue
Copy link
New issue
Copy link
Closed
Closed
warnings should use a ContextVar to manage filters/registry#81785
Copy link
Labels
stdlibStandard Library Python modules in the Lib/ directoryStandard Library Python modules in the Lib/ directorytype-bugAn unexpected behavior, bug, or errorAn unexpected behavior, bug, or error

Description

graingert
mannequin
opened on Jul 16, 2019
Issue body actions
BPO 37604
Nosy @gvanrossum, @graingert

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 2020-09-16.19:41:24.989>
created_at = <Date 2019-07-16.13:24:57.641>
labels = ['type-bug', 'library']
title = 'warnings should use a ContextVar to manage filters/registry'
updated_at = <Date 2020-09-16.19:41:24.989>
user = 'https://github.com/graingert'

bugs.python.org fields:

activity = <Date 2020-09-16.19:41:24.989>
actor = 'gvanrossum'
assignee = 'none'
closed = True
closed_date = <Date 2020-09-16.19:41:24.989>
closer = 'gvanrossum'
components = ['Library (Lib)']
creation = <Date 2019-07-16.13:24:57.641>
creator = 'graingert'
dependencies = []
files = []
hgrepos = []
issue_num = 37604
keywords = []
message_count = 4.0
messages = ['348015', '348016', '357809', '377016']
nosy_count = 3.0
nosy_names = ['gvanrossum', 'graingert', 'Eric Wieser']
pr_nums = []
priority = 'normal'
resolution = None
stage = 'resolved'
status = 'closed'
superseder = None
type = 'behavior'
url = 'https://bugs.python.org/issue37604'
versions = []

Activity

  1. graingert commented on Jul 16, 2019

    @graingert
    graingertmannequin
    on Jul 16, 2019
    MannequinAuthor
    More actions

    this would allow warnings.catch_warnings to be threadsafe

  2. graingert commented on Jul 16, 2019

    @graingert
    graingertmannequin
    on Jul 16, 2019
    MannequinAuthor
    More actions

    note that PEP-550 previously mentions catch_warnings as something that would benefit from some sort of Execution Context management

    Context managers like decimal contexts, numpy.errstate, and warnings.catch_warnings.

  3. EricWieser commented on Dec 4, 2019

    @EricWieser
    EricWiesermannequin
    on Dec 4, 2019
    Mannequin
    More actions

    A relevant old issue is https://bugs.python.org/issue6647

  4. EricWieser
    added
    stdlibStandard Library Python modules in the Lib/ directoryStandard Library Python modules in the Lib/ directory
    type-bugAn unexpected behavior, bug, or errorAn unexpected behavior, bug, or error
    on Dec 4, 2019
  5. gvanrossum commented on Sep 16, 2020

    @gvanrossum
    gvanrossum
    on Sep 16, 2020
    Member
    More actions

    Closing for lack of activity.

  6. gvanrossum
    closed this as completedon Sep 16, 2020
  7. ezio-melotti
    transferred this issue fromon Apr 10, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    stdlibStandard Library Python modules in the Lib/ directoryStandard Library Python modules in the Lib/ directorytype-bugAn unexpected behavior, bug, or errorAn unexpected behavior, bug, or error

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      You are visitor 01402503 — GeezerVison does not store the pages you look up.
      Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.