Expression can be simplified on list

Steven D'Aprano steve+comp.lang.python at pearwood.info
Wed Sep 14 00:53:01 EDT 2016


On Wednesday 14 September 2016 13:59, Lawrence D’Oliveiro wrote:

> On Wednesday, September 14, 2016 at 2:25:48 PM UTC+12, Ben Finney wrote:
>> Lawrence D’Oliveiro writes:
>> 
>> > It would be better if all such conversions were explicit
>> 
>> Why? It's entirely unambiguous ...
> 
> <http://lwn.net/Articles/590299/>


*shrug* 

And if somebody designed an iterator that behaved badly or surprisingly, would 
you conclude that the entire concept of iteration is therefore broken?

The midnight gotcha was (it has now been fixed) a design bug of the class. As 
simple as that.



-- 
Steven
git gets easier once you get the basic idea that branches are homeomorphic 
endofunctors mapping submanifolds of a Hilbert space.




More information about the Python-list mailing list