Opened 3 years ago

Closed 3 years ago

#27812 closed enhancement (fixed)

py3: fix comparison of constants

Reported by: chapoton Owned by:
Priority: major Milestone: sage-8.8
Component: python3 Keywords:
Cc: tscrim, rws Merged in:
Authors: Frédéric Chapoton Reviewers: Travis Scrimshaw
Report Upstream: N/A Work issues:
Branch: b30879a (Commits, GitHub, GitLab) Commit: b30879a11fa2025225f111ed10f63550250260e4
Dependencies: Stopgaps:

Status badges


of pi < pi in particular

Change History (7)

comment:1 Changed 3 years ago by chapoton

  • Branch set to u/chapoton/27812
  • Commit set to a87b6448b56495f36d81602d97953087055f8e0d
  • Status changed from new to needs_review

New commits:

a87b644py3: improve comparison of pi with pi (for constants in general)

comment:2 Changed 3 years ago by chapoton

  • Cc tscrim rws added

green bot, please review

comment:3 Changed 3 years ago by tscrim

Is there a reason why equality is a separate variable and not just part of the if statement?

comment:4 Changed 3 years ago by git

  • Commit changed from a87b6448b56495f36d81602d97953087055f8e0d to b30879a11fa2025225f111ed10f63550250260e4

Branch pushed to git repo; I updated commit sha1. New commits:


comment:5 Changed 3 years ago by chapoton

indeed, fixed

comment:6 Changed 3 years ago by tscrim

  • Reviewers set to Travis Scrimshaw
  • Status changed from needs_review to positive_review

Thank you. LGTM.

comment:7 Changed 3 years ago by vbraun

  • Branch changed from u/chapoton/27812 to b30879a11fa2025225f111ed10f63550250260e4
  • Resolution set to fixed
  • Status changed from positive_review to closed
Note: See TracTickets for help on using tickets.