8000 Revise NameError suggestions · Issue #196 · friendly-traceback/friendly-traceback · GitHub
[go: up one dir, main page]

Skip to content
Revise NameError suggestions #196
@aroberge

Description

@aroberge

See https://discuss.python.org/t/suggestions-could-consider-standard-library-module-names-as-well/19348

Currently, friendly_traceback makes too many suggestions (the example I wrote in that thread shows io as it is being already imported in other modules). This needs to be reduced.

Furthermore, the wording of the hint should be similar (identical) to that from Python, as given in python/cpython#98255

For friendly_pandas, I should update the resulting file to include relevant attributes from pandas, numpy and matplotlib (and possibly a few other third party packages), recognizing the common abbreviations (pd=pandas, np=numpy, etc.)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0