python / python/cpython

Fix for bug 30378 regressed SysLogHandler by making it resolve addresses at initialization instead of in `.emit()`

Open
#82,535 6 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

3.10 3.11 3.9 (EOL) stdlib type-bug
Dominant language
Python
Stars
77.2k
Forks
36k
Avg merge
1d 9h
Merged PRs (30d)
558

Description

BPO 38354
Nosy @vsajip, @ngie-eign, @iritkatriel

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 2019-10-02.21:32:12.533>
labels = ['type-bug', 'library', '3.9', '3.10', '3.11']
title = 'Fix for bug 30378 regressed SysLogHandler by making it resolve addresses at initialization instead of in `.emit()`'
updated_at = <Date 2021-10-18.23:26:10.897>
user = 'https://github.com/ngie-eign'

bugs.python.org fields:

activity = <Date 2021-10-18.23:26:10.897>
actor = 'iritkatriel'
assignee = 'none'
closed = False
closed_date = None
closer = None
components = ['Library (Lib)']
creation = <Date 2019-10-02.21:32:12.533>
creator = 'ngie'
dependencies = []
files = []
hgrepos = []
issue_num = 38354
keywords = []
message_count = 4.0
messages = ['353775', '353780', '353907', '404247']
nosy_count = 4.0
nosy_names = ['vinay.sajip', 'ngie', 'calcheng', 'iritkatriel']
pr_nums = []
priority = 'normal'
resolution = None
stage = None
status = 'open'
superseder = None
type = 'behavior'
url = 'https://bugs.python.org/issue38354'
versions = ['Python 3.9', 'Python 3.10', 'Python 3.11']

Linked PRs
  • gh-154504
  • gh-155457
  • gh-155458
  • gh-155459

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the SysLogHandler implementation, focusing on address resolution during initialization and in .emit(). Review linked PRs gh-154504, gh-155457, gh-155458, and gh-155459, then check the existing logging tests; done means the regression is resolved and the intended address-resolution behavior is covered.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
networking
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.