Skip to content

logging TimedRotatingFileHandler must not rename devices like /dev/null #89564

Closed
@vstinner

Description

@vstinner
BPO 45401
Nosy @vsajip, @vstinner, @serhiy-storchaka, @miss-islington
PRs
  • bpo-45401: Change shouldRollover() methods to only rollover regular f… #28822
  • bpo-45401: Fix a resource warning in test_logging #28864
  • bpo-45401: Fix ResourceWarning in test_logging #28865
  • [3.9] bpo-45401: Change shouldRollover() methods to only rollover regular f… (GH-28822) #28866
  • [3.10] bpo-45401: Change shouldRollover() methods to only rollover regular f… (GH-28822) #28867
  • [3.10] bpo-45401: Fix a resource warning in test_logging (GH-28864) #28872
  • [3.9] bpo-45401: Fix a resource warning in test_logging (GH-28864) #28873
  • 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 2021-10-12.08:42:08.646>
    created_at = <Date 2021-10-07.09:47:34.223>
    labels = ['library', '3.9', '3.10', '3.11']
    title = 'logging TimedRotatingFileHandler must not rename devices like /dev/null'
    updated_at = <Date 2021-10-12.08:42:08.645>
    user = 'https://github.com/vstinner'

    bugs.python.org fields:

    activity = <Date 2021-10-12.08:42:08.645>
    actor = 'vstinner'
    assignee = 'none'
    closed = True
    closed_date = <Date 2021-10-12.08:42:08.646>
    closer = 'vstinner'
    components = ['Library (Lib)']
    creation = <Date 2021-10-07.09:47:34.223>
    creator = 'vstinner'
    dependencies = []
    files = []
    hgrepos = []
    issue_num = 45401
    keywords = ['patch']
    message_count = 15.0
    messages = ['403371', '403433', '403593', '403604', '403606', '403607', '403608', '403627', '403629', '403636', '403643', '403644', '403711', '403712', '403717']
    nosy_count = 4.0
    nosy_names = ['vinay.sajip', 'vstinner', 'serhiy.storchaka', 'miss-islington']
    pr_nums = ['28822', '28864', '28865', '28866', '28867', '28872', '28873']
    priority = 'normal'
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = None
    url = 'https://bugs.python.org/issue45401'
    versions = ['Python 3.9', 'Python 3.10', 'Python 3.11']

    Metadata

    Metadata

    Assignees

    No one assigned

      Labels

      3.10only security fixes3.11only security fixes3.9only security fixesstdlibPython modules in the Lib dir

      Projects

      No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions