Serhiy Storchaka <> added the comment:

This is not a crash, but an assertion failure.

The assertion was added in issue30149.

nosy: +serhiy.storchaka, yselivanov
stage:  -> needs patch
title: inspect.signature crashes on unbound partialmethods -> Assertion failure 
in inspect.signature on unbound partialmethods
type:  -> behavior
versions: +Python 3.7, Python 3.8

Python tracker <>
Python-bugs-list mailing list

Reply via email to