Skip to content

get rid of <> surrounding repr #1

Closed

Description

@glyph

The convention of putting <> around a repr is to make it syntactically invalid so it won't work with eval. But attr's reprs will in fact work with eval, so IMHO you should just leave them out.

Activity

  1. hynek commented on Jan 27, 2015

    @hynek
    Member

    Interesting, I didn’t know that. I intend to add a repr-display-hook anyway so if someone is in love with it…

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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions