Opened 3 years ago

Closed 3 years ago

#21107 closed enhancement (fixed)

do not use has_key (not python3 compatible)

Reported by: chapoton Owned by:
Priority: major Milestone: sage-7.3
Component: python3 Keywords:
Cc: tscrim, jmantysalo, jdemeyer Merged in:
Authors: Frédéric Chapoton Reviewers: André Apitzsch
Report Upstream: N/A Work issues:
Branch: 594e621 (Commits) Commit: 594e6211143ce5a0dd3499267bb6e28da273420e
Dependencies: Stopgaps:

Description

replaced by the correct syntax "a in dict"

re-playing #15784

Change History (3)

comment:1 Changed 3 years ago by chapoton

  • Branch set to public/21107
  • Cc tscrim jmantysalo jdemeyer added
  • Commit set to 594e6211143ce5a0dd3499267bb6e28da273420e
  • Status changed from new to needs_review

New commits:

594e621has_key is not allowed in python3

comment:2 Changed 3 years ago by aapitzsch

  • Reviewers set to André Apitzsch
  • Status changed from needs_review to positive_review

LGTM.

comment:3 Changed 3 years ago by vbraun

  • Branch changed from public/21107 to 594e6211143ce5a0dd3499267bb6e28da273420e
  • Resolution set to fixed
  • Status changed from positive_review to closed
Note: See TracTickets for help on using tickets.