Re: Sorting NaNs

2018-06-07 Thread Michael Lamparski
On Thu, Jun 7, 2018 at 4:43 PM, Peter Pearson wrote: > But gosh, if there are only 2**32 different "random" floats, then > you'd have about a 50% chance of finding a collision among any > set of 2**16 samples. Is that really tolerable? > -- > https://mail.python.org/mailman/listinfo/python-list

Did zip ever used to fail with 0 arguments?

2018-06-22 Thread Michael Lamparski
>>> list(zip()) [] I'm not sure why, but I really could've sworn this used to produce something like: TypeError: zip requires at least one argument which is often what I would rather have happen since 0 arguments is a degenerate case. (consider the result of zip(*zip(*args)) for 1+ arguments