Python Forum

Full Version: name of a function
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
i have a function that calls the hash() function on the object passed to it in the solitary argument. but it does so under try/except to avoid raising an exception. it returns False if the object is unhashable. what is an appropriate name for this function?
I don't like it, but following the standard Python nomenclature I'd think it would be ishashable.