New submission from Mark Dickinson <dicki...@gmail.com>:

Here's a patch that makes hash(x) == hash(y) for any numeric types (int, float, 
complex, Decimal, Fraction, bool) when x and y are numerically equal.

This is a prerequisite for making all numeric types accurately comparable with 
each other.

----------
files: numeric_hash.patch
keywords: patch
messages: 101395
nosy: mark.dickinson
severity: normal
status: open
title: Unified hash for numeric types.
type: feature request
versions: Python 3.2
Added file: http://bugs.python.org/file16604/numeric_hash.patch

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue8188>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to