Very minor bug in Pythonista 3.4
upwart last edited by
When I run this code
import inspect class X: ... sig = inspect.signature(X)
on Pythonista 3.4, a
ValueError : No signature for builtin <class 'object'>
exception is raised.
This did not happen on Pythonista 3.3 and not on a Windows machine running Python 3.10.4 (same version as Pythonista 3.4).
If I add an
__init__method, the exception is not raised anymore,
Of course, I can just use a try/except block to solve the problem, but it is very strange.
cvp last edited by cvp