#3936: Throw exceptions on nonsensical comparisons?
---------------------+------------------------------------------------------
 Reporter:  nbruin   |        Owner:  tbd       
     Type:  defect   |       Status:  closed    
 Priority:  major    |    Milestone:  sage-3.4.1
Component:  algebra  |   Resolution:  invalid   
 Keywords:           |  
---------------------+------------------------------------------------------
Changes (by craigcitro):

  * status:  new => closed
  * resolution:  => invalid

Comment:

 As Rob points out, there's really no way to do this cleanly. In
 particular, though, how often do you end up accidentally comparing an
 integer to something like `None`? It seems much better to have an
 occasional result that seems strange at first than to break Python
 conventions, and run into more serious problems because of it.

 I'm closing this as invalid.

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/3936#comment:2>
Sage <http://sagemath.org/>
Sage - Open Source Mathematical Software: Building the Car Instead of 
Reinventing the Wheel
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"sage-trac" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/sage-trac?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to