Closed zarquon5 closed 4 weeks ago
Hi @zarquon5 , could you try with pywin32==306
? This should already have been fixed by https://github.com/mhammond/pywin32/pull/1975
formatargspec
isn't used anywhere in the codebase anymore.
I'll close as fixed by #1975 , please let us know if you still have issues with pywin32 version 306 or above
Expected behavior and actual behavior
When you start typing a function call in the interactive window of Pythonwin, it used to give you a "CallTip" that indicated the arguments to the function in question. Hoewever, the CallTips mechanism no longer works because it depends on a function, inspect.formatargspec(), that has apparently been deprecated since python 3.5, and removed in python 3.11. (See https://github.com/python/cpython/pull/28618.)
This makes using the pythonwin interactive window very problematic.
Steps to reproduce the problem
As soon as you hit the (, you get the traceback: