[Twisted-Python] SMTP patch

Bob Ippolito bob at redivi.com
Fri May 23 01:04:26 EDT 2003

On Friday, May 23, 2003, at 00:53 America/New_York, Andrew Bennetts 

> On Fri, May 23, 2003 at 12:46:09AM -0400, Bob Ippolito wrote:
>> On Thursday, May 22, 2003, at 23:02 America/New_York, Jp Calderone
>> wrote:
>>>    Interestingly, there was a thread on PyPy-dev on this subject.  I
>>> think I agree with the line of thinking that says "x in y" expresses 
>>> the
>>> intent more accurately and at a higher level than "a <= x < y".  
>>> xrange()
>>> is a hack though, so I would use range() :)
>> Only because in this particular case all valid x are exactly
>> representable by an integer .. there are plenty of x (floats or
>> otherwise) that satisfy a <= x < y that aren't in the set of integers
>> [a, y>
>> Personally, I think there should be a hybrid between a list and a
>> generator (kinda like xrange but more magical) returned whenever you 
>> do
> I think the word you're looking for is "interval"?

Not really.. that'd only really apply to a magical return value from 


More information about the Twisted-Python mailing list