1. 01 Eki, 2001 20 kayıt (commit)
  2. 30 Eyl, 2001 7 kayıt (commit)
  3. 29 Eyl, 2001 12 kayıt (commit)
  4. 28 Eyl, 2001 1 kayıt (commit)
    • Guido van Rossum's avatar
      It's a fact: for binary operators, *under certain circumstances*, · 4bb1e36e
      Guido van Rossum yazdı
      __rop__ now takes precendence over __op__.  Those circumstances are:
      
        - Both arguments are new-style classes
        - Both arguments are new-style numbers
        - Their implementation slots for tp_op differ
        - Their types differ
        - The right argument's type is a subtype of the left argument's type
      
      Also did this for the ternary operator (pow) -- only the binary case
      is dealt with properly though, since __rpow__ is not supported anyway.
      4bb1e36e