On Wed, Mar 24, 2010 at 10:52 PM, Alexander Belopolsky <alexander.belopol...@gmail.com> wrote: > On Wed, Mar 24, 2010 at 6:47 PM, Mark Dickinson <dicki...@gmail.com> wrote: > .. >> There's no ideal solution here; IMO, the compromise that currently >> exists is an acceptable one. > > I don't see a compromise. So far I failed to find a use case that > benefits from NaN violating reflexivity. >
So if I understand correctly, you propose that float('nan') == float('nan') return True. Would you also suggest extending this behaviour to Decimal nans? _______________________________________________ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com