Changes between Version 3 and Version 5 of Ticket #27885


Ignore:
Timestamp:
05/28/19 14:43:22 (4 months ago)
Author:
vklein
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #27885

    • Property Commit changed from 7cf1dab075cf06a166eb127b2aa58fef3b48ff5d to 2a2f195eda640a8a576d20f22de2ae35452e35f3
  • Ticket #27885 – Description

    v3 v5  
    1 - Fix the errors
    2 {{{AttributeError: 'sage.symbolic.expression.Expression' object has no attribute '__nonzero__'}}} appearing in python3.
     1- Fix the errors {{{AttributeError: 'sage.symbolic.expression.Expression' object has no attribute '__nonzero__'}}} appearing in python3.
    32{{{'__nonzero__'}}} is renamed into {{{'__bool__'}}} in python3.
    43
    54- Use #py2 #py3 tag to manage the difference of messages for {{{TypeError}}} when an object is not subscriptable.
     5
     6- Fix the following doctest:
     7{{{
     8sage: Set([-x + y < 0, x - y < 0])
     9{-x + y < 0, x - y < 0}
     10}}}
     11The later used to randomly fail because the output order was not constant with python3.