Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

tracing: store called hook_impls

Open
#240 2 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
5/5
Estimated time
Over a week
Newbie friendliness
25/100
Issue type
Feature
Clarity
Needs clarification
Activity status
Stale
Tech stack
python
Domain
tooling

Research direction

Start with src/pluggy/callers.py around lines 195-198 and trace how _Result is created and consumed. Then inspect the tracing path and existing hook_impl handling to clarify whether storage is optional and what information it should retain. Done requires an agreed scope and observable behavior for identifying called implementations.

Written by the indexing model from the issue text.

Description

discussion enhancement

With tracing I think it would be good to know where the result is coming from (firstresult=True), and/or which hook_impls have been called in general.

But this could also be useful to know in general, so storing it (optionally?) on the _Result seems like a good idea to me.
It should probably not be full references (except for when tracing is enabled, but that's not easy to know when creating the _Result it seems), but only the plugin_name by default.

Related code: https://github.com/pytest-dev/pluggy/blob/a5130ac87a71865192db3959d2e1e1ac41daaca7/src/pluggy/callers.py#L195-L198

Dominant language
Python
Stars
1.7k
Forks
170
Avg merge
1d 23h
Merged PRs (30d)
16

Getting set up

This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.

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.

More from pytest-dev/pluggy

All issues in pytest-dev/pluggy

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.