Changes between Initial Version and Version 1 of Ticket #23185, comment 51


Ignore:
Timestamp:
07/24/17 09:16:42 (5 years ago)
Author:
chapoton
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #23185, comment 51

    initial v1  
    66If you want to do just that (go through a boolean), then use {{{rich_to_bool}}}
    77
    8 In most of the cases, this will not work, because one really wants to compare (for inequalities) the rest, once the type is checked to be correct.
     8In most of the cases, one really wants to compare (for inequalities) the rest, once the type is checked to be correct.
     9
     10***EDIT*** maybe rich_to_bool is not the correct solution here. It is rather used to take as input the result of an oldstyle cmp.
     11
     12
     13Why did you change the existing code in {{{_richcmp_}}} ? Did it give wrong results ?