Skip to content

Tachyon's StackTraceCollector has two different ways to set skip_idle #145458

Description

@KowalskiThomas

I was looking at the code in Tachyon and I think I've found something that isn't quite right (or at least is misleading and needs to be documented?)

In the StackTraceCollector, it seems like self.skip_idle is set but never used, as every collect method gets another skip_idle parameter that they use in _iter_stacks (or their calls to parent class' methods).

Based on the code for e.g. live_collector, it seems like the pattern is to use the attribute, not a parameter.

Linked PRs

Activity

  1. added a commit that references this issue on Mar 3, 2026
  2. added
    stdlibStandard Library Python modules in the Lib/ directory
    3.15bugs and security fixes
    on Mar 3, 2026
  3. picnixz commented on Mar 3, 2026

    @picnixz
    Member

    I was looking at the code in Tachyon and I think I've found something that isn't quite right (or at least is misleading and needs to be documented?)

    When you are not sure about something, please avoid create draft PRs and wait for a maintainer to acknowledge the issue. You can say that you have a PR ready in case this is acknowledge but please avoid opening PRs that are not sure to be merged.

  4. KowalskiThomas commented on Mar 3, 2026

    @KowalskiThomas
    ContributorAuthor

    Sounds good, noted. Sorry about this. I'll avoid doing this in the future.

  5. encukou commented on Mar 10, 2026

    @encukou
    Member
  6. added a commit that references this issue on Mar 31, 2026
  7. KowalskiThomas commented on Apr 8, 2026

    @KowalskiThomas
    ContributorAuthor

    I think we can close this, right? Now that #145459 is merged.

  8. added a commit that references this issue on Apr 16, 2026
  9. added a commit that references this issue on Apr 25, 2026
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

    3.15bugs and security fixesstdlibStandard Library Python modules in the Lib/ directorytopic-profiling

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions