Skip to content

stacklevel handling in logging module is inconsistent #89334

@joukewitteveen

Description

@joukewitteveen
BPO 45171
Nosy @vsajip, @tirkarthi, @akulakov, @joukewitteveen
PRs
  • bpo-45171: Fix stacklevel handling in logging. (GH-28287) #28287
  • bpo-45171: Remove tests of deprecated logger.warn(). (GH-32139) #32139
  • 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 2021-09-11.13:17:18.763>
    labels = ['3.8', 'library', '3.9', '3.10', '3.11']
    title = 'stacklevel handling in logging module is inconsistent'
    updated_at = <Date 2022-03-27.18:22:12.434>
    user = 'https://github.com/joukewitteveen'

    bugs.python.org fields:

    activity = <Date 2022-03-27.18:22:12.434>
    actor = 'vinay.sajip'
    assignee = 'none'
    closed = False
    closed_date = None
    closer = None
    components = ['Library (Lib)']
    creation = <Date 2021-09-11.13:17:18.763>
    creator = 'joukewitteveen'
    dependencies = []
    files = []
    hgrepos = []
    issue_num = 45171
    keywords = ['patch']
    message_count = 6.0
    messages = ['401638', '405995', '406001', '416125', '416129', '416132']
    nosy_count = 4.0
    nosy_names = ['vinay.sajip', 'xtreak', 'andrei.avk', 'joukewitteveen']
    pr_nums = ['28287', '32139']
    priority = 'normal'
    resolution = None
    stage = 'patch review'
    status = 'open'
    superseder = None
    type = None
    url = 'https://bugs.python.org/issue45171'
    versions = ['Python 3.8', 'Python 3.9', 'Python 3.10', 'Python 3.11']

    Metadata

    Metadata

    Assignees

    No one assigned

      Labels

      3.10only security fixes3.11only security fixes3.8 (EOL)end of life3.9 (EOL)end of lifestdlibStandard Library Python modules in the Lib/ directory

      Projects

      Status

      Done

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions