Skip to content

Show a note for --strict-equality for unsafe promotions and mention it in the docs #6407

Closed

Description

@ilevkivskyi

This is a follow-up for #6370

We should document why type promotions are disabled with --strict-equality. We can give examples like b'abc' == 'abc' in Python 2 vs 3, and (1/3)**10 * 3**10 == 1. We can also show a note with the non-overlapping comparison error in such cases.

Activity

  1. ilevkivskyi commented on Aug 9, 2019

    @ilevkivskyi
    MemberAuthor

    After all we decided to not special-case promotions for --strict-equality, so this is now irrelevant.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions