Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

unable to turn off ellipses in stack traces #2871

Copy link
Copy link
Closed
@smurfix

Description

@smurfix
Issue body actions

Even when using py.test -vvvv, variables in stack traces are ellipsized when their representation gets "too long".

This is controlled by hard coded constants in py._io.saferepr.py::saferepr() (and more constants in Python's reprlib, which it inherits from), which is called from multiple locations in py._code/code.py.

Proposed solution: use pretty printing instead, at high verbosity levels.

Metadata

Metadata

Assignees

No one assigned

    Labels

    status: help wanteddevelopers would like help from experts on this topicdevelopers would like help from experts on this topictopic: tracebacksrelated to displaying and handling of tracebacksrelated to displaying and handling of tracebackstype: enhancementnew feature or API change, should be merged into features branchnew feature or API change, should be merged into features branch

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      Morty Proxy This is a proxified and sanitized view of the page, visit original site.