Opened 7 years ago
Closed 7 years ago
#15734 closed defect (fixed)
<> is not Python 3 compatible
Reported by: | aapitzsch | Owned by: | |
---|---|---|---|
Priority: | major | Milestone: | sage-6.2 |
Component: | misc | Keywords: | python3 |
Cc: | Merged in: | ||
Authors: | André Apitzsch | Reviewers: | Jeroen Demeyer |
Report Upstream: | N/A | Work issues: | |
Branch: | u/aapitzsch/ticket/15734 | Commit: | 1e018de183311d036a23945f5839cc60e50f1ca1 |
Dependencies: | Stopgaps: |
Description
Replace <>
by !=
.
Change History (10)
comment:1 Changed 7 years ago by
- Branch set to u/aapitzsch/ticket/15734
- Commit set to 0b286ea0aaab2e24a364d304487b6e7d1bd886cd
- Status changed from new to needs_review
comment:2 Changed 7 years ago by
- Commit changed from 0b286ea0aaab2e24a364d304487b6e7d1bd886cd to 90e394ad0e9cd23b4d4ea65da11fa5e45b4d1e39
Branch pushed to git repo; I updated commit sha1. New commits:
90e394a | Merge branch 'develop' of git://github.com/sagemath/sage into py3_ne
|
comment:3 Changed 7 years ago by
- Status changed from needs_review to needs_work
Comparisons with None
should be done using is
or is not
.
comment:4 Changed 7 years ago by
- Component changed from PLEASE CHANGE to misc
comment:5 Changed 7 years ago by
Also, conditions like
if ((a==t) & (s<>0)):
should be replaced by
if a == t and s != 0:
comment:6 Changed 7 years ago by
- Commit changed from 90e394ad0e9cd23b4d4ea65da11fa5e45b4d1e39 to 1e018de183311d036a23945f5839cc60e50f1ca1
comment:7 Changed 7 years ago by
- Status changed from needs_work to needs_review
comment:8 Changed 7 years ago by
- Reviewers set to Jeroen Demeyer
- Status changed from needs_review to positive_review
comment:9 Changed 7 years ago by
- Milestone changed from sage-6.1 to sage-6.2
comment:10 Changed 7 years ago by
- Resolution set to fixed
- Status changed from positive_review to closed
Note: See
TracTickets for help on using
tickets.
New commits:
python3: replace deprecated <> by !=