inspect: Make Signature and Parameter hashable. Issue #20334.

This commit is contained in:
Yury Selivanov 2014-04-08 11:46:50 -04:00
parent 3f73ca23cf
commit 67ae50ee1c
5 changed files with 52 additions and 13 deletions

View file

@ -143,7 +143,8 @@ Improved Modules
(contributed by Claudiu Popa in :issue:`20627`).
* :class:`inspect.Signature` and :class:`inspect.Parameter` are now
picklable (contributed by Yury Selivanov in :issue:`20726`).
picklable and hashable (contributed by Yury Selivanov in :issue:`20726`
and :issue:`20334`).
* New class method :meth:`inspect.Signature.from_callable`, which makes
subclassing of :class:`~inspect.Signature` easier (contributed