compare range objects

Yingjie Lan lanyjie at yahoo.com
Thu Oct 20 21:55:00 EDT 2011





----- Original Message -----
> From: Westley Martínez <anikom15 at gmail.com>
> To: python-list at python.org
> Cc: 
> Sent: Friday, October 21, 2011 12:22 AM
> Subject: Re: compare range objects
> 
> There's already a discussion about this on python-ideas.  But somebody
> please tell me, why would you ever need to compare ranges?


In simulation, one can use range objects to denote a discrete domain,
and domain comparison could be very useful. Not just equality, but also
things like if one domain is contained in another.



More information about the Python-list mailing list