Skip to content

Add missing stacklevel to warnings #1317

Description

@31puneet

Several warnings.warn() calls across core modules are missing stacklevel=2, causing warnings to point to library internals instead of user code. This makes debugging harder for end users.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions