How did we let this abomination become the language of the web anyway?pic.twitter.com/dI1SkWKT4i
You can add location information to your Tweets, such as your city or precise location, from the web and via third-party applications. You always have the option to delete your Tweet location history. Learn more
Your view is blurred by the habit of "adult" languages
what happens if the comparison operators don't produce a strict weak ordering? Like, throw a NaN in there, then what? (probably "error" is the sane thing)
It breaks. Basically sort is only defined if comparison is well-behaved, and NaN has ill-behaved (but non-erroring) comparison by IEEE spec, unfortunately. >>> sorted([2.0, float('nan'), 1.0]) [2.0, nan, 1.0] I can't really think of a fix without a special-case kludge for NaN.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.