On Sun, Apr 23, 2006 at 01:28:06AM +0200, guido.van.rossum wrote:
> +bytes_nohash(PyObject *self)
> +{
> +    PyErr_SetString(PyExc_TypeError, "bytes objects are unhashable");
> +    return -1;
> +}

I think we might need to have a frozenbytes object too.

  Neil
_______________________________________________
Python-3000-checkins mailing list
[email protected]
http://mail.python.org/mailman/listinfo/python-3000-checkins

Reply via email to