New GitHub issue #100875 from Agent-Hellboy:<br>

<hr>

<pre>
# A new API named `ishashable` in inspect module

(A clear and concise description of your proposal.)

# Pitch
First of all, I don't know whether this will get accepted or not but if it is then here are a few pointers

first of all, why do we need `ishashable` API in inspect
why do I need it?
I was making a lib to trace the path of a key inside a nested dict and for that, I was using ast my thought was we must have a class named Hashable in ast which could be the base class for ast.Constant and ast.Tuple may be other hashable ast nodes but that will require a lot of research for me, I don't know whether it got accepted or not 

I thought of adding a new type in the types module HashableType and then comparing in inspect like other APIs like `ismethod` , `isfunction` and all but I need some input for this.  



# Previous discussion
None, but this is going to be my first PR in python so I am going to drop a mail in core-mentorship list
<!--
  New features to Python should first be discussed elsewhere before creating issues on GitHub,
  for example in the "ideas" category (https://discuss.python.org/c/ideas/6) of discuss.python.org,
  or the python-ideas mailing list (https://mail.python.org/mailman3/lists/python-ideas.python.org/).
  Use this space to post links to the places where you have already discussed this feature proposal:
-->


<!--
You can freely edit this text. Remove any lines you believe are unnecessary.
-->

</pre>

<hr>

<a href="https://github.com/python/cpython/issues/100875">View on GitHub</a>
<p>Labels: type-feature</p>
<p>Assignee: </p>