Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #18938 > unrolled thread

Re: NaN, Null, and Sorting

Started byChris Angelico <rosuav@gmail.com>
First post2012-01-14 06:58 +1100
Last post2012-01-14 06:58 +1100
Articles 1 — 1 participant

Back to article view | Back to comp.lang.python

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: NaN, Null, and Sorting Chris Angelico <rosuav@gmail.com> - 2012-01-14 06:58 +1100

#18938 — Re: NaN, Null, and Sorting

FromChris Angelico <rosuav@gmail.com>
Date2012-01-14 06:58 +1100
SubjectRe: NaN, Null, and Sorting
Message-ID<mailman.4726.1326484736.27778.python-list@python.org>
On Sat, Jan 14, 2012 at 6:04 AM, Ethan Furman <ethan@stoneleaf.us> wrote:
> So I am strongly leaning towards implementing the comparisons such that Null
> objects are less than other objects so they will always sort together.

This is a perfectly plausible view, and is the one adopted by SQL (I'm
pretty sure the "NULLS FIRST" / "NULLS LAST" clause is standard - you
get to choose whether they're less than everything or more than
everything).

ChrisA

[toc] | [standalone]


Back to top | Article view | comp.lang.python


csiph-web